Dotclear


Ignore:
Timestamp:
09/30/13 12:30:20 (12 years ago)
Author:
Dsls
Branch:
default
Children:
2168:ac4827f94a9f, 2169:0de9a9b024f5
Message:

breadcrumb - shortened options names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.dc.page.php

    r2166 r2167  
    307307     { 
    308308          $with_home_link = isset($options['home_link'])?$options['home_link']:true; 
    309           $highlight_latest = isset($options['highlight_latest'])?$options['highlight_latest']:true; 
    310           $highlight_pos = isset($options['highlight_pos'])?$options['highlight_pos']:-1; 
     309          $hl = isset($options['hl'])?$options['hl']:true; 
     310          $hl_pos = isset($options['hl_pos'])?$options['hl_pos']:-1; 
    311311          // First item of array elements should be blog's name, System or Plugins 
    312312          $res = '<h2>'.($with_home_link ? 
     
    314314               '<img src="style/dashboard-alt.png" alt="" />'); 
    315315          $index = 0; 
    316           if ($highlight_pos < 0) { 
    317                $highlight_pos = count($elements)+$highlight_pos; 
     316          if ($hl_pos < 0) { 
     317               $hl_pos = count($elements)+$hl_pos; 
    318318          } 
    319319          foreach ($elements as $element => $url) { 
    320                if ($highlight_latest && $index == $highlight_pos) { 
     320               if ($hl && $index == $hl_pos) { 
    321321                    $element = sprintf('<span class="page-title">%s</span>',$element); 
    322322               } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map