- md5
- 339723c750ab8db30cf0b5fcb62610f5
- sha1
- 3cc4aa0e75f1aa0c40d2a5771742d40426b090ac
- sha256
- b1763008be6754758a91b5c1afdff91f599c2d92ed6a2853f6bef6c780b7e324
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
<?php
/**
* @version $Id: mod_quickicon.php 1004 2005-11-13 17:18:18Z stingrey $
* @package Joomla
* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
// no direct access
defined( '_VALID_MOS' ) or die( 'Restricted access' );
if (!defined( '_JOS_QUICKICON_MODULE' )) {
/** ensure that functions are declared only once */
define( '_JOS_QUICKICON_MODULE', 1 );
function quickiconButton( $link, $image, $text ) {
?>
<div style="float:left;">
<div class="icon">
<a href="<?php echo $link; ?>">
<?php echo mosAdminMenus::imageCheckAdmin( $image, '/administrator/images/', NULL, NULL, $text ); ?>
<span><?php echo $text; ?></span>
</a>
</div>
</div>
<?php
}
?>
<div id="cpanel">
<?php
$link = 'index2.php?option=com_content&sectionid=0&task=new';
quickiconButton( $link, 'module.png', 'Add New Content' );
$link = 'index2.php?option=com_content§ionid=0';
quickiconButton( $link, 'addedit.png', 'Content Items Manager' );
$link = 'index2.php?option=com_typedcontent';
quickiconButton( $link, 'addedit.png', 'Static Content Manager' );
$link = 'index2.php?option=com_frontpage';
quickiconButton( $link, 'frontpage.png', 'Frontpage Manager' );
$link = 'index2.php?option=com_sections&scope=content';
quickiconButton( $link, 'sections.png', 'Section Manager' );
$link = 'index2.php?option=com_categories&section=content';
quickiconButton( $link, 'categories.png', 'Category Manager' );
$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' );
}
?>
</div>
<?php
}
?>
The same content is in 5 releases, Joomla 1.0.6 to 1.0.10. See them all, or every version of this file.