[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/includes/ -> functions_display.php (summary)

(no description)

Copyright: (c) 2005 phpBB Group
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: $Id$
File Size: 1343 lines (44 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 14 functions

  display_forums()
  generate_forum_rules()
  generate_forum_nav()
  get_forum_parents()
  topic_generate_pagination()
  get_moderators()
  gen_forum_auth_level()
  topic_status()
  display_custom_bbcodes()
  display_reasons()
  display_user_activity()
  watch_topic_forum()
  get_user_rank()
  get_user_avatar()

Functions
Functions that are not part of a class:

display_forums($root_data = '', $display_moderators = true, $return_moderators = false)   X-Ref
Display Forums


generate_forum_rules(&$forum_data)   X-Ref
Create forum rules for given forum


generate_forum_nav(&$forum_data)   X-Ref
Create forum navigation links for given forum, create parent
list if currently null, assign basic forum info to template


get_forum_parents(&$forum_data)   X-Ref
Returns forum parents as an array. Get them from forum_data if available, or update the database otherwise


topic_generate_pagination($replies, $url)   X-Ref
Generate topic pagination


get_moderators(&$forum_moderators, $forum_id = false)   X-Ref
Obtain list of moderators of each forum


gen_forum_auth_level($mode, $forum_id, $forum_status)   X-Ref
User authorisation levels output

param: string    $mode            Can be forum or topic. Not in use at the moment.
param: int        $forum_id        The current forum the user is in.
param: int        $forum_status    The forums status bit.

topic_status(&$topic_row, $replies, $unread_topic, &$folder_img, &$folder_alt, &$topic_type)   X-Ref
Generate topic status


display_custom_bbcodes()   X-Ref
Assign/Build custom bbcodes for display in screens supporting using of bbcodes
The custom bbcodes buttons will be placed within the template block 'custom_codes'


display_reasons($reason_id = 0)   X-Ref
Display reasons


display_user_activity(&$userdata)   X-Ref
Display user activity (action forum/topic)


watch_topic_forum($mode, &$s_watching, $user_id, $forum_id, $topic_id, $notify_status = 'unset', $start = 0, $item_title = '')   X-Ref
Topic and forum watching common code


get_user_rank($user_rank, $user_posts, &$rank_title, &$rank_img, &$rank_img_src)   X-Ref
Get user rank title and image

param: int $user_rank the current stored users rank id
param: int $user_posts the users number of posts
param: string &$rank_title the rank title will be stored here after execution
param: string &$rank_img the rank image as full img tag is stored here after execution
param: string &$rank_img_src the rank image source is stored here after execution

get_user_avatar($avatar, $avatar_type, $avatar_width, $avatar_height, $alt = 'USER_AVATAR', $ignore_config = false)   X-Ref
Get user avatar

param: string $avatar Users assigned avatar name
param: int $avatar_type Type of avatar
param: string $avatar_width Width of users avatar
param: string $avatar_height Height of users avatar
param: string $alt Optional language string for alt tag within image, can be a language key or text
param: bool $ignore_config Ignores the config-setting, to be still able to view the avatar in the UCP
return: string Avatar image



Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1