📄 gallery-cfg.php
字号:
<?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-12-07 15:18:13 +0000 (Wed, 07 Dec 2005) $| > $Revision: 95 $| > $Author: bfarber $+---------------------------------------------------------------------------|| > PORTAL PLUG IN MODULE: Gallery - 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 Gallery';/*** Plug in mini description**/$PORTAL_CONFIG['pc_desc'] = "Shows Invision Power Gallery information on the portal";/*** 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'] = "";/*** 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']['gallery_show_random_image'] = array( 'gallery_show_random_image', "Shows a random image from a member's gallery" );//$PORTAL_CONFIG['pc_exportable_tags']['__another_tag'] = array( '__another_function', '__another_Description' );//$PORTAL_CONFIG['pc_exportable_tags']['__another_tag'] = array( '__another_function', '__another_Description' );?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -