Changeset 1503 for trunk/index.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/index.php

    r1470 r1503  
    6464
    6565  redirect(
    66     duplicate_index_URL(
     66    duplicate_index_url(
    6767      array(),        // nothing to redefine
    6868      array('start')  // changing display order goes back to section first page
     
    8787{
    8888  $page['navigation_bar'] = create_navigation_bar(
    89     duplicate_index_URL(array(), array('start')),
     89    duplicate_index_url(array(), array('start')),
    9090    $page['cat_nb_images'],
    9191    $page['start'],
     
    135135    'mode_created',
    136136    array(
    137       'URL' => duplicate_index_URL( $chronology_params, array('start') )
     137      'URL' => duplicate_index_url( $chronology_params, array('start') )
    138138      )
    139139    );
     
    143143    'mode_posted',
    144144    array(
    145       'URL' => duplicate_index_URL( $chronology_params, array('start') )
     145      'URL' => duplicate_index_url( $chronology_params, array('start') )
    146146      )
    147147    );
     
    152152    'mode_normal',
    153153    array(
    154       'URL' => duplicate_index_URL( array(), array('chronology_field','start') )
     154      'URL' => duplicate_index_url( array(), array('chronology_field','start') )
    155155      )
    156156    );
     
    164164    $chronology_field = 'created';
    165165  }
    166   $url = duplicate_index_URL(
     166  $url = duplicate_index_url(
    167167            array('chronology_field'=>$chronology_field ),
    168168            array('chronology_date', 'start')
     
    262262        array(
    263263          'DISPLAY' => $orders[$i][0],
    264           'URL' => add_url_params( duplicate_index_URL(), array('image_order'=>$i) ),
     264          'URL' => add_url_params( duplicate_index_url(), array('image_order'=>$i) ),
    265265          'SELECTED_OPTION' => ($order_idx==$i ? 'SELECTED' : ''),
    266266          )
Note: See TracChangeset for help on using the changeset viewer.