⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 admin.menus.html.php

📁 mambo的cms源代码
💻 PHP
📖 第 1 页 / 共 2 页
字号:
				$count 	= count( $types_content );					for ( $i=0; $i < $count; $i++ ) {					$row = &$types_content[$i];					$link = 'index2.php?option=com_menus&menutype='. $menutype .'&task=edit&type='. $row->type;					?>					<tr class="<?php echo "row$k"; ?>">						<td>						<?php echo $i+1; ?>						</td>						<td>						<input type="radio" id="cb<?php echo $i;?>" name="type" value="<?php echo $row->type; ?>" onClick="isChecked(this.checked);" />						</td>						<td>						<a href="<?php echo $link; ?>">						<?php echo $row->name; ?>						</a>						</td>						<td align="center">						<?php						echo mosToolTip( $row->descrip, $row->name, 250 );						?>						</td>						<td>						</td>					</tr>					<?php					$k = 1 - $k;				}				?>				<tr>					<th colspan="5">					</th>				</tr>				</table>				<br/>				<h2 align="left"><?php echo $adminLanguage->A_COMP_MENUS_MENU_COM;?></h2>				<table class="adminlist">				<tr>					<th width="5">					<?php echo $adminLanguage->A_COMP_NB;?>					</th>					<th width="20">					</th>					<th class="title">					<?php echo $adminLanguage->A_COMP_MENUS_MENU_ITEM_TYPE;?>					</th>					<th class="title" align="center" width="20">					<?php echo $adminLanguage->A_COMP_DESCRIPTION;?>					</th>					<th>					</th>				</tr>				<?php				$k 		= 0;				$count 	= count( $types_component );					for ( $i=0; $i < $count; $i++ ) {					$row = &$types_component[$i];					$link = 'index2.php?option=com_menus&menutype='. $menutype .'&task=edit&type='. $row->type;					?>					<tr class="<?php echo "row$k"; ?>">						<td>						<?php echo $i+1; ?>						</td>						<td>						<input type="radio" id="cb<?php echo $i;?>" name="type" value="<?php echo $row->type; ?>" onClick="isChecked(this.checked);" />						</td>						<td>						<a href="<?php echo $link; ?>">						<?php echo $row->name; ?>						</a>						</td>						<td align="center">						<?php						echo mosToolTip( $row->descrip, $row->name, 250 );						?>						</td>						<td>						</td>					</tr>					<?php					$k = 1 - $k;				}				?>				<tr>					<th colspan="5">					</th>				</tr>				</table>				<br/>				<h2 align="left"><?php echo adminLanguage->A_COMP_MENUS_MENU_LINKS;?></h2>				<table class="adminlist">				<tr>					<th width="5">					<?php echo $adminLanguage->A_COMP_NB;?>					</th>					<th width="20">					</th>					<th class="title">					<?php echo $adminLanguage->A_COMP_MENUS_MENU_ITEM_TYPE;?>					</th>					<th class="title" align="center" width="20">					<?php echo $adminLanguage->A_COMP_DESCRIPTION;?>					</th>					<th>					</th>				</tr>				<?php				$k 		= 0;				$count 	= count( $types_link );					for ( $i=0; $i < $count; $i++ ) {					$row = &$types_link[$i];					$link = 'index2.php?option=com_menus&menutype='. $menutype .'&task=edit&type='. $row->type;					?>					<tr class="<?php echo "row$k"; ?>">						<td>						<?php echo $i+1; ?>						</td>						<td>						<input type="radio" id="cb<?php echo $i;?>" name="type" value="<?php echo $row->type; ?>" onClick="isChecked(this.checked);" />						</td>						<td>						<a href="<?php echo $link; ?>">						<?php echo $row->name; ?>						</a>						</td>						<td align="center">						<?php						echo mosToolTip( $row->descrip, $row->name, 250 );						?>						</td>						<td>						</td>					</tr>					<?php					$k = 1 - $k;				}				?>				<tr>					<th colspan="5">					</th>				</tr>				</table>				<br/>				<h2 align="left">Other</h2>				<table class="adminlist">				<tr>					<th width="5">					<?php echo $adminLanguage->A_COMP_NB;?>					</th>					<th width="20">					</th>					<th class="title">					<?php echo $adminLanguage->A_COMP_MENUS_MENU_ITEM_TYPE;?>					</th>					<th class="title" align="center" width="20">					<?php echo $adminLanguage->A_COMP_DESCRIPTION;?>					</th>					<th>					</th>				</tr>				<?php				$k 		= 0;				$count 	= count( $types_other );					for ( $i=0; $i < $count; $i++ ) {					$row = &$types_other[$i];					$link = 'index2.php?option=com_menus&menutype='. $menutype .'&task=edit&type='. $row->type;					?>					<tr class="<?php echo "row$k"; ?>">						<td>						<?php echo $i+1; ?>						</td>						<td>						<input type="radio" id="cb<?php echo $i;?>" name="type" value="<?php echo $row->type; ?>" onClick="isChecked(this.checked);" />						</td>						<td>						<a href="<?php echo $link; ?>">						<?php echo $row->name; ?>						</a>						</td>						<td align="center">						<?php						echo mosToolTip( $row->descrip, $row->name, 250 );						?>						</td>						<td>						</td>					</tr>					<?php					$k = 1 - $k;				}				?>				<tr>					<th colspan="5">					</th>				</tr>				</table>			</td>			<td width="40%" valign="top" align="center">			<h2><?php echo $adminLanguage->A_COMP_MENUS_MENU_HELP;?></h2>			<br/>			<a href="#">			<?php echo $adminLanguage->A_COMP_MENUS_MENU_BLOGVIEW;?>			</a>			<br/><br/><br/>			<a href="#">			<?php echo $adminLanguage->A_COMP_MENUS_MENU_TABLEVIEW;?>			</a>			<br/><br/><br/>			<a href="#">			<?php echo $adminLanguage->A_COMP_MENUS_MENU_LISTVIEW;?>			</a>			<br/><br/><br/><br/><br/>			<div style="color: red; font-weight: bold;">			<?php echo _MENU_GROUP; ?>			</div>			</td>		</tr>		</table><?php */ ?>		<input type="hidden" name="option" value="<?php echo $option; ?>" />		<input type="hidden" name="menutype" value="<?php echo $menutype; ?>" />		<input type="hidden" name="task" value="edit" />		<input type="hidden" name="boxchecked" value="0" />		<input type="hidden" name="hidemainmenu" value="0" />		</form>		<?php	}	/**	* Form to select Menu to move menu item(s) to	*/	function moveMenu( $option, $cid, $MenuList, $items, $menutype  ) {		global $adminLanguage;		?>		<form action="index2.php" method="post" name="adminForm">		<br />		<table class="adminheading">		<tr>			<th>			<?php echo $adminLanguage->A_COMP_MENUS_MOVE_ITEMS;?>			</th>		</tr>		</table>		<br />		<table class="adminform">		<tr>			<td width="3%"></td>			<td align="left" valign="top" width="30%">			<strong><?php echo $adminLanguage->A_COMP_MENUS_MOVE_MENU;?>:</strong>			<br />			<?php echo $MenuList ?>			<br /><br />			</td>			<td align="left" valign="top">			<strong>			<?php echo $adminLanguage->A_COMP_MENUS_BEING_MOVED;?>:			</strong>			<br />			<ol>			<?php			foreach ( $items as $item ) {				?>				<li>				<?php echo $item->name; ?>				</li>				<?php			}			?>			</ol>			</td>		</tr>		</table>		<br /><br />		<input type="hidden" name="option" value="<?php echo $option;?>" />		<input type="hidden" name="boxchecked" value="1" />		<input type="hidden" name="task" value="" />		<input type="hidden" name="menutype" value="<?php echo $menutype; ?>" />		<?php		foreach ( $cid as $id ) {			echo "\n <input type=\"hidden\" name=\"cid[]\" value=\"$id\" />";		}		?>		</form>		<?php	}	/**	* Form to select Menu to copy menu item(s) to	*/	function copyMenu( $option, $cid, $MenuList, $items, $menutype  ) {		global $adminLanguage;		?>		<form action="index2.php" method="post" name="adminForm">		<br />		<table class="adminheading">		<tr>			<th>			<?php echo $adminLanguage->A_COMP_MENUS_COPY_ITEMS;?>			</th>		</tr>		</table>		<br />		<table class="adminform">		<tr>			<td width="3%"></td>			<td align="left" valign="top" width="30%">			<strong>			<?php echo $adminLanguage->A_COMP_MENUS_COPY_MENU;?>:			</strong>			<br />			<?php echo $MenuList ?>			<br /><br />			</td>			<td align="left" valign="top">			<strong>			<?php echo $adminLanguage->A_COMP_MENUS_BEING_COPIED;?>:			</strong>			<br />			<ol>			<?php			foreach ( $items as $item ) {				?>				<li>				<?php echo $item->name; ?>				</li>				<?php			}			?>			</ol>			</td>		</tr>		</table>		<br /><br />		<input type="hidden" name="option" value="<?php echo $option;?>" />		<input type="hidden" name="boxchecked" value="0" />		<input type="hidden" name="task" value="" />		<input type="hidden" name="menutype" value="<?php echo $menutype; ?>" />		<?php		foreach ( $cid as $id ) {			echo "\n <input type=\"hidden\" name=\"cid[]\" value=\"$id\" />";		}		?>		</form>		<?php	}}?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -