Changeset 1022 for devel/_weblog

Show
Ignore:
Timestamp:
03/12/07 12:10:28 (2 years ago)
Author:
ben
Message:

All icons are now displayed using the user_icon_html function; all user full names are displayed using the user_name function. This is to allow potential plugins to do things like hide names if required (eg in a school situation), and add bling to the icon.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/_weblog/rss091.php

    r454 r1022  
    3333END; 
    3434            if ($info = get_record('users','ident',$page_owner)) { 
    35                 $name = htmlspecialchars(stripslashes($info->name), ENT_COMPAT, 'utf-8'); 
     35                $name = htmlspecialchars(stripslashes(user_name($info->ident)), ENT_COMPAT, 'utf-8'); 
    3636                $username = htmlspecialchars($info->username, ENT_COMPAT, 'utf-8'); 
    3737                $sitename = sitename; 
  • devel/_weblog/rss2.php

    r659 r1022  
    7575                                    $rssweblog = $rssdescription; 
    7676                                    break; 
    77                     default:        $name = (stripslashes($info->name)); 
     77                    default:        $name = (stripslashes(user_name($info->ident))); 
    7878                                    $rssdescription = sprintf(__gettext("The weblog for %s, hosted on %s."),$name,$sitename); 
    7979                                    break;