Changeset 1503 for trunk/picture.php


Ignore:
Timestamp:
Jul 26, 2006, 11:00:16 PM (18 years ago)
Author:
nikrou
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r1288 r1503  
    7676}
    7777
    78 $url_up = duplicate_index_URL(
     78$url_up = duplicate_index_url(
    7979  array(
    8080    'start' =>
     
    8787  );
    8888
    89 $url_self = duplicate_picture_URL();
     89$url_self = duplicate_picture_url();
    9090
    9191// +-----------------------------------------------------------------------+
     
    331331  }
    332332
    333   $picture[$i]['url'] = duplicate_picture_URL(
     333  $picture[$i]['url'] = duplicate_picture_url(
    334334    array(
    335335      'image_id' => $row['id'],
     
    399399
    400400// metadata
    401 $url_metadata = duplicate_picture_URL();
     401$url_metadata = duplicate_picture_url();
    402402if ($conf['show_exif'] or $conf['show_iptc'])
    403403{
     
    467467    'L_UP_ALT' => $lang['home'],
    468468
    469     'U_HOME' => make_index_URL(),
     469    'U_HOME' => make_index_url(),
    470470    'U_UP' => $url_up,
    471471    'U_METADATA' => $url_metadata,
     
    628628{
    629629  $val = format_date($picture['current']['date_creation']);
    630   $url = make_index_URL(
     630  $url = make_index_url(
    631631        array(
    632632          'chronology_field'=>'created',
     
    645645// date of availability
    646646$val = format_date($picture['current']['date_available'], 'mysql_datetime');
    647 $url = make_index_URL(
     647$url = make_index_url(
    648648      array(
    649649        'chronology_field'=>'posted',
     
    711711      $tags,
    712712      '<a href="'
    713       .make_index_URL(
     713      .make_index_url(
    714714        array(
    715715          'tags' => array(
Note: See TracChangeset for help on using the changeset viewer.