Changeset 5254


Ignore:
Timestamp:
Mar 22, 2010, 12:09:32 PM (15 years ago)
Author:
laurent.duretz
Message:

Issue 1521 : Integration of LinkRoot plugin in Piwigo core

Location:
branches/2.0/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/include/config_default.inc.php

    r5013 r5254  
    4343// |                                 misc                                  |
    4444// +-----------------------------------------------------------------------+
     45
     46// home_page : relative url of your homepage. Empty by default. It points to the index of the gallery.
     47$conf['home_page'] = '';
    4548
    4649// order_by : how to change the order of display for images in a category ?
  • branches/2.0/include/functions_html.inc.php

    r3127 r5254  
    240240  global $conf;
    241241
    242   $output = '';
    243   $is_first = true;
     242  $output = '<a href="'.PHPWG_ROOT_PATH.$conf['home_page'].'">'.l10n('no_category').'</a>';
     243
    244244  foreach ($cat_informations as $cat)
    245245  {
     
    254254      );
    255255
    256     if ($is_first)
    257     {
    258       $is_first = false;
    259     }
    260     else
    261     {
    262       $output.= $conf['level_separator'];
    263     }
     256    $output.= $conf['level_separator'];
    264257
    265258    if ( !isset($url) )
  • branches/2.0/include/section_init.inc.php

    r3046 r5254  
    239239  else
    240240  {
    241     $page['title'] = l10n('no_category');
     241    $page['title'] = '<a href="'.PHPWG_ROOT_PATH.$conf['home_page'].'">'.l10n('no_category').'</a>';
    242242  }
    243243
Note: See TracChangeset for help on using the changeset viewer.