mistic100
2f08283864
feature 2978: remove useless sprintf in the core
...
git-svn-id: http://piwigo.org/svn/trunk@25005 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 11:04:11 +00:00
mistic100
6313ae831d
feature 2978: l10n() and {translate} with additional arguments
...
TODO: apply in core
git-svn-id: http://piwigo.org/svn/trunk@24988 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-10-19 09:21:01 +00:00
rvelices
3c3c3aacc9
replace the language_prefilter with a postfilter (now that smarty has modifiercompiler feature, there is no need for prefilter)
...
git-svn-id: http://piwigo.org/svn/trunk@23688 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-30 05:34:55 +00:00
rvelices
cbd0a1e886
fix define_derivative (matter of smarty3 variable scope)
...
git-svn-id: http://piwigo.org/svn/trunk@23588 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-27 04:37:38 +00:00
rvelices
d12e519e1a
Smart 3 - fix per handle prefilters
...
git-svn-id: http://piwigo.org/svn/trunk@23495 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-24 04:16:53 +00:00
rvelices
b93085c7fb
Smarty3 added 'translate_dec' compilermodifier (generated code is a lot better than $pwg->l10n_dec)
...
git-svn-id: http://piwigo.org/svn/trunk@23476 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-23 18:39:31 +00:00
rvelices
9da3d7f92e
bug 2858: Smarty3 fix php warnings, concat, used modifier on array
...
git-svn-id: http://piwigo.org/svn/trunk@23425 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-21 05:04:57 +00:00
rvelices
6fc07742f8
smarty 3 - first pass for tests
...
git-svn-id: http://piwigo.org/svn/trunk@23384 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-20 03:38:47 +00:00
mistic100
2b8ea75b1d
feature:2785 Improve template method to sort actions buttons
...
+ add default rank = 50
git-svn-id: http://piwigo.org/svn/trunk@23263 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-16 17:15:24 +00:00
rvelices
25b6955cef
combine_script recognizes path starting with // as absolute urls
...
git-svn-id: http://piwigo.org/svn/trunk@23184 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-06-13 18:26:18 +00:00
rvelices
87ed74afd9
- remove code for backward compatibility (jquery ui effect + template variable)
...
git-svn-id: http://piwigo.org/svn/trunk@21818 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-03-24 06:49:06 +00:00
mistic100
beb5ee38e5
separate each html_style with a nex line, for source code lisibility
...
git-svn-id: http://piwigo.org/svn/trunk@20370 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-25 11:28:22 +00:00
plegall
4bc775e479
update Piwigo headers to 2013 (the end of the world didn't occur as expected on r12922)
...
git-svn-id: http://piwigo.org/svn/trunk@19703 68402e56-0260-453c-a942-63ccdbb3a9ee
2013-01-01 12:35:02 +00:00
flop25
237478931b
bug:2797 added !defined('IN_ADMIN') to prefilter_local_css to exlude the local css files from the administration part
...
git-svn-id: http://piwigo.org/svn/trunk@19696 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-31 14:07:12 +00:00
mistic100
69a2071778
bug:2663 replace JSmin by JShrink
...
git-svn-id: http://piwigo.org/svn/trunk@19576 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-12-26 11:39:32 +00:00
rvelices
8a44113765
feature 2771: added backward compatibility with pre jquery ui 1.9 effect file naming (combine script id issues)
...
git-svn-id: http://piwigo.org/svn/trunk@18775 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-28 21:25:43 +00:00
mistic100
457dbb4dac
feature:2781 Add template method to sort actions buttons
...
git-svn-id: http://piwigo.org/svn/trunk@18760 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-10-27 12:32:43 +00:00
rvelices
97294dac5a
feature 2771: upgrade jquery from 1.7.2 to 1.8.2 and jquery.ui from 1.8.16 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
2012-10-12 20:32:30 +00:00
rvelices
c918bb9209
bug 2725: Piwigo isn't compatible with suPHP + better handling of watermark upload errors
...
git-svn-id: http://piwigo.org/svn/trunk@17675 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-08-30 19:20:00 +00:00
rvelices
4ca257c5d7
- fix smartpocket : web service calls in admin not working on iphones
...
- removed unused func params in template
git-svn-id: http://piwigo.org/svn/trunk@17021 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-25 17:24:54 +00:00
mistic100
ba6dfe6a34
bug 2674: cssmin 3.0.1 requires PHP 5.2.4
...
git-svn-id: http://piwigo.org/svn/trunk@16278 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-07-02 13:08:07 +00:00
flop25
7f9c121049
orthographic correction
...
git-svn-id: http://piwigo.org/svn/trunk@13871 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-04-03 18:15:04 +00:00
rvelices
a893882789
- multisize thumb longest side can be smaller than the square size
...
- 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-18 20:46:46 +00:00
patdenice
44abb902c8
multisize
...
- 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-15 14:47:03 +00:00
rvelices
45fbfcf504
- added 2 missing embellish_url
...
- 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-14 21:38:41 +00:00
rvelices
18036a70fc
feature 2548 multisize - custom sizes restricted to those requested by theme/plugin
...
code refacto
git-svn-id: http://piwigo.org/svn/trunk@13021 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-02-02 20:59:41 +00:00
rvelices
7ee2cff811
bugfix prev commit
...
git-svn-id: http://piwigo.org/svn/trunk@12955 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-24 19:36:54 +00:00
rvelices
4372d7aa11
feature 2548 multisize
...
- 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-24 19:24:47 +00:00
rvelices
cc01941ed9
feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak
...
git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-17 21:58:18 +00:00
rvelices
e693ef60cd
feature 2548 multisize - ability to choose displayed size on index page
...
-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-17 06:09:32 +00:00
rvelices
511cbb1c98
bug 2544 upgrade css minifier to version 3.0.1 (Embedded cssmin is imcompatible with font-face syntax)
...
git-svn-id: http://piwigo.org/svn/trunk@12874 68402e56-0260-453c-a942-63ccdbb3a9ee
2012-01-11 05:34:41 +00:00
rvelices
1e1b71c6f6
fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and 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-12-29 05:48:16 +00:00
rvelices
45dcf686ee
bug 2516: compiled_template_cache_language option does not work properly (again)
...
git-svn-id: http://piwigo.org/svn/trunk@12656 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-11-22 21:18:15 +00:00
rvelices
1cd0cda111
bug 2469 compiled_template_cache_language option does not work properly on some language keys because of double escaping
...
git-svn-id: http://piwigo.org/svn/trunk@12429 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-13 18:18:05 +00:00
rvelices
143637d30e
bug 2469 compiled_template_cache_language option does not work properly on some language keys because of double escaping
...
git-svn-id: http://piwigo.org/svn/trunk@12427 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-10-13 18:00:53 +00:00
rvelices
5869dada4c
- removed admin never used function cat_admin_access
...
- 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-07-15 18:56:20 +00:00
plegall
f650346a8d
merge r11121 from branch 2.2 to trunk
...
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-05-30 22:24:45 +00:00
rvelices
b0f5bd822a
merge -r10655 from branch 2.2 to trunk
...
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-28 19:05:40 +00:00
rvelices
e5de7e6efc
combine_script - more checks and warnings...
...
git-svn-id: http://piwigo.org/svn/trunk@10616 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-25 19:06:47 +00:00
rvelices
13f099f128
bug:2268 combine_script - sometimes precedent scripts were not being loaded 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-04-19 20:08:34 +00:00
patdenice
92b8bb54a0
feature:2114
...
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-11 09:07:59 +00:00
plegall
94168b836e
check for availability of local/combined (and try to create it if not available)
...
git-svn-id: http://piwigo.org/svn/trunk@9594 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-10 09:57:03 +00:00
patdenice
8b64b57a27
feature:2114
...
Simplify all admin templates.
git-svn-id: http://piwigo.org/svn/trunk@9586 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-09 14:22:48 +00:00
patdenice
a9a05f39ac
feature:2114
...
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-09 10:17:14 +00:00
patdenice
ac0ba26afc
Update jQuery UI to 1.8.10.
...
Improve jquery ui management in template class.
git-svn-id: http://piwigo.org/svn/trunk@9559 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-03-07 00:58:34 +00:00
patdenice
d37ec3ddfd
Update jQuery to 1.5 and jQuery UI to 1.8.9
...
git-svn-id: http://piwigo.org/svn/trunk@9172 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-02-11 15:57:04 +00:00
plegall
6db359c622
Happy new year 2011
...
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-18 00:02:52 +00:00
rvelices
b5046a4f94
got rid of a very innefficient (and not required) css rule
...
git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-17 20:49:14 +00:00
plegall
8ccd3a203d
feature 2112 added: ability to set an additional local directory
...
$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-17 18:48:13 +00:00
rvelices
05ab300c39
- picture uses the same variables as the index page to compute thumbnails url
...
- 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-12 20:41:00 +00:00