Changeset 1340:765347f5f7b7
- Timestamp:
- 08/12/13 14:22:08 (12 years ago)
- Branch:
- default
- Children:
- 1341:530893ad2aab, 1509:5ecd0bd4074b
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/index.php
r1334 r1340 200 200 '<span class="page-title">'.__('Dashboard').' : '.html::escapeHTML($core->blog->name).'</span>' => '' 201 201 ), 202 true);202 false); 203 203 204 204 if ($core->auth->getInfo('user_default_blog') != $core->blog->id && $core->auth->blog_count > 1) { -
inc/admin/lib.dc.page.php
r1334 r1340 273 273 } 274 274 275 public static function breadcrumb($elements=null,$ no_home_link=false,$echo=true)275 public static function breadcrumb($elements=null,$with_home_link=true,$echo=true) 276 276 { 277 277 // First item of array elements should be blog's name, System or Plugins 278 $res = '<h2>'.($ no_home_link ?279 '< img src="style/dashboard-alt.png" alt="" />' :280 '< a class="go_home" href="index.php"><img src="style/dashboard.png" alt="'.__('Go to dashboard').'" /></a>');278 $res = '<h2>'.($with_home_link ? 279 '<a class="go_home" href="index.php"><img src="style/dashboard.png" alt="'.__('Go to dashboard').'" /></a>' : 280 '<img src="style/dashboard-alt.png" alt="" />'); 281 281 $index = 0; 282 282 foreach ($elements as $element => $url) { 283 $res .= ($ no_home_link ? ' ' : ($index == 1 ? ' : ' : ' › ')).($url ? '<a href="'.$url.'">' : '').$element.($url ? '</a>' : '');283 $res .= ($with_home_link ? ($index == 1 ? ' : ' : ' › ') : ' ').($url ? '<a href="'.$url.'">' : '').$element.($url ? '</a>' : ''); 284 284 $index++; 285 285 }
Note: See TracChangeset
for help on using the changeset viewer.