Statistics
| Revision:

root / branches / phpBB-3_0_0 / phpBB / includes / functions_template.php

History | View | Annotate | Download (22.6 KB)

# Date Author Comment
10064 08/30/2009 12:15 pm Meik Sievertsen

Revert INC/DEC feature. It is not consistent with the other template variables - bad idea. ;) We will get to it though... but not now.

10054 08/25/2009 10:48 am Meik Sievertsen

This is an enhancement for revision r10051 (INC template variable)
Within the mentioned revision INC was only able to be applied to defined template variables.
I extended it now to work on all supported variables (template vars, defines, loops, defines in loops)...

10051 08/24/2009 04:12 pm Henry Sudhof

Add INC (working name) to template syntax

9811 07/21/2009 10:58 am Meik Sievertsen

Preserve newlines in template files (one newline had been always dropped after a template variable due to PHP's handling of closing tags)

9633 06/19/2009 10:07 pm Joas Schilling

Fix bug #45805 - INCLUDEPHP not depending on phpbb_root_path

Authorised by: acydburn

9570 06/11/2009 04:53 pm Chris Smith

Dynamic template includes :)

9419 03/31/2009 12:21 pm Chris Smith

Enforce correct case for template variables. {var} no longer works for example.

9368 03/14/2009 02:08 am Chris Smith

Fix r9363, DEFINE uses template_compile::compile() which was generating really broken PHP :)

9363 03/11/2009 12:53 pm Meik Sievertsen

add IN_PHPBB check to generated cache files

9208 12/19/2008 08:36 pm Chris Smith

Missing read permission from calls to phpbb_chmod()

8813 09/04/2008 01:52 pm Marek RuszczyƄski

Don't compile {} or {$}.

8780 08/22/2008 02:52 pm Meik Sievertsen

change the way we do chmodd'ing. I know, my implementation really sucked... good we have motivated community members who point this out. ;) Thanks to faw for providing a way better function and for discussing and also abiding to our needs. :) LEW21 should maybe credited too... he gave the inspiration without knowing it.

8763 08/16/2008 09:06 pm Meik Sievertsen

the chmod change i already had within the changelog (by mistake). This should further secure writable directories and created files.
Installation need to be tested on different hosts.

8761 08/16/2008 03:03 pm Meik Sievertsen

only some space/tab changes as well as removing my debug code from the template file. ;)

8739 08/01/2008 04:35 pm Meik Sievertsen

change conditional enclosements in template engine

8697 07/28/2008 04:24 pm Henry Sudhof

Okay. Frozen, we never said anything about it being permafrost. Also, this is not 100% tested, expect troubel with store_db (I'm waiting for the bug reports)

8479 03/29/2008 01:22 am Nils Adermann

Hiding everywhere little buggers, eh?

8285 12/26/2007 03:53 pm

This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.

8146 10/05/2007 04:30 pm Meik Sievertsen

dumdidum... sorry. ;)

8137 10/04/2007 06:56 pm David M

- more accurate comment

8044 08/17/2007 11:29 pm Meik Sievertsen

ok, the nasty one then... :/

8043 08/17/2007 11:10 pm Meik Sievertsen

ok, we are not able to cover all possibilities (IF A eq (B & C)) for example... or IF A == B... this would require a lot more code we do not see the need for.

8042 08/17/2007 10:47 pm Meik Sievertsen

test adding isset() calls to if expressions. :o

7813 06/30/2007 05:04 pm Meik Sievertsen

some fixes...

7377 04/20/2007 11:09 am Meik Sievertsen

allow constructs like <!-- ELSE -->0<!-- ENDIF --> (the 0 was replaced by '' due to the empty() checks on $trim_text_check)

7286 04/06/2007 04:03 pm Meik Sievertsen

some fixes

6935 01/27/2007 02:36 pm David M

- generate fewer opcodes, make a smaller cache, a bit more readable

6930 01/26/2007 05:09 pm Meik Sievertsen

- fix some oddities (doubled spaces for example)
- changed the way make_forum_select() is returning the forum list - now including skipped forums but being disabled. This should make identifying the correct forum much more easier.
- Changed some permission namings based on suggestions by the community...

6915 01/21/2007 07:33 pm Meik Sievertsen

fixing some bugs, most being submitted grammatical/spelling errors.

6912 01/20/2007 06:58 pm Meik Sievertsen

- fixing some bugs
- removing utf8 characters from email files (has been discussed internally, you guys know why)
- making sure some opendir calls are checked before calling readdir.

6812 12/26/2006 02:56 pm David M

#6596

6796 12/23/2006 07:27 pm David M

- quite a few optimizations to the template engine. bitwise arithmatic is used to check odd/even, usage of ref to the root template variables should reduce the number of hash lookups needed, usage of refs within loops should reduce the amount of hash lookups, incrementing vars were turned from class variables to regular variables, cache now uses preincrementing variables instead of postincrementing variables, some regex were optimized/trimmed...

6561 11/10/2006 02:49 pm Meik Sievertsen

- some fixes
- added script for easy adjustement of username_clean column within the users table (please see the note i added to the utf8_clean_string() function)

6419 09/30/2006 04:58 pm Meik Sievertsen

- fixing a bug i am unsure about when it occurs (but it occurs). The symptoms are broken template cache files if after removing unnecessary php opening/closing tags result in statements being syntactially incorrect.
- added real syncing to forums acp (not only forum statistics rebuild)

6414 09/28/2006 05:04 pm Meik Sievertsen

- added confirmation to removing bbcodes
- added optional MX and DNSBL checks
- added backtrace (triggering sql error) on error within sql_in_set as well as making sure it is handling an array
- let users having f_list access to a forum actually see the forum without a topic list and not displaying an error message - this allows for giving people access to subforums but not the parent forum without the need to add the (sub-)forum to the index....

6384 09/23/2006 04:46 am David M

the tokenizer is buggy across several versions of PHP. The regex that is always used complies strictly with what the internal lexer uses, we are safe.

6312 08/22/2006 11:26 pm Meik Sievertsen

some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.

6303 08/19/2006 04:36 pm David M

more efficient + fixing an oops

6302 08/19/2006 06:42 am David M

The regex used here are more or less identical to those used internally by the PHP lexer (ok, ok, they are a little bit more optimized), we should not need to call the tokenizer at all now...

6207 07/24/2006 12:38 am ludovic_arnaud

Fixed: oops, forgot ASP-like tags
Fixed: (cvstats++)

6206 07/24/2006 12:16 am ludovic_arnaud

Fixed: bug #3352 (function token_get_all() is missing)

6195 07/20/2006 08:39 pm Meik Sievertsen

could have been a copy&paste error, but the expression is also removing the </script> tag from valid script blocks (javascript for example). :)

6194 07/20/2006 07:57 pm Meik Sievertsen

another expression for grabbing php code in templates provided by david
also included "the ultimate solution" provided by ludovic (only added a check for T_OPEN_TAG_WITH_ECHO

6189 07/17/2006 05:06 pm Meik Sievertsen

- fix bug within php code removal expression. Thanks to BenP for reporting it to our security tracker.

6135 07/01/2006 09:11 pm Meik Sievertsen

- add additional auth check to the permission roles modules
- added new function to return globally used expressions (get_preg_expression($mode)). This should be very helpful in getting wide spread similar checks (regular expressions) to one place reducing the risk of forgetting to change every location if you fix one. ;) We will add additional ones later, at the moment only the email check is retrieved......

6058 06/13/2006 11:06 pm Meik Sievertsen

make sure custom profile fields are created correctly on registration (#2225)

6015 06/06/2006 10:53 pm Meik Sievertsen

ok, this one is rather large... the most important change:
re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different

apart from this, code cleanage, bug fixing, etc.

5947 05/20/2006 04:49 pm Meik Sievertsen

character class... character class... character class...

5946 05/20/2006 04:41 pm Meik Sievertsen

- allow commenting out on one line:
<!-- <!-- IF WHATEVER --><br /><b>{WHATEVER}:</b><!-- ENDIF --> -->
bug #1869

(i hope i did not break something :o)

5916 05/16/2006 07:46 pm Meik Sievertsen

some changes before i forget...

5894 05/07/2006 11:44 pm Nils Adermann

- added the template editor (doesn't use a hardcoded list of template 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

5865 04/29/2006 07:19 pm Meik Sievertsen

introduce LA_ for addslashing language variables for use in js vars (idea by naderman)

5844 04/25/2006 05:28 am David M

- Bug #1237

5790 04/17/2006 03:09 pm Meik Sievertsen

- clean up marklist calls (global function)
- 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

5775 04/08/2006 07:48 pm Meik Sievertsen

added/changed language strings

5766 04/08/2006 12:56 pm Meik Sievertsen

- fix the template error (no headers displayed, wrong ! assignment, wrong check for .loop)

5765 04/06/2006 07:15 pm Meik Sievertsen

To all people having their bug status set to fixed: SF pserver CVS access is currently down, therefore the snapshots are still out of date.

- fix a bunch of bugs
- <!-- $Id$ --> is no longer allowed in template (.html) files
- changed layout of private message screens (folders are menu items)...

5760 04/05/2006 03:17 am David M

- This should work! :D

5670 03/19/2006 03:23 pm Meik Sievertsen

- add our beloved in_phpbb check

5617 03/10/2006 01:24 am David M

We all make mistakes :D

5566 02/21/2006 11:32 am Meik Sievertsen

- implementing David's proposed expression changes (some of them already noted within the events CCP)

5422 01/04/2006 07:37 am David M

- file_get_contents instead of imploding file()s or fread()ing till the maximum filesize
- language and style properly use compression
- language now prompts user for methods
- functions_compress does not need to eval() to get a hex date, instead calls pack()...

5388 12/28/2005 06:35 pm Meik Sievertsen

- some changes to browser checking (was the reason for not working logins)
- partly working style acp
- other tiny changes here and there

5331 12/13/2005 09:58 pm grahamje

Some fixes to the template code
- this handles the case where file caching is used and no cached
version exists

5319 12/04/2005 09:25 pm Meik Sievertsen

- some bugfixes
- 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...