Changeset 1189 for branches/1.0


Ignore:
Timestamp:
02/20/10 10:13:53 (3 years ago)
Author:
nick_ramsay
Message:

[Branch 1.0] Missing close slash on meta tags.

Location:
branches/1.0/content
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/content/admin_themes/admin_default/header.php

    r1025 r1189  
    3333<html> 
    3434<head> 
    35     <meta http-equiv=Content-Type content="text/html; charset=UTF-8"> 
     35    <meta http-equiv=Content-Type content="text/html; charset=UTF-8" /> 
    3636     
    3737    <title><?php echo $h->getTitle(); ?></title> 
  • branches/1.0/content/plugins/admin_email/admin_email.php

    r940 r1189  
    152152        // reload the page, without any html... 
    153153        $url = BASEURL . "admin_index.php?page=plugin_settings&plugin=admin_email&mailing=1"; 
    154         echo "<meta http-equiv='Refresh' content='0; URL=" . $url . "'>"; 
     154        echo "<meta http-equiv='Refresh' content='0; URL=" . $url . "' />"; 
    155155        echo $h->lang["admin_email_redirecting"]; 
    156156        ob_flush(); 
  • branches/1.0/content/plugins/sb_base/sb_base.php

    r1187 r1189  
    195195        $meta_content = sanitize($h->post->content, 'all'); 
    196196        $meta_content = truncate($meta_content, 200); 
    197         echo '<meta name="description" content="' . $meta_content . '">' . "\n"; 
     197        echo '<meta name="description" content="' . $meta_content . '" />' . "\n"; 
    198198        return true; 
    199199    } 
  • branches/1.0/content/plugins/tags/tags.php

    r1187 r1189  
    5959        if ($h->pageType == 'post') 
    6060        { 
    61             echo '<meta name="keywords" content="' . stripslashes($h->post->tags) . '">' . "\n"; 
     61            echo '<meta name="keywords" content="' . stripslashes($h->post->tags) . '" />' . "\n"; 
    6262            return true; 
    6363        }  
     
    6767             
    6868            if ($tag) { 
    69                 echo '<meta name="description" content="' . $h->lang['tags_meta_description_before'] . $tag . $h->lang['tags_meta_description_after'] . '">' . "\n"; 
    70                 echo '<meta name="keywords" content="' . $tag . $h->lang['tags_meta_keywords_more'] . '">' . "\n"; 
     69                echo '<meta name="description" content="' . $h->lang['tags_meta_description_before'] . $tag . $h->lang['tags_meta_description_after'] . '" />' . "\n"; 
     70                echo '<meta name="keywords" content="' . $tag . $h->lang['tags_meta_keywords_more'] . '" />' . "\n"; 
    7171                return true; 
    7272            } 
  • branches/1.0/content/plugins/users/users.php

    r1182 r1189  
    123123        if ($h->pageName == 'profile') { 
    124124            if (isset($h->vars['profile']['bio']) && ($h->vars['profile']['bio'] != $h->lang['users_profile_default_bio'])) {  
    125                 echo '<meta name="description" content="' . $h->vars['profile']['bio'] . '">' . "\n"; 
     125                echo '<meta name="description" content="' . $h->vars['profile']['bio'] . '" />' . "\n"; 
    126126            } else { 
    127                 echo '<meta name="description" content="' . $h->lang['users_default_meta_description_before'] . $h->vars['user']->name . $h->lang['users_default_meta_description_after'] . '">' . "\n";  // default profile meta description (see language file) 
     127                echo '<meta name="description" content="' . $h->lang['users_default_meta_description_before'] . $h->vars['user']->name . $h->lang['users_default_meta_description_after'] . '" />' . "\n";  // default profile meta description (see language file) 
    128128            } 
    129129             
    130             echo '<meta name="keywords" content="' . $h->vars['user']->name . $h->lang['users_profile_meta_keywords_more'] . '">' . "\n";  // default profile meta keywords (see language file) 
     130            echo '<meta name="keywords" content="' . $h->vars['user']->name . $h->lang['users_profile_meta_keywords_more'] . '" />' . "\n";  // default profile meta keywords (see language file) 
    131131             
    132132            return true; 
     
    142142                if ($first_word == 'index') { $first_word = $h->lang['users_meta_description_popular']; } 
    143143                $first_word = ucfirst(strtolower(make_name($first_word, '-'))); 
    144                 echo '<meta name="description" content="' . $h->lang['users_meta_description_results_before'] . $first_word . $h->lang['users_meta_description_results_middle'] . $user . $h->lang['users_meta_description_results_after'] . '">' . "\n"; 
    145                 echo '<meta name="keywords" content="' . $user . $h->lang['users_profile_meta_keywords_more'] . '">' . "\n";  // default profile meta keywords (see language file) 
     144                echo '<meta name="description" content="' . $h->lang['users_meta_description_results_before'] . $first_word . $h->lang['users_meta_description_results_middle'] . $user . $h->lang['users_meta_description_results_after'] . '" />' . "\n"; 
     145                echo '<meta name="keywords" content="' . $user . $h->lang['users_profile_meta_keywords_more'] . '" />' . "\n";  // default profile meta keywords (see language file) 
    146146                return true; 
    147147            } 
Note: See TracChangeset for help on using the changeset viewer.