Changeset 2167:e81d864a3838
- Timestamp:
- 09/30/13 12:30:20 (12 years ago)
- Branch:
- default
- Children:
- 2168:ac4827f94a9f, 2169:0de9a9b024f5
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/media.php
r2166 r2167 265 265 array( 266 266 'home_link' => !$popup, 267 'h ighlight_latest' => false267 'hl' => false 268 268 ) 269 269 ); -
admin/media_item.php
r2166 r2167 209 209 array( 210 210 'home_link' => !$popup, 211 'h ighlight_latest' => false211 'hl' => false 212 212 ) 213 213 ) -
inc/admin/lib.dc.page.php
r2166 r2167 307 307 { 308 308 $with_home_link = isset($options['home_link'])?$options['home_link']:true; 309 $h ighlight_latest = isset($options['highlight_latest'])?$options['highlight_latest']:true;310 $h ighlight_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; 311 311 // First item of array elements should be blog's name, System or Plugins 312 312 $res = '<h2>'.($with_home_link ? … … 314 314 '<img src="style/dashboard-alt.png" alt="" />'); 315 315 $index = 0; 316 if ($h ighlight_pos < 0) {317 $h ighlight_pos = count($elements)+$highlight_pos;316 if ($hl_pos < 0) { 317 $hl_pos = count($elements)+$hl_pos; 318 318 } 319 319 foreach ($elements as $element => $url) { 320 if ($h ighlight_latest && $index == $highlight_pos) {320 if ($hl && $index == $hl_pos) { 321 321 $element = sprintf('<span class="page-title">%s</span>',$element); 322 322 } -
plugins/simpleMenu/index.php
r2166 r2167 378 378 ), 379 379 array( 380 'h ighlight_pos' => -2)380 'hl_pos' => -2) 381 381 ); 382 382 } else {
Note: See TracChangeset
for help on using the changeset viewer.