|
Simple Image Gallery PRO 1.2 显示模式参数实效的问题
|
|
|
|
Author: Autoit | Date:2008-10-13 | View: 10772 | Digg: 16 |
|
{gallery}folder_path:thumbs_width:thumbs_height:display_mode{/gallery}里定义 display mode为0或1后,默认还是取决全局的显示设置。 /mambots/content/plugin_jw_sigpro.php, ≈80 line if($_params[1]) $_width_final_ = $_params[1]; else $_width_final_ = $_width_;
if($_params[2]) $_height_final_ = $_params[2]; else $_height_final_ = $_height_;
if($_params[3]) $_howmanythumbs_ = $_params[3]; else $_howmanythumbs_ = $singlethumb; 替换为 if(@$_params[1]) $_width_final_ = $_params[1]; else $_width_final_ = $_width_;
if(@$_params[2]) $_height_final_ = $_params[2]; else $_height_final_ = $_height_;
if(isset($_params[3])) $_howmanythumbs_ = $_params[3]; else $_howmanythumbs_ = $singlethumb; 就可以了. [from: www.autoit.net]
Permanent URL: http://www.autoit.cn/index.php/content/view/117/25.html
Only registered users can write comments. Please login or register. |