Files
@ c7d7e38b2269
Branch filter:
Location: hot67beta/administrator/components/com_menus/views/menus/tmpl/default.php
c7d7e38b2269
3.3 KiB
text/x-php
Initial import of the site.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 | <?php defined('_JEXEC') or die('Restricted access'); ?>
<script language="javascript" type="text/javascript">
<!--
function submitbutton(task)
{
var f = document.adminForm;
if (task == 'deleteconfirm') {
id = radioGetCheckedValue( f.id );
//document.popup.show('index.php?option=com_menus&tmpl=component&task=deleteconfirm&id='+id, 700, 500, null);
} else {
submitform(task);
}
}
function menu_listItemTask( id, task, option )
{
var f = document.adminForm;
cb = eval( 'f.' + id );
if (cb) {
cb.checked = true;
submitbutton(task);
}
return false;
}
//-->
</script>
<form action="index.php" method="post" name="adminForm">
<table class="adminlist">
<thead>
<tr>
<th width="20">
<?php echo JText::_( 'NUM' ); ?>
</th>
<th width="20">
</th>
<th class="title" nowrap="nowrap">
<?php echo JText::_( 'Title' ); ?>
</th>
<th class="title" nowrap="nowrap">
<?php echo JText::_( 'Type' ); ?>
</th>
<th width="5%" nowrap="nowrap">
<?php echo JText::_( 'Menu Items' ); ?>
</th>
<th width="10%">
<?php echo JText::_( 'NUM Published' ); ?>
</th>
<th width="15%">
<?php echo JText::_( 'NUM Unpublished' ); ?>
</th>
<th width="15%">
<?php echo JText::_( 'NUM Trash' ); ?>
</th>
<th width="15%">
<?php echo JText::_( 'NUM Modules' ); ?>
</th>
<th width="3%">
<?php echo JText::_( 'ID' ); ?>
</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="13">
<?php echo $this->pagination->getListFooter(); ?>
</td>
</tr>
</tfoot>
<tbody>
<?php $i = 0; $k = 0; ?>
<?php foreach ($this->menus as $menu) : ?>
<?php
// Get the current iteration and set a few values
$link = 'index.php?option=com_menus&task=editMenu&id='. $menu->id;
$linkA = 'index.php?option=com_menus&task=view&menutype='. $menu->menutype;
?>
<tr class="<?php echo "row". $k; ?>">
<td align="center" width="30">
<?php echo $this->pagination->limitstart + 1 + $i; ?>
</td>
<td width="30" align="center">
<input type="radio" id="cb<?php echo $i;?>" name="id" value="<?php echo $menu->id; ?>" onclick="isChecked(this.checked);" />
</td>
<td>
<span class="editlinktip hasTip" title="<?php echo JText::_( 'Edit Menu Name' );?>::<?php echo $menu->title; ?>">
<a href="<?php echo $link; ?>">
<?php echo $menu->title; ?></a></span>
</td>
<td>
<?php echo $menu->menutype; ?>
</td>
<td align="center">
<a href="<?php echo $linkA; ?>" title="<?php echo JText::_( 'Edit Menu Items' ); ?>">
<img src="<?php echo JURI::root(); ?>includes/js/ThemeOffice/mainmenu.png" border="0" /></a>
</td>
<td align="center">
<?php
echo $menu->published;
?>
</td>
<td align="center">
<?php
echo $menu->unpublished;
?>
</td>
<td align="center">
<?php
echo $menu->trash;
?>
</td>
<td align="center">
<?php
echo $menu->modules;
?>
</td>
<td align="center">
<?php
echo $menu->id;
?>
</td>
</tr>
<?php $i++; $k = 1 - $k; ?>
<?php endforeach; ?>
</tbody>
</table>
<input type="hidden" name="option" value="com_menus" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="boxchecked" value="0" />
<?php echo JHTML::_( 'form.token' ); ?>
</form>
|