aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* Changes for styling directory layout alterationsPaul S. Owen2003-07-241-4/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@4325 89ea8834-ac86-4346-8a33-228a782c2dd0
* Remove subfolder storage of templates ... a safe-mode thang, you can delete ↵Paul S. Owen2003-07-171-12/+6
| | | | | | any existing cache/templates folder git-svn-id: file:///svn/phpbb/trunk@4273 89ea8834-ac86-4346-8a33-228a782c2dd0
* Cope with secondary (per forum) styles, probably other minor things too ... ↵Paul S. Owen2003-07-131-16/+26
| | | | | | there is a known permissions problem, will work on that soon git-svn-id: file:///svn/phpbb/trunk@4235 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix failure to INCLUDE a file following its sole recompilation ... I should ↵Paul S. Owen2003-07-111-1/+1
| | | | | | add that neither of these commits have added support for primary/secondary styles (e.g. styling of forums) ... won't commit these till all relevant styling changes have been implemented. git-svn-id: file:///svn/phpbb/trunk@4224 89ea8834-ac86-4346-8a33-228a782c2dd0
* forced_recompile "seems" to work now if set true ...Paul S. Owen2003-07-111-3/+9
| | | | git-svn-id: file:///svn/phpbb/trunk@4223 89ea8834-ac86-4346-8a33-228a782c2dd0
* Various updates, forum links, "improve" forum management, cleanups, blah ↵Paul S. Owen2003-05-021-5/+0
| | | | | | blah, note the schema changes, note also that forum management may misbehave ... reports on wrong doings are welcome ... seem to be having problems with some mcp functions under apache/win32 git-svn-id: file:///svn/phpbb/trunk@3961 89ea8834-ac86-4346-8a33-228a782c2dd0
* Check for and remove other possible PHP execution tagsPaul S. Owen2003-04-281-2/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@3957 89ea8834-ac86-4346-8a33-228a782c2dd0
* I believe the original intent was to put the backslash in the character ↵Ludovic Arnaud2003-04-261-1/+1
| | | | | | class, this should make it work git-svn-id: file:///svn/phpbb/trunk@3954 89ea8834-ac86-4346-8a33-228a782c2dd0
* hhmmm, was slap bang in the middle of working on this ;) Excess slashing(?) ↵Paul S. Owen2003-04-231-6/+10
| | | | | | .. keep an eye out for errors ... fixed static lang preg git-svn-id: file:///svn/phpbb/trunk@3933 89ea8834-ac86-4346-8a33-228a782c2dd0
* replaced \' with ' in template to let it parse javascript correctly. ↵Meik Sievertsen2003-04-231-1/+1
| | | | | | admin_attachments.php changes. added real media streaming. git-svn-id: file:///svn/phpbb/trunk@3932 89ea8834-ac86-4346-8a33-228a782c2dd0
* Thanks to John, who indirectly reminded me about this :D ... echo only data ↵Paul S. Owen2003-04-231-144/+170
| | | | | | we need to echo. git-svn-id: file:///svn/phpbb/trunk@3928 89ea8834-ac86-4346-8a33-228a782c2dd0
* Okay, give this one a whirl ... clear your template cache before tryingPaul S. Owen2003-04-181-94/+52
| | | | git-svn-id: file:///svn/phpbb/trunk@3885 89ea8834-ac86-4346-8a33-228a782c2dd0
* Revert INCLUDE template change, fixed attachment display.Meik Sievertsen2003-04-181-3/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@3882 89ea8834-ac86-4346-8a33-228a782c2dd0
* faster (for me), especially for topics with a bunch of attachments (due to ↵Meik Sievertsen2003-04-131-10/+6
| | | | | | the nested block vars). git-svn-id: file:///svn/phpbb/trunk@3825 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed INCLUDE. Now cached items are processed correctly. all glitches are ↵Meik Sievertsen2003-04-131-6/+6
| | | | | | fixed (for example the strange display after a template got changed) git-svn-id: file:///svn/phpbb/trunk@3824 89ea8834-ac86-4346-8a33-228a782c2dd0