Ignore:
Timestamp:
Mar 9, 2009, 8:41:45 PM (15 years ago)
Author:
nikrou
Message:

fix html warnings. unclosed monotags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r3172 r3185  
    6262        $icon_url = get_root_url().$icon_url;
    6363        $output = '<img title="'.$title.'" src="'.$icon_url.'" class="icon" style="border:0;';
    64         $output.= 'height:'.$size[1].'px;width:'.$size[0].'px" alt="(!)" />';
     64        $output.= 'height:'.$size[1].'px;width:'.$size[0].'px" alt="(!)">';
    6565        $cache['get_icon']['_icons_'][$key] = $output;
    6666      }
     
    308308
    309309    $output.=
    310       ' />'
     310      '>'
    311311      .' '. $tag['name']
    312312      .'</label>'
     
    345345  {
    346346    echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8">';
    347     echo '<div style="text-align:center;">'.l10n('access_forbiden').'<br />';
     347    echo '<div style="text-align:center;">'.l10n('access_forbiden').'<br>';
    348348    echo '<a href="'.get_root_url().'identification.php">'.l10n('identification').'</a>&nbsp;';
    349349    echo '<a href="'.make_index_url().'">'.l10n('home').'</a></div>';
     
    369369  redirect_html( $alternate_url,
    370370    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;">
    371 <h1 style="text-align:left; font-size:36px;">Forbidden</h1><br/>'
     371<h1 style="text-align:left; font-size:36px;">Forbidden</h1><br>'
    372372.$msg.'</div>',
    373373    5 );
     
    386386  redirect_html( $alternate_url,
    387387    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;">
    388 <h1 style="text-align:left; font-size:36px;">Bad request</h1><br/>'
     388<h1 style="text-align:left; font-size:36px;">Bad request</h1><br>'
    389389.$msg.'</div>',
    390390    5 );
     
    403403  redirect_html( $alternate_url,
    404404    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;">
    405 <h1 style="text-align:left; font-size:36px;">Page not found</h1><br/>'
     405<h1 style="text-align:left; font-size:36px;">Page not found</h1><br>'
    406406.$msg.'</div>',
    407407    5 );
     
    487487        .'"><img src="'
    488488        .get_root_url().get_themeconf('icon_dir').'/remove_s.png'
    489         .'" alt="x" style="vertical-align:bottom;" class="button"/>'
     489        .'" alt="x" style="vertical-align:bottom;" class="button">'
    490490        .'</a>';
    491491    }
Note: See TracChangeset for help on using the changeset viewer.