Dotclear


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

Fix XHTML validation on admin header

File:
1 edited

Legend:

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

    r973 r999  
    5757          { 
    5858               $blog_box = 
    59                __('Blog:').' <strong title="'.html::escapeHTML($core->blog->url).'">'. 
     59               '<p>'.__('Blog:').' <strong title="'.html::escapeHTML($core->blog->url).'">'. 
    6060               html::escapeHTML($core->blog->name).'</strong>'; 
    6161                
     
    6363                    $blog_box .= ' - <a href="blogs.php">'.__('Change blog').'</a>'; 
    6464               } 
     65               $blog_box .= '</p>'; 
    6566          } 
    6667          else 
     
    7273               } 
    7374               $blog_box = 
    74                '<label for="switchblog" class="classic">'. 
     75               '<p><label for="switchblog" class="classic">'. 
    7576               __('Blogs:').' '. 
    7677               $core->formNonce(). 
    7778               form::combo('switchblog',$blogs,$core->blog->id). 
    78                '</label>'. 
    79                '<noscript><div><input type="submit" value="'.__('ok').'" /></div></noscript>'; 
     79               '</label></p>'. 
     80               '<noscript><p><input type="submit" value="'.__('ok').'" /></p></noscript>'; 
    8081          } 
    8182           
     
    132133          '<form action="index.php" method="post">'. 
    133134          $blog_box. 
    134           '<a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site').' ('.__('new window').')'.'">'.__('Go to site').' <img src="images/outgoing.png" alt="" /></a>'. 
    135           '</form>'. 
     135          '<p><a href="'.$core->blog->url.'" onclick="window.open(this.href);return false;" title="'.__('Go to site').' ('.__('new window').')'.'">'.__('Go to site').' <img src="images/outgoing.png" alt="" /></a>'. 
     136          '</p></form>'. 
    136137          '</div>'. 
    137138          '<div id="info-box2">'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map