tag_edit.inc.php
来自「phpcms2007很好的cms内容管理系统,操作方便」· PHP 代码 · 共 27 行
PHP
27 行
<?php
defined('IN_PHPCMS') or exit('Access Denied');
$function or showmessage($LANG['function_name_not_null'],"goback");
if($dosubmit)
{
$tagname or showmessage($LANG['label_name_not_null'],"goback");
if(!$tag->exists($tagname)) showmessage($LANG['label']." ".$tagname." ".$LANG['exist_change_name'],"goback");
$tag->update($tagname , $tag_config, $function.'('.$tag_funcs[$function].')');
if($job == 'edittemplate')
{
$message = '<script type="text/javascript">window.close();</script>';
$referer = '';
}
else
{
$message = $LANG['operation_success'];
}
showmessage($message, $referer);
}
else
{
$tagname = preg_replace("/^[^{]*[{]?tag_([^}]+)[}]?.*/", "\\1", trim($tagname));
$tag_config = $tag->get_tag_config($tagname);
include admintpl('tag_'.$function.'_edit');
}
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?