aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* merge r3927, r3928, r3951, r3953 from trunk to branch 2.0patdenice2009-10-091-5/+72
| | | | | | | | | r3927: Add Smarty's prefilter capability. see topic:16219 (FR). r3928: Improve template prefilter functions r3951: Allow to add prefilters, postfilters and output filters to templates. r3953: Simplification of commit 3951. git-svn-id: http://piwigo.org/svn/branches/2.0@3998 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3207 from trunk to branch 2.0.patdenice2009-03-161-1/+1
| | | | | | Add "tags" parameter for template extensions git-svn-id: http://piwigo.org/svn/branches/2.0@3208 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge part of r3190 from trunk to branch 2.0.patdenice2009-03-121-1/+1
| | | | | | URL parameter for template extensions can be used in slideshow. git-svn-id: http://piwigo.org/svn/branches/2.0@3191 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3169 from trunk to branch 2.0patdenice2009-03-031-1/+1
| | | | | | | User's template extension must not be included in admin pages. git-svn-id: http://piwigo.org/svn/branches/2.0@3170 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated.plegall2009-01-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/branches/2.0@3046 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2923 from trunk to branch 2.0.patdenice2008-12-061-0/+3
| | | | | | | - Add a "Bound Template" column for template extensions. git-svn-id: http://piwigo.org/svn/branches/2.0@2924 68402e56-0260-453c-a942-63ccdbb3a9ee
* - some german language changesrvelices2008-10-221-1/+2
| | | | | | | - added option for smarty $conf['template_compile_check'] - default true; if false smarty doesn't check if templates need recompilation resulting in less disk accesses (good when the disk is not local) - load_language doesnt check first for en_uk.utf-8 directory ... git-svn-id: http://piwigo.org/svn/branches/2.0@2789 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from trunk 2716:patdenice2008-10-111-34/+12
| | | | | | | - Remove known_template function. - Replace it by a modifier function: get_extent. git-svn-id: http://piwigo.org/svn/branches/2.0@2717 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merge from trunk 2712:patdenice2008-10-111-0/+29
| | | | | | | - Add known_template function (maybe we can change function name). - Template extensions are working with menubar blocks templates. git-svn-id: http://piwigo.org/svn/branches/2.0@2713 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed unused var from templatervelices2008-10-091-5/+2
| | | | | | | - removed 2 unused rules from public content.css - index.php improvement (as in picture) - the log is done after sending first output to client git-svn-id: http://piwigo.org/svn/trunk@2699 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add set_extents function in template class.patdenice2008-10-031-16/+61
| | | | | | - 752: add trigger (for flipflip). git-svn-id: http://piwigo.org/svn/trunk@2643 68402e56-0260-453c-a942-63ccdbb3a9ee
* - the optim option conf['compiled_template_cache_language'] works betterrvelices2008-10-021-0/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@2636 68402e56-0260-453c-a942-63ccdbb3a9ee
* Purpose of datepicker with jQuery.rub2008-10-011-1/+3
| | | | | | I will open a french topic on forum to debate of implementation and possibles changes. git-svn-id: http://piwigo.org/svn/trunk@2632 68402e56-0260-453c-a942-63ccdbb3a9ee
* - {known_script} and {html_head} work from {include file...}rvelices2008-09-301-8/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2627 68402e56-0260-453c-a942-63ccdbb3a9ee
* real static paramnikrou2008-09-141-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@2536 68402e56-0260-453c-a942-63ccdbb3a9ee
* - images.file categories.permalink old_permalinks.permalink - become binaryrvelices2008-09-121-1/+1
| | | | | | | | | | | | | | - session security improvement: now the sessions are valid only for originating ip addr (with mask 255.255.0.0 to allow users behind load balancing proxies) -> stealing the session cookie is almost a non issue (with the exception of the 65536 machines in range) - metadata sync from the sync button does not overwrite valid data with empty metadata - other small fixes/enhancements: - added event get_category_image_orders - fix display issue with redirect.tpl (h1/h2 within h1) - fix known_script smarty function registration - query search form not submitted if q is empty - better admin css rules - some other minor changes (ws_core, rest_handler, functions_search...) git-svn-id: http://piwigo.org/svn/trunk@2521 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix typing error in index.tplrvelices2008-09-091-0/+32
| | | | | | | - added template smarty function known_script (e.g.{known_script id="x" src"y.js"}) - useful to avoid double inclusion of a script such as prototype,jquery,... when a template and plugin need it independently (see the use in admin.tpl for example) - removed unused themeconf.template_dir git-svn-id: http://piwigo.org/svn/trunk@2513 68402e56-0260-453c-a942-63ccdbb3a9ee
* - better management of fatal errors (instead of die or trigger_error rather ↵rvelices2008-09-051-1/+1
| | | | | | use fatal_error ...) git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug 854: better checks of directory creations ( local_data_dir, ↵rvelices2008-09-041-20/+3
| | | | | | templates_c, tmp etc...) git-svn-id: http://piwigo.org/svn/trunk@2497 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed and moved (from common to admin) some CSS rulesrvelices2008-08-281-4/+4
| | | | | | - upgraded jQuery and accordion to latest version (and reorganised a bit their location) git-svn-id: http://piwigo.org/svn/trunk@2489 68402e56-0260-453c-a942-63ccdbb3a9ee
* - further reduce css rules and remove unused onesrvelices2008-08-221-4/+28
| | | | | | - added a smarty prefilter so that html output is nicely indented now ... git-svn-id: http://piwigo.org/svn/trunk@2481 68402e56-0260-453c-a942-63ccdbb3a9ee
* - optim dont include a php file if not requiredrvelices2008-08-161-17/+14
| | | | | | | - eng lang small change - remove link to unexisting admin css git-svn-id: http://piwigo.org/svn/trunk@2476 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature:837 "Extend for templates" could have dedicated .css files by a ↵vdigital2008-07-311-12/+0
| | | | | | simple technical {html_head} inclusion. git-svn-id: http://piwigo.org/svn/trunk@2464 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature:837 "Extend for templates" could have dedicated .css files.vdigital2008-07-301-0/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@2462 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature template-extension based on 2006 chrisaga's idea.vdigital2008-07-141-3/+25
| | | | | | | chrisaga wrote: "If you want to make some template customization without building a brand new template, you should use ..." git-svn-id: http://piwigo.org/svn/trunk@2434 68402e56-0260-453c-a942-63ccdbb3a9ee
* 2 template features:rvelices2008-05-081-6/+80
| | | | | | | - added a {html_head} smarty block - allow any template file to add content just before </head> tag (handy for plugins and allows to move more presentation logic to tpls); the content is usually <style> or <link> which must appear inside html <head> tag - by config allow some language strings to be replaced during template compilation -> better performance. drawback: changes in the language file will not be propagated until template is recompiled. git-svn-id: http://piwigo.org/svn/trunk@2334 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug fixed: as rvelices notified me by email, my header replacement script wasplegall2008-04-051-24/+0
| | | | | | | | | | | | bugged (r2297 was repeating new and old header). By the way, I've also removed the replacement keywords. We were using them because it was a common usage with CVS but it is advised not to use them with Subversion. Personnaly, it is a problem when I search differences between 2 Piwigo installations outside Subversion. git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
* Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall2008-04-041-0/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove compatibility with old template ...rvelices2008-03-231-113/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee
* - admin/notification_by_mail goes smarty - THE LAST ONE :-) :-)rvelices2008-03-201-66/+69
| | | | | | | | - get rid of user_list warnings - some code reorganisation in template class + explode modifier - minor template and language changes in search.tpl and cat_modify.tpl git-svn-id: http://piwigo.org/svn/trunk@2286 68402e56-0260-453c-a942-63ccdbb3a9ee
* - smarty for more mail templates/cssrvelices2008-03-181-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2285 68402e56-0260-453c-a942-63ccdbb3a9ee
* - changes to template to accomodate nbm (solved issue when we had same ↵rvelices2008-03-131-1/+35
| | | | | | | | template filename with different root dirs) - started some changes in mail templates git-svn-id: http://piwigo.org/svn/trunk@2278 68402e56-0260-453c-a942-63ccdbb3a9ee
* - upgrade goes smarty rvelices2008-03-061-2/+5
| | | | | | | - event_tracer goes smarty - correction in index.tpl git-svn-id: http://piwigo.org/svn/trunk@2254 68402e56-0260-453c-a942-63ccdbb3a9ee
* 0000810: Use of new template engine [smarty]rub2008-03-011-0/+4
| | | | | | New way for TAG_INPUT_ENABLED git-svn-id: http://piwigo.org/svn/trunk@2239 68402e56-0260-453c-a942-63ccdbb3a9ee
* - index.tpl, menubar.tpl, mainpage_categories.tpl and month_calendar.tpl go ↵rvelices2008-03-011-25/+39
| | | | | | | | smarty - better template debugging tweak (the smarty console is shown only once at the end) git-svn-id: http://piwigo.org/svn/trunk@2231 68402e56-0260-453c-a942-63ccdbb3a9ee
* - works with PHP5rvelices2008-02-271-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2217 68402e56-0260-453c-a942-63ccdbb3a9ee
* - first smarty use ... (in admin.php and admin plugins page)rvelices2008-02-271-0/+362
git-svn-id: http://piwigo.org/svn/trunk@2216 68402e56-0260-453c-a942-63ccdbb3a9ee