mambo的cms源代码

源代码在线查看: content_archive_category.menu.html.php

软件大小: 2053 K
上传用户: bonylee_java
关键词: mambo cms 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

								/**				* @version $Id: content_archive_category.menu.html.php,v 1.8 2005/02/15 12:21:07 kochp Exp $				* @package Mambo				* @subpackage Menus				* @copyright (C) 2000 - 2005 Miro International Pty Ltd				* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL				* 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.' );								/**				* Writes the edit form for new and existing content item				*				* A new record is defined when $row is passed with the id				* property set to 0.				* @package Mambo				* @subpackage Menus				*/				class content_archive_category_menu_html {									function editCategory( &$menu, &$lists, &$params, $option ) {						global $mosConfig_live_site, $adminLanguage;						?>																		function submitbutton(pressbutton) {							if (pressbutton == 'cancel') {								submitform( pressbutton );								return;							}							var form = document.adminForm;														if ( !$menu->id ) {								?>								if ( getSelectedValue( 'adminForm', 'componentid' ) < 1 ) {									alert( '' );									return;								}								sectcat = getSelectedText( 'adminForm', 'componentid' );								sectcats = sectcat.split('/');								section = getSelectedOption( 'adminForm', 'componentid' );												form.link.value = "index.php?option=com_content&task=archivecategory&id=" + form.componentid.value;								if ( form.name.value == '' ) {									form.name.value = sectcats[1];								}								submitform( pressbutton );															} else {								?>								if ( form.name.value == '' ) {									alert( '' );								} else {									submitform( pressbutton );								}															}							?>						}																																					  ::  - 																																																																																																														:																																																						if ( !$menu->id ) {										echo mosToolTip( $adminLanguage->A_COMP_MENUS_CMP_CCT_BLANK ); 									}									?>																																		:																																																				:																																																				:																																																				:																																																				:																																																				:																																																				 																																																																																																																																																																																																																						}				}				?>			

相关资源