aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* feature 2963 & feature 2985 : more flexibility for FileCombiner (keep API ↵mistic1002013-11-181-3/+10
| | | | | | compatibility) git-svn-id: http://piwigo.org/svn/trunk@25547 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2963: Ability to create css/js smarty templates - fixes rare cases + ↵rvelices2013-11-181-33/+24
| | | | | | code simplifications git-svn-id: http://piwigo.org/svn/trunk@25544 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2985: allow combine_script to set an ID in order the deal with ↵mistic1002013-11-171-34/+90
| | | | | | stylesheets overlap git-svn-id: http://piwigo.org/svn/trunk@25506 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2963: Ability to create css/js smarty templates - fixes againrvelices2013-11-121-1/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@25471 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2963: Ability to create css/js smarty templates - fixesrvelices2013-11-121-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@25464 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2963: Ability to create css/js smarty templates with cachingrvelices2013-11-121-120/+150
| | | | | | so far can add template=true to combine_css function git-svn-id: http://piwigo.org/svn/trunk@25462 68402e56-0260-453c-a942-63ccdbb3a9ee
* private method becomes public (use in plugin)rvelices2013-10-301-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@25231 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2978: remove useless sprintf in the coremistic1002013-10-191-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2978: l10n() and {translate} with additional arguments mistic1002013-10-191-7/+23
| | | | | | TODO: apply in core git-svn-id: http://piwigo.org/svn/trunk@24988 68402e56-0260-453c-a942-63ccdbb3a9ee
* replace the language_prefilter with a postfilter (now that smarty has ↵rvelices2013-06-301-13/+10
| | | | | | modifiercompiler feature, there is no need for prefilter) git-svn-id: http://piwigo.org/svn/trunk@23688 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix define_derivative (matter of smarty3 variable scope)rvelices2013-06-271-9/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@23588 68402e56-0260-453c-a942-63ccdbb3a9ee
* Smart 3 - fix per handle prefiltersrvelices2013-06-241-3/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@23495 68402e56-0260-453c-a942-63ccdbb3a9ee
* Smarty3 added 'translate_dec' compilermodifier (generated code is a lot ↵rvelices2013-06-231-4/+32
| | | | | | better than $pwg->l10n_dec) git-svn-id: http://piwigo.org/svn/trunk@23476 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2858: Smarty3 fix php warnings, concat, used modifier on arrayrvelices2013-06-211-42/+51
| | | | git-svn-id: http://piwigo.org/svn/trunk@23425 68402e56-0260-453c-a942-63ccdbb3a9ee
* smarty 3 - first pass for tests rvelices2013-06-201-22/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@23384 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2785 Improve template method to sort actions buttonsmistic1002013-06-161-8/+15
| | | | | | + add default rank = 50 git-svn-id: http://piwigo.org/svn/trunk@23263 68402e56-0260-453c-a942-63ccdbb3a9ee
* combine_script recognizes path starting with // as absolute urlsrvelices2013-06-131-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@23184 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove code for backward compatibility (jquery ui effect + template variable)rvelices2013-03-241-20/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@21818 68402e56-0260-453c-a942-63ccdbb3a9ee
* separate each html_style with a nex line, for source code lisibilitymistic1002013-01-251-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@20370 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2013 (the end of the world didn't occur as ↵plegall2013-01-011-1/+1
| | | | | | expected on r12922) git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2797 added !defined('IN_ADMIN') to prefilter_local_css to exlude the ↵flop252012-12-311-1/+4
| | | | | | local css files from the administration part git-svn-id: http://piwigo.org/svn/trunk@19696 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2663 replace JSmin by JShrinkmistic1002012-12-261-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@19576 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2771: added backward compatibility with pre jquery ui 1.9 effect ↵rvelices2012-10-281-0/+16
| | | | | | file naming (combine script id issues) git-svn-id: http://piwigo.org/svn/trunk@18775 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2781 Add template method to sort actions buttons mistic1002012-10-271-0/+36
| | | | git-svn-id: http://piwigo.org/svn/trunk@18760 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2771: upgrade jquery from 1.7.2 to 1.8.2 and jquery.ui from 1.8.16 ↵rvelices2012-10-121-10/+10
| | | | | | | | to 1.9.0 Attention plugins: jquery ui effect script ids change when using combine_script because file names changed ... git-svn-id: http://piwigo.org/svn/trunk@18630 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2725: Piwigo isn't compatible with suPHP + better handling of watermark ↵rvelices2012-08-301-23/+3
| | | | | | upload errors git-svn-id: http://piwigo.org/svn/trunk@17675 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix smartpocket : web service calls in admin not working on iphonesrvelices2012-07-251-13/+13
| | | | | | - removed unused func params in template git-svn-id: http://piwigo.org/svn/trunk@17021 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2674: cssmin 3.0.1 requires PHP 5.2.4 mistic1002012-07-021-2/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@16278 68402e56-0260-453c-a942-63ccdbb3a9ee
* orthographic correctionflop252012-04-031-5/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@13871 68402e56-0260-453c-a942-63ccdbb3a9ee
* - multisize thumb longest side can be smaller than the square sizervelices2012-02-181-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
* multisizepatdenice2012-02-151-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
* - added 2 missing embellish_urlrvelices2012-02-141-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
* feature 2548 multisize - custom sizes restricted to those requested by ↵rvelices2012-02-021-12/+14
| | | | | | | | theme/plugin code refacto git-svn-id: http://piwigo.org/svn/trunk@13021 68402e56-0260-453c-a942-63ccdbb3a9ee
* bugfix prev commitrvelices2012-01-241-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@12955 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize rvelices2012-01-241-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
* feature 2548 multisize - code cleanup + better usage in category_cats + ↵rvelices2012-01-171-6/+20
| | | | | | i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - ability to choose displayed size on index pagervelices2012-01-171-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
* bug 2544 upgrade css minifier to version 3.0.1 (Embedded cssmin is ↵rvelices2012-01-111-1/+1
| | | | | | imcompatible with font-face syntax) git-svn-id: http://piwigo.org/svn/trunk@12874 68402e56-0260-453c-a942-63ccdbb3a9ee
* fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and ↵rvelices2011-12-291-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
* bug 2516: compiled_template_cache_language option does not work properly ↵rvelices2011-11-221-2/+2
| | | | | | (again) git-svn-id: http://piwigo.org/svn/trunk@12656 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2469 compiled_template_cache_language option does not work properly on ↵rvelices2011-10-131-1/+1
| | | | | | some language keys because of double escaping git-svn-id: http://piwigo.org/svn/trunk@12429 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2469 compiled_template_cache_language option does not work properly on ↵rvelices2011-10-131-3/+3
| | | | | | some language keys because of double escaping git-svn-id: http://piwigo.org/svn/trunk@12427 68402e56-0260-453c-a942-63ccdbb3a9ee
* - removed admin never used function cat_admin_accessrvelices2011-07-151-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
* merge r11121 from branch 2.2 to trunkplegall2011-05-301-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
* merge -r10655 from branch 2.2 to trunkrvelices2011-04-281-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
* combine_script - more checks and warnings...rvelices2011-04-251-19/+27
| | | | git-svn-id: http://piwigo.org/svn/trunk@10616 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug:2268 combine_script - sometimes precedent scripts were not being loaded ↵rvelices2011-04-191-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
* feature:2114patdenice2011-03-111-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
* check for availability of local/combined (and try to create it if not available)plegall2011-03-101-0/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@9594 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2114patdenice2011-03-091-1/+1
| | | | | | Simplify all admin templates. git-svn-id: http://piwigo.org/svn/trunk@9586 68402e56-0260-453c-a942-63ccdbb3a9ee