Ignore:
Timestamp:
Oct 4, 2009, 3:35:30 PM (11 years ago)
Author:
vdigital
Message:

[Charlies_content] 2.0.e (Called ngoc version)
buffermessage correction for flv (One in upper left corner)
The lumenation bypass is maintain (but no longer needed with recent Piwigo versions)
Even getID3 v2.0.0-b5 is available because not tested (getID3 v2.0.0-b4 is maintain)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/charlies_content/main.inc.php

    r3341 r3974  
    11<?php /*
    22Plugin Name: Charlies content
    3 Version: 2.0.d
     3Version: 2.0.e
    44Description: Charlies content is a global solution for none picture files.
    55Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=119
     
    11112 - A template is used in state of the default content
    1212
    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
     13Dependencies:
     14http://getid3.sourceforge.net/
     15http://flv-player.net/players/maxi/documentation/
    2116
    2217/** 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
    2322  2009-05-24 2.0.d (Called lumenation bypass)
    2423                   some url were generated with https://
     
    5756define('CHARLIES_DIR' , basename(dirname(__FILE__)));
    5857define('CHARLIES_PATH' , PHPWG_PLUGINS_PATH . CHARLIES_DIR . '/');
    59 define('CHARLIES_VER' , '2.0.d');
     58define('CHARLIES_VER' , '2.0.e');
    6059$x = @file_get_contents( $conf['local_data_dir'].'/plugins/'.basename(dirname(__FILE__)).'.dat');
    6160if ($x!==false) $charlie = unserialize($x);
     
    8786        if (!isset($charlie['ondoubleclicktarget']))            $charlie['ondoubleclicktarget'] = 0;
    8887        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_';
    9090        if (!isset($charlie['buffershowbg']))   $charlie['buffershowbg'] = 0;
    9191        if (!isset($charlie['config']))                 $charlie['config'] = 0;
Note: See TracChangeset for help on using the changeset viewer.