Changeset 1182


Ignore:
Timestamp:
02/20/10 07:23:40 (3 years ago)
Author:
nick_ramsay
Message:

[Branch 1.0] Slight bug fix for meta descriptions in profiles.

Location:
branches/1.0/content/plugins/users
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/content/plugins/users/languages/users_language.php

    r1180 r1182  
    140140 
    141141/* User Meta Tags */ 
    142 $lang['users_default_meta_description_before'] = "Hi, I'm "; 
     142$lang['users_default_meta_description_before'] = "I'm "; 
    143143$lang['users_default_meta_description_after'] = " and this is my profile on " . SITE_NAME; 
    144144$lang['users_profile_meta_keywords_more'] = ", profile, activity"; // you need the comma because the user's name is the first keyword  
  • branches/1.0/content/plugins/users/users.php

    r1180 r1182  
    122122    { 
    123123        if ($h->pageName == 'profile') { 
    124             if (isset($h->vars['profile']['bio'])) {  
     124            if (isset($h->vars['profile']['bio']) && ($h->vars['profile']['bio'] != $h->lang['users_profile_default_bio'])) {  
    125125                echo '<meta name="description" content="' . $h->vars['profile']['bio'] . '">' . "\n"; 
    126126            } else { 
Note: See TracChangeset for help on using the changeset viewer.