<?php
/**
* @package Mambo Open Source
* @copyright (C) 2005 - 2006 Mambo Foundation Inc.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
*
* Mambo was originally developed by Miro (www.miro.com.au) in 2000. Miro assigned the copyright in Mambo to The Mambo Foundation in 2005 to ensure
* that Mambo remained free Open Source software owned and managed by the community.
* Mambo is Free Software
*/ 

/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

?>
<table width="100%" class="cpanel">
<?php if($_SESSION['simple_editing'] == 'off'){?>
<tr>	
	<td align="center"  width="25%">
	<a href="index2.php?option=com_content&amp;sectionid=0"style="text-decoration:none" >
<img src="images/addedit.png" width="48" height="48" align="middle" border="0"/>
	<br />
	<?php echo T_('All Content Items') ?>	</a>	</td>
	<td align="center" style="height:100px">
	<a href="index2.php?option=com_typedcontent"style="text-decoration:none">
	<img src="images/addedit.png" width="48" height="48" align="middle" border="0"/>
	<br />
	<?php echo T_('Static Content') ?>	</a>	</td>
	<td align="center" width="25%">
	<a href="index2.php?option=com_frontpage"style="text-decoration:none"><img src="images/frontpage.png" width="48" height="48" align="middle" border="0"/><br />
	<?php echo T_('Frontpage') ?>	</a>	</td>
	<td align="center"  width="25%">&nbsp;</td>
</tr>
<tr>
	<td align="center" width="25%">
	<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" border="0"/><br />
	<?php echo T_('Sections') ?>	</a>	</td>
	<td align="center" style="height:100px">
	<a href="index2.php?option=com_categories&amp;section=content" style="text-decoration:none;">
	<img src="images/categories.png" width="48" height="48" align="middle" border="0"/>
	<br />
	<?php echo T_('Categories') ?>	</a>	</td>
	<td align="center"  width="25%">
	<a href="index2.php?option=com_media" style="text-decoration:none;">
	<img src="images/mediamanager.png" width="48" height="48" align="middle" border="0"/>
	<br />
	<?php echo T_('Media') ?>	</a>	</td>
	<td align="center" style="height:100px"><a href="index2.php?option=com_languages" style="text-decoration:none;">
	<img src="images/langmanager.png" width="48" height="48" align="middle" border="0"/>
	<br />
	<?php echo T_('Languages') ?>	</a>		</td>
</tr>

<tr>
	<td align="center" width="25%">
	<a href="index2.php?option=com_trash" style="text-decoration:none;">
	<img src="images/trash.png" width="48" height="48" align="middle" border="0"/>
	<br />
	<?php echo T_('Trash') ?>	</a>	</td>
	<td align="center" width="25%">
	<?php
	if ( $acl->acl_check( 'administration', 'manage', 'users', $my->usertype, 'components', 'com_menumanager' ) ) {
		?>
		<a href="index2.php?option=com_menumanager" style="text-decoration:none;">
		<img src="images/menu.png" width="48" height="48" align="middle" border="0"/>
		<br />
		<?php echo T_('Menus') ?>		</a>
		<?php
	}
	?>	</td>
	<td align="center" width="25%">
	<?php
	if ( $acl->acl_check( 'administration', 'manage', 'users', $my->usertype, 'components', 'com_users' ) ) {
		?>
		<a href="index2.php?option=com_users" style="text-decoration:none;">
		<img src="images/user.png" width="48" height="48" align="middle" border="0"/>
		<br />
		<?php echo T_('Users') ?>		</a>
		<?php
	}
	?>	</td>
	<td align="center" width="25%"">
	<?php
	if ( $acl->acl_check( 'administration', 'config', 'users', $my->usertype ) ) {
		?>
		<a href="index2.php?option=com_config&amp;hidemainmenu=1" style="text-decoration:none;">
		<img src="images/config.png" width="48" height="48" align="middle" border="0"/>
		<br />
		<?php echo T_('Global Configuration') ?>		</a>
		<?php
	}
	?>	</td>
</tr>
<?php }else{?>
<!-- if we are simple mode we display these icons -->
<tr>

	<td align="center" width="25%">
	<a href="index2.php?option=com_content&amp;sectionid=0" style="text-decoration:none;">
	<img src="images/addedit.png" width="48" height="48" align="middle" border="0"/>
	<br />	
	<?php echo T_('All Content Items') ?>	</a>	</td>
	
	<td align="center"  width="25%">
	<a href="index2.php?option=com_typedcontent" style="text-decoration:none;">
	<img src="images/addedit.png" width="48" height="48" align="middle" border="0"/>
	<br />
	<?php echo T_('Static Content') ?>	</a>	</td>
	
	<td align="center" width="25%">
	<a href="index2.php?option=com_frontpage" style="text-decoration:none;">
	<img src="images/frontpage.png" width="48" height="48" align="middle" border="0"/>
	<br />
	<?php echo T_('Frontpage') ?>	</a>	</td>
	
	<td align="center"  width="25%">&nbsp;</td>
</tr>
<?php }?>
</table>
