|
Revision 1022, 1.1 kB
(checked in by ben, 2 years ago)
|
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.
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
// Run includes |
|---|
| 6 |
require_once(dirname(dirname(__FILE__))."/includes.php"); |
|---|
| 7 |
|
|---|
| 8 |
run("search:init"); |
|---|
| 9 |
run("profile:init"); |
|---|
| 10 |
|
|---|
| 11 |
define("context","profile"); |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
$username = trim(optional_param('profile_name','')); |
|---|
| 16 |
$user_id = user_info_username("ident",$username); |
|---|
| 17 |
$user_id) { |
|---|
| 18 |
$user_id = $page_owner; |
|---|
| 19 |
|
|---|
| 20 |
$page_owner = $user_id; |
|---|
| 21 |
$profile_id = $user_id; |
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
templates_page_setup(); |
|---|
| 25 |
|
|---|
| 26 |
$title = user_name($user_id) . " :: " . __gettext("Tags"); |
|---|
| 27 |
|
|---|
| 28 |
$body = run("content:tags"); |
|---|
| 29 |
$body .= run("search:tags:personal:display", $user_id); |
|---|
| 30 |
|
|---|
| 31 |
$body = templates_draw(array( |
|---|
| 32 |
'context' => 'contentholder', |
|---|
| 33 |
'title' => $title, |
|---|
| 34 |
'body' => $body |
|---|
| 35 |
) |
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
templates_page_draw( array( |
|---|
| 39 |
$title, $body |
|---|
| 40 |
) |
|---|
| 41 |
|
|---|
| 42 |
|
|---|
| 43 |
?> |
|---|