aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature 2060: Remove {$TAG_INPUT_ENABLED} from tpl files.patdenice2010-12-141-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@8128 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2060: Remove adviser mode.patdenice2010-12-141-2/+1
| | | | | | First commit: only php files. git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
* combine css small fixesrvelices2010-12-111-14/+30
| | | | git-svn-id: http://piwigo.org/svn/trunk@8075 68402e56-0260-453c-a942-63ccdbb3a9ee
* combined script now really merges filesrvelices2010-12-061-48/+87
| | | | | | added option $conf['template_combine_files'] by default true to enable/disable file combining git-svn-id: http://piwigo.org/svn/trunk@8012 68402e56-0260-453c-a942-63ccdbb3a9ee
* Missing quote in header.tpl.patdenice2010-12-061-2/+4
| | | | | | Add $id to script class (needed in cmp_by_mode_and_order function). git-svn-id: http://piwigo.org/svn/trunk@8008 68402e56-0260-453c-a942-63ccdbb3a9ee
* trunk admin theme goes with combine_script instead of old style known_script rvelices2010-12-041-72/+126
| | | | git-svn-id: http://piwigo.org/svn/trunk@7995 68402e56-0260-453c-a942-63ccdbb3a9ee
* new template feature: combine_css rvelices2010-12-031-20/+173
| | | | | | | | - fully functional with file merging - takes care of url() in css and recursively merge all @import - migrated public templates only; need more code doc git-svn-id: http://piwigo.org/svn/trunk@7987 68402e56-0260-453c-a942-63ccdbb3a9ee
* new template features: combine_script, footer_script and get_combined_scriptsrvelices2010-12-021-0/+335
| | | | | | migrated public templates only; need more code doc git-svn-id: http://piwigo.org/svn/trunk@7975 68402e56-0260-453c-a942-63ccdbb3a9ee
* $themeconf['id'] hard coded in template classpatdenice2010-05-241-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6318 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Add $themeconf['load_parent_local_head'] parameterpatdenice2010-04-291-7/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@6006 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 860 related: don't try to update the configuration during install becauseplegall2010-04-291-1/+3
| | | | | | pwg_query is not available yet. git-svn-id: http://piwigo.org/svn/trunk@5999 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 860 related: if the directory doesn't exist (SVN users) first try toplegall2010-04-291-10/+16
| | | | | | | create it. To avoid useless checks on filesystem (rvelices should appreciate) a configuration variable tells if we have to check or not. git-svn-id: http://piwigo.org/svn/trunk@5998 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: $themeconf['load_css_parent'] apply recursivelypatdenice2010-04-291-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5993 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Add $themeconf['load_parent_css'] parameterpatdenice2010-04-291-3/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@5991 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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