[ Index ]

PHP Cross Reference of Mambo 4.6.5

[ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/administrator/modules/ -> mod_quickicon.php (source)

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