📄 skin_post.php
字号:
return "<form action='{$ibforums->base_url}&act=calendar&code=addnewevent' method='POST' name='REPLIER' onSubmit='return ValidateForm()'>";
}
function calendar_start_edit_form( $eventid )
{
global $ibforums;
return "<form action='{$ibforums->base_url}&act=calendar&code=doedit&eventid={$eventid}' method='POST' name='REPLIER' onSubmit='return ValidateForm()'>";
}
function calendar_event_title( $data = "" )
{
global $ibforums;
return "<tr> \n <td class=\"row1\" width='20%'>{$ibforums->lang['calendar_title']}</td>\n <td class=\"row1\" width=\"100%\"><input type='text' size='40' maxlength='40' name='event_title' value='{$data}'></td>\n </tr>";
}
function calendar_delete_box( )
{
global $ibforums;
return "<tr> \n <td class=\"row1\" width=\"100%\" colspan='2' style='height:40px;border:1px solid black'><input type='checkbox' name='event_delete' value='1'> {$ibforums->lang['calendar_delete_box']}</td>\n </tr>";
}
function calendar_choose_date( $days, $months, $years )
{
global $ibforums;
return "<tr> \n <td class=\"row1\" nowrap>{$ibforums->lang['calendar_event_date']}</td>\n <td class=\"row1\" width=\"100%\"><select name='e_day' class='forminput'>{$days}</select> <select name='e_month' class='forminput'>{$months}</select> <select name='e_year' class='forminput'>{$years}</select></td>\n </tr>";
}
function calendar_event_type( $pub_select = "", $priv_select = "" )
{
global $ibforums;
return "<tr> \n <td class=\"row1\" nowrap>{$ibforums->lang['calendar_event_type']}</td>\n <td class=\"row1\" width=\"100%\"><select name='e_type' class='forminput'><option value='public'{$pub_select}>{$ibforums->lang['calendar_type_public']}</option><option value='private'{$priv_select}>{$ibforums->lang['calendar_type_private']}</option></select></td>\n </tr>";
}
function calendar_admin_group_box( $groups )
{
global $ibforums;
return "<tr> \n <td class=\"row1\">{$ibforums->lang['calendar_group_filter']}</td>\n <td class=\"row1\" width=\"100%\"><select name='e_groups[]' class='forminput' size='5' multiple>{$groups}</select></td>\n </tr>";
}
function table_structure( )
{
global $ibforums;
return "<!--START TABLE-->\n<!--NAME FIELDS-->\n<!--TOPIC TITLE-->\n<!--POLL BOX-->\n<!--POST BOX-->\n<!--QUOTE BOX-->\n<!--POST ICONS-->\n<!--UPLOAD FIELD-->\n<!--MOD OPTIONS-->\n<!--END TABLE-->";
}
function add_edit_box( $checked = "" )
{
global $ibforums;
return "<tr> \n <td class=\"row1\" width='20%'><b>{$ibforums->lang['edit_ops']}</b></td>\n <td class=\"row1\" width=\"100%\" valign='middle'><input type='checkbox' name='add_edit' value='1' {$checked} class='forminput'> {$ibforums->lang['append_edit']}</td>\n </tr>";
}
function topictitle_fields( $data )
{
global $ibforums;
return "<tr> \n <td class=\"postfoot\" colspan=\"2\">{$ibforums->lang['tt_topic_settings']}</td>\n </tr>\n <tr> \n <td class='row1'>{$ibforums->lang['topic_title']}:<SELECT \n onchange=DoTitle_TopicTitle(this.options[this.selectedIndex].value) name=font> \n <OPTION value=\"\" selected>选择话题</OPTION> <OPTION \n value=[原创]>[原创]</OPTION><OPTION value=[转帖]>[转帖]</OPTION><OPTION \n value=[灌水]>[灌水]</OPTION><OPTION value=[讨论]>[讨论]</OPTION><OPTION \n value=[求助]>[求助]</OPTION><OPTION value=[推荐]>[推荐]</OPTION><OPTION \n value=[公告]>[公告]</OPTION><OPTION value=[注意]>[注意]</OPTION><OPTION \n value=[贴图]>[贴图]</OPTION><OPTION value=[建议]>[建议]</OPTION><OPTION \n value=[下载]>[下载]</OPTION><OPTION value=[分享]>[分享]</OPTION></SELECT></td>\n <td class='row1' width=\"100%\" valign=\"top\"><input type='text' size='40' maxlength='50' name='TopicTitle' value='{$data[TITLE]}' tabindex='1' class='forminput'></td>\n </tr>\n <tr> \n <td class='row1'>{$ibforums->lang['topic_desc']}:<SELECT \n onchange=DoTitle_TopicDesc(this.options[this.selectedIndex].value) name=font> \n <OPTION value=\"\" selected>选择话题</OPTION> <OPTION \n value=[原创]>[原创]</OPTION><OPTION value=[转帖]>[转帖]</OPTION><OPTION \n value=[灌水]>[灌水]</OPTION><OPTION value=[讨论]>[讨论]</OPTION><OPTION \n value=[求助]>[求助]</OPTION><OPTION value=[推荐]>[推荐]</OPTION><OPTION \n value=[公告]>[公告]</OPTION><OPTION value=[注意]>[注意]</OPTION><OPTION \n value=[贴图]>[贴图]</OPTION><OPTION value=[建议]>[建议]</OPTION><OPTION \n value=[下载]>[下载]</OPTION><OPTION value=[分享]>[分享]</OPTION></SELECT></td>\n <td class='row1' width=\"100%\" valign=\"top\"><input type='text' size='40' maxlength='40' name='TopicDesc' value='{$data[DESC]}' tabindex='2' class='forminput'></td>\n </tr>";
}
}
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -