Changeset 21238 for extensions/piclens/include/Piclens.class.php
- Timestamp:
- Mar 6, 2013, 1:54:04 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 {
Note: See TracChangeset
for help on using the changeset viewer.