aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.class.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* merge -r12656 from trunk bug 2516: compiled_template_cache_language option ↵rvelices2011-11-221-2/+2
| | | | | | does not work properly (again) git-svn-id: http://piwigo.org/svn/branches/2.3@12657 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2469 (merge from trunk) compiled_template_cache_language option does not ↵rvelices2011-10-131-1/+1
| | | | | | work properly on some language keys because of double escaping git-svn-id: http://piwigo.org/svn/branches/2.3@12430 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2469 (merge from trunk) compiled_template_cache_language option does not ↵rvelices2011-10-131-3/+3
| | | | | | work properly on some language keys because of double escaping git-svn-id: http://piwigo.org/svn/branches/2.3@12428 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
* feature:2114patdenice2011-03-091-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
* Update jQuery UI to 1.8.10.patdenice2011-03-071-5/+37
| | | | | | Improve jquery ui management in template class. git-svn-id: http://piwigo.org/svn/trunk@9559 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update jQuery to 1.5 and jQuery UI to 1.8.9patdenice2011-02-111-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@9172 68402e56-0260-453c-a942-63ccdbb3a9ee
* Happy new year 2011plegall2011-01-181-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
* got rid of a very innefficient (and not required) css rulervelices2011-01-171-2/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@8725 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2112 added: ability to set an additional local directoryplegall2011-01-171-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
* - picture uses the same variables as the index page to compute thumbnails urlrvelices2011-01-121-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
* added some commentsrvelices2011-01-071-7/+27
| | | | git-svn-id: http://piwigo.org/svn/trunk@8506 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix js exception with web services in POST modervelices2011-01-031-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
* index.tpl and thumbnails change: category description above thumbs and ↵rvelices2010-12-301-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
* css sprites fix ie7 displayrvelices2010-12-291-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
* combine_script with remote url as path works nowrvelices2010-12-261-29/+34
| | | | git-svn-id: http://piwigo.org/svn/trunk@8305 68402e56-0260-453c-a942-63ccdbb3a9ee
* - simplified inneficient css rulesrvelices2010-12-251-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
* combined css and js are minifiedrvelices2010-12-171-25/+35
| | | | git-svn-id: http://piwigo.org/svn/trunk@8170 68402e56-0260-453c-a942-63ccdbb3a9ee
* jquery upgrade to 1.4.4rvelices2010-12-161-0/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@8162 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2060: Remove {$TAG_INPUT_ENABLED} from tpl files.patdenice2010-12-141-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@8128 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2060: Remove adviser mode.patdenice2010-12-141-2/+1
| | | | | | First commit: only php files. git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
* combine css small fixesrvelices2010-12-111-14/+30
| | | | git-svn-id: http://piwigo.org/svn/trunk@8075 68402e56-0260-453c-a942-63ccdbb3a9ee
* combined script now really merges filesrvelices2010-12-061-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
* Missing quote in header.tpl.patdenice2010-12-061-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
* trunk admin theme goes with combine_script instead of old style known_script rvelices2010-12-041-72/+126
| | | | git-svn-id: http://piwigo.org/svn/trunk@7995 68402e56-0260-453c-a942-63ccdbb3a9ee
* new template feature: combine_css rvelices2010-12-031-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
* new template features: combine_script, footer_script and get_combined_scriptsrvelices2010-12-021-0/+335
| | | | | | migrated public templates only; need more code doc git-svn-id: http://piwigo.org/svn/trunk@7975 68402e56-0260-453c-a942-63ccdbb3a9ee
* $themeconf['id'] hard coded in template classpatdenice2010-05-241-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6318 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Add $themeconf['load_parent_local_head'] parameterpatdenice2010-04-291-7/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@6006 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 860 related: don't try to update the configuration during install becauseplegall2010-04-291-1/+3
| | | | | | pwg_query is not available yet. git-svn-id: http://piwigo.org/svn/trunk@5999 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 860 related: if the directory doesn't exist (SVN users) first try toplegall2010-04-291-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
* feature 1502: $themeconf['load_css_parent'] apply recursivelypatdenice2010-04-291-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5993 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Add $themeconf['load_parent_css'] parameterpatdenice2010-04-291-3/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@5991 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 860: display a more readable error when the _data directory is not writableplegall2010-04-281-0/+12
| | | | git-svn-id: http://piwigo.org/svn/trunk@5985 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Configuration menu is selected when theme configuration page ↵patdenice2010-03-291-1/+1
| | | | | | | | is selected. Remove useless global $page. git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Allow to have configuration page for each theme.css.patdenice2010-03-291-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
* feature 1502: In template extensions admin page, change "Bound template" by ↵patdenice2010-03-281-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
* feature 1522: Move local css local files and local language files to local ↵patdenice2010-03-201-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
* increase copyright year to 2010plegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: replace the theme.name by theme.id for theme.css loadplegall2010-03-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5190 68402e56-0260-453c-a942-63ccdbb3a9ee
* - allow template class to be instantiated with an empty theme (in plugins ↵rvelices2010-03-181-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
* Feature 1502: Avoid 500 error if parent theme is the theme itself.patdenice2010-03-171-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5154 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1502patdenice2010-03-131-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