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() | |
| 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.
| section | The profile section to show the hint in |
Definition at line 31 of file profiles.php.
References $avatarfile, $avatarthumbfile, $viewUser, currentUser(), drawCommand(), globalIDtoURL(), i18n(), renderInformationBox(), and siteURL().

| $avatarfile = siteURL(true) . $avatarfile |
Definition at line 339 of file profiles.php.
Referenced by drawProfileHint(), parse_userlists(), and Member::renderEditor().
| $avatarthumbfile = getAvatarThumbnail( $key ) |
Definition at line 337 of file profiles.php.
Referenced by drawProfileHint(), parse_userlists(), Event::render(), and Member::renderEditor().
| $blacklist_data |
| $currentuser = currentUser() |
Definition at line 320 of file profiles.php.
| $filename = "$userinfo_folder/$viewUser/relationships.php" |
Definition at line 328 of file profiles.php.
Referenced by blogger_savecategories(), events_savecategories(), OptionalChoice::load(), MembershipType::load(), Member::load(), Hotel::load(), Event::load(), renderEditor(), Member::renderEditor(), OptionalChoice::save(), MembershipType::save(), Member::save(), Hotel::save(), Event::save(), and updateTo030().
| $friends_data |
| 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.
Definition at line 71 of file profiles.php.
Referenced by profilemodule_blogger(), profilemodule_discuss(), profilemodule_events(), profilemodule_gallery2(), and TabWidget::renderTabWidget().
| $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 |
Definition at line 192 of file profiles.php.
Referenced by getBreadcrumbs(), profilemodule_gallery2(), render(), and blogger_entry::render().
| case module |
Definition at line 167 of file profiles.php.
| case mypage |
Definition at line 318 of file profiles.php.
| case name |
Definition at line 318 of file profiles.php.
Referenced by confirmDeleteDialog::confirmDeleteDialog(), confirmDeleteDialog::render(), Hotel::render(), Event::render(), Hotel::renderEditor(), Event::renderEditor(), Convention::renderEditor(), Event::renderLink(), Hotel::save(), and Event::save().
| case view |
Definition at line 430 of file profiles.php.
1.5.5