aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-01-12- picture uses the same variables as the index page to compute thumbnails urlrvelices1-1/+0
- combined files are deleted only from maintenance functions and not also from plugin activation/deactivation git-svn-id: http://piwigo.org/svn/trunk@8634 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-07added some commentsrvelices1-7/+27
git-svn-id: http://piwigo.org/svn/trunk@8506 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-03- fix js exception with web services in POST modervelices1-0/+5
- added accessor for registered scripts in template - added css rule for plugins (images in the categoryActions) it was previsously there but it dissapeared with the sprites git-svn-id: http://piwigo.org/svn/trunk@8449 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-30index.tpl and thumbnails change: category description above thumbs and ↵rvelices1-10/+11
enclosing ul moved to index.tpl fix some combine_xxx git-svn-id: http://piwigo.org/svn/trunk@8401 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-29css sprites fix ie7 displayrvelices1-10/+11
picture.tpl more compact + removed unnecessary escape modifiers + use footer_script template combine_css small things git-svn-id: http://piwigo.org/svn/trunk@8378 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-26combine_script with remote url as path works nowrvelices1-29/+34
git-svn-id: http://piwigo.org/svn/trunk@8305 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-25- simplified inneficient css rulesrvelices1-3/+4
- template language key - group picture scripts on the bottom of the page git-svn-id: http://piwigo.org/svn/trunk@8299 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-17combined css and js are minifiedrvelices1-25/+35
git-svn-id: http://piwigo.org/svn/trunk@8170 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-16jquery upgrade to 1.4.4rvelices1-0/+6
git-svn-id: http://piwigo.org/svn/trunk@8162 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14feature 2060: Remove {$TAG_INPUT_ENABLED} from tpl files.patdenice1-1/+0
git-svn-id: http://piwigo.org/svn/trunk@8128 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14feature 2060: Remove adviser mode.patdenice1-2/+1
First commit: only php files. git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11combine css small fixesrvelices1-14/+30
git-svn-id: http://piwigo.org/svn/trunk@8075 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-06combined script now really merges filesrvelices1-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
2010-12-06Missing quote in header.tpl.patdenice1-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
2010-12-04trunk admin theme goes with combine_script instead of old style known_script rvelices1-72/+126
git-svn-id: http://piwigo.org/svn/trunk@7995 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-03new template feature: combine_css rvelices1-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
2010-12-02new template features: combine_script, footer_script and get_combined_scriptsrvelices1-0/+335
migrated public templates only; need more code doc git-svn-id: http://piwigo.org/svn/trunk@7975 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24$themeconf['id'] hard coded in template classpatdenice1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@6318 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29feature 1502: Add $themeconf['load_parent_local_head'] parameterpatdenice1-7/+9
git-svn-id: http://piwigo.org/svn/trunk@6006 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29bug 860 related: don't try to update the configuration during install becauseplegall1-1/+3
pwg_query is not available yet. git-svn-id: http://piwigo.org/svn/trunk@5999 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29bug 860 related: if the directory doesn't exist (SVN users) first try toplegall1-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
2010-04-29feature 1502: $themeconf['load_css_parent'] apply recursivelypatdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5993 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29feature 1502: Add $themeconf['load_parent_css'] parameterpatdenice1-3/+10
git-svn-id: http://piwigo.org/svn/trunk@5991 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28bug 860: display a more readable error when the _data directory is not writableplegall1-0/+12
git-svn-id: http://piwigo.org/svn/trunk@5985 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29feature 1502: Configuration menu is selected when theme configuration page ↵patdenice1-1/+1
is selected. Remove useless global $page. git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29feature 1502: Allow to have configuration page for each theme.css.patdenice1-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
2010-03-28feature 1502: In template extensions admin page, change "Bound template" by ↵patdenice1-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
2010-03-20feature 1522: Move local css local files and local language files to local ↵patdenice1-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
2010-03-19increase copyright year to 2010plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19feature 1502: replace the theme.name by theme.id for theme.css loadplegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5190 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-18- allow template class to be instantiated with an empty theme (in plugins ↵rvelices1-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
2010-03-17Feature 1502: Avoid 500 error if parent theme is the theme itself.patdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5154 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-13Feature 1502patdenice1-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
2010-03-13feature 1502: based on Dotclear model, P@t has reorganized the way Piwigoplegall1-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
2010-03-10New feature: Modeling could be turn off in themeconfvdigital1-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
2010-03-09feature 1494: move all *.tpl files from template/yoga to the newplegall1-1/+1
template/default (from which yoga derives) git-svn-id: http://piwigo.org/svn/trunk@5095 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-07New feature: Template modeling to reduce coding efforts when you want to ↵vdigital1-2/+18
create a new template. git-svn-id: http://piwigo.org/svn/trunk@5071 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-01Simplification of commit 3951.patdenice1-27/+5
git-svn-id: http://piwigo.org/svn/trunk@3953 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-10-01Allow to add prefilters, postfilters and output filters to templates.patdenice1-22/+47
git-svn-id: http://piwigo.org/svn/trunk@3951 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-27Improve template prefilter functionspatdenice1-19/+45
git-svn-id: http://piwigo.org/svn/trunk@3928 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-09-27Add Smarty's prefilter capability. see topic:16219 (FR).mathiasm1-0/+38
git-svn-id: http://piwigo.org/svn/trunk@3927 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-16Add "tags" parameter for template extensionspatdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3207 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-12URL parameter for template extensions can be used in slideshow.patdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3190 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-03-03User's template extension must not be included in admin pages.patdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3169 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04Administration: happy new year 2009, all PHP headers updated. plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-12-06- Add a "Bound Template" column for template extensions.patdenice1-0/+3
git-svn-id: http://piwigo.org/svn/trunk@2923 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-22merge r2789 from branch 2.0:rvelices1-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
2008-10-11- Remove known_template function.patdenice1-34/+12
- Replace it by a modifier function: get_extent. git-svn-id: http://piwigo.org/svn/trunk@2716 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-11- Add known_template function (maybe we can change function name).patdenice1-0/+29
- Template extensions are working with menubar blocks templates. git-svn-id: http://piwigo.org/svn/trunk@2712 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-10-09- removed unused var from templatervelices1-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