📄 admin.categories.html.php
字号:
<input class="text_area" type="text" name="name" value="<?php echo $row->name; ?>" size="50" maxlength="255" title="<?php echo $adminLanguage->A_COMP_SECT_LONG_NAME;?>" /> </td> </tr> <tr> <td> <?php echo $adminLanguage->A_COMP_SECTION;?>: </td> <td colspan="2"> <?php echo $lists['section']; ?> </td> </tr> <tr> <td> <?php echo $adminLanguage->A_COMP_IMAGE;?>: </td> <td> <?php echo $lists['image']; ?> </td> <td rowspan="4" width="50%"> <script language="javascript" type="text/javascript"> if (document.forms[0].image.options.value!=''){ jsimg='../images/stories/' + getSelectedValue( 'adminForm', 'image' ); } else { jsimg='../images/M_images/blank.png'; } document.write('<img src=' + jsimg + ' name="imagelib" width="80" height="80" border="2" alt="Preview" />'); </script> </td> </tr> <tr> <td> <?php echo $adminLanguage->A_COMP_IMAGE_POSITION;?>: </td> <td> <?php echo $lists['image_position']; ?> </td> </tr> <tr> <td> <?php echo $adminLanguage->A_COMP_ORDERING;?>: </td> <td> <?php echo $lists['ordering']; ?> </td> </tr> <tr> <td> <?php echo $adminLanguage->A_COMP_ACCESS_LEVEL;?>: </td> <td> <?php echo $lists['access']; ?> </td> </tr> <tr> <td> <?php echo $adminLanguage->A_COMP_PUBLISHED;?>: </td> <td> <?php echo $lists['published']; ?> </td> </tr> <tr> <td valign="top"> <?php echo $adminLanguage->A_COMP_DESCRIPTION;?>: </td> <td colspan="2"> <?php // parameters : areaname, content, hidden field, width, height, rows, cols editorArea( 'editor1', $row->description , 'description', '100%;', '300', '60', '20' ) ; ?> </td> </tr> </table> </td> <td valign="top" width="40%"> <?php if ( $row->id > 0 ) { ?> <table class="adminform"> <tr> <th colspan="2"> <?php echo $adminLanguage->A_COMP_LINK_TO_MENU;?> </th> <tr> <tr> <td colspan="2"> <?php echo $adminLanguage->A_COMP_CREATE_MENU;?> <br /><br /> </td> <tr> <tr> <td valign="top" width="100px"> <?php echo $adminLanguage->A_COMP_SELECT_MENU;?> </td> <td> <?php echo $lists['menuselect']; ?> </td> <tr> <tr> <td valign="top" width="100px"> <?php echo $adminLanguage->A_COMP_MENU_TYPE;?> </td> <td> <?php echo $lists['link_type']; ?> </td> <tr> <tr> <td valign="top" width="100px"> <?php echo $adminLanguage->A_COMP_MENU_NAME;?> </td> <td> <input type="text" name="link_name" class="inputbox" value="" size="25" /> </td> <tr> <tr> <td> </td> <td> <input name="menu_link" type="button" class="button" value="<?php echo $adminLanguage->A_COMP_LINK_TO_MENU;?>" onClick="submitbutton('menulink');" /> </td> <tr> <tr> <th colspan="2"> <?php echo $adminLanguage->A_COMP_MENU_LINKS;?> </th> </tr> <?php if ( $menus == NULL ) { ?> <tr> <td colspan="2"> <?php echo $adminLanguage->A_COMP_NONE;?> </td> </tr> <?php } else { mosCommonHTML::menuLinksSecCat( $menus ); } ?> <tr> <td colspan="2"> </td> </tr> </table> <?php } else { ?> <table class="adminform" width="40%"> <tr><th> </th></tr> <tr><td><?php echo $adminLanguage->A_COMP_MENU_LINKS_AVAIL; ?></td></tr> </table> <?php } ?> </td> </tr> </table> <input type="hidden" name="option" value="com_categories" /> <input type="hidden" name="oldtitle" value="<?php echo $row->title ; ?>" /> <input type="hidden" name="id" value="<?php echo $row->id; ?>" /> <input type="hidden" name="sectionid" value="<?php echo $row->section; ?>" /> <input type="hidden" name="task" value="" /> <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" /> <input type="hidden" name="hidemainmenu" value="0" /> </form> <?php } /** * Form to select Section to move Category to */ function moveCategorySelect( $option, $cid, $SectionList, $items, $sectionOld, $contents, $redirect ) { global $adminLanguage; ?> <form action="index2.php" method="post" name="adminForm"> <br /> <table class="adminheading"> <tr> <th class="categories"> <?php echo $adminLanguage->A_COMP_CATEG_MOVE;?> </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_CATEG_MOVE_TO_SECTION;?>:</strong> <br /> <?php echo $SectionList ?> <br /><br /> </td> <td align="left" valign="top" width="20%"> <strong><?php echo $adminLanguage->A_COMP_CATEG_BEING_MOVED;?>:</strong> <br /> <?php echo "<ol>"; foreach ( $items as $item ) { echo "<li>". $item->name ."</li>"; } echo "</ol>"; ?> </td> <td valign="top" width="20%"> <strong><?php echo $adminLanguage->A_COMP_CATEG_CONTENT;?>:</strong> <br /> <?php echo "<ol>"; foreach ( $contents as $content ) { echo "<li>". $content->title ."</li>"; } echo "</ol>"; ?> </td> <td valign="top"> <?php echo $adminLanguage->A_COMP_CATEG_MOVE_CATEG;?> <br /> <?php echo $adminLanguage->A_COMP_CATEG_ALL_ITEMS;?> <br /> <?php echo $adminLanguage->A_COMP_CATEG_TO_SECTION;?> </td>. </tr> </table> <br /><br /> <input type="hidden" name="option" value="<?php echo $option;?>" /> <input type="hidden" name="section" value="<?php echo $sectionOld;?>" /> <input type="hidden" name="boxchecked" value="1" /> <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" /> <input type="hidden" name="task" value="" /> <?php foreach ( $cid as $id ) { echo "\n <input type=\"hidden\" name=\"cid[]\" value=\"$id\" />"; } ?> </form> <?php } /** * Form to select Section to copy Category to */ function copyCategorySelect( $option, $cid, $SectionList, $items, $sectionOld, $contents, $redirect ) { global $adminLanguage; ?> <form action="index2.php" method="post" name="adminForm"> <br /> <table class="adminheading"> <tr> <th class="categories"> <?php echo $adminLanguage->A_COMP_CATEG_COPY;?> </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_CATEG_COPY_TO_SECTION;?>:</strong> <br /> <?php echo $SectionList ?> <br /><br /> </td> <td align="left" valign="top" width="20%"> <strong><?php echo $adminLanguage->A_COMP_CATEG_BEING_COPIED;?>:</strong> <br /> <?php echo "<ol>"; foreach ( $items as $item ) { echo "<li>". $item->name ."</li>"; } echo "</ol>"; ?> </td> <td valign="top" width="20%"> <strong><?php echo $adminLanguage->A_COMP_CATEG_ITEMS_COPIED;?>:</strong> <br /> <?php echo "<ol>"; foreach ( $contents as $content ) { echo "<li>". $content->title ."</li>"; echo "\n <input type=\"hidden\" name=\"item[]\" value=\"$content->id\" />"; } echo "</ol>"; ?> </td> <td valign="top"> <?php echo $adminLanguage->A_COMP_CATEG_COPY_CATEGS;?> <br /> <?php echo $adminLanguage->A_COMP_CATEG_ALL_ITEMS;?> <br /> <?php echo $adminLanguage->A_COMP_CATEG_TO_SECTION;?> </td>. </tr> </table> <br /><br /> <input type="hidden" name="option" value="<?php echo $option;?>" /> <input type="hidden" name="section" value="<?php echo $sectionOld;?>" /> <input type="hidden" name="boxchecked" value="1" /> <input type="hidden" name="redirect" value="<?php echo $redirect; ?>" /> <input type="hidden" name="task" value="" /> <?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 + -