JSP Source Code Share in this

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

软件大小: 2469 K
上传用户: hqq
关键词: Source Share Code this
下载地址: 免注册下载 普通下载 VIP

相关代码

								/**
				* @version $Id: url.menu.html.php 85 2005-09-15 23:12:03Z eddieajau $
				* @package Joomla
				* @subpackage Menus
				* @copyright Copyright (C) 2005 Open Source Matters. All rights reserved.
				* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
				* Joomla! is free software. This version may have been modified pursuant
				* to the GNU General Public License, and as distributed it includes or
				* is derivative of works licensed under the GNU General Public License or
				* other free or open source software licenses.
				* See COPYRIGHT.php for copyright notices and details.
				*/
				
				// no direct access
				defined( '_VALID_MOS' ) or die( 'Restricted access' );
				
				/**
				* 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 Joomla
				* @subpackage Menus
				*/
				class url_menu_html {
				
					function edit( $menu, $lists, $params, $option ) {
						global $mosConfig_live_site;
						global $_LANG;
						?>
						
						
						function submitbutton(pressbutton) {
							var form = document.adminForm;
							if (pressbutton == 'cancel') {
								submitform( pressbutton );
								return;
							}
				
							// do field validation
							if (trim(form.name.value) == ""){
								alert( "" );
							} else if (trim(form.link.value) == ""){
								alert( "" );
							} else {
								submitform( pressbutton );
							}
						}
						
				
						
						
						
							
							 
							
						
						
				
						
						
							
								
								
									
									
									
								
								
									
									:
									
									
																		
								
								
									
									:
									
									
																		
								
								
									
									:
									
									
									
									
								
								
									
									:
									
									
									
									
								
								
									
									:
									
									
									
									
								
								
									
									:
									
									
									
									
								
								
									
									:
									
									
									
									
								
								
							
							
								
								
									
									
									
								
								
									
									
									
								
								
							
						
						
				
																														
						
						
																	}
				}
				?>			

相关资源