poll-cfg.php

来自「sabreipb 2.1.6 utf-8中文版本!」· PHP 代码 · 共 79 行

PHP
79
字号
<?php/*+--------------------------------------------------------------------------|   Invision Power Board v2.1.5|   =============================================|   by Matthew Mecham|   (c) 2001 - 2005 Invision Power Services, Inc.|   |   =============================================|   Web: |   Time: Wed, 01 Mar 2006 19:11:29 GMT|   Release: |   Licence Info: +---------------------------------------------------------------------------|   > $Date: 2005-10-10 14:08:54 +0100 (Mon, 10 Oct 2005) $|   > $Revision: 23 $|   > $Author: matt $+---------------------------------------------------------------------------||   > PORTAL PLUG IN MODULE: Recent topics - CONFIG FILE|   > Module written by Matt Mecham|   > Date started: Monday 1st August 2005 (16:22)+--------------------------------------------------------------------------*//*** This file must be named {file_name_minus_php}-cfg.php** Please see each variable for more information* $PORTAL_CONFIG is OK for each file, do not change* this array name.*/$PORTAL_CONFIG = array();/*** Main plug in title**/$PORTAL_CONFIG['pc_title'] = 'Invision Power Board Poll';/*** Plug in mini description**/$PORTAL_CONFIG['pc_desc']  = "Shows the selected poll";/*** Keyword for settings. This is the keyword* entered into ibf_conf_settings_titles -> conf_title_keyword* Can be left blank.* PLEASE stick to the naming convention when entering a setting* keyword: portal_{file_name_minus_php} This will prevent* other keyword clashes. Likewise, when creating settings, choose* NOT to cache them (they will be loaded at run time) and always* prefix with {file_name_minus_php}_setting_key - for example* If you had a setting called "export_forums" then please name it* "recent_topics_export_forums". This will be available in* $this->ipsclass->vars['recent_topics_export_forums'] in the* main module.*/$PORTAL_CONFIG['pc_settings_keyword'] = "portal_poll";/*** Exportable tags key must be in the naming format of:* {file_name_minus_php}-tag. The value *MUST* be the function* which it corresponds to. For example:* 'recent_topics_last_x' => 'recent_topics_last_x'* The portal will look for function 'recent_topics_last_x' in* module "sources/portal_plugins/recent_topics.php" when it parses* the tag <!--::recent_topics_last_x::-->** @param array[ TAG ] = array( FUNCTION NAME, DESCRIPTION );*/$PORTAL_CONFIG['pc_exportable_tags']['poll_show_poll'] = array( 'poll_show_poll', 'Shows the request poll' );?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?