aboutsummaryrefslogtreecommitdiffstats
path: root/include/template.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - remove compatibility with old template ...rvelices2008-03-231-661/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@2290 68402e56-0260-453c-a942-63ccdbb3a9ee
* - first smarty use ... (in admin.php and admin plugins page)rvelices2008-02-271-2/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@2216 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r 2094 from branch-1_7 to trunkrvelices2007-09-191-0/+37
| | | | | | | | - fix: quick search error if the query term contained " or ' - optimized sql query in sync_users (called every time on admin page) - a lot faster when #user_cache_categories is big - added function Template->delete_block_vars (opposite of assign_block_vars) git-svn-id: http://piwigo.org/svn/trunk@2095 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000718: Add method "concat_var_from_handle" in template classrub2007-07-101-16/+18
| | | | | | | | Rename trigger name loc_before_* by loc_begin_* Merge branch-1_7 2048:2050 into BSF git-svn-id: http://piwigo.org/svn/trunk@2058 68402e56-0260-453c-a942-63ccdbb3a9ee
* Enhancement for the plugin development:rub2007-06-131-1/+6
| | | | | | | | | o Add footer block o Add useful triggers on template object Merge branch-1_7 2034:2035 into BSF git-svn-id: http://piwigo.org/svn/trunk@2036 68402e56-0260-453c-a942-63ccdbb3a9ee
* - user profiles available from admin pagervelices2007-01-251-1/+18
| | | | | | | | | - user creation from admin page with email (bug 514) - some language cleanup - small template enhancements - php syntax corrections (my mistake) git-svn-id: http://piwigo.org/svn/trunk@1753 68402e56-0260-453c-a942-63ccdbb3a9ee
* very small improvements:rvelices2007-01-131-2/+29
| | | | | | | | | | | - mass_inserts does not requires keys to start at 0 - recent_cats categories are sorted by global_rank (consistency) - removed warning from page_header.php (when included from redirect) - added 2 template functions for plugins (get_var and concat_var) - removed unused code from profile.php - changed css width for tag selection (search page) from 55em to almost 100% git-svn-id: http://piwigo.org/svn/trunk@1719 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix: get_filename_wo_extension (check for ===false) and template make_filenamervelices2006-11-011-5/+8
| | | | | | improvement: can retrieve template output outside the template git-svn-id: http://piwigo.org/svn/trunk@1589 68402e56-0260-453c-a942-63ccdbb3a9ee
* template improvement: added merge_block_vars method (instead of creating a rvelices2006-10-311-0/+24
| | | | | | | | new block iteration, it merges given variables with the last block). This is a trick available to plugins (it will avoid calling trigger_event every 2 lines). git-svn-id: http://piwigo.org/svn/trunk@1587 68402e56-0260-453c-a942-63ccdbb3a9ee
* fix: make_filename for absolute path under windows (c:\)rvelices2006-10-271-3/+5
| | | | | | | improvement: you don't have to call assign_block_vars('a' before calling assign_block_vars('a.b' git-svn-id: http://piwigo.org/svn/trunk@1579 68402e56-0260-453c-a942-63ccdbb3a9ee
* - put back config['session_length'] disappeared in r1493 but has always beenrvelices2006-10-201-8/+21
| | | | | | | | | | | | | used in the code (generates mysql errors on session garbage collector) - fix auto_login (die mysql when session timed out, but user has remember) - when a user reconnects from identification.php, the remember cookie was not deleted - fix all redirect warnings/errors (many changes - mainly in common.inc.php and user.inc.php) - reduced $conf['remember_me_length'] to 60 days, because now at each auto login the 60 days countdown restarts git-svn-id: http://piwigo.org/svn/trunk@1568 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve : evaluate {pwg_root} after any {themeconf:___} variable to allow ↵chrisaga2006-07-091-1/+1
| | | | | | | | using {pwg_root} in themeconf.inc.php usefull for including theme specific fix-ie5-ie6.css git-svn-id: http://piwigo.org/svn/trunk@1456 68402e56-0260-453c-a942-63ccdbb3a9ee
* URL rewriting: capable of fully working with urls without ?rvelices2006-03-221-59/+60
| | | | | | | | | | | | | | | | | | | | | | | | URL rewriting: works with image file instead of image id (change make_picture_url to generate urls with file name instead of image id) URL rewriting: completely works with category/best_rated and picture/best_rated/534 (change 'category.php?' to 'category' in make_index_url and 'picture.php?' to 'picture' in make_picture_url to see it) fix: picture category display in upper bar fix: function rate_picture variables and use of the new user type fix: caddie icon appears now on category page fix: admin element_set sql query was using storage_category_id column (column has moved to #image_categories) fix: replaced some old $_GET[xxx] with $page[xxx] fix: pictures have metadata url (use ? parameter - might change later) git-svn-id: http://piwigo.org/svn/trunk@1092 68402e56-0260-453c-a942-63ccdbb3a9ee
* improve template : split theme from template itselfchrisaga2005-12-031-0/+2
| | | | | | | rest of the job : template (yoga), themes (clear dark), and php to handle them git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
* - modification : less configuration parameters in administrationplegall2005-09-031-1/+2
| | | | | | | | | | | | | | | | | | | screen. These parameters are move to include/config_default.inc.php. - new : ability to add a single picture to caddie from picture.php - new : contextual help, only a few pages are available. - new : ability to delete users from admin/user_list - modification : reorganization of configuration file - new : configuration parameter use_exif_mapping - improvement : MOD hidemail added to standard git-svn-id: http://piwigo.org/svn/trunk@858 68402e56-0260-453c-a942-63ccdbb3a9ee
* - new feature : RSS notification feed. Feed generator is an external toolplegall2005-07-161-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (FeedCreator class v1.7.2). New file feed.php - new database field : comments.validation_date (datetime). This field is required for notification feed. - new database field : users.feed_id (varchar(50)). users.feed_id is an alias of users.id but is much more complicated to find (50 characters, figures or letters, case sensitive) : the purpose is to keep it secret (as far as possible). - new database field : users.last_feed_check (datetime) - new database field : users.registration_date (datetime) - bug fixed : no need to add the (unavailable) session id to install.php in the installation form. - modified database field : images.date_available become more precise (date to datetime). This precision is needed for notification feed. - new index : comments_i1 (validation_date). Might be useful for feed queries. - new index : comments_i2 (image_id). Useful each time you want to have informations about an element and its associated comments. - version 9.11 of mysqldump outputs database field names and table names with backquote "`" (didn't find how to take them off) git-svn-id: http://piwigo.org/svn/trunk@801 68402e56-0260-453c-a942-63ccdbb3a9ee
* - bug fixed when a language value contains a simple quoteplegall2005-06-211-3/+8
| | | | git-svn-id: http://piwigo.org/svn/trunk@795 68402e56-0260-453c-a942-63ccdbb3a9ee
* - direct communication between templates and language items, without needingplegall2005-06-211-0/+3
| | | | | | | a mapping in the PHP code. git-svn-id: http://piwigo.org/svn/trunk@794 68402e56-0260-453c-a942-63ccdbb3a9ee
* - no use of "realpath" function anymore : this function is too often buggyplegall2005-03-121-1/+1
| | | | | | | | and returns nothing (crash of template system as consequence...). The use of this function was not essential git-svn-id: http://piwigo.org/svn/trunk@749 68402e56-0260-453c-a942-63ccdbb3a9ee
* - new methods parse and p (for print) : enable PhpWebGallery pages to beplegall2005-01-111-0/+36
| | | | | | | fully generated before being send to browser git-svn-id: http://piwigo.org/svn/trunk@687 68402e56-0260-453c-a942-63ccdbb3a9ee
* all headers adapted to new year 2005, happy new yearplegall2005-01-071-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@675 68402e56-0260-453c-a942-63ccdbb3a9ee
* update headers to comply with GPLz0rglub2004-11-061-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@593 68402e56-0260-453c-a942-63ccdbb3a9ee
* - synchronization interface redesigned : a form lets user choose option ofz0rglub2004-11-011-1/+1
| | | | | | | | | | dirs/files/metadata sync on all categories or a defined one (including subcategories) - database sync is only available through update.php git-svn-id: http://piwigo.org/svn/trunk@589 68402e56-0260-453c-a942-63ccdbb3a9ee
* code refactoringz0rglub2004-03-291-449/+452
| | | | git-svn-id: http://piwigo.org/svn/trunk@402 68402e56-0260-453c-a942-63ccdbb3a9ee
* header global refactoringz0rglub2004-02-111-20/+25
| | | | git-svn-id: http://piwigo.org/svn/trunk@362 68402e56-0260-453c-a942-63ccdbb3a9ee
* Template modificationgweltas2004-02-071-0/+479
Split of the french language file git-svn-id: http://piwigo.org/svn/trunk@351 68402e56-0260-453c-a942-63ccdbb3a9ee