Dotclear


Ignore:
Timestamp:
08/11/13 22:56:36 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

New dcPage::breadcrumb function, applied to some other admin's pages, should be continued by me

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/blog_pref.php

    r1306 r1332  
    273273if ($blog_id) 
    274274{ 
    275      echo 
    276      '<h2>'.($standalone ?  
    277                html::escapeHTML($blog_name).' &rsaquo; <span class="page-title">'.__('Blog settings').'</span>' : 
    278                __('System').' &rsaquo; <a href="blogs.php">'.__('Blogs').'</a> &rsaquo; ' . 
    279                '<span class="page-title">'.__('Blog settings').' : '.html::escapeHTML($blog_name).'</span>').  
    280      '</h2>'; 
     275     if ($standalone) { 
     276          echo dcPage::breadcrumb( 
     277               array( 
     278                    html::escapeHTML($blog_name) => '', 
     279                    '<span class="page-title">'.__('Blog settings').'</span>' => '' 
     280               )); 
     281     } else { 
     282          echo dcPage::breadcrumb( 
     283               array( 
     284                    __('System') => '', 
     285                    __('Blogs') => 'blogs.php', 
     286                    '<span class="page-title">'.__('Blog settings').' : '.html::escapeHTML($blog_name).'</span>' => '' 
     287               )); 
     288     } 
    281289      
    282290     if (!empty($_GET['add'])) { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map