GeForce Manager
PHP Advanced
C:
/
xampp
/
htdocs
/
Ajaji
/
components
/
com_gridbox
/
views
/
menu
/
Name
Size
Perms
Actions
📁
tmpl
4730 B
0777
Permissions
Delete
📄
index.html
33 B
0666
Edit
Perms
Delete
📄
view.html.php
1077 B
0666
Edit
Perms
Delete
Editing:
view.html.php
<?php /** * @package Gridbox * @author Balbooa http://www.balbooa.com/ * @copyright Copyright @ Balbooa * @license http://www.gnu.org/licenses/gpl.html GNU/GPL */ defined('_JEXEC') or die; jimport('joomla.application.component.view'); class gridboxViewMenu extends JViewLegacy { public $items; public function display ($tpl = null) { if (!JFactory::getUser()->authorise('core.edit', 'com_gridbox')) { gridboxHelper::raiseError(403, JText::_('JERROR_ALERTNOAUTHOR')); return; } if (count($errors = $this->get('Errors'))) { gridboxHelper::raiseError(500, implode('<br />', $errors)); return false; } $this->items = $this->get('Items'); $doc = JFactory::getDocument(); $doc->addStyleSheet('//fonts.googleapis.com/css?family=Roboto:300,400,500,700'); $doc->setTitle('Gridbox Editor'); $doc->addScript(JURI::root() . 'components/com_gridbox/assets/js/ba-modules.js'); parent::display($tpl); } }
Cancel