Source for file mod_quickicon.php

Documentation is available at mod_quickicon.php

  1. <?php
  2. /**
  3. @package Mambo
  4. @author Mambo Foundation Inc see README.php
  5. @copyright Mambo Foundation Inc.
  6. *  See COPYRIGHT.php for copyright notices and details.
  7. @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see
  8. *  LICENSE.php
  9. *  Mambo is free software; you can redistribute it and/or
  10. *  modify it under the terms of the GNU General Public License
  11. *  as published by the Free Software Foundation; version 2 of the
  12. *  License.
  13. */ 
  14.  
  15. /** ensure this file is being included by a parent file */
  16. defined'_VALID_MOS' or die'Direct Access to this location is not allowed.' );
  17.  
  18. ?>
  19. <table width="100%" class="cpanel">
  20. <?php if($_SESSION['simple_editing'== 'off'){?>
  21. <tr>    
  22.     <td align="center"  width="25%">
  23.     <a href="index2.php?option=com_content&amp;sectionid=0" style="text-decoration:none" >
  24. <img src="images/addedit.png" width="48" height="48" align="middle" alt="<?php echo T_('All Content Items'?>" border="0"/>
  25.     <br />
  26.     <?php echo T_('All Content Items'?>    </a>    </td>
  27.     <td align="center" style="height:100px">
  28.     <a href="index2.php?option=com_typedcontent" style="text-decoration:none">
  29.     <img src="images/addedit.png" width="48" height="48" align="middle" alt="<?php echo T_('Static Content'?>" border="0"/>
  30.     <br />
  31.     <?php echo T_('Static Content'?>    </a>    </td>
  32.     <td align="center" width="25%">
  33.     <a href="index2.php?option=com_frontpage" style="text-decoration:none"><img src="images/frontpage.png" width="48" height="48" align="middle" alt="<?php echo T_('Frontpage'?>" border="0"/><br />
  34.     <?php echo T_('Frontpage'?>    </a>    </td>
  35.     <br />
  36.     <td align="center" style="height:100px">
  37.     <a href="http://www.mambolearn.com/forum/" style="text-decoration:none" target="_blank"><img src="images/help-browser.png" width="48" height="48" align="middle" alt="<?php echo T_('Get Support'?>" border="0"/><br />
  38.     <?php echo T_('Get Support'?>    </a>    </td>
  39.     <br />
  40. </tr>
  41. <tr>
  42.     <td align="center" width="25%">
  43.     <a href="index2.php?option=com_sections&amp;scope=content" style="text-decoration:none"><img src="images/sections.png" width="48" height="48" align="middle" alt="<?php echo T_('Sections'?>" border="0"/><br />
  44.     <?php echo T_('Sections'?>    </a>    </td>
  45.     <td align="center" style="height:100px">
  46.     <a href="index2.php?option=com_categories&amp;section=content" style="text-decoration:none;">
  47.     <img src="images/categories.png" width="48" height="48" align="middle" alt="<?php echo T_('Categories'?>" border="0"/>
  48.     <br />
  49.     <?php echo T_('Categories'?>    </a>    </td>
  50.     <td align="center"  width="25%">
  51.     <a href="index2.php?option=com_media" style="text-decoration:none;">
  52.     <img src="images/mediamanager.png" width="48" height="48" align="middle" alt="<?php echo T_('Media'?>" border="0"/>
  53.     <br />
  54.     <?php echo T_('Media'?>    </a>    </td>
  55.     <td align="center" style="height:100px"><a href="index2.php?option=com_languages" style="text-decoration:none;">
  56.     <img src="images/langmanager.png" width="48" height="48" align="middle" alt="<?php echo T_('Languages'?>" border="0"/>
  57.     <br />
  58.     <?php echo T_('Languages'?>    </a>        </td>
  59. </tr>
  60.  
  61. <tr>
  62.     <td align="center" width="25%">
  63.     <a href="index2.php?option=com_trash" style="text-decoration:none;">
  64.     <img src="images/trash.png" width="48" height="48" align="middle" alt="<?php echo T_('Trash'?>" border="0"/>
  65.     <br />
  66.     <?php echo T_('Trash'?>    </a>    </td>
  67.     <td align="center" width="25%">
  68.     <?php
  69.     if $acl->acl_check'administration''manage''users'$my->usertype'components''com_menumanager' ) ) {
  70.         ?>
  71.         <a href="index2.php?option=com_menumanager" style="text-decoration:none;">
  72.         <img src="images/menu.png" width="48" height="48" align="middle" alt="<?php echo T_('Menus'?>" border="0"/>
  73.         <br />
  74.         <?php echo T_('Menus'?>        </a>
  75.         <?php
  76.     }
  77.     ?>    </td>
  78.     <td align="center" width="25%">
  79.     <?php
  80.     if $acl->acl_check'administration''manage''users'$my->usertype'components''com_users' ) ) {
  81.         ?>
  82.         <a href="index2.php?option=com_users" style="text-decoration:none;">
  83.         <img src="images/user.png" width="48" height="48" align="middle" alt="<?php echo T_('Users'?>" border="0"/>
  84.         <br />
  85.         <?php echo T_('Users'?>        </a>
  86.         <?php
  87.     }
  88.     ?>    </td>
  89.     <td align="center" width="25%">
  90.     <?php
  91.     if $acl->acl_check'administration''config''users'$my->usertype ) ) {
  92.         ?>
  93.         <a href="index2.php?option=com_config&amp;hidemainmenu=1" style="text-decoration:none;">
  94.         <img src="images/config.png" width="48" height="48" align="middle" alt="<?php echo T_('Global Configuration'?>" border="0"/>
  95.         <br />
  96.         <?php echo T_('Global Configuration'?>        </a>
  97.         <?php
  98.     }
  99.     ?>    </td>
  100. </tr>
  101. <?php }else{?>
  102. <!-- if we are simple mode we display these icons -->
  103. <tr>
  104.  
  105.     <td align="center" width="25%">
  106.     <a href="index2.php?option=com_content&amp;sectionid=0" style="text-decoration:none;">
  107.     <img src="images/addedit.png" width="48" height="48" align="middle" alt="<?php echo T_('All Content Items'?>" border="0"/>
  108.     <br />    
  109.     <?php echo T_('All Content Items'?>    </a>    </td>
  110.     
  111.     <td align="center"  width="25%">
  112.     <a href="index2.php?option=com_typedcontent" style="text-decoration:none;">
  113.     <img src="images/addedit.png" width="48" height="48" align="middle" alt="<?php echo T_('Static Content'?>" border="0"/>
  114.     <br />
  115.     <?php echo T_('Static Content'?>    </a>    </td>
  116.     
  117.     <td align="center" width="25%">
  118.     <a href="index2.php?option=com_frontpage" style="text-decoration:none;">
  119.     <img src="images/frontpage.png" width="48" height="48" align="middle" alt="<?php echo T_('Frontpage'?>" border="0"/>
  120.     <br />
  121.     <?php echo T_('Frontpage'?>    </a>    </td>
  122.     
  123.     <td align="center" width="25%">
  124.     <a href="http://forum.mambo-foundation.org" style="text-decoration:none" target="_blank"><img src="images/help-browser.png" width="48" height="48" align="middle" alt="<?php echo T_('Get Support'?>" border="0"/><br />
  125.     <?php echo T_('Get Support'?>    </a>    </td>
  126.     <br />
  127.     
  128.     <td align="center"  width="25%">&nbsp;</td>
  129. </tr>
  130. <?php }?>
  131. </table>

Documentation generated on Mon, 05 May 2008 16:21:21 +0400 by phpDocumentor 1.4.0