Changeset 4850 for extensions/charlies_content
- Timestamp:
- Feb 8, 2010, 12:27:55 PM (14 years ago)
- Location:
- extensions/charlies_content
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/charlies_content/charlies_config.tpl
r4223 r4850 292 292 </ul> 293 293 </div> 294 <input type="submit" value="{'Save Charlies\' configuration'|@translate}" name="submit" class="submit"/> 294 <input type="submit" value="{'Save Charlies\' configuration'|@translate}" name="submit" class="submit"/><br /> 295 <input type="submit" value="{'Reset ALL Charlies\' configuration'|@translate}" name="reset" class="submit" onclick="return confirm('{'Reset ALL Confirmation'|@translate|@escape:javascript}');"/> 295 296 <p class="bot">[ {'FYI: all these options might be used or NOT by the inbound player (template).'|@translate} ]<br /> 296 297 [ {'Note: These options are available with the Maxi FLV Player. More details on all theses options on:'|@translate} -
extensions/charlies_content/main.inc.php
r3974 r4850 1 1 <?php /* 2 2 Plugin Name: Charlies content 3 Version: 2.0. e3 Version: 2.0.f 4 4 Description: Charlies content is a global solution for none picture files. 5 Plugin URI: http:// fr.piwigo.org/ext/extension_view.php?eid=1196 Author: VDigital, rvelices (P hpWebGalleryteam)7 Author URI: http:// www.phpwebgallery.net5 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=119 6 Author: VDigital, rvelices (Piwigo team) 7 Author URI: http://piwigo.org/ 8 8 */ 9 9 /* Synopsis … … 16 16 17 17 /** History *************** 18 2010-02-08 2.0.f (The reset version) 19 includes Reset ALL Charlies' configuration in second tab 20 translation system (Thanks to ddtddt). 21 minor language/plugin corrections. 18 22 2009-05-24 2.0.e (Called ngoc version) 19 23 buffermessage correction for flv … … 56 60 define('CHARLIES_DIR' , basename(dirname(__FILE__))); 57 61 define('CHARLIES_PATH' , PHPWG_PLUGINS_PATH . CHARLIES_DIR . '/'); 58 define('CHARLIES_VER' , '2.0. e');62 define('CHARLIES_VER' , '2.0.f'); 59 63 $x = @file_get_contents( $conf['local_data_dir'].'/plugins/'.basename(dirname(__FILE__)).'.dat'); 60 64 if ($x!==false) $charlie = unserialize($x); 65 // Un code review s'impose grave !!! 66 if ( isset($_POST['reset']) and defined('IN_ADMIN') 67 and isset($_GET['section']) and $_GET['section']=='charlies_content/charlies_config.php' ) { 68 $charlie = array(); 69 if (!isset($infos)) $infos = array(); 70 array_push($infos, l10n('Your configuration configuration has been reset.')); 71 } 61 72 if (!isset($charlie['version']) or $charlie['version'] != CHARLIES_VER) 62 73 {
Note: See TracChangeset
for help on using the changeset viewer.