Changeset 1678
- Timestamp:
- Dec 22, 2006, 12:49:12 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/action.php
r1677 r1678 89 89 ON category_id=id 90 90 WHERE image_id='.$id.' 91 .'get_sql_condition_FandF(array('forbidden_categories' => 'category_id'), 'AND').'91 '.get_sql_condition_FandF(array('forbidden_categories' => 'category_id'), 'AND').' 92 92 LIMIT 1 93 93 ;'; -
trunk/include/filter.inc.php
r1677 r1678 34 34 35 35 36 $filter['enabled'] = 36 $filter['enabled'] = 37 37 (in_array(basename($_SERVER['SCRIPT_FILENAME']), $conf['filter_pages'])) and 38 38 ( … … 99 99 } 100 100 101 $header_notes[] = l10n_dec( $lang['note_filter_day'], $lang['note_filter_days'], $user['recent_period']);101 $header_notes[] = l10n_dec('note_filter_day', 'note_filter_days', $user['recent_period']); 102 102 } 103 103 else -
trunk/include/functions_tag.inc.php
r1677 r1678 85 85 86 86 $result = pwg_query($tags_query); 87 88 87 $tags = array(); 89 90 while ($row = mysql_fetch_array($result)) 88 while ($row = mysql_fetch_assoc($result)) 91 89 { 92 90 array_push($tags, $row); … … 110 108 ;'; 111 109 $result = pwg_query($query); 112 113 110 $tags = array(); 114 115 while ($row = mysql_fetch_array($result)) 111 while ($row = mysql_fetch_assoc($result)) 116 112 { 117 113 array_push($tags, $row); … … 270 266 $result = pwg_query($query); 271 267 $tags = array(); 272 while($row = mysql_fetch_a rray($result))268 while($row = mysql_fetch_assoc($result)) 273 269 { 274 270 array_push($tags, $row); -
trunk/include/functions_url.inc.php
r1677 r1678 420 420 } 421 421 $page['save_root_path']['count'] = 1; 422 $page['root_path'] = 'http://'.$_SERVER['HTTP_HOST'].cookie_path();422 $page['root_path'] = get_host_url().cookie_path(); 423 423 } 424 424 else -
trunk/include/page_header.php
r1677 r1678 65 65 if (count($header_notes) > 0) 66 66 { 67 $template->assign_block_vars('header_notes', array());68 67 foreach ($header_notes as $header_note) 69 68 { -
trunk/language/en_UK.iso-8859-1/common.lang.php
r1677 r1678 476 476 $lang['images_available'] = '%d images'; 477 477 $lang['images_available_cpl'] = 'in this category'; 478 $lang['images_available_cat'] = 'in %d sub-cat égory';479 $lang['images_available_cats'] = 'in %d sub-cat égories';478 $lang['images_available_cat'] = 'in %d sub-category'; 479 $lang['images_available_cats'] = 'in %d sub-categories'; 480 480 $lang['included'] = 'included'; 481 481 $lang['invalid_pwd'] = 'Invalid password!'; -
trunk/template/yoga/header.tpl
r1677 r1678 4 4 <head> 5 5 <meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}"> 6 <meta name="robots" content="index, follow">7 6 <meta name="generator" content="PhpWebGallery (aka PWG), see www.phpwebgallery.net"> 8 7 <!-- BEGIN header_meta -->
Note: See TracChangeset
for help on using the changeset viewer.