aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.php
Commit message (Collapse)AuthorAgeFilesLines
* [feature/pagination-as-list] Updates for nils commentsDrae2012-07-181-43/+0
| | | | | | | Re-remove deprecated functions, change on_page to phpbb_on_page, add null returns, remove globals and pass as params. PHPBB3-10968
* [feature/pagination-as-list] Rename and deprecate functionsDrae2012-07-181-0/+43
| | | | | | | Returned and marked deprecated topic_generate_pagination. Rename new function in line with coding guidelines. PHPBB3-10968
* [ticket/10968] Render pagination within the templateDrae2012-07-181-42/+0
| | | | | | | | | | | | | | Since phpBB 2 pagination has been rendered mostly within the source. This limits just what designers can do with pagination. The current form is also questionable in terms of "best practice". The aim is to move rendering completely to the template via the use of a block element. Enabling S_ template vars also allows for control over specific aspects of the pagination output such as next, previous, active and ellipsis. Related to this - merging the capabilities of the topic_generate_pagination with generate_pagination removes an element of duplication. PHPBB3-10968
* Merge PR #759 branch 'nickvergessen/ticket/10811' into developOleg Pudeyev2012-07-051-0/+2
|\ | | | | | | | | | | | | | | * nickvergessen/ticket/10811: [ticket/10811] Make toogle_subscribe more generic so it can toogle all links [ticket/10811] Make it easier for MODs/Extensions to define the alt-text [ticket/10811] Make subscribe/unsubscribe repeatable with AJAX [ticket/10811] Fix AJAX callback alt_text so it can be repeated.
| * [ticket/10811] Make toogle_subscribe more generic so it can toogle all linksJoas Schilling2012-07-051-1/+2
| | | | | | | | PHPBB3-10811
| * [ticket/10811] Make it easier for MODs/Extensions to define the alt-textJoas Schilling2012-05-161-0/+1
| | | | | | | | PHPBB3-10811
* | [ticket/10912] Default last post subject to empty lacking last post infoDavid King2012-05-261-1/+1
| | | | | | | | PHPBB3-10912
* | [ticket/10650] Subject is cleared if no permissions existRahul R2012-05-191-2/+2
| | | | | | | | | | | | | | The subject line will be cleared before passing to the template in case the user doesn't have sufficient permissions. PHPBB3-10650
* | [ticket/10650] Moving censoring to before truncationRahul R2012-04-101-2/+2
| | | | | | | | | | | | | | The censor_text function is now being applied to the last_post_subject before being truncated. PHPBB3-10650
* | [ticket/10650] Added ellipsis to language fileRahul R2012-04-081-1/+1
| | | | | | | | | | | | | | Added ELLIPSIS to language file common.php and also corrected language explanation of ACP option. PHPBB3-10650
* | [ticket/10650] Made use of truncate_string() functionRahul R2012-04-081-5/+2
| | | | | | | | | | | | | | | | Removed manual cropping and used truncate_string function. Also made a new variable so that is preserved. PHPBB3-10650
* | [ticket/10650] Changed acp option from per forum to globalRahul R2012-04-081-1/+1
| | | | | | | | | | | | | | | | | | Changed the display last subject acp toggle option from per forum to global. Modified associated database entries. New option is available in ACP General->Board Features. Also corrected <br /> in forumlist_body.html. PHPBB3-10650
* | [ticket/10650] Added checking for empty subjectsRahul R2012-04-081-1/+1
| | | | | | | | | | | | | | Now empty subjects will not be displayed in a new line on the forum list. PHPBB3-10650
* | [ticket/10650] Corrected intendationRahul R2012-04-081-4/+4
| | | | | | | | | | | | Corrected the intendation of if condition. PHPBB3-10650
* | [ticket/10650]Added permission checking and utf8 functionsRahul R2012-04-081-4/+4
| | | | | | | | | | | | | | | | Passworded forums and ones in which user doesn't have read access will be excluded. Also uft8 based string functions and html encode/decode functions have been used to sanitise subject. PHPBB3-10650
* | [ticket/10650] Cropped subject and inserted newlineRahul R2012-04-081-0/+5
| | | | | | | | | | | | | | | | The subject being displayed in the forum list have been shortened to 30 characters. Also it is now being shown in a separate line. PHPBB3-10650
* | [ticket/10650] Displaying last topic on forum listRahul2012-04-081-0/+1
| | | | | | | | | | | | | | | | | | The most recent topic title of the forum can now be displayed on the board index. An option is provided in the ACP under the 'General Forum Setting' which allows the admin to enable or disable this feature. PHPBB3-10650
* | [ticket/10650] Revert merge of 'rahulr92/ticket/10650' into developOleg Pudeyev2012-04-041-6/+0
| | | | | | | | | | | | | | | | | | | | | | The pull request (#654) was merged a little too quickly. In particular, display_last_subject per-forum option needs consensus. This reverts commit b1fb34a4d7e446768b9f66ba6dd359173cd2a5fb, reversing changes made to 7d6b289671c51694f17dd5f9849abf2534b55e59. PHPBB3-10650
* | [ticket/10650] Added checking for empty subjectsRahul R2012-04-051-1/+1
| | | | | | | | | | | | | | Now empty subjects will not be displayed in a new line on the forum list. PHPBB3-10650
* | [ticket/10650] Corrected intendationRahul R2012-04-051-4/+4
| | | | | | | | | | | | Corrected the intendation of if condition. PHPBB3-10650
* | [ticket/10650]Added permission checking and utf8 functionsRahul R2012-04-051-4/+4
| | | | | | | | | | | | | | | | Passworded forums and ones in which user doesn't have read access will be excluded. Also uft8 based string functions and html encode/decode functions have been used to sanitise subject. PHPBB3-10650
* | [ticket/10650] Cropped subject and inserted newlineRahul R2012-04-051-0/+5
| | | | | | | | | | | | | | | | The subject being displayed in the forum list have been shortened to 30 characters. Also it is now being shown in a separate line. PHPBB3-10650
* | [ticket/10650] Displaying last topic on forum listRahul2012-04-051-0/+1
|/ | | | | | | | | The most recent topic title of the forum can now be displayed on the board index. An option is provided in the ACP under the 'General Forum Setting' which allows the admin to enable or disable this feature. PHPBB3-10650
* [feature/ajax] Add entirely unrelated but nice newlinesIgor Wiedler2012-03-311-0/+1
| | | | PHPBB3-10270
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | PHPBB3-9916
* [ticket/10345] Make use of the plural function in some basic placesJoas Schilling2011-11-251-2/+2
| | | | PHPBB3-10345
* [ticket/10484] Use variables for sql_build_query() callsJoas Schilling2011-11-211-2/+3
| | | | | | It's easier for mods/extensions to extend the arrays. PHPBB3-10484
* Merge branch 'develop-olympus' into developAndreas Fischer2011-11-111-6/+15
|\ | | | | | | | | | | | | | | * develop-olympus: [ticket/10237] Display login-box for guests, when (un)subscribing Conflicts: phpBB/includes/functions_display.php
| * Merge remote-tracking branch 'nickvergessen/ticket/10237' into develop-olympusAndreas Fischer2011-11-111-6/+15
| |\ | | | | | | | | | | | | * nickvergessen/ticket/10237: [ticket/10237] Display login-box for guests, when (un)subscribing
| | * [ticket/10237] Display login-box for guests, when (un)subscribingJoas Schilling2011-11-061-6/+15
| | | | | | | | | | | | | | | | | | Also initialise $is_watching for PHP Notice: Undefined variable is_watching PHPBB3-10237
* | | Merge branch 'develop-olympus' into developAndreas Fischer2011-11-011-0/+1
|\ \ \ | |/ / | | | | | | | | | * develop-olympus: [ticket/9036] Add template variable 'S_AUTH_READ' to forumlist
| * | Merge remote-tracking branch 'nickvergessen/ticket/9036' into develop-olympusAndreas Fischer2011-11-011-0/+1
| |\ \ | | | | | | | | | | | | | | | | * nickvergessen/ticket/9036: [ticket/9036] Add template variable 'S_AUTH_READ' to forumlist
| | * | [ticket/9036] Add template variable 'S_AUTH_READ' to forumlistJoas Schilling2011-10-291-0/+1
| | | | | | | | | | | | | | | | PHPBB3-9036
* | | | Merge branch 'develop-olympus' into developJoas Schilling2011-10-131-1/+1
|\ \ \ \ | |/ / / | | | | | | | | | | | | Conflicts: phpBB/includes/functions.php
| * | | [ticket/10397] Pagination inconsistency fixVjacheslav Trushkin2011-10-041-1/+1
| |/ / | | | | | | | | | | | | | | | Fixing topic_generate_pagination() PHPBB3-10397
* | | [feature/remove-imagesets] Adjustments to php filesVjacheslav Trushkin2011-09-041-1/+0
| | | | | | | | | | | | | | | | | | Removing imagesets. Adjustments to php files PHPBB3-10336
* | | Merge branch 'develop-olympus' into developNils Adermann2011-08-251-1/+5
|\ \ \ | |/ / | | | | | | | | | | | | * develop-olympus: [ticket/10320] Exclude passworded forums when determining "Most active topic". [ticket/10320] Move phpbb_feed_base::get_passworded_forums() to user class.
| * | Merge remote-tracking branch 'github-bantu/ticket/10320' into develop-olympusNils Adermann2011-08-251-1/+5
| |\ \ | | | | | | | | | | | | | | | | | | | | * github-bantu/ticket/10320: [ticket/10320] Exclude passworded forums when determining "Most active topic". [ticket/10320] Move phpbb_feed_base::get_passworded_forums() to user class.
| | * | [ticket/10320] Exclude passworded forums when determining "Most active topic".Andreas Fischer2011-08-251-1/+5
| | |/ | | | | | | | | | PHPBB3-10320
* | | Merge branch 'develop-olympus' into developNils Adermann2011-08-251-15/+27
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/9995] Do not run forum SQL query when marking the whole board read. [ticket/9995] Always continue when harvesting $forum_ids for markread(). [ticket/9995] Remove useless statement from display_forums() Conflicts: phpBB/includes/functions_display.php
| * | [ticket/9995] Do not run forum SQL query when marking the whole board read.Andreas Fischer2011-08-261-14/+27
| | | | | | | | | | | | PHPBB3-9995
| * | [ticket/9995] Always continue when harvesting $forum_ids for markread().Andreas Fischer2011-08-261-1/+2
| | | | | | | | | | | | PHPBB3-9995
| * | [ticket/9995] Remove useless statement from display_forums()Andreas Fischer2011-08-261-2/+0
| |/ | | | | | | | | | | | | | | | | | | | | The $forum_ids array is only used if $mark_read == 'forums'. When $mark_read == 'forums', we either continue when $auth->acl_get('f_list', $forum_id) is false or true. So this statement is never useful. PHPBB3-9995
* | Merge branch 'develop-olympus' into developNils Adermann2011-07-161-24/+58
|\ \ | |/ | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10237] Also display login-box on subscribing [ticket/10237] Handle watching and unwatching the same way. [ticket/10237] Use confirm-box to handle unwatching a forum/topic actions Conflicts: phpBB/includes/functions_display.php
| * [ticket/10237] Also display login-box on subscribingJoas Schilling2011-07-111-1/+1
| | | | | | | | PHPBB3-10237
| * [ticket/10237] Handle watching and unwatching the same way.Joas Schilling2011-07-111-16/+38
| | | | | | | | | | | | Also add some information to the confirm-box (forum_name / topic title) PHPBB3-10237
| * [ticket/10237] Use confirm-box to handle unwatching a forum/topic actionsJoas Schilling2011-07-071-9/+21
| | | | | | | | PHPBB3-10237
* | Merge branch 'develop-olympus' into developOleg Pudeyev2011-05-091-1/+0
|\ \ | |/ | | | | | | | | * develop-olympus: [ticket/9999] SEARCH_USER_POSTS is also used on viewtopic. Move to common. [ticket/9999] Remove broken and unused L_FORUM_FOLDER_ALT variable.
| * [ticket/9999] Remove broken and unused L_FORUM_FOLDER_ALT variable.Andreas Fischer2011-05-091-1/+0
| | | | | | | | | | | | | | | | | | | | L_FORUM_FOLDER_ALT was supposed to be a language variable but the language variable is never looked up but directly passed as L_FORUM_FOLDER_ALT instead. Also, the expected functionality is correctly implemented by FORUM_FOLDER_IMG_ALT. PHPBB3-9999
* | [ticket/9684] Remove code in some more files especially includes/Joas Schilling2011-04-071-20/+0
| | | | | | | | | | | | Topic-Tracking is still missing. PHPBB3-9684