aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authornikrou <nikrou@piwigo.org>2006-07-26 21:04:23 +0000
committernikrou <nikrou@piwigo.org>2006-07-26 21:04:23 +0000
commit4b1863cbef706e64161861c63570a5f0b7a3d9aa (patch)
tree31aa5535ad94ba41d488bffabdfe2a9b32c355f1 /index.php
parent5a65e6a41f72be026388a1529cff752ac906041c (diff)
svn merge -r1502:1503 (cosmetic change)
function names are case-insensitive but it's a good idea to call functions as they appear in their declaration. So all functions names that manipulate url like make_index_url() are write with lowercase git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1504 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'index.php')
-rw-r--r--index.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/index.php b/index.php
index 345929e67..00e292c88 100644
--- a/index.php
+++ b/index.php
@@ -63,7 +63,7 @@ if (isset($_GET['image_order']))
);
redirect(
- duplicate_index_URL(
+ duplicate_index_url(
array(), // nothing to redefine
array('start') // changing display order goes back to section first page
)
@@ -86,7 +86,7 @@ if (isset($page['cat_nb_images'])
and $page['cat_nb_images'] > $user['nb_image_page'])
{
$page['navigation_bar'] = create_navigation_bar(
- duplicate_index_URL(array(), array('start')),
+ duplicate_index_url(array(), array('start')),
$page['cat_nb_images'],
$page['start'],
$user['nb_image_page'],
@@ -134,7 +134,7 @@ if (!isset($page['chronology_field']))
$template->assign_block_vars(
'mode_created',
array(
- 'URL' => duplicate_index_URL( $chronology_params, array('start') )
+ 'URL' => duplicate_index_url( $chronology_params, array('start') )
)
);
@@ -142,7 +142,7 @@ if (!isset($page['chronology_field']))
$template->assign_block_vars(
'mode_posted',
array(
- 'URL' => duplicate_index_URL( $chronology_params, array('start') )
+ 'URL' => duplicate_index_url( $chronology_params, array('start') )
)
);
}
@@ -151,7 +151,7 @@ else
$template->assign_block_vars(
'mode_normal',
array(
- 'URL' => duplicate_index_URL( array(), array('chronology_field','start') )
+ 'URL' => duplicate_index_url( array(), array('chronology_field','start') )
)
);
@@ -163,7 +163,7 @@ else
{
$chronology_field = 'created';
}
- $url = duplicate_index_URL(
+ $url = duplicate_index_url(
array('chronology_field'=>$chronology_field ),
array('chronology_date', 'start')
);
@@ -261,7 +261,7 @@ if (isset($page['cat_nb_images']) and $page['cat_nb_images'] > 0
'preferred_image_order.order',
array(
'DISPLAY' => $orders[$i][0],
- 'URL' => add_url_params( duplicate_index_URL(), array('image_order'=>$i) ),
+ 'URL' => add_url_params( duplicate_index_url(), array('image_order'=>$i) ),
'SELECTED_OPTION' => ($order_idx==$i ? 'SELECTED' : ''),
)
);