aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
Commit message (Collapse)AuthorAgeFilesLines
...
* - 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
* added 711252 and lock topic within post, fixed post editing a bit.Meik Sievertsen2003-04-121-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@3817 89ea8834-ac86-4346-8a33-228a782c2dd0
* Try this version of include ...Paul S. Owen2003-04-101-29/+11
| | | | git-svn-id: file:///svn/phpbb/trunk@3810 89ea8834-ac86-4346-8a33-228a782c2dd0
* initial 'view attachments' implementation. added new template var (merged ↵Meik Sievertsen2003-04-101-0/+25
| | | | | | include, to preserve previous block vars), could be changed later to consider caching. some config variables and upload icons are not present as of yet... git-svn-id: file:///svn/phpbb/trunk@3807 89ea8834-ac86-4346-8a33-228a782c2dd0
* Change cache location to root path cache, you can delete the cache/ and its ↵Paul S. Owen2003-03-181-128/+17
| | | | | | contents from the templates/ directory. Moved cache show, decompile, etc. methods to new admin_ object in functions_admin git-svn-id: file:///svn/phpbb/trunk@3662 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, a slightly modified posting.php, some fixes too. topic-review and polls ↵Meik Sievertsen2003-02-271-0/+2
| | | | | | will re-appear shortly. Posting is a little bit screwed up now... will get fixed soon too. posting new topics/reply/quote/preview and edit works partially (the post get stored. ;)) This commit is to show the other developers the changes. ;) git-svn-id: file:///svn/phpbb/trunk@3572 89ea8834-ac86-4346-8a33-228a782c2dd0
* display language variables correctly if template is re-cached.Meik Sievertsen2003-02-271-4/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@3571 89ea8834-ac86-4346-8a33-228a782c2dd0
* hmm, wasn't aware of changed something here. strange.Meik Sievertsen2003-02-261-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@3544 89ea8834-ac86-4346-8a33-228a782c2dd0
* Various updatesPaul S. Owen2003-02-251-2/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@3530 89ea8834-ac86-4346-8a33-228a782c2dd0
* MCP update: now it can delete topicsLudovic Arnaud2003-02-071-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@3461 89ea8834-ac86-4346-8a33-228a782c2dd0
* Updates as opposed to downdatesPaul S. Owen2003-01-081-5/+11
| | | | git-svn-id: file:///svn/phpbb/trunk@3284 89ea8834-ac86-4346-8a33-228a782c2dd0
* Start to (re-)fix generation of "plain text" templates from compiled source ↵Paul S. Owen2002-12-031-32/+37
| | | | | | for template editing git-svn-id: file:///svn/phpbb/trunk@3166 89ea8834-ac86-4346-8a33-228a782c2dd0
* Cleaned up viewforum/index, altered template class to replace missing lang ↵Ludovic Arnaud2002-11-081-1/+1
| | | | | | strings with a nicely formatted text, pre-implemented topics prefetching and broke some things. git-svn-id: file:///svn/phpbb/trunk@3018 89ea8834-ac86-4346-8a33-228a782c2dd0
* These changes mean you no longer have to assign L_ vars values (unless you ↵Paul S. Owen2002-11-071-56/+57
| | | | | | want/need to) ... the relevant entry in the lang array will automatically be used if a var isn't assigned git-svn-id: file:///svn/phpbb/trunk@3016 89ea8834-ac86-4346-8a33-228a782c2dd0
* More bugfixesLudovic Arnaud2002-10-101-7/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@2951 89ea8834-ac86-4346-8a33-228a782c2dd0
* Well, here are all my changes ... don't blame me if things break :DPaul S. Owen2002-10-041-11/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@2923 89ea8834-ac86-4346-8a33-228a782c2dd0
* I updated my copy with the Area51 template so here it is, along with a ↵Ludovic Arnaud2002-10-031-1/+1
| | | | | | couple of bugfixes :] git-svn-id: file:///svn/phpbb/trunk@2918 89ea8834-ac86-4346-8a33-228a782c2dd0
* Subforums handling part 2, it almost works. Also added: the "Explain" link ↵Ludovic Arnaud2002-10-031-1/+7
| | | | | | at the bottom page, can be removed easily before official release if necessary. git-svn-id: file:///svn/phpbb/trunk@2913 89ea8834-ac86-4346-8a33-228a782c2dd0
* Instantiate template and set template path from seperate methodPaul S. Owen2002-08-221-32/+27
| | | | git-svn-id: file:///svn/phpbb/trunk@2882 89ea8834-ac86-4346-8a33-228a782c2dd0
* Minor changesPaul S. Owen2002-07-161-5/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@2704 89ea8834-ac86-4346-8a33-228a782c2dd0