Changeset 21238
- Timestamp:
- Mar 6, 2013, 1:54:04 PM (11 years ago)
- Location:
- extensions/piclens
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/piclens/admin/functions.inc.php
r3645 r21238 57 57 58 58 $ext = array(); 59 while ($row = mysql_fetch_assoc($result))59 while ($row = pwg_db_fetch_assoc($result)) 60 60 { 61 61 if (empty($row['tn_ext'])) -
extensions/piclens/admin/piclenswallconfig.php
r8780 r21238 43 43 if (!empty($result)) 44 44 { 45 while ($row = mysql_fetch_assoc($result))45 while ($row = pwg_db_fetch_assoc($result)) 46 46 array_push($categories, $row); 47 47 } … … 67 67 $me->my_config['piclens_wall_nav'] = isset($_POST['piclens_wall_nav']); 68 68 $me->my_config['piclens_wall_cat_nav_replace'] = isset($_POST['categories_nav']) ? 69 array_map(" mysql_escape_string", $_POST['categories_nav']) :69 array_map("pwg_db_real_escape_string", $_POST['categories_nav']) : 70 70 array(); 71 71 $me->my_config['piclens_wall_specif'] = $_POST['piclens_wall_specif']; … … 124 124 if (!empty($result)) 125 125 { 126 while ($row = mysql_fetch_assoc($result))126 while ($row = pwg_db_fetch_assoc($result)) 127 127 array_push($categories, $row); 128 128 } … … 157 157 if (!empty($result)) 158 158 { 159 while ($row = mysql_fetch_assoc($result))159 while ($row = pwg_db_fetch_assoc($result)) 160 160 array_push($categories, $row); 161 161 } -
extensions/piclens/admin/rssfeed.php
r18642 r21238 35 35 36 36 $included_file_types = isset($_POST['file_types']) ? 37 array_map(" mysql_escape_string", $_POST['file_types']) :37 array_map("pwg_db_real_escape_string", $_POST['file_types']) : 38 38 array(); 39 39 $me->my_config['included_file_types'] = $included_file_types; -
extensions/piclens/generate_rss.php
r18935 r21238 251 251 $result = pwg_query($query); 252 252 253 while ($row = mysql_fetch_assoc($result))253 while ($row = pwg_db_fetch_assoc($result)) 254 254 { 255 255 if (!(in_array($row['id'], explode(',', $user['forbidden_categories'])))) … … 386 386 $result = pwg_query($query); 387 387 388 while ($row = mysql_fetch_assoc($result))388 while ($row = pwg_db_fetch_assoc($result)) 389 389 { 390 390 // Plugin Extended Description present et active … … 756 756 $first = true; 757 757 758 while ($row = mysql_fetch_array($result))758 while ($row = pwg_db_fetch_assoc($result)) 759 759 { 760 760 -
extensions/piclens/include/Piclens.class.php
r9448 r21238 84 84 $piclnkMaster=''; 85 85 $result = pwg_query($query); 86 while ($row = mysql_fetch_assoc($result))86 while ($row = pwg_db_fetch_assoc($result)) 87 87 { 88 88 // Gestion des permalinks … … 150 150 $result = pwg_query($query); 151 151 152 while ($row = mysql_fetch_assoc($result))152 while ($row = pwg_db_fetch_assoc($result)) 153 153 { 154 154 if (!(in_array($row['id'], explode(',', $user['forbidden_categories'])))) … … 193 193 $result = pwg_query($query); 194 194 195 while ($row = mysql_fetch_array($result))195 while ($row = pwg_db_fetch_assoc($result)) 196 196 { 197 197 $piclnkMaster.='<link rel="alternate"' … … 283 283 $tpl_code='<li><img src="'.$this->root_site_piclens.PICLENS_IMG_PATH.'cooliris-icon-black.png" NAME="but1" class="button" alt="'.l10n('piclens_button').'" width="24" height="24"></a></li>'; 284 284 } 285 285 286 if (isset($tpl_code)) 286 $template->concat('PLUGIN_INDEX_ACTIONS', $tpl_code."\n"); 287 { 288 $template->add_index_button($tpl_code, 100); 289 } 287 290 } 288 291 … … 318 321 if($result) 319 322 { 320 $row = mysql_fetch_row($result);323 $row = pwg_db_fetch_row($result); 321 324 if(is_string($row[0])) 322 325 { -
extensions/piclens/main.inc.php
r9448 r21238 2 2 /* 3 3 * Plugin Name: CoolIris-Piclens 4 * Version: 0.4.44 * Version: auto 5 5 * Description: Cooliris/Piclens activation 6 6 * Plugin URI: http://piwigo.org/ext/extension_view.php?eid=234 -
extensions/piclens/maintain.inc.php
r3651 r21238 26 26 if($result) 27 27 { 28 $row = mysql_fetch_row($result);28 $row = pwg_db_fetch_row($result); 29 29 if(is_string($row[0])) 30 30 {
Note: See TracChangeset
for help on using the changeset viewer.