diff options
author | rub <rub@piwigo.org> | 2007-02-10 23:09:37 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2007-02-10 23:09:37 +0000 |
commit | e79d03c1fcabffa1cf58146decd03d8dfb5e0855 (patch) | |
tree | ea7217a40f231e962015d35d01f12e90f6bf4b16 /index.php | |
parent | 67a803676819d204a47383031e7312df44263432 (diff) |
Replace all flat_cat by flat.
git-svn-id: http://piwigo.org/svn/trunk@1800 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | index.php | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -106,22 +106,22 @@ if (isset($page['cat_nb_images']) and $page['cat_nb_images'] > 0) $template_title.= ' ['.$page['cat_nb_images'].']'; } -if (isset($page['flat_cat']) or isset($page['chronology_field'])) +if (isset($page['flat']) or isset($page['chronology_field'])) { $template->assign_block_vars( 'mode_normal', array( - 'URL' => duplicate_index_url( array(), array('chronology_field', 'start', 'flat_cat') ) + 'URL' => duplicate_index_url( array(), array('chronology_field', 'start', 'flat') ) ) ); } -if (!isset($page['flat_cat']) and 'categories' == $page['section']) +if (!isset($page['flat']) and 'categories' == $page['section']) { $template->assign_block_vars( - 'flat_cat', + 'flat', array( - 'URL' => duplicate_index_url(array('flat_cat' => ''), array('start', 'chronology_field')) + 'URL' => duplicate_index_url(array('flat' => ''), array('start', 'chronology_field')) ) ); } @@ -137,7 +137,7 @@ if (!isset($page['chronology_field'])) $template->assign_block_vars( 'mode_created', array( - 'URL' => duplicate_index_url( $chronology_params, array('start', 'flat_cat') ) + 'URL' => duplicate_index_url( $chronology_params, array('start', 'flat') ) ) ); @@ -145,7 +145,7 @@ if (!isset($page['chronology_field'])) $template->assign_block_vars( 'mode_posted', array( - 'URL' => duplicate_index_url( $chronology_params, array('start', 'flat_cat') ) + 'URL' => duplicate_index_url( $chronology_params, array('start', 'flat') ) ) ); } @@ -161,7 +161,7 @@ else } $url = duplicate_index_url( array('chronology_field'=>$chronology_field ), - array('chronology_date', 'start', 'flat_cat') + array('chronology_date', 'start', 'flat') ); $template->assign_block_vars( 'mode_'.$chronology_field, |