Example #1
0
    if ($canDo->get('core.edit')) {
        if (is_dir($jckinstallerpath)) {
            $link = JURI::root() . 'plugins/editors/jckeditor/install/index.php?task=permissions';
            quickiconButton($link, 'icon-' . $size . '-systemcheck.png', JText::_('COM_JCKMAN_QUICKICON_SYSTEMCHECK_NAME'), 'system', $path, 'modal');
        } else {
            quickiconButton($base . $task . 'cpanel.check', 'icon-' . $size . '-systemcheck.png', JText::_('COM_JCKMAN_QUICKICON_SYSTEMCHECK_NAME'), 'system', $path);
        }
    }
    if (!$isIOS) {
        quickiconButton($base . $view . 'toolbars', 'icon-' . $size . '-layout.png', JText::_('COM_JCKMAN_QUICKICON_LAYOUT_NAME'), 'toolbars', $path);
    }
    if ($canDo->get('core.edit')) {
        if (!$isIOS) {
            quickiconButton($base . $view . 'import', 'icon-' . $size . '-import.png', JText::_('COM_JCKMAN_QUICKICON_IMPORT_NAME'), 'import', $path);
        }
    }
    if (!$isIOS) {
        quickiconButton($base . $task . 'cpanel.export', 'icon-' . $size . '-export.png', JText::_('COM_JCKMAN_QUICKICON_BACKUP_NAME'), 'export', $path);
    }
    $db = JFactory::getDBO();
    $db->setQuery('SELECT extension_id  FROM #__extensions WHERE type = "plugin" AND folder= "editors" AND element = "jckeditor"');
    $result = $db->loadresult();
    if ($result) {
        if ($canDo->get('jckman.sync')) {
            quickiconButton($base . $task . 'cpanel.sync', 'icon-' . $size . '-sync.png', JText::_('COM_JCKMAN_QUICKICON_SYNC_NAME'), 'sync', $path);
        }
        $link = 'index.php?option=com_plugins&task=plugin.edit&extension_id=' . $result;
        quickiconButton($link, 'icon-' . $size . '-editor.png', JText::_('COM_JCKMAN_QUICKICON_JCKEDITOR_NAME'), 'editor', $path);
    }
    echo '</div>';
}
    }
    echo '<div id="arkcpanel">';
    $base = 'index.php?option=com_arkeditor';
    $view = '&amp;view=';
    $task = '&amp;task=';
    $canDo = ARKHelper::getActions();
    $isMobile = ARKHelper::isMobile();
    $isIOS = ARKHelper::isMobile() || ARKHelper::isiPad();
    $user = JFactory::getUser();
    quickiconButton($base . $view . 'list', 'puzzle', JText::_('COM_ARKEDITOR_QUICKICON_PLUGIN_NAME'), 'list');
    if ($user->authorise('core.manage', 'com_installer')) {
        quickiconButton('index.php?option=com_installer', 'cube', JText::_('COM_ARKEDITOR_QUICKICON_INSTALL_NAME'), 'install');
    }
    if ($user->authorise('core.manage', 'com_installer') && $user->authorise('core.delete', 'com_installer')) {
        quickiconButton('index.php?option=com_installer&amp;view=manage&amp;filter_group=arkeditor', 'trash', JText::_('COM_ARKEDITOR_QUICKICON_UNINSTALL_NAME'), 'plugin');
    }
    if (!$isIOS) {
        quickiconButton($base . $view . 'toolbars', 'menu-3', JText::_('COM_ARKEDITOR_QUICKICON_LAYOUT_NAME'), 'toolbars');
    }
    $db = JFactory::getDBO();
    $db->setQuery('SELECT extension_id  FROM #__extensions WHERE type = "plugin" AND folder= "editors" AND element = "arkeditor"');
    $result = $db->loadresult();
    if ($result) {
        $link = 'index.php?option=com_plugins&amp;task=plugin.edit&amp;extension_id=' . $result;
        quickiconButton($link, 'power-cord', JText::_('COM_ARKEDITOR_QUICKICON_ARKEDITOR_NAME'), 'editor');
    }
    quickiconButton($base . $view . 'list', 'cog', JText::_('COM_ARKEDITOR_QUICKICON_OPTIONS_NAME'), 'options');
    quickiconButton($base . $view . 'list', 'help', JText::_('COM_ARKEDITOR_QUICKICON_HELP_NAME'), 'help');
    quickiconButton($base . $view . 'list', 'warning', JText::_('COM_ARKEDITOR_QUICKICON_BUG_NAME'), 'bug');
    echo '</div>';
}
Example #3
0
$doc =& JFactory::getDocument();
$doc->addStyleSheet(JURI::base() . 'components/com_admirorgallery/css/template.css');
function quickiconButton($link, $image, $text)
{
    global $mainframe;
    $lang =& JFactory::getLanguage();
    $lang->isRTL() ? $iconFloat = "right" : ($iconFloat = "left");
    echo '
          <div style="float:' . $iconFloat . '">
               <div class="ag_guickIcon">
                    <a href="' . $link . '">
                         <img src="' . JURI::base() . 'components/com_admirorgallery/images/toolbar/' . $image . '" />
                         <span>' . $text . '</span>
                    </a>
               </div>
          </div>
     ';
}
echo '
<div id="ag_controlPanel_wrapper">
';
$link = 'index.php?option=com_admirorgallery&task=templates';
quickiconButton($link, 'icon-48-templates.png', JText::_('Templates'));
$link = 'index.php?option=com_admirorgallery&task=popups';
quickiconButton($link, 'icon-48-popupsThemes.png', JText::_('Popups'));
$link = 'index.php?option=com_admirorgallery&task=image-manager';
quickiconButton($link, 'icon-48-image-manager.png', JText::_('Image manager'));
echo JText::_('ADMIRORGALLERYADMINISTRATIONSYSTEM');
echo '
</div>
';
Example #4
0
if ($params->get('enable_countries')) {
    quickiconButton('index.php?option=com_tracker&amp;view=countries', 'countries-48x48.png', JText::_('COM_TRACKER_COUNTRIES'));
}
if ($params->get('peer_banning')) {
    quickiconButton('index.php?option=com_tracker&amp;view=banclients', 'clientban-48x48.png', JText::_('COM_TRACKER_BANCLIENTS'));
}
if ($params->get('host_banning')) {
    quickiconButton('index.php?option=com_tracker&amp;view=banhosts', 'ipban-48x48.png', JText::_('COM_TRACKER_BANHOSTS'));
}
if ($params->get('enable_thankyou')) {
    quickiconButton('index.php?option=com_tracker&amp;view=thankyous', 'thankyou-48x48.png', JText::_('COM_TRACKER_THANKYOUS'));
}
if ($params->get('enable_filetypes')) {
    quickiconButton('index.php?option=com_tracker&amp;view=filetypes', 'filetype-48x48.png', JText::_('COM_TRACKER_FILETYPES'));
}
if ($params->get('enable_reseedrequest')) {
    quickiconButton('index.php?option=com_tracker&amp;view=reseeds', 'reseed-48x48.png', JText::_('COM_TRACKER_RESEEDS'));
}
if ($params->get('enable_reporttorrent')) {
    quickiconButton('index.php?option=com_tracker&amp;view=reports', 'report-48x48.png', JText::_('COM_TRACKER_REPORTS'));
}
quickiconButton('index.php?option=com_tracker&amp;view=settings', 'settings-48x48.png', JText::_('COM_TRACKER_SETTINGS'));
quickiconButton('index.php?option=com_tracker&amp;view=utilities', 'utilities-48x48.png', JText::_('COM_TRACKER_UTILITIES'));
if ($params->get('enable_rss')) {
    quickiconButton('index.php?option=com_tracker&amp;view=rsses', 'rss-48x48.png', JText::_('COM_TRACKER_RSSES'));
}
?>
	</div>
	<div style="clear: both;"></div>
</div>
Example #5
0
if (checkUserAccess(JFactory::getUser()->id, "add_reservations")) {
    echo quickiconButton("index.php?option=" . getBookingExtName() . "&view=reservation&sourceId=0&layout=edit", 'addreservation.png', JText::_('LNG_ADD_RESERVATIONS'));
}
?>
			<?php 
if (checkUserAccess(JFactory::getUser()->id, "manage_reservations")) {
    echo quickiconButton("index.php?option=" . getBookingExtName() . "&view=reservations", 'reservations.png', JText::_('LNG_MANAGE_RESERVATIONS', true), JText::_('LNG_MANAGE_RESERVATIONS_DESC', true));
}
?>
			<?php 
if (checkUserAccess(JFactory::getUser()->id, "updates_hotelreservation")) {
    echo quickiconButton("index.php?option=" . getBookingExtName() . "&view=updates", 'downloads.png', JText::_('LNG_UPDATE', true), JText::_('LNG_UPDATE_DESC', true));
}
?>
			<?php 
echo quickiconButton("index.php?option=" . getBookingExtName() . "&about&view=about", 'about.png', JText::_('LNG_ABOUT', true), JText::_('LNG_ABOUT_DESC', true));
?>
	  				
		<?php 
echo "</ul></div>";
?>
	  				
		<div id="chartPanel"> 
			<div id="chartdiv">
				<div style='text-align:center;padding-top:150px;width:100%'><img src='<?php 
echo JURI::base() . "/components/" . getBookingExtName();
?>
/assets/img/loader.gif'>
				</div>
			</div>
			<div id="buttonDiv">
    $link = 'index2.php?option=com_media';
    quickiconButton($link, 'mediamanager.png', 'Administrar Mídias');
    if ($my->gid > 23) {
        $link = 'index2.php?option=com_trash';
        quickiconButton($link, 'trash.png', 'Administrar Lixeira');
    }
    if ($my->gid > 23) {
        $link = 'index2.php?option=com_menumanager';
        quickiconButton($link, 'menu.png', 'Administrar Menus');
    }
    if ($my->gid > 24) {
        $link = 'index2.php?option=com_languages';
        quickiconButton($link, 'langmanager.png', 'Administrar Idiomas');
    }
    if ($my->gid > 23) {
        $link = 'index2.php?option=com_users';
        quickiconButton($link, 'user.png', 'Administrar Usuários');
    }
    if ($my->gid > 24) {
        $link = 'index2.php?option=com_config&hidemainmenu=1';
        quickiconButton($link, 'config.png', 'Configurações Globais');
    }
    if ($securitycheck) {
        // show security setting check
        josSecurityCheck('88%');
    }
    ?>
	</div>
	<div style="clear:both;"> </div>
	<?php 
}
					<h3>
						<?php 
    echo $text;
    ?>
					</h3>
					<p> <?php 
    //echo $description;
    ?>
 &nbsp;</p>
				</a>
			</li>
			<?php 
}
echo "<div class='user-options-container'><ul>";
echo quickiconButton("index.php?option=" . getBookingExtName() . "&controller=managehotelratings&view=managehotelratings&task=managehotelratings", 'manage_reviews_48_48_icon.gif', JText::_('LNG_MANAGE_HOTEL_REVIEWS', true));
echo quickiconButton("index.php?option=" . getBookingExtName() . "&controller=managehotelratings&view=manageratingquestions&task=manageratingquestions", 'manage_review_questions_48_48_icon.gif', JText::_('LNG_MANAGE_RATING_QUESTIONS', true));
echo "</ul></div>";
?>

<form action="index.php" method="post" name="adminForm" id="adminForm">
<input type="hidden" name="option" value="<?php 
echo getBookingExtName();
?>
" />
<script language="javascript" type="text/javascript">
		Joomla.submitbutton = function(pressbutton) 
		{
			var form = document.adminForm;
			//alert(pressbutton);
			if (pressbutton == 'back') 
			{
    $link = sefReltoAbs("index.php?option=com_zoom&amp;Itemid=" . $Itemid . "&amp;page=zoomthumb");
}
quickiconButton($link, 'zoomthumb_f2.png', _ZOOM_THUMB, '/components/com_zoom/www/images/admin/', _ZOOM_THUMB_DESCR);
if ($zoom->_isAdmin) {
    if ($zoom->_isBackend) {
        $link = "index" . $backend . ".php?option=com_zoom&amp;page=settings&amp;Itemid=" . $Itemid;
    } else {
        $link = sefReltoAbs("index.php?option=com_zoom&amp;page=settings&amp;Itemid=" . $Itemid);
    }
    quickiconButton($link, 'settings_f2.png', _ZOOM_SETTINGS, '/components/com_zoom/www/images/admin/', _ZOOM_SETTINGS_DESCR);
    if ($zoom->_isBackend) {
        $link = "index" . $backend . ".php?option=com_zoom&amp;page=admin&amp;action=optimize&amp;Itemid=" . $Itemid;
    } else {
        $link = sefReltoAbs("index.php?option=com_zoom&amp;page=admin&amp;action=optimize&amp;Itemid=" . $Itemid);
    }
    quickiconButton($link, 'tables_f2.png', _ZOOM_OPTIMIZE, '/components/com_zoom/www/images/admin/', _ZOOM_OPTIMIZE_DESCR);
}
?>
                			</div>
        			    </td>
        			</tr>
	                <tr>
						<td align="left" style="text-align:left;">
                        	<a href="<?php 
echo $zoom->_isBackend ? "index2.php?option=com_zoom&amp;page=credits&amp;Itemid=" . $Itemid : sefReltoAbs("index.php?option=com_zoom&amp;page=credits&amp;Itemid=" . $Itemid);
?>
">
	    	                    <img src="<?php 
echo $mosConfig_live_site;
?>
/components/com_zoom/www/images/credits.gif" alt="<?php 
Example #9
0
          <div style="float:' . $iconFloat . '">
               <div class="ag_guickIcon">
                    <a href="' . $link . '">
                         <img src="' . JURI::base() . 'components/com_admirorgallery/templates/' . $AG_templateID . '/images/toolbar/' . $image . '" />
                         <span>' . $text . '</span>
                    </a>
               </div>
          </div>
     ';
}
echo '
<div id="ag_controlPanel_wrapper">
';
quickiconButton('index.php?option=com_admirorgallery&view=resourcemanager&AG_resourceType=templates', 'icon-48-templates.png', JText::_('COM_ADMIRORGALLERY_TEMPLATES'), $AG_templateID);
quickiconButton('index.php?option=com_admirorgallery&view=resourcemanager&AG_resourceType=popups', 'icon-48-popups.png', JText::_('COM_ADMIRORGALLERY_POPUPS'), $AG_templateID);
quickiconButton('index.php?option=com_admirorgallery&view=imagemanager', 'icon-48-imagemanager.png', JText::_('COM_ADMIRORGALLERY_IMAGE_MANAGER'), $AG_templateID);
echo '
<br style="clear:both" /><br />
<table border="0" cell>
  <tr>
<td style=" width:50%">
<div style="display:block; border-style:solid;" class="AG_border_color AG_border_width AG_background_color AG_base_font">
<form action="' . JURI::getInstance()->toString() . '" method="post" name="adminForm">

' . "\n";
$db = JFactory::getDBO();
$query = "SELECT * FROM #__extensions WHERE (element = 'admirorgallery') AND (type = 'plugin')";
$db->setQuery($query);
$row = $db->loadAssoc();
//print_r($paramsdata);
$paramsdefs = JPATH_SITE . '/administrator/components/com_admirorgallery/config.xml';
Example #10
0
    $link = 'index2.php?option=com_media';
    quickiconButton($link, 'mediamanager.png', 'Media Manager');
    if ($my->gid > 23) {
        $link = 'index2.php?option=com_trash';
        quickiconButton($link, 'trash.png', 'Trash Manager');
    }
    if ($my->gid > 23) {
        $link = 'index2.php?option=com_menumanager';
        quickiconButton($link, 'menu.png', 'Menu Manager');
    }
    if ($my->gid > 24) {
        $link = 'index2.php?option=com_languages';
        quickiconButton($link, 'langmanager.png', 'Language Manager');
    }
    if ($my->gid > 23) {
        $link = 'index2.php?option=com_users';
        quickiconButton($link, 'user.png', 'User Manager');
    }
    if ($my->gid > 24) {
        $link = 'index2.php?option=com_config&hidemainmenu=1';
        quickiconButton($link, 'config.png', 'Global Configuration');
    }
    if ($securitycheck) {
        // show security setting check
        josSecurityCheck('88%');
    }
    ?>
	</div>
	<div style="clear:both;"> </div>
	<?php 
}
Example #11
0
        		quickiconButton( $link, 'icon-48-section.png', JText::_( 'Section Manager' ) );
        
        		$link = 'index.php?option=com_categories&amp;section=com_content';
        		quickiconButton( $link, 'icon-48-category.png', JText::_( 'Category Manager' ) );
        */
        $link = 'index.php?option=com_users';
        quickiconButton($link, 'icon-48-user.png', JText::_('User Manager'));
        $link = 'index.php?option=com_users&task=add';
        quickiconButton($link, 'icon-48-user.png', JText::_('Add User'));
        $link = 'index.php?option=com_media';
        quickiconButton($link, 'icon-48-media.png', JText::_('Media Manager'));
        // Get the current JUser object
        /*
        		if ( $user->get('gid') > 23 ) {
        			$link = 'index.php?option=com_menus';
        			quickiconButton( $link, 'icon-48-menumgr.png', JText::_( 'Menu Manager' ) );
        		}
        */
        $link = 'index.php?option=com_languages&amp;client=0';
        quickiconButton($link, 'icon-48-language.png', JText::_('Language Manager'));
        /*
        		if ( $user->get('gid') > 24 ) {
        			$link = 'index.php?option=com_config';
        			quickiconButton( $link, 'icon-48-config.png', JText::_( 'Global Configuration' ) );
        		}
        */
    }
    ?>
	</div>
	<?php 
}
Example #12
0
                         <img src="' . JURI::base() . 'components/com_admirorgallery/templates/' . $AG_templateID . '/images/toolbar/' . $image . '" />
                         <span>' . $text . '</span>
                    </a>
               </div>
          </div>
     ';
}
echo '
<div id="ag_controlPanel_wrapper">
';
$link = 'index.php?option=com_admirorgallery&view=resourcemanager&AG_resourceType=templates';
quickiconButton($link, 'icon-48-templates.png', JText::_('Templates'), $AG_templateID);
$link = 'index.php?option=com_admirorgallery&view=resourcemanager&AG_resourceType=popups';
quickiconButton($link, 'icon-48-popups.png', JText::_('Popups'), $AG_templateID);
$link = 'index.php?option=com_admirorgallery&view=imagemanager';
quickiconButton($link, 'icon-48-imagemanager.png', JText::_('Image manager'), $AG_templateID);
echo '
<br style="clear:both" /><br />
<table border="0" cell>
  <tr>
<td style="vertical-align:text-top; width:50%">
<div style="display:block; border-style:solid;" class="AG_border_color AG_border_width AG_background_color AG_base_font">
<form action="' . JURI::getInstance()->toString() . '" method="post" name="adminForm">

' . "\n";
$db =& JFactory::getDBO();
$query = "SELECT * FROM #__plugins WHERE name LIKE '%AdmirorGallery%'";
$db->setQuery($query);
$row = $db->loadAssoc();
$paramsdata = $row['params'];
$paramsdefs = JPATH_SITE . '/plugins/content/AdmirorGallery.xml';
		</div>
		<?php 
    }
    ?>
	<div id="cpanel">
		<?php 
    $link = 'index.php?option=com_jce&amp;type=config';
    quickiconButton($link, 'icon-48-config.png', JText::_('Configuration'));
    $link = 'index.php?option=com_jce&amp;type=plugin';
    quickiconButton($link, 'icon-48-plugin.png', JText::_('Plugins'));
    $link = 'index.php?option=com_jce&amp;type=group';
    quickiconButton($link, 'icon-48-user.png', JText::_('Groups'));
    $link = 'index.php?option=com_jce&amp;type=install';
    quickiconButton($link, 'icon-48-install.png', JText::_('Install'));
    if (!JCEHelper::checkEditorInstall() && JCEHelper::checkEditorPath()) {
        $link = 'index.php?option=com_jce&amp;type=fixinstall-editor';
        quickiconButton($link, 'icon-48-cpanel.png', JText::_('Install Editor'));
    }
    if (!JCEHelper::checkPlugins()) {
        $link = 'index.php?option=com_jce&amp;type=fixinstall-plugins';
        quickiconButton($link, 'icon-48-cpanel.png', JText::_('Fix Plugins'));
    }
    if (!JCEHelper::checkGroups()) {
        $link = 'index.php?option=com_jce&amp;type=fixinstall-groups';
        quickiconButton($link, 'icon-48-cpanel.png', JText::_('Fix Groups'));
    }
    ?>
	</div>
    <div class="clr"></div>
	<?php 
}
Example #14
0
            $link = JURI::root() . 'plugins/editors/jckeditor/install/index.php?task=permissions';
            quickiconButton($link, 'icon-48-systemcheck.png', JText::_('System Check'), '/components/com_jckman/icons/', 'modal');
        } else {
            $link = 'index.php?option=com_jckman&amp;controller=cpanel&amp;task=check';
            quickiconButton($link, 'icon-48-systemcheck.png', JText::_('System Check'), '/components/com_jckman/icons/');
        }
    }
    $link = 'index.php?option=com_jckman&amp;controller=toolbars';
    quickiconButton($link, 'icon-48-layout.png', JText::_('Layout Manager'), '/components/com_jckman/icons/');
    if ($canDo->get('core.edit')) {
        $link = 'index.php?option=com_jckman&amp;controller=import';
        quickiconButton($link, 'icon-48-import.png', JText::_('Restore'), '/components/com_jckman/icons/');
    }
    $link = 'index.php?option=com_jckman&amp;controller=cpanel&task=export';
    quickiconButton($link, 'icon-48-export.png', JText::_('Backup'), '/components/com_jckman/icons/');
    $db = JFactory::getDBO();
    $db->setQuery('SELECT extension_id  FROM #__extensions WHERE type = "plugin" AND folder= "editors" AND element = "jckeditor"');
    $result = $db->loadresult();
    if ($result) {
        if ($canDo->get('jckman.sync')) {
            $link = 'index.php?option=com_jckman&amp;controller=cpanel&amp;task=sync';
            quickiconButton($link, 'icon-48-sync.png', JText::_('Sync'), '/components/com_jckman/icons/');
        }
        $link = 'index.php?option=com_plugins&amp;task=plugin.edit&amp;extension_id=' . $result;
        quickiconButton($link, 'icon-48-editor.png', JText::_('JCK Editor'), '/components/com_jckman/icons/');
    }
    ?>
	</div>
    <div class="clr"></div>
	<?php 
}
function displayConfigPanelIco()
{
    $jshopConfig = JSFactory::getConfig();
    $user = JFactory::getUser();
    JPluginHelper::importPlugin('jshoppingmenu');
    $dispatcher = JDispatcher::getInstance();
    $menu = array();
    $menu['general'] = array(_JSHOP_GENERAL_PARAMETERS, 'index.php?option=com_jshopping&controller=config&task=general', 'jshop_configuration_b.png', 1);
    $menu['catprod'] = array(_JSHOP_CAT_PROD, 'index.php?option=com_jshopping&controller=config&task=catprod', 'jshop_products_b.png', 1);
    $menu['checkout'] = array(_JSHOP_CHECKOUT, 'index.php?option=com_jshopping&controller=config&task=checkout', 'jshop_orders_b.png', 1);
    $menu['fieldregister'] = array(_JSHOP_REGISTER_FIELDS, 'index.php?option=com_jshopping&controller=config&task=fieldregister', 'jshop_country_list_b.png', 1);
    $menu['currency'] = array(_JSHOP_CURRENCY_PARAMETERS, 'index.php?option=com_jshopping&controller=config&task=currency', 'jshop_currencies_b.png', 1);
    $menu['image'] = array(_JSHOP_IMAGE_VIDEO_PARAMETERS, 'index.php?option=com_jshopping&controller=config&task=image', 'jshop_image_video_b.png', 1);
    $menu['statictext'] = array(_JSHOP_STATIC_TEXT, 'index.php?option=com_jshopping&controller=config&task=statictext', 'jshop_mein_page_b.png', 1);
    $menu['seo'] = array(_JSHOP_SEO, 'index.php?option=com_jshopping&controller=config&task=seo', 'jshop_languages_b.png', 1);
    $menu['storeinfo'] = array(_JSHOP_STORE_INFO, 'index.php?option=com_jshopping&controller=config&task=storeinfo', 'jshop_store_info_b.png', 1);
    $menu['adminfunction'] = array(_JSHOP_SHOP_FUNCTION, 'index.php?option=com_jshopping&controller=config&task=adminfunction', 'jshop_options_b.png', 1);
    $menu['otherconfig'] = array(_JSHOP_OC, 'index.php?option=com_jshopping&controller=config&task=otherconfig', 'jshop_reviews_b.png', 1);
    $dispatcher->trigger('onBeforeAdminConfigPanelIcoDisplay', array(&$menu));
    foreach ($menu as $item) {
        if ($item[3]) {
            quickiconButton($item[1], $item[2], $item[0]);
        }
    }
}
Example #16
0
    //echo $description;
    ?>
 &nbsp;</p>
				</a>
			</li>
			<?php 
}
?>

<?php 
echo "<div class='user-options-container'><ul>";
?>
	<?php 
if (checkUserAccess(JFactory::getUser()->id, "reservations_reports")) {
    echo quickiconButton("index.php?option=" . getBookingExtName() . "&view=reports", 'reservationsreports_48_48_icon.gif', JText::_('LNG_RESERVATIONS_CALENDAR_SIMPLE', true), JText::_('LNG_RESERVATIONS_CALENDAR_SIMPLE', true), JText::_('LNG_RESERVATIONS_REPORTS_DESC', true));
}
?>
	<?php 
if (checkUserAccess(JFactory::getUser()->id, "reservations_reports") && PROFESSIONAL_VERSION == 1) {
    echo quickiconButton("index.php?option=" . getBookingExtName() . "&task=reservationsreports.incomeReport", 'managecurrencies_48_48_icon.gif', JText::_('LNG_RESERVATIONS_INCOME_REPORT', true), JText::_('LNG_RESERVATIONS_INCOME_REPORT', true), JText::_('LNG_RESERVATIONS_REPORTS_DESC', true));
}
?>
	<?php 
if (checkUserAccess(JFactory::getUser()->id, "reservations_reports") && PROFESSIONAL_VERSION == 1) {
    echo quickiconButton("index.php?option=" . getBookingExtName() . "&task=reservationsreports.countryReservationReport", 'manageroomfeatures_48_48_icon.gif', JText::_('LNG_RESERVATIONS_BY_COUNTRY_REPORT', true), JText::_('LNG_RESERVATIONS_BY_COUNTRY_REPORT', true), JText::_('LNG_RESERVATIONS_REPORTS_DESC', true));
}
echo "</ul></div>";
?>


Example #17
0
    quickiconButton($link, 'icon-48-article.png', JText::_('Article Manager'));
    $link = 'index.php?option=com_frontpage';
    quickiconButton($link, 'icon-48-frontpage.png', JText::_('Frontpage Manager'));
    $link = 'index.php?option=com_sections&amp;scope=content';
    quickiconButton($link, 'icon-48-section.png', JText::_('Section Manager'));
    $link = 'index.php?option=com_categories&amp;section=com_content';
    quickiconButton($link, 'icon-48-category.png', JText::_('Category Manager'));
    $link = 'index.php?option=com_media';
    quickiconButton($link, 'icon-48-media.png', JText::_('Media Manager'));
    // Get the current JUser object
    $user =& JFactory::getUser();
    if ($user->get('gid') > 23) {
        $link = 'index.php?option=com_menus';
        quickiconButton($link, 'icon-48-menumgr.png', JText::_('Menu Manager'));
    }
    if ($user->get('gid') > 24) {
        $link = 'index.php?option=com_languages&amp;client=0';
        quickiconButton($link, 'icon-48-language.png', JText::_('Language Manager'));
    }
    if ($user->get('gid') > 23) {
        $link = 'index.php?option=com_users';
        quickiconButton($link, 'icon-48-user.png', JText::_('User Manager'));
    }
    if ($user->get('gid') > 24) {
        $link = 'index.php?option=com_config';
        quickiconButton($link, 'icon-48-config.png', JText::_('Global Config'));
    }
    ?>
	</div>
	<?php 
}
Example #18
0
$link = 'index.php?option=com_seoboss&amp;task=panel';
quickiconButton($link, '48x48-jb.png', JText::_('SEO_CONTROL_PANEL'));
$link = 'index.php?option=com_seoboss&amp;task=metatags_view';
quickiconButton($link, '48x48-metatag.png', JText::_('SEO_META_TAGS_MANAGER_TITLE'));
$link = 'index.php?option=com_seoboss&task=keywords_view';
quickiconButton($link, '48x48-keywords.png', JText::_('SEO_KEYWORDS_MANAGER_TITLE'));
$link = 'index.php?option=com_seoboss&task=pages_manager';
quickiconButton($link, '48x48-html.png', JText::_('SEO_PAGES_MANAGER'));
$link = 'index.php?option=com_seoboss&task=url_list';
quickiconButton($link, '48x48-redirect.png', JText::_('SEO_EXTERNAL_LINK'));
$link = 'index.php?option=com_seoboss&task=backup_manager';
quickiconButton($link, '48x48-backup.png', JText::_('SEO_BACKUP_MANAGER'));
$link = 'index.php?option=com_seoboss&amp;task=settings';
quickiconButton($link, '48x48-settings.png', JText::_('SEO_SETTINGS'));
$link = 'index.php?option=com_seoboss&amp;task=helpdesk';
quickiconButton($link, '48x48-helpdesk.png', JText::_('SEO_HELPDESK'));
?>
					</div>
					</td>
					<td width="45%" valign="top">
					<div style="width: 100%">
					<?php 
$pane =& JPane::getInstance('sliders');
echo $pane->startPane("content-pane");
echo $pane->startPanel(JText::_('SEO_WELCOME'), 'SeoBoss-panel-welcom');
echo JText::_('SEO_WELCOME_DESC');
echo $pane->endPanel();
echo $pane->startPanel(JText::_('SEO_SYSTEM_INFORMATION'), 'SeoBoss-panel-info');
echo JText::sprintf('SEO_SYSTEM_INFORMATION_DESC', $this->system['keywords'], $this->system['pages'], $this->system['links']);
echo $pane->endPanel();
echo $pane->startPanel(JText::_('SEO_HELP_AND_SUPPORT'), 'SeoBoss-panel-help');