Пример #1
0
 function display($tpl = null)
 {
     $tmpl = JRequest::getVar('tmpl');
     if (empty($tmpl)) {
         JRequest::setVar('tmpl', 'component');
     }
     $user = JFactory::getUser();
     if (!oseMscPublic::isUserAdmin($user)) {
         $app = JFactory::getApplication('ADMIN');
         $app->redirect('index.php', 'You do not has access to this page');
     }
     $model = $this->getModel();
     $model->checkViewExists();
     $this->loadViewJs();
     $this->loadGridJs();
     $OSESoftHelper = new OSESoftHelper();
     $footer = $OSESoftHelper->renderOSETM();
     $this->assignRef('footer', $footer);
     $preview_menus = $OSESoftHelper->getPreviewMenus();
     $this->assignRef('preview_menus', $preview_menus);
     $this->assignRef('OSESoftHelper', $OSESoftHelper);
     $title = JText::_('OSE Membership™ Configuration');
     $this->assignRef('title', $title);
     parent::display($tpl);
 }
Пример #2
0
 function display($tpl = null)
 {
     $tmpl = JRequest::getVar('tmpl');
     if (empty($tmpl)) {
         JRequest::setVar('tmpl', 'component');
     }
     if (JOOMLA16 == false) {
         require_once OSEMSC_B_PATH . DS . 'helpers' . DS . "extLanguage.php";
         oseHTML::script(OSEMSC_F_URL . '/libraries/joomla.core.js', '1.5');
         $strings = oseJson::encode(oseText::jsStrings());
         $document = JFactory::getDocument();
         $document->addScriptDeclaration('(function(){var strings=' . $strings . ';Joomla.JText.load(strings)})()');
     }
     $com = OSECPU_PATH_JS . '/com_ose_cpu/extjs';
     oseHTML::initScript();
     oseHTML::script($com . '/ose/app.msg.js', '1.5');
     oseHTML::script(OSEMSC_F_URL . '/libraries/init.js', '1.5');
     require_once OSEMSC_B_PATH . DS . 'helpers' . DS . "extLanguage.php";
     $OSESoftHelper = new OSESoftHelper();
     $footer = $OSESoftHelper->renderOSETM();
     $this->assignRef('footer', $footer);
     $preview_menus = $OSESoftHelper->getPreviewMenus();
     $this->assignRef('preview_menus', $preview_menus);
     $this->assignRef('OSESoftHelper', $OSESoftHelper);
     $title = JText::_('OSE Membership™ Profile Management');
     $this->assignRef('title', $title);
     parent::display($tpl);
 }
Пример #3
0
 * @author        Open Source Excellence (R) {@link  http://www.opensource-excellence.com}
 * @author        Created on 15-Nov-2010
 * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
 *
 *
 *  This program is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *  @Copyright Copyright (C) 2010- Open Source Excellence (R)
 */
defined('_JEXEC') or die("Direct Access Not Allowed");
class oseMscViewMembers extends oseMscView
{
    function display($tpl = null)
    {
        $tmpl = JRequest::getVar('tmpl');
        if (empty($tmpl)) {
Пример #4
0
 function display($tpl = null)
 {
     $tmpl = JRequest::getVar('tmpl');
     if (empty($tmpl)) {
         JRequest::setVar('tmpl', 'component');
     }
     $list = $this->get('Items');
     $this->assignRef('list', $list);
     oseHTML::initScript();
     $com = OSECPU_PATH_JS . '/com_ose_cpu/extjs';
     oseHTML::script($com . '/grid/SearchField.js');
     oseHTML::script($com . '/grid/expander.js');
     oseHTML::script($com . '/ose/app.msg.js');
     oseHTML::script($com . '/grid/limit.js');
     require_once OSEMSC_B_PATH . DS . 'helpers' . DS . "extLanguage.php";
     $OSESoftHelper = new OSESoftHelper();
     $footer = $OSESoftHelper->renderOSETM();
     $this->assignRef('footer', $footer);
     $preview_menus = $OSESoftHelper->getPreviewMenus();
     $this->assignRef('preview_menus', $preview_menus);
     $this->assignRef('OSESoftHelper', $OSESoftHelper);
     $title = JText::_('OSE Membership™ Orders Management');
     $this->assignRef('title', $title);
     parent::display($tpl);
 }
Пример #5
0
 function display($tpl = null)
 {
     JToolBarHelper::title(JText::_('OSE Membership™ Update Member Info.') . ' <small><small>[ ' . OSEMSCVERSION . ' ]</small></small>', 'logo');
     $doc = JFactory::getDocument();
     // init table
     $db =& JFactory::getDBO();
     // ACL Info;
     $tables = $db->getTableList();
     $jConfig = JFactory::getConfig();
     $this->checkFixTable();
     //$doc->addScript(JURI::root().'media/system/js/core.js');
     $com = OSECPU_PATH_JS . '/com_ose_cpu/extjs';
     oseHtml::script('media/system/js/core.js');
     oseHTML::initScript();
     oseHTML::script($com . '/ose/app.msg.js');
     oseHTML::script($com . '/ose/func.js');
     $com = OSECPU_PATH_JS . '/com_ose_cpu/extjs';
     $this->items = $this->get('Items');
     $this->modules = $this->get('Modules');
     $this->pagination = $this->get('Pagination');
     $this->state = $this->get('State');
     // Check for errors.
     if (count($errors = $this->get('Errors'))) {
         JError::raiseError(500, implode("\n", $errors));
         return false;
     }
     parent::display($tpl);
 }
Пример #6
0
  * @author        Open Source Excellence {@link 
http://www.opensource-excellence.co.uk}
  * @author        EasyJoomla {@link http://www.easy-joomla.org 
Easy-Joomla.org}
  * @author        SSRRN {@link http://www.ssrrn.com}
  * @author        Created on 15-Sep-2008
  * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
  *
  *
  *  This program is free software: you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  the Free Software Foundation, either version 3 of the License, or
  *  (at your option) any later version.
  *
Пример #7
0
 function display($tpl = null)
 {
     $tmpl = JRequest::getVar('tmpl');
     if (empty($tmpl)) {
         JRequest::setVar('tmpl', 'component');
     }
     $this->loadViewJs();
     $this->loadMultiSelect();
     $OSESoftHelper = new OSESoftHelper();
     $footer = $OSESoftHelper->renderOSETM();
     $this->assignRef('footer', $footer);
     $preview_menus = $OSESoftHelper->getPreviewMenus();
     $this->assignRef('preview_menus', $preview_menus);
     $this->assignRef('OSESoftHelper', $OSESoftHelper);
     $title = JText::_('OSE Membership™ Coupon Management');
     $this->assignRef('title', $title);
     parent::display($tpl);
 }
Пример #8
0
 function display($tpl = null)
 {
     $tmpl = JRequest::getVar('tmpl');
     if (empty($tmpl)) {
         JRequest::setVar('tmpl', 'component');
     }
     JToolBarHelper::title(JText::_('About Open Source Excellence') . ' ', 'logo');
     $com = OSECPU_PATH_JS . '/com_ose_cpu/extjs';
     JHTML::stylesheet('style.css', 'administrator/components/com_ose_cpu/assets/css/');
     $OSESoftHelper = new OSESoftHelper();
     $footer = $OSESoftHelper->renderOSETM();
     $this->assignRef('footer', $footer);
     $preview_menus = $OSESoftHelper->getPreviewMenus();
     $this->assignRef('preview_menus', $preview_menus);
     $this->assignRef('OSESoftHelper', $OSESoftHelper);
     $title = JText::_('About OSE');
     $this->assignRef('title', $title);
     parent::display($tpl);
 }
Пример #9
0
 function display($tpl = null)
 {
     $tmpl = JRequest::getVar('tmpl');
     if (empty($tmpl)) {
         JRequest::setVar('tmpl', 'component');
     }
     $com = OSECPU_PATH_JS . '/com_ose_cpu/extjs';
     $this->loadViewJs('jquery');
     JHTML::stylesheet('style.css', 'administrator/components/com_ose_cpu/assets/css/');
     $OSESoftHelper = new OSESoftHelper();
     $footer = $OSESoftHelper->renderOSETM();
     $this->assignRef('footer', $footer);
     $preview_menus = $OSESoftHelper->getPreviewMenus();
     $this->assignRef('preview_menus', $preview_menus);
     $this->assignRef('OSESoftHelper', $OSESoftHelper);
     $title = JText::_('Software Activation');
     $this->assignRef('title', $title);
     parent::display($tpl);
 }
Пример #10
0
 function display($tpl = null)
 {
     $tmpl = JRequest::getVar('tmpl');
     if (empty($tmpl)) {
         JRequest::setVar('tmpl', 'component');
     }
     $list = $this->get('Items');
     $this->assignRef('list', $list);
     $this->loadViewJs('jquery');
     $this->loadGridJs();
     $this->loadTinyMCE();
     $objs = $this->getAddons();
     $this->assignRef('objs', $objs);
     $OSESoftHelper = new OSESoftHelper();
     $footer = $OSESoftHelper->renderOSETM();
     $this->assignRef('footer', $footer);
     $preview_menus = $OSESoftHelper->getPreviewMenus();
     $this->assignRef('preview_menus', $preview_menus);
     $this->assignRef('OSESoftHelper', $OSESoftHelper);
     $title = JText::_('OSE Membership™ Email and Templates Management');
     $this->assignRef('title', $title);
     parent::display($tpl);
 }