info_edit.inc.php
来自「采用模块化开发」· PHP 代码 · 共 22 行
PHP
22 行
<?php
defined('IN_PHPCMS') or exit('Access Denied');
$infoid = intval($infoid);
$infoid or showmessage($LANG['info_id_not_null'],$referer);
$AREA = cache_read('areas_'.$channelid.'.php');
require PHPCMS_ROOT.'/include/field.class.php';
$field = new field(channel_table('info', $channelid));
require PHPCMS_ROOT.'/admin/include/position.class.php';
$pos = new position($channelid);
$referer = isset($referer) ? $referer : "?mod=$mod&file=$file&action=manage&channelid=$channelid";
if($dosubmit)
{
if(empty($info['title']))
{
showmessage($LANG['sorry_short_title_not_null'],'goback');
}
if(isset($addkeywords) && $info['keywords']) update_keywords($info['keywords'], $channelid);
if($ishtmled) $inf->delete($infoid, 1);//鍏堝垹闄ゅ凡鐢熸垚鐨勬枃浠
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?