do_sysval_aed.php
来自「一个基于web的开源项目管理工具」· PHP 代码 · 共 29 行
PHP
29 行
<?php /* SYSKEYS $Id: do_sysval_aed.php,v 1.4.12.3 2007/04/13 03:45:07 caseydk Exp $ */if (!defined('DP_BASE_DIR')){ die('You should not access this file directly.');}$del = isset($_POST['del']) ? $_POST['del'] : 0;$obj = new CSysVal();if (!$obj->bind( $_POST )) { $AppUI->setMsg( $obj->getError(), UI_MSG_ERROR ); $AppUI->redirect();}$AppUI->setMsg( "System Lookup Values", UI_MSG_ALERT );if ($del) { if (($msg = $obj->delete())) { $AppUI->setMsg( $msg, UI_MSG_ERROR ); } else { $AppUI->setMsg( "deleted", UI_MSG_ALERT, true ); }} else { if (($msg = $obj->store())) { $AppUI->setMsg( $msg, UI_MSG_ERROR ); } else { $AppUI->setMsg( @$_POST['sysval_id'] ? 'updated' : 'inserted', UI_MSG_OK, true ); }}$AppUI->redirect( "m=system&u=syskeys" );?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?