plegall
47f31c2c90
bug 2316 fixed: remote urls on local CSS files should not be modified
...
git-svn-id: http://piwigo.org/svn/branches/2.2@11121 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-05-30 22:22:47 +00:00
rvelices
67c27aa28b
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/branches/2.2@10655 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-28 19:04:34 +00:00
rvelices
5405ce3af7
merge -r10516 from trunk combine_script - more checks and warnings...
...
git-svn-id: http://piwigo.org/svn/branches/2.2@10617 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-25 19:08:43 +00:00
rvelices
fe593bc2c8
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/branches/2.2@10504 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-04-19 20:09:19 +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
rvelices
18cbb9635b
added some comments
...
git-svn-id: http://piwigo.org/svn/trunk@8506 68402e56-0260-453c-a942-63ccdbb3a9ee
2011-01-07 19:57:07 +00:00
rvelices
7d6af12478
- fix js exception with web services in POST mode
...
- 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
2011-01-03 05:28:08 +00:00
rvelices
ff36bf3b70
index.tpl and thumbnails change: category description above thumbs and 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-30 19:47:17 +00:00
rvelices
788a600d78
css sprites fix ie7 display
...
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-29 21:00:25 +00:00
rvelices
61d07ecd8e
combine_script with remote url as path works now
...
git-svn-id: http://piwigo.org/svn/trunk@8305 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-26 06:20:52 +00:00
rvelices
0786608824
- simplified inneficient css rules
...
- 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-25 12:15:46 +00:00
rvelices
861ef0c831
combined css and js are minified
...
git-svn-id: http://piwigo.org/svn/trunk@8170 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-17 06:33:16 +00:00
rvelices
d5549a0bff
jquery upgrade to 1.4.4
...
git-svn-id: http://piwigo.org/svn/trunk@8162 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-16 06:09:14 +00:00
patdenice
8b4e1c2b4b
feature 2060: Remove {$TAG_INPUT_ENABLED} from tpl files.
...
git-svn-id: http://piwigo.org/svn/trunk@8128 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:55:37 +00:00
patdenice
731f8888a4
feature 2060: Remove adviser mode.
...
First commit: only php files.
git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14 13:47:24 +00:00
rvelices
c710b81255
combine css small fixes
...
git-svn-id: http://piwigo.org/svn/trunk@8075 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11 13:24:09 +00:00
rvelices
1cbbe10bfd
combined script now really merges files
...
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-06 20:52:44 +00:00
patdenice
1e6cae89c3
Missing quote in header.tpl.
...
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-06 15:39:51 +00:00
rvelices
bbd63f0088
trunk admin theme goes with combine_script instead of old style known_script
...
git-svn-id: http://piwigo.org/svn/trunk@7995 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-04 20:32:44 +00:00
rvelices
9db8ee6008
new template feature: combine_css
...
- 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-03 07:00:49 +00:00
rvelices
af1cbac19d
new template features: combine_script, footer_script and get_combined_scripts
...
migrated public templates only; need more code doc
git-svn-id: http://piwigo.org/svn/trunk@7975 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-02 19:46:30 +00:00
patdenice
34bce4c832
$themeconf['id'] hard coded in template class
...
git-svn-id: http://piwigo.org/svn/trunk@6318 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-24 07:06:35 +00:00
patdenice
0a5b09601b
feature 1502: Add $themeconf['load_parent_local_head'] parameter
...
git-svn-id: http://piwigo.org/svn/trunk@6006 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 19:57:48 +00:00
plegall
ad27e26c48
bug 860 related: don't try to update the configuration during install because
...
pwg_query is not available yet.
git-svn-id: http://piwigo.org/svn/trunk@5999 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 16:02:20 +00:00
plegall
b8d3c9dba4
bug 860 related: if the directory doesn't exist (SVN users) first try to
...
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-29 14:43:06 +00:00
patdenice
53f66ba4ef
feature 1502: $themeconf['load_css_parent'] apply recursively
...
git-svn-id: http://piwigo.org/svn/trunk@5993 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 12:51:19 +00:00
patdenice
a2ccb9a5c9
feature 1502: Add $themeconf['load_parent_css'] parameter
...
git-svn-id: http://piwigo.org/svn/trunk@5991 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29 12:45:27 +00:00
plegall
056668c9ae
bug 860: display a more readable error when the _data directory is not writable
...
git-svn-id: http://piwigo.org/svn/trunk@5985 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-28 16:11:07 +00:00
patdenice
6024107c9c
feature 1502: Configuration menu is selected when theme configuration page is selected.
...
Remove useless global $page.
git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29 15:14:21 +00:00
patdenice
29d36ffdc3
feature 1502: Allow to have configuration page for each theme.css.
...
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-29 13:30:02 +00:00
patdenice
cae3ae428e
feature 1502: In template extensions admin page, change "Bound template" by "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-28 20:29:55 +00:00
patdenice
6e51794b3f
feature 1522: Move local css local files and local language files to local 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-20 23:14:30 +00:00
plegall
86ad1d5b49
increase copyright year to 2010
...
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 22:37:10 +00:00
plegall
6b296b293d
feature 1502: replace the theme.name by theme.id for theme.css load
...
git-svn-id: http://piwigo.org/svn/trunk@5190 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19 13:30:21 +00:00
rvelices
4f80b6095c
- allow template class to be instantiated with an empty theme (in plugins 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-18 18:40:00 +00:00
patdenice
54b9eea12d
Feature 1502: Avoid 500 error if parent theme is the theme itself.
...
git-svn-id: http://piwigo.org/svn/trunk@5154 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-17 00:55:26 +00:00
patdenice
f76ce16aa6
Feature 1502
...
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-13 02:14:32 +00:00
plegall
14778ce673
feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo
...
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-13 00:00:52 +00:00
vdigital
964a191ff1
New feature: Modeling could be turn off in themeconf
...
$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-10 22:22:30 +00:00
plegall
c9dfb3a41f
feature 1494: move all *.tpl files from template/yoga to the new
...
template/default (from which yoga derives)
git-svn-id: http://piwigo.org/svn/trunk@5095 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-09 20:17:00 +00:00
vdigital
0f7a952bdb
New feature: Template modeling to reduce coding efforts when you want to create a new template.
...
git-svn-id: http://piwigo.org/svn/trunk@5071 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-07 14:24:02 +00:00