Changeset 1189 for branches/1.0
- Timestamp:
- 02/20/10 10:13:53 (3 years ago)
- Location:
- branches/1.0/content
- Files:
-
- 5 edited
-
admin_themes/admin_default/header.php (modified) (1 diff)
-
plugins/admin_email/admin_email.php (modified) (1 diff)
-
plugins/sb_base/sb_base.php (modified) (1 diff)
-
plugins/tags/tags.php (modified) (2 diffs)
-
plugins/users/users.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/content/admin_themes/admin_default/header.php
r1025 r1189 33 33 <html> 34 34 <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" /> 36 36 37 37 <title><?php echo $h->getTitle(); ?></title> -
branches/1.0/content/plugins/admin_email/admin_email.php
r940 r1189 152 152 // reload the page, without any html... 153 153 $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 . "' />"; 155 155 echo $h->lang["admin_email_redirecting"]; 156 156 ob_flush(); -
branches/1.0/content/plugins/sb_base/sb_base.php
r1187 r1189 195 195 $meta_content = sanitize($h->post->content, 'all'); 196 196 $meta_content = truncate($meta_content, 200); 197 echo '<meta name="description" content="' . $meta_content . '" >' . "\n";197 echo '<meta name="description" content="' . $meta_content . '" />' . "\n"; 198 198 return true; 199 199 } -
branches/1.0/content/plugins/tags/tags.php
r1187 r1189 59 59 if ($h->pageType == 'post') 60 60 { 61 echo '<meta name="keywords" content="' . stripslashes($h->post->tags) . '" >' . "\n";61 echo '<meta name="keywords" content="' . stripslashes($h->post->tags) . '" />' . "\n"; 62 62 return true; 63 63 } … … 67 67 68 68 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"; 71 71 return true; 72 72 } -
branches/1.0/content/plugins/users/users.php
r1182 r1189 123 123 if ($h->pageName == 'profile') { 124 124 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"; 126 126 } 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) 128 128 } 129 129 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) 131 131 132 132 return true; … … 142 142 if ($first_word == 'index') { $first_word = $h->lang['users_meta_description_popular']; } 143 143 $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) 146 146 return true; 147 147 }
Note: See TracChangeset
for help on using the changeset viewer.