aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bug 860: display a more readable error when the _data directory is not writableplegall2010-04-281-0/+12
| | | | git-svn-id: http://piwigo.org/svn/trunk@5985 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Configuration menu is selected when theme configuration page ↵patdenice2010-03-291-1/+1
| | | | | | | | is selected. Remove useless global $page. git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Allow to have configuration page for each theme.css.patdenice2010-03-291-1/+16
| | | | | | About string for theme has to be saved in language theme directory (about.html) git-svn-id: http://piwigo.org/svn/trunk@5446 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: In template extensions admin page, change "Bound template" by ↵patdenice2010-03-281-1/+1
| | | | | | | | "Bound theme". Template extensions are now attached to all themes if nothing is selected in "bound theme" column. git-svn-id: http://piwigo.org/svn/trunk@5434 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1522: Move local css local files and local language files to local ↵patdenice2010-03-201-1/+29
| | | | | | | | directory. Add $conf['template_force_compile'] to help developpers. git-svn-id: http://piwigo.org/svn/trunk@5208 68402e56-0260-453c-a942-63ccdbb3a9ee
* increase copyright year to 2010plegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: replace the theme.name by theme.id for theme.css loadplegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5190 68402e56-0260-453c-a942-63ccdbb3a9ee
* - allow template class to be instantiated with an empty theme (in plugins ↵rvelices2010-03-181-19/+13
| | | | | | | | | for example) - local_head must now be defined in the themeconf.inc.php otherwise not taken into account (avoid several calls to file_exists) - renamed themeconf['theme'] to themeconf['name'] (this is what it is themeconf[theme] is confusing) git-svn-id: http://piwigo.org/svn/trunk@5177 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1502: Avoid 500 error if parent theme is the theme itself.patdenice2010-03-171-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5154 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1502patdenice2010-03-131-12/+11
| | | | | | | Extend for templates now work properly. Bound template as to be renamed in bound theme... git-svn-id: http://piwigo.org/svn/trunk@5126 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: based on Dotclear model, P@t has reorganized the way Piwigoplegall2010-03-131-29/+35
| | | | | | | manages template/theme in a simpler "theme only level" architecture. It supports multiple level inheritance. git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee
* New feature: Modeling could be turn off in themeconfvdigital2010-03-101-4/+5
| | | | | | $themeconf['modeling'] = false; /* Assume to have all *.tpl files in the template. git-svn-id: http://piwigo.org/svn/trunk@5101 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1494: move all *.tpl files from template/yoga to the newplegall2010-03-091-1/+1
| | | | | | template/default (from which yoga derives) git-svn-id: http://piwigo.org/svn/trunk@5095 68402e56-0260-453c-a942-63ccdbb3a9ee
* New feature: Template modeling to reduce coding efforts when you want to ↵vdigital2010-03-071-2/+18
| | | | | | create a new template. git-svn-id: http://piwigo.org/svn/trunk@5071 68402e56-0260-453c-a942-63ccdbb3a9ee
* Simplification of commit 3951.patdenice2009-10-011-27/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@3953 68402e56-0260-453c-a942-63ccdbb3a9ee
* Allow to add prefilters, postfilters and output filters to templates.patdenice2009-10-011-22/+47
| | | | git-svn-id: http://piwigo.org/svn/trunk@3951 68402e56-0260-453c-a942-63ccdbb3a9ee
* Improve template prefilter functionspatdenice2009-09-271-19/+45
| | | | git-svn-id: http://piwigo.org/svn/trunk@3928 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add Smarty's prefilter capability. see topic:16219 (FR).mathiasm2009-09-271-0/+38
| | | | git-svn-id: http://piwigo.org/svn/trunk@3927 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add "tags" parameter for template extensionspatdenice2009-03-161-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3207 68402e56-0260-453c-a942-63ccdbb3a9ee
* URL parameter for template extensions can be used in slideshow.patdenice2009-03-121-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3190 68402e56-0260-453c-a942-63ccdbb3a9ee
* User's template extension must not be included in admin pages.patdenice2009-03-031-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3169 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/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add a "Bound Template" column for template extensions.patdenice2008-12-061-0/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@2923 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r2789 from branch 2.0:rvelices2008-10-221-1/+2
| | | | | | | | - some german language changes - 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/trunk@2790 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Remove known_template function.patdenice2008-10-111-34/+12
| | | | | | - Replace it by a modifier function: get_extent. git-svn-id: http://piwigo.org/svn/trunk@2716 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add known_template function (maybe we can change function name).patdenice2008-10-111-0/+29
| | | | | | - Template extensions are working with menubar blocks templates. git-svn-id: http://piwigo.org/svn/trunk@2712 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