aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
Commit message (Collapse)AuthorAgeFilesLines
* show error if template path could not be determinedMeik Sievertsen2006-06-211-0/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@6112 89ea8834-ac86-4346-8a33-228a782c2dd0
* make sure custom profile fields are created correctly on registration (#2225)Meik Sievertsen2006-06-131-14/+14
| | | | git-svn-id: file:///svn/phpbb/trunk@6058 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed a few bugsMeik Sievertsen2006-06-111-42/+33
| | | | | | | | | | | - added user_add() function - check posted images ([img]) for same domain/scipt and php files - auth_api.html updated to the coding guidelines look&feel - introduced ability to force non page-updates (cron is using it) - correctly resend coppa email git-svn-id: file:///svn/phpbb/trunk@6048 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, sorry for this. :/Meik Sievertsen2006-06-071-1/+1
| | | | | | | - cleaned up table names/constants git-svn-id: file:///svn/phpbb/trunk@6021 89ea8834-ac86-4346-8a33-228a782c2dd0
* some tiny changes...Meik Sievertsen2006-05-261-0/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@5967 89ea8834-ac86-4346-8a33-228a782c2dd0
* first round of custom profile changesMeik Sievertsen2006-05-251-30/+30
| | | | git-svn-id: file:///svn/phpbb/trunk@5965 89ea8834-ac86-4346-8a33-228a782c2dd0
* - introduce new function build_url to easily build a valid url from the ↵Meik Sievertsen2006-05-121-1/+1
| | | | | | | | | | | | | | user->page object as well as optionally removing certain keys - changed attachment config to utilize the config build methods - cleaned up posting.php - the submit/delete_post functions are now usable (functions_posting.php) - adjusted header icons (transparency) - a bunch of fixes for mssql - bug fixes git-svn-id: file:///svn/phpbb/trunk@5902 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added the template editor (doesn't use a hardcoded list of template ↵Nils Adermann2006-05-071-2/+2
| | | | | | | | | | filenames for categorisation anymore) - fix some bugs related to storing template files in the database - allow templates stored in subfolders of the /styles/name/template/ folder git-svn-id: file:///svn/phpbb/trunk@5894 89ea8834-ac86-4346-8a33-228a782c2dd0
* introduce LA_ for addslashing language variables for use in js vars (idea by ↵Meik Sievertsen2006-04-291-16/+11
| | | | | | naderman) git-svn-id: file:///svn/phpbb/trunk@5865 89ea8834-ac86-4346-8a33-228a782c2dd0
* - clean up marklist calls (global function)Meik Sievertsen2006-04-171-21/+32
| | | | | | | | | | - added new feature: test out others permissions (admin permissions will not be copied) - changed attachment processing by directly using the template engine - fixed some attachment related bugs - additional tiny fixes git-svn-id: file:///svn/phpbb/trunk@5790 89ea8834-ac86-4346-8a33-228a782c2dd0
* fixing a bug within the installer (displaying notices) and making sure the ↵Meik Sievertsen2006-04-141-2/+2
| | | | | | installer is using the error handler. git-svn-id: file:///svn/phpbb/trunk@5783 89ea8834-ac86-4346-8a33-228a782c2dd0
* save graham temporarly some headaches. ;)Meik Sievertsen2006-03-251-0/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@5722 89ea8834-ac86-4346-8a33-228a782c2dd0
* - add our beloved in_phpbb checkMeik Sievertsen2006-03-191-0/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@5670 89ea8834-ac86-4346-8a33-228a782c2dd0
* - streamlined reports to consist of the feature set we decided upon (Nils, ↵Meik Sievertsen2006-03-121-5/+5
| | | | | | | | | | | | | | your turn now) - use getenv instead of $_ENV (with $_ENV the case could be wrong) - permission fixes (there was a bug arising with getting permission flags - re-added them and handled roles deletion differently) - implemented max login attempts - changed the expected return parameters for logins/sessions - added acp page for editing report/denial reasons - other fixes here and there git-svn-id: file:///svn/phpbb/trunk@5622 89ea8834-ac86-4346-8a33-228a782c2dd0
* - implementing David's proposed expression changes (some of them already ↵Meik Sievertsen2006-02-211-8/+10
| | | | | | noted within the events CCP) git-svn-id: file:///svn/phpbb/trunk@5566 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Removed a variable that has been left unused for three and a half years...David M2005-12-271-1/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@5382 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixing alter_block_array function as suggested by david.Meik Sievertsen2005-12-271-4/+16
| | | | git-svn-id: file:///svn/phpbb/trunk@5379 89ea8834-ac86-4346-8a33-228a782c2dd0
* - ok, get away with the secondary style approach (styles can be mixed ↵Meik Sievertsen2005-12-221-21/+6
| | | | | | | | | | together easily with the acp) - introduce a more generic approach of defining some additional variables through cfg files as well as the name, copyright and version fields - please note that at the moment this is in flux. I added it now for Tom because he needs the theme parameters. git-svn-id: file:///svn/phpbb/trunk@5372 89ea8834-ac86-4346-8a33-228a782c2dd0
* Some fixes to the template codeGraham Eames2005-12-131-5/+5
| | | | | | | | - this handles the case where file caching is used and no cached version exists git-svn-id: file:///svn/phpbb/trunk@5331 89ea8834-ac86-4346-8a33-228a782c2dd0
* - mass emailMeik Sievertsen2005-12-051-2/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5321 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some bugfixesMeik Sievertsen2005-12-041-610/+69
| | | | | | | | | | | | | - checking if page_header has been called already - call correct page footer function - rewrote avatar gallery - seperated compilation of template and template functions (new file: functions_template.php) - added assign_display function to template - added group management (acp) - removed admin_groups git-svn-id: file:///svn/phpbb/trunk@5319 89ea8834-ac86-4346-8a33-228a782c2dd0
* - more acp additions and changes...Meik Sievertsen2005-11-201-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5310 89ea8834-ac86-4346-8a33-228a782c2dd0
* - tiny bugfixes. ;)Meik Sievertsen2005-11-081-14/+15
| | | | git-svn-id: file:///svn/phpbb/trunk@5296 89ea8834-ac86-4346-8a33-228a782c2dd0
* allow checking for loops with IF .block_varMeik Sievertsen2005-10-191-0/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@5271 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added new query type to dbal's sql_build_arrayMeik Sievertsen2005-10-091-0/+13
| | | | | | | | | - allow setting custom template path - adjusted module class to correctly parse trees with more than one category - added caching to module class git-svn-id: file:///svn/phpbb/trunk@5268 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some bugfixesMeik Sievertsen2005-10-021-6/+20
| | | | | | | - allow template variables in defines git-svn-id: file:///svn/phpbb/trunk@5238 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed url parsing ([] breakage)Meik Sievertsen2005-05-151-28/+28
| | | | git-svn-id: file:///svn/phpbb/trunk@5151 89ea8834-ac86-4346-8a33-228a782c2dd0
* - made path information available to template (T_)Meik Sievertsen2005-04-111-3/+31
| | | | | | | | - eased topic/post icon in templates (removing hardcoded img) - added S_FIRST_ROW and S_LAST_ROW to template engine git-svn-id: file:///svn/phpbb/trunk@5118 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added updated coding guidelinesMeik Sievertsen2005-04-101-1/+1
| | | | | | | | - introduced is_registered and is_bot flags for correct determinition of guest/registered/bot users - changed bot code to act on useragent || ip git-svn-id: file:///svn/phpbb/trunk@5117 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Documentation related changesMeik Sievertsen2005-04-091-73/+82
| | | | | | | | | | - added resend activation email dialog - fixed issue in session code - log failed/successful admin re-authentication/login - fixed simple forum dropdown box (used in mcp and posting) git-svn-id: file:///svn/phpbb/trunk@5114 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix admin_session "bug"Meik Sievertsen2005-01-271-1/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@5083 89ea8834-ac86-4346-8a33-228a782c2dd0
* this should eliminate most problems with statements not interpreted but ↵Meik Sievertsen2005-01-101-3/+4
| | | | | | valid. We really do not use/need multiline conditionals. ;) git-svn-id: file:///svn/phpbb/trunk@5053 89ea8834-ac86-4346-8a33-228a782c2dd0
* - some fixes/changesMeik Sievertsen2004-12-191-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@5035 89ea8834-ac86-4346-8a33-228a782c2dd0
* - new function + a few fixes suggested by cyberalienMeik Sievertsen2004-10-301-3/+129
| | | | git-svn-id: file:///svn/phpbb/trunk@5013 89ea8834-ac86-4346-8a33-228a782c2dd0
* - more updates, mostly bugfixes to the bbcode parserMeik Sievertsen2004-09-161-4/+4
| | | | | | | | | | | - changed current_user in sessions (please review) - give more flexibility to style authors in regard to the pagination elements - profile fields updates (included a sample constuct into viewtopic_body.html - have to be documented extensivly) - code optimizations (use of strpos, sizeof, loops not iterating functions on every call, memory savings...) - and last but not least --- hopefully not introduced more bugs than healthy (*cough*) git-svn-id: file:///svn/phpbb/trunk@4984 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed problem with UNDEFINEPaul S. Owen2004-08-011-28/+26
| | | | git-svn-id: file:///svn/phpbb/trunk@4940 89ea8834-ac86-4346-8a33-228a782c2dd0
* - remove output buffering options from download.php (not needed anymore)Meik Sievertsen2004-07-081-1/+3
| | | | | | | | | | | | | | | | | | | | - optimized viewtopic.php a little bit - removed the create_function (was consuming too much memory) from viewtopic - check for manually added convert[.exe] program name to imagemagick path in admin_attachments - reduced filesize checking for imagemagick program (some installations require less than 20k) - added checked="checked" for "not selected" topic icon - moved parse_text_display function from functions_posting.php to functions.php (see comment above function) - check for user_id != ANONYMOUS in page_footer for displaying the administration link (there seems to be a problem checking for global options) - rewrote attachment thumbnail functions - utilize GD2 functions if available, more uptodate checks... - changed final thumbnail size calculation - define S_ROW_COUNT within template class itself - added SID to template vars in page_header - added ability to view topic/forum within admin_viewlogs - added optional acl checking to make_jumpbox, no need to duplicate the function for this small need - added custom body file for confirm_box git-svn-id: file:///svn/phpbb/trunk@4920 89ea8834-ac86-4346-8a33-228a782c2dd0
* - added folder_moved imageMeik Sievertsen2004-06-061-2/+1
| | | | | | | | | - new feature: bookmark topics - fixed post details link - added confirmation screen to cookie deletion git-svn-id: file:///svn/phpbb/trunk@4912 89ea8834-ac86-4346-8a33-228a782c2dd0
* don't hurt me... just very small thingsMeik Sievertsen2004-05-261-2/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@4896 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix some issues with oop, fixing small bugs and prepare the next steps...Meik Sievertsen2004-05-021-2/+2
| | | | | | | NOTE TO DEVS: have a look at adm/admin_board.php (new config layout) git-svn-id: file:///svn/phpbb/trunk@4883 89ea8834-ac86-4346-8a33-228a782c2dd0
* oopsiePaul S. Owen2004-01-111-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@4753 89ea8834-ac86-4346-8a33-228a782c2dd0
* custom profile fields.Meik Sievertsen2004-01-101-2/+2
| | | | | | | | Not finished, committed to let us discuss about the next steps -> BartVB git-svn-id: file:///svn/phpbb/trunk@4740 89ea8834-ac86-4346-8a33-228a782c2dd0
* Add DEFINE/UNDEFINE ... user vars bust be preceeded by $ and be uppercase, ↵Paul S. Owen2004-01-091-17/+69
| | | | | | string vars must be in single quotes. Can be used in loops, something.$VAR, etc. Use with standard IF, IF $something ==, etc. git-svn-id: file:///svn/phpbb/trunk@4735 89ea8834-ac86-4346-8a33-228a782c2dd0
* Quiet please!Ludovic Arnaud2003-11-291-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@4698 89ea8834-ac86-4346-8a33-228a782c2dd0
* *** empty log message ***Meik Sievertsen2003-10-121-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@4574 89ea8834-ac86-4346-8a33-228a782c2dd0
* include_oncePaul S. Owen2003-10-111-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@4557 89ea8834-ac86-4346-8a33-228a782c2dd0
* Switch for recompilation (based on filesystem modified time)Paul S. Owen2003-09-291-12/+10
| | | | git-svn-id: file:///svn/phpbb/trunk@4517 89ea8834-ac86-4346-8a33-228a782c2dd0
* Allow for start,end values within begin/end loopsPaul S. Owen2003-09-271-20/+29
| | | | git-svn-id: file:///svn/phpbb/trunk@4514 89ea8834-ac86-4346-8a33-228a782c2dd0
* Added the binary attribute for Windows platforms. Removed the read attribute ↵Ludovic Arnaud2003-08-101-4/+3
| | | | | | because it wasn't needed. git-svn-id: file:///svn/phpbb/trunk@4364 89ea8834-ac86-4346-8a33-228a782c2dd0
* A fair amount of additional working or semi-working stuff ... template ↵Paul S. Owen2003-08-061-9/+61
| | | | | | stored db source (when appropriate), switch theme/templates between DB/filesystem (if available), import, upload templates, imagesets, themes (if available ... i.e. no safe mode), etc. still a fair amount of stuff to do but getting there ... take care using this, backup any themes/templates/imagesets before fiddling and let me know of issues git-svn-id: file:///svn/phpbb/trunk@4343 89ea8834-ac86-4346-8a33-228a782c2dd0