aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-07-02Merged revision(s) 16278 from trunk:mistic1001-2/+5
bug 2674: cssmin 3.0.1 requires PHP 5.2.4 git-svn-id: http://piwigo.org/svn/branches/2.4@16279 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-03orthographic correctionflop251-5/+5
git-svn-id: http://piwigo.org/svn/trunk@13871 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-18- multisize thumb longest side can be smaller than the square sizervelices1-2/+2
- remove unused css, shorten/optimize php called very often (at least theoretically should be faster) git-svn-id: http://piwigo.org/svn/trunk@13240 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-15multisizepatdenice1-0/+5
- New derivative method for PwgTemplateAdapter. - add quotes to get_size_htm function. git-svn-id: http://piwigo.org/svn/trunk@13170 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-14- added 2 missing embellish_urlrvelices1-2/+2
- fix css (admin bakground not existing; public IE image border) git-svn-id: http://piwigo.org/svn/trunk@13167 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-02feature 2548 multisize - custom sizes restricted to those requested by ↵rvelices1-12/+14
theme/plugin code refacto git-svn-id: http://piwigo.org/svn/trunk@13021 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-24bugfix prev commitrvelices1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@12955 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-24feature 2548 multisize rvelices1-0/+40
- added define_derivative template functiion for themes and plugins - code cleanup, new events ... git-svn-id: http://piwigo.org/svn/trunk@12954 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17feature 2548 multisize - code cleanup + better usage in category_cats + ↵rvelices1-6/+20
i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17feature 2548 multisize - ability to choose displayed size on index pagervelices1-1/+6
-added some logs on i.php (configurable) to measure the perf git-svn-id: http://piwigo.org/svn/trunk@12908 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-11bug 2544 upgrade css minifier to version 3.0.1 (Embedded cssmin is ↵rvelices1-1/+1
imcompatible with font-face syntax) git-svn-id: http://piwigo.org/svn/trunk@12874 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-12-29fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and ↵rvelices1-13/+14
move combined files and image derivatives from local to _data git-svn-id: http://piwigo.org/svn/trunk@12802 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-22bug 2516: compiled_template_cache_language option does not work properly ↵rvelices1-2/+2
(again) git-svn-id: http://piwigo.org/svn/trunk@12656 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-13bug 2469 compiled_template_cache_language option does not work properly on ↵rvelices1-1/+1
some language keys because of double escaping git-svn-id: http://piwigo.org/svn/trunk@12429 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-13bug 2469 compiled_template_cache_language option does not work properly on ↵rvelices1-3/+3
some language keys because of double escaping git-svn-id: http://piwigo.org/svn/trunk@12427 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-07-15- removed admin never used function cat_admin_accessrvelices1-39/+1
- removed obsolete known_script template block - added a warning on usage of is_adviser function git-svn-id: http://piwigo.org/svn/trunk@11753 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30merge r11121 from branch 2.2 to trunkplegall1-1/+1
bug 2316 fixed: remote urls on local CSS files should not be modified git-svn-id: http://piwigo.org/svn/trunk@11122 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-28merge -r10655 from branch 2.2 to trunkrvelices1-1/+4
get_combined_scripts footer and header can be now in the same tpl file (warning before and not working properly) git-svn-id: http://piwigo.org/svn/trunk@10656 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-25combine_script - more checks and warnings...rvelices1-19/+27
git-svn-id: http://piwigo.org/svn/trunk@10616 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-19bug:2268 combine_script - sometimes precedent scripts were not being loaded ↵rvelices1-2/+2
before ... in admin, the accordion is loaded in the header (admin pages have the same header combined script, but usually different bottom scripts) git-svn-id: http://piwigo.org/svn/trunk@10503 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-11feature:2114patdenice1-1/+1
All combined scripts must end with ; to avoid javascript error. git-svn-id: http://piwigo.org/svn/trunk@9606 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-10check for availability of local/combined (and try to create it if not available)plegall1-0/+21
git-svn-id: http://piwigo.org/svn/trunk@9594 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-09feature:2114patdenice1-1/+1
Simplify all admin templates. git-svn-id: http://piwigo.org/svn/trunk@9586 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-09feature:2114patdenice1-7/+30
footer_script can use multiple required scripts (like combine_script). automaticaly load know scripts. git-svn-id: http://piwigo.org/svn/trunk@9580 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-07Update jQuery UI to 1.8.10.patdenice1-5/+37
Improve jquery ui management in template class. git-svn-id: http://piwigo.org/svn/trunk@9559 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-11Update jQuery to 1.5 and jQuery UI to 1.8.9patdenice1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@9172 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-18Happy new year 2011plegall1-2/+2
Change "Piwigo - a PHP based picture gallery" into "Piwigo - a PHP based photo gallery" git-svn-id: http://piwigo.org/svn/trunk@8728 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17got rid of a very innefficient (and not required) css rulervelices1-2/+1
git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17feature 2112 added: ability to set an additional local directoryplegall1-3/+3
$conf['local_dir_site'] in local/config/multisite.inc.php git-svn-id: http://piwigo.org/svn/trunk@8722 68402e56-0260-453c-a942-63ccdbb3a9ee
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