Changeset 3974 for extensions/charlies_content/main.inc.php
- Timestamp:
- Oct 4, 2009, 3:35:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/charlies_content/main.inc.php
r3341 r3974 1 1 <?php /* 2 2 Plugin Name: Charlies content 3 Version: 2.0. d3 Version: 2.0.e 4 4 Description: Charlies content is a global solution for none picture files. 5 5 Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=119 … … 11 11 2 - A template is used in state of the default content 12 12 13 Localisation of Charlies content: Possible 14 15 Requirements/recommendations: 16 1 - php 5 17 2 - GETID3 php modules (James Heinrich, Allan Hansen) 18 3 - $charlie['xxxxx']=array(....extensions....) means: 19 if file extension is in the array a file charlie_xxxxx.tpl will be used and 20 must be in the charlies_content directory 13 Dependencies: 14 http://getid3.sourceforge.net/ 15 http://flv-player.net/players/maxi/documentation/ 21 16 22 17 /** History *************** 18 2009-05-24 2.0.e (Called ngoc version) 19 buffermessage correction for flv 20 The lumenation bypass is maintain (but no longer needed with recent Piwigo versions) 21 getID3 v2.0.0-b5 not tested => Still in v2.0.0-b4 23 22 2009-05-24 2.0.d (Called lumenation bypass) 24 23 some url were generated with https:// … … 57 56 define('CHARLIES_DIR' , basename(dirname(__FILE__))); 58 57 define('CHARLIES_PATH' , PHPWG_PLUGINS_PATH . CHARLIES_DIR . '/'); 59 define('CHARLIES_VER' , '2.0. d');58 define('CHARLIES_VER' , '2.0.e'); 60 59 $x = @file_get_contents( $conf['local_data_dir'].'/plugins/'.basename(dirname(__FILE__)).'.dat'); 61 60 if ($x!==false) $charlie = unserialize($x); … … 87 86 if (!isset($charlie['ondoubleclicktarget'])) $charlie['ondoubleclicktarget'] = 0; 88 87 if (!isset($charlie['buffer'])) $charlie['buffer'] = 10; 89 if (!isset($charlie['buffermessage'])) $charlie['buffermessage'] = 1; 88 if (!isset($charlie['buffermessage'])) $charlie['buffermessage'] = 'Buffering _n_'; 89 if ($charlie['buffermessage']==1) $charlie['buffermessage'] = 'Buffering _n_'; 90 90 if (!isset($charlie['buffershowbg'])) $charlie['buffershowbg'] = 0; 91 91 if (!isset($charlie['config'])) $charlie['config'] = 0;
Note: See TracChangeset
for help on using the changeset viewer.