Changeset 11
- Timestamp:
- 11/05/06 15:54:54 (2 years ago)
- Files:
-
- friendicon/mod/friendicon/lib.php (modified) (4 diffs)
- friendicon/mod/friendicon/user_info.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
friendicon/mod/friendicon/lib.php
r10 r11 28 28 29 29 function friendicon_userdetails_edit_details($userid) { 30 $title = gettext("Sidebar friend icon:");31 $blurb = gettext("Choose if you would like your friends' user icons displayed in your sidebar friends list.");30 $title = __gettext("Sidebar friend icon:"); 31 $blurb = __gettext("Choose if you would like your friends' user icons displayed in your sidebar friends list."); 32 32 33 33 $body = <<< END … … 36 36 END; 37 37 38 $true = gettext('Yes');39 $false = gettext('No');38 $true = __gettext('Yes'); 39 $false = __gettext('No'); 40 40 41 41 $checked_true = ''; … … 62 62 $body .= templates_draw( array( 63 63 'context' => 'databox', 64 'name' => gettext("Sidebar user icon: "),64 'name' => __gettext("Sidebar user icon: "), 65 65 'column1' => $chooser 66 66 ) … … 83 83 if ($friendicon_sidebar != $friendicon_sidebar_db) { 84 84 if(user_flag_set('friendicon_sidebar', $friendicon_sidebar, $id)) { 85 $messages[] .= gettext("Display of user icons") . " " .gettext("saved") .".";85 $messages[] .= __gettext("Display of user icons") . " " . __gettext("saved") ."."; 86 86 } else { 87 $messages[] .= gettext("Display of user icons") . " " .gettext("not saved") .".";87 $messages[] .= __gettext("Display of user icons") . " " . __gettext("not saved") ."."; 88 88 } 89 89 } friendicon/mod/friendicon/user_info.php
r9 r11 36 36 <td/> 37 37 <a href="{$CFG->wwwroot}{$info->username}/"> 38 <img src="{$CFG->wwwroot} {$info->username}/icons/{$info->icon}/h/47/w/47"/ alt="{$username}">38 <img src="{$CFG->wwwroot}/_icon/user/{$info->icon}/h/47/w/47"/ alt="{$username}"> 39 39 </a> 40 40 <br/>
