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/include/menubar.inc.php

    r1436 r1503  
    66// +-----------------------------------------------------------------------+
    77// | branch        : BSF (Best So Far)
    8 // | file          : $Id:$
    9 // | last update   : $Date:$
    10 // | last modifier : $Author:$
    11 // | revision      : $Revision:$
     8// | file          : $Id$
     9// | last update   : $Date$
     10// | last modifier : $Author$
     11// | revision      : $Revision$
    1212// +-----------------------------------------------------------------------+
    1313// | This program is free software; you can redistribute it and/or modify  |
     
    4242    'MENU_CATEGORIES_CONTENT' => get_categories_menu(),
    4343    'F_IDENTIFY' => get_root_url().'identification.php',
    44     'U_HOME' => make_index_URL(),
     44    'U_HOME' => make_index_url(),
    4545    'U_REGISTER' => get_root_url().'register.php',
    4646    'U_LOST_PASSWORD' => get_root_url().'password.php',
    47     'U_LOGOUT' => add_url_params(make_index_URL(), array('act'=>'logout') ),
     47    'U_LOGOUT' => add_url_params(make_index_url(), array('act'=>'logout') ),
    4848    'U_ADMIN'=> get_root_url().'admin.php',
    4949    'U_PROFILE'=> get_root_url().'profile.php',
     
    100100      'tags.tag',
    101101      array(
    102         'URL_ADD' => make_index_URL(
     102        'URL_ADD' => make_index_url(
    103103          array(
    104104            'tags' => array_merge(
     
    114114          ),
    115115
    116         'URL' => make_index_URL(
     116        'URL' => make_index_url(
    117117          array(
    118118            'tags' => array(
     
    148148    'special_cat',
    149149    array(
    150       'URL' => make_index_URL(array('section' => 'favorites')),
     150      'URL' => make_index_url(array('section' => 'favorites')),
    151151      'TITLE' => $lang['favorite_cat_hint'],
    152152      'NAME' => $lang['favorite_cat']
     
    157157  'special_cat',
    158158  array(
    159     'URL' => make_index_URL(array('section' => 'most_visited')),
     159    'URL' => make_index_url(array('section' => 'most_visited')),
    160160    'TITLE' => $lang['most_visited_cat_hint'],
    161161    'NAME' => $lang['most_visited_cat']
     
    167167    'special_cat',
    168168    array(
    169       'URL' => make_index_URL(array('section' => 'best_rated')),
     169      'URL' => make_index_url(array('section' => 'best_rated')),
    170170      'TITLE' => $lang['best_rated_cat_hint'],
    171171      'NAME' => $lang['best_rated_cat']
     
    185185  'special_cat',
    186186  array(
    187     'URL' => make_index_URL(array('section' => 'recent_pics')),
     187    'URL' => make_index_url(array('section' => 'recent_pics')),
    188188    'TITLE' => $lang['recent_pics_cat_hint'],
    189189    'NAME' => $lang['recent_pics_cat']
     
    193193  'special_cat',
    194194  array(
    195     'URL' => make_index_URL(array('section' => 'recent_cats')),
     195    'URL' => make_index_url(array('section' => 'recent_cats')),
    196196    'TITLE' => $lang['recent_cats_cat_hint'],
    197197    'NAME' => $lang['recent_cats_cat']
     
    203203  array(
    204204    'URL' =>
    205       make_index_URL(
     205      make_index_url(
    206206        array(
    207207          'chronology_field' => ($conf['calendar_datefield']=='date_available'
Note: See TracChangeset for help on using the changeset viewer.