Changeset 22214 for extensions
- Timestamp:
- Apr 15, 2013, 6:08:30 AM (11 years ago)
- Location:
- extensions/rv_autocomplete
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/rv_autocomplete/admin/config.tpl
r22201 r22214 10 10 </form> 11 11 12 < form method="post">12 <!-- <form method="post"> 13 13 <fieldset> 14 14 <label>Ideal number of suggestions <input type="text" size="2" name="" value="5" readonly></label> … … 28 28 </fieldset> 29 29 30 </form> 30 </form>--> 31 31 32 32 </div> -
extensions/rv_autocomplete/admin/exclude.php
r22201 r22214 9 9 { 10 10 if (!empty($_POST[$k])) 11 { 11 12 $rvac_conf[$k] = $_POST[$k]; 13 foreach($rvac_conf[$k] as &$v) 14 { 15 $v=intval($v); 16 } 17 unset($v); 18 } 12 19 else 13 20 $rvac_conf[$k] = array(); -
extensions/rv_autocomplete/main.inc.php
r22201 r22214 1 1 <?php /* 2 2 Plugin Name: RV autocomplete 3 Version: 0 3 Version: 0.beta 4 4 Description: Autocompletes the quick search with albums, tags or custom suggestions 5 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=694 5 6 Author: rvelices 6 7 Author URI: http://www.modusoptimus.com/ … … 14 15 15 16 function rvac_get_data_file() { 16 17 18 19 $keys = array( $user['language'], $user['nb_total_images']);20 21 22 17 global $user,$conf; 18 $f = PWG_COMBINED_DIR.'acds-'; 19 $f .= $conf['rvac_version']; 20 $keys = array( $user['language'], $user['nb_total_images'], $user['level'], strlen($user['forbidden_categories']) ); 21 $f .= '-'.base_convert(crc32( implode('-', $keys ) ), 10, 36); 22 $f .= '.js'; 23 return $f; 23 24 } 24 25 … … 41 42 if ($mb_arr[0]->get_id() != 'menubar' ) 42 43 return; 43 //if (!is_admin()) return; 44 44 45 global $template; 45 46
Note: See TracChangeset
for help on using the changeset viewer.