profiles.php File Reference

Go to the source code of this file.

Functions

 drawProfileHint ()

Variables

PHP $page_author = $owner_name
 $page_author_email = $owner_email
 $page_date = formatTime( time() )
 $page_menu = $profile_options["profiles_menu"]
 $tabwidget = new TabWidget
case module
case edit
case contact
 break
case mypage
case name
 $currentuser = currentUser()
 $filename = "$userinfo_folder/$viewUser/relationships.php"
 $relationships = unserialize(substr($relationships, strpos($relationships, "\n") + 1))
 $avatarthumbfile = getAvatarThumbnail( $key )
 $avatarfile = siteURL(true) . $avatarfile
 $temp_friends_data
else $neutral_friends_data = $temp_friends_data
 $friends_data
 $temp_blacklist_data
else $neutral_blacklist_data = $temp_blacklist_data
 $blacklist_data
$tabwidget contents
case view
 $page_content = $tabwidget->renderTabWidget()


Function Documentation

drawProfileHint (  ) 

Renders an information box appropriate for the section the profile is shown in. If it is the user itself, appropriate hints for what they should be doing are showed.

Parameters:
section The profile section to show the hint in
Returns:
A string containing the rendered information box with hints for the profile

Definition at line 31 of file profiles.php.

References $avatarfile, $avatarthumbfile, $viewUser, currentUser(), drawCommand(), globalIDtoURL(), i18n(), renderInformationBox(), and siteURL().

Here is the call graph for this function:


Variable Documentation

$avatarfile = siteURL(true) . $avatarfile

Definition at line 339 of file profiles.php.

Referenced by drawProfileHint(), parse_userlists(), and Member::renderEditor().

$avatarthumbfile = getAvatarThumbnail( $key )

$blacklist_data

Initial value:

 "
                                <table class=\"setup\">
                                "

Definition at line 389 of file profiles.php.

$currentuser = currentUser()

Definition at line 320 of file profiles.php.

$filename = "$userinfo_folder/$viewUser/relationships.php"

$friends_data

Initial value:

 "
                                <table class=\"setup\">
                                "

Definition at line 356 of file profiles.php.

else $neutral_blacklist_data = $temp_blacklist_data

Definition at line 387 of file profiles.php.

else $neutral_friends_data = $temp_friends_data

Definition at line 353 of file profiles.php.

PHP $page_author = $owner_name

Definition at line 17 of file profiles.php.

$page_author_email = $owner_email

Definition at line 18 of file profiles.php.

$page_content = $tabwidget->renderTabWidget()

Definition at line 504 of file profiles.php.

$page_date = formatTime( time() )

Definition at line 19 of file profiles.php.

$page_menu = $profile_options["profiles_menu"]

Definition at line 21 of file profiles.php.

$relationships = unserialize(substr($relationships, strpos($relationships, "\n") + 1))

Definition at line 330 of file profiles.php.

$tabwidget = new TabWidget

$temp_blacklist_data

Initial value:

 "
                                        <tr class=\"setup\">
                                                <td class=\"setup\"><a href=\"$avatarfile\" target=\"_blank\"><img border=\"0\" class=\"profile_avatar\" src=\"$avatarthumbfile\" width=\"$avatarwidth\" height=\"$avatarheight\" alt=\"" . i18n("##0##'s avatar", array(getUserInfo($key, "name"))) . "\" /></a>
                                                <strong>" . getUserInfo($key, "name") . " ($key)</strong><br />
                                                "

Definition at line 375 of file profiles.php.

$temp_friends_data

Initial value:

 "
                                        <tr class=\"setup\">
                                                <td class=\"setup\"><a href=\"$avatarfile\" target=\"_blank\"><img border=\"0\" class=\"profile_avatar\" src=\"$avatarthumbfile\" width=\"$avatarwidth\" height=\"$avatarheight\" alt=\"" . i18n("##0##'s avatar", array(getUserInfo($key, "name"))) . "\" /></a>
                                                <strong>" . getUserInfo($key, "name") . " ($key)</strong><br />"

Definition at line 342 of file profiles.php.

Definition at line 315 of file profiles.php.

case contact

Definition at line 205 of file profiles.php.

$tabwidget contents

Initial value:

 "
                        <table class=\"setup\">
                        <tr class=\"setup\">
                                <th class=\"setup\" width=\"50%\">" . i18n("My friends") . "</th>
                                <th class=\"setup\" width=\"50%\">" . i18n("My blacklist") . "</th>
                        <tr>
                        <tr class=\"setup\">
                                <td class=\"setup\" valign=\"top\">$friends_data</td>
                                <td class=\"setup\" valign=\"top\">$blacklist_data</td>
                        </tr>
                        </table>"

Definition at line 402 of file profiles.php.

case edit

case module

Definition at line 167 of file profiles.php.

case mypage

Definition at line 318 of file profiles.php.

case name

case view

Definition at line 430 of file profiles.php.


Generated on Sun Oct 26 20:33:14 2008 for The Travelsized Content Management System by  doxygen 1.5.5