protected function create()
 {
     parent::create();
     $this->adminclass = 'tadminexcerptslide';
     $this->addmap('items', array());
     $this->tags = tcategories::i();
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'widgets.custom';
     $this->adminclass = 'tadmincustomwidget';
     $this->addmap('items', array());
     $this->addevents('added', 'deleted');
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'widget.meta';
     $this->template = 'meta';
     $this->adminclass = 'tadminmetawidget';
     $this->addmap('items', array());
 }
Esempio n. 4
0
 protected function create()
 {
     parent::create();
     $this->adminclass = 'tadminsingletagwidget';
     $this->basename = 'widget.singletag';
     $this->addmap('items', array());
     $this->tags = tcategories::i();
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'widget.comments';
     $this->cache = 'include';
     $this->template = 'comments';
     $this->adminclass = 'tadminmaxcount';
     $this->data['maxcount'] = 7;
 }
 protected function create()
 {
     parent::create();
     $this->basename = 'widget.friends';
     $this->template = 'friends';
     $this->adminclass = 'tadminfriendswidget';
     $this->data['maxcount'] = 0;
     $this->data['redir'] = true;
     $this->data['redirlink'] = '/foaflink.htm';
 }
Esempio n. 7
0
 protected function create()
 {
     parent::create();
     $this->basename = 'widget.sape';
     $this->cache = 'nocache';
     $this->adminclass = 'tadminsapeplugin';
     $this->data['user'] = '';
     $this->data['count'] = 2;
     $this->data['force'] = false;
     $this->addmap('counts', array());
 }
Esempio n. 8
0
 public function create()
 {
     parent::create();
     $this->basename = 'keywords' . DIRECTORY_SEPARATOR . 'index';
     $this->cache = 'nocache';
     $this->adminclass = 'tadminkeywords';
     $this->data['count'] = 6;
     $this->data['notify'] = true;
     $this->data['trace'] = true;
     $this->addmap('links', array());
 }
 protected function create()
 {
     parent::create();
     $this->addevents('added', 'deleted');
     $this->basename = 'widgets.links';
     $this->template = 'links';
     $this->adminclass = 'tadminlinkswidget';
     $this->addmap('items', array());
     $this->addmap('autoid', 0);
     $this->redirlink = '/linkswidget/';
     $this->data['redir'] = false;
 }
Esempio n. 10
0
 protected function create()
 {
     parent::create();
     unset($this->id);
     $this->data['id'] = 0;
     $this->data['ajax'] = false;
     $this->data['order'] = 0;
     $this->data['sidebar'] = 0;
 }
Esempio n. 11
0
 protected function create()
 {
     parent::create();
     $this->adminclass = 'tadmintagswidget';
     $this->data['sortname'] = 'count';
     $this->data['showcount'] = true;
     $this->data['showsubitems'] = true;
     $this->data['maxcount'] = 0;
 }
Esempio n. 12
0
 protected function create()
 {
     parent::create();
     $this->basename = 'widget.archives';
     $this->template = 'archives';
     $this->adminclass = 'tadminshowcount';
     $this->data['showcount'] = false;
 }