aboutsummaryrefslogtreecommitdiffstats
path: root/picture.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 /picture.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 'picture.php')
-rw-r--r--picture.php16
1 files changed, 8 insertions, 8 deletions
diff --git a/picture.php b/picture.php
index ed143723f..6ebce15dd 100644
--- a/picture.php
+++ b/picture.php
@@ -75,7 +75,7 @@ if ($page['current_rank'] != $page['last_rank'])
$page['last_item'] = $page['items'][ $page['last_rank'] ];
}
-$url_up = duplicate_index_URL(
+$url_up = duplicate_index_url(
array(
'start' =>
floor($page['current_rank'] / $user['nb_image_page'])
@@ -86,7 +86,7 @@ $url_up = duplicate_index_URL(
)
);
-$url_self = duplicate_picture_URL();
+$url_self = duplicate_picture_url();
// +-----------------------------------------------------------------------+
// | actions |
@@ -330,7 +330,7 @@ while ($row = mysql_fetch_array($result))
$picture[$i]['name'] = str_replace('_', ' ', $file_wo_ext);
}
- $picture[$i]['url'] = duplicate_picture_URL(
+ $picture[$i]['url'] = duplicate_picture_url(
array(
'image_id' => $row['id'],
'image_file' => $row['file'],
@@ -398,7 +398,7 @@ $picture_size = get_picture_size(
);
// metadata
-$url_metadata = duplicate_picture_URL();
+$url_metadata = duplicate_picture_url();
if ($conf['show_exif'] or $conf['show_iptc'])
{
$metadata_showable = true;
@@ -466,7 +466,7 @@ $template->assign_vars(
'L_UP_HINT' => $lang['home_hint'],
'L_UP_ALT' => $lang['home'],
- 'U_HOME' => make_index_URL(),
+ 'U_HOME' => make_index_url(),
'U_UP' => $url_up,
'U_METADATA' => $url_metadata,
'U_ADMIN' => $url_admin,
@@ -627,7 +627,7 @@ else
if (!empty($picture['current']['date_creation']))
{
$val = format_date($picture['current']['date_creation']);
- $url = make_index_URL(
+ $url = make_index_url(
array(
'chronology_field'=>'created',
'chronology_style'=>'monthly',
@@ -644,7 +644,7 @@ else
// date of availability
$val = format_date($picture['current']['date_available'], 'mysql_datetime');
-$url = make_index_URL(
+$url = make_index_url(
array(
'chronology_field'=>'posted',
'chronology_style'=>'monthly',
@@ -710,7 +710,7 @@ if (mysql_num_rows($result) > 0)
array_push(
$tags,
'<a href="'
- .make_index_URL(
+ .make_index_url(
array(
'tags' => array(
array(