Пример #1
0
 function __construct()
 {
     parent::__construct($this);
     $this->setTemplate(XMF_ROOT_PATH . '/templates/xmf_addto.html');
     $this->layout = 0;
     $this->method = 1;
 }
Пример #2
0
 /**
  * Constructor
  */
 function __construct()
 {
     parent::__construct($this);
     $this->setTemplate(XMF_ROOT_PATH . '/templates/xmf_feed.html');
     $this->disableLogger();
     global $xoopsConfig;
     $this->title = $xoopsConfig['sitename'];
     $this->url = XOOPS_URL;
     $this->description = $xoopsConfig['slogan'];
     $this->language = _LANGCODE;
     $this->charset = _CHARSET;
     $this->pubdate = date(_DATESTRING, time());
     $this->lastbuild = formatTimestamp(time(), 'D, d M Y H:i:s');
     $this->webmaster = $xoopsConfig['adminmail'];
     $this->editor = $xoopsConfig['adminmail'];
     $this->generator = XOOPS_VERSION;
     $this->copyright = 'Copyright ' . formatTimestamp(time(), 'Y') . ' ' . $xoopsConfig['sitename'];
     $this->ttl = 60;
     $this->image_title = $this->title;
     $this->image_url = XOOPS_URL . '/images/logo.gif';
     $this->image_link = $this->url;
     $this->image_width = 200;
     $this->image_height = 50;
     //title link description pubdate guid category author
     $this->items = array();
 }
Пример #3
0
 /**
  * Constructor
  */
 function __construct(Xmf_Object $object, $userSide = false, $actions = array(), $headerAsRow = true)
 {
     parent::__construct($this);
     $this->setTemplate(XMF_ROOT_PATH . '/templates/xmf_object_view.html');
     $this->_object =& $object;
     $this->_userSide = $userSide;
     $this->_actions = $actions;
     $this->_headerAsRow = $headerAsRow;
 }
Пример #4
0
 function __construct(XoopsModule $module)
 {
     parent::__construct($this);
     $this->setTemplate(XOOPS_ROOT_PATH . '/modules/xmf/templates/xmf_adminabout.html');
     $this->module =& $module;
     $this->paypal = '6KJ7RW5DR3VTJ';
     //Xoops Foundation used by default
     $this->logoLinkUrl = 'http://wwww.xoops.org';
     $this->logoImageUrl = XMF_IMAGES_URL . '/icons/32/xoopsmicrobutton.gif';
 }
Пример #5
0
 /**
  * Constructor
  */
 function __construct(XoopsModule $module)
 {
     parent::__construct($this);
     //$this->setTemplate(XMF_ROOT_PATH . '/templates/xmf_admin.html');
     $this->_obj =& $module;
     xoops_loadLanguage('main', 'xmf');
     if (is_object($GLOBALS['xoTheme'])) {
         $GLOBALS['xoTheme']->addStylesheet(XMF_CSS_URL . '/admin.css');
     }
 }
Пример #6
0
 function __construct(XoopsModule $module)
 {
     parent::__construct($this);
     $this->module = $module;
     $module->loadAdminMenu();
     $this->adminmenu = $this->module->adminmenu;
     foreach ($this->adminmenu as $menu) {
         if (stripos($_SERVER['REQUEST_URI'], $menu['link']) !== false) {
             $this->title = $menu['title'];
             $this->icon = $menu['link'];
             $this->icon = $menu['icon'];
         }
     }
 }
Пример #7
0
 function __construct(XoopsModule $module)
 {
     parent::__construct($this);
     $this->setTemplate(XMF_ROOT_PATH . '/templates/xmf_adminmenu.html');
     $this->module =& $module;
     $this->currentoption = -1;
     $this->breadcrumb = '';
     $this->submenus = false;
     $this->currentsub = -1;
     $this->headermenu = array();
     $this->adminmenu = $module->loadAdminMenu();
     foreach ($this->module->adminmenu as $i => $menu) {
         if (stripos($_SERVER['REQUEST_URI'], $menu['link']) !== false) {
             $this->currentoption = $i;
             $this->breadcrumb = $menu['title'];
         }
     }
 }
Пример #8
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct($this);
     $this->setTemplate(XMF_ROOT_PATH . '/templates/xmf_breadcrumb.html');
 }
Пример #9
0
 function __construct()
 {
     parent::__construct($this);
     $this->setTemplate(XMF_ROOT_PATH . '/templates/xmf_print.html');
 }
Пример #10
0
 public function __construct($title = '')
 {
     parent::__construct($this);
     $this->title = $title;
     //$this->setTemplate(XMF_ROOT_PATH . '/templates/xmf_adminmenu.html');
 }