📄 tag_edit.inc.php
字号:
<?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].')');
showmessage($LANG['operation_success'], $referer);
}
else
{
require_once PHPCMS_ROOT.'/include/tree.class.php';
$tree = new tree;
$tag_config = $tag->get_tag_config($tagname);
$TYPE = cache_read('type_'.$mod.'.php');
if(array_key_exists('typeid',$tag_config)) $type_select = type_select('type_id','閫夋嫨闄勫睘鍒嗙被',$tag_config['typeid'],'onchange="document.myform.typeid.value=this.value;"');
if(array_key_exists('infocat',$tag_config)) $infocat_select = str_replace("<select name='infocat'><option value='0'></option>",'',infocat_select('infocat',1,$tag_config['infocat']));
include admintpl('tag_'.$function.'_edit');
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -