aboutsummaryrefslogtreecommitdiffstats
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* move no_photo_yet feature to a new php file included by common.inc.php only ↵rvelices2010-03-312-77/+106
| | | | | | if required (avoid parsing this code that will be rarely executed) git-svn-id: http://piwigo.org/svn/trunk@5509 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1559 : remove custom function (std) for sqlitenikrou2010-03-312-58/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@5503 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1559: remove "standard deviation" in rating.plegall2010-03-311-2/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5500 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : Adding explanationslaurent.duretz2010-03-301-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5470 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : get_absolute_root_url() missing in section_init.inc.phplaurent.duretz2010-03-301-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5469 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix some issues with database engines :nikrou2010-03-291-1/+1
| | | | | | | | - insert into syntax not correct for posgresql or sqlite - add languages table - incorrect function for row count (sqlite) git-svn-id: http://piwigo.org/svn/trunk@5452 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 1521 : picture.tpl updated to avoid double home link, picture.php ↵laurent.duretz2010-03-291-1/+1
| | | | | | updated because tpl update, functions_html.inc.php updated to work with question_mark_in_urls = false git-svn-id: http://piwigo.org/svn/trunk@5451 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
* Issue 1521 : Integration of LinkRoot plugin in Piwigo corelaurent.duretz2010-03-293-13/+11
| | | | git-svn-id: http://piwigo.org/svn/trunk@5441 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 1502: Wrong path corrected (to check themeconf.inc.php existence)patdenice2010-03-281-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5419 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1535: Add language manager.patdenice2010-03-251-16/+10
| | | | git-svn-id: http://piwigo.org/svn/trunk@5357 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1535: Add languages table.patdenice2010-03-251-0/+2
| | | | | | Ready for theme manager! git-svn-id: http://piwigo.org/svn/trunk@5341 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix cat_modifyrvelices2010-03-251-13/+7
| | | | | | | | | * missing token in url * double icon display - simplified func check_pwg_token git-svn-id: http://piwigo.org/svn/trunk@5335 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: bug corrected on guest setting page.patdenice2010-03-242-4/+6
| | | | | | | Remove $conf['default_theme'] from config file (useless). Check if theme is still installed in pwg_get_themes. git-svn-id: http://piwigo.org/svn/trunk@5306 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1533: Change "General" by "Options" in Configuration menu.patdenice2010-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change "Default Display" tab by "Guest Settings" tab. Add display tab in Configuration/Option menu. Allow to activate/deactivate a lot of display features: On main page: # Display only recently posted images # Sort order # Display all elements in all sub-categories # Display a calendar by posted date # Display a calendar by creation date # Slideshow On photo page: # Show file metadata # slideshow # Add this image to your favorites # Navigation Bar # Navigation Thumbnails git-svn-id: http://piwigo.org/svn/trunk@5293 68402e56-0260-453c-a942-63ccdbb3a9ee
* Avoid error if creation date calendar is empty.patdenice2010-03-231-0/+1
| | | | | | Avoid error on picture_modify.php if creation date is not correct. git-svn-id: http://piwigo.org/svn/trunk@5283 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add function is_webmaster (like is_admin function)rub2010-03-231-0/+9
| | | | | | Add on ignore list the directory local/personal git-svn-id: http://piwigo.org/svn/trunk@5272 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fixed: if the theme for guest is empty (I don't know how this could be,plegall2010-03-221-1/+1
| | | | | | | but it has been reported), the fallback on constant PHPWG_DEFAULT_TEMPLATE was not working. git-svn-id: http://piwigo.org/svn/trunk@5271 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix warning for postgresql installationnikrou2010-03-221-6/+1
| | | | | | Remove unused function git-svn-id: http://piwigo.org/svn/trunk@5267 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1514: improvement, if a user has a theme that is (maybe temporary)plegall2010-03-221-5/+6
| | | | | | | unactive, we fallback on default theme (the real default theme, the one set for default user) git-svn-id: http://piwigo.org/svn/trunk@5264 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1505: bug fixed, ability to connect with pLoader even if galleryplegall2010-03-221-0/+1
| | | | | | is empty. git-svn-id: http://piwigo.org/svn/trunk@5251 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1505: improvement, ability to browse the empty gallery. The "no photoplegall2010-03-221-5/+17
| | | | | | yet" feature can be deactivated at session level. git-svn-id: http://piwigo.org/svn/trunk@5241 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1505: improvement, when there is no photo yet in the gallery, firstplegall2010-03-221-5/+36
| | | | | | | | | | shows a connection box (and only this), then if the user is an admin shows the "Hello %s, your gallery is empty...". I've also added the ability to deactivate this message. Only an admin can deactivate it. git-svn-id: http://piwigo.org/svn/trunk@5240 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1255: Move $conf['db_sqlite_default'] and ↵patdenice2010-03-212-11/+1
| | | | | | | | | $conf['dbengine_select_default'] in install.php (as constants). PDO::SQLite is now displayed as SQLite in install page. Always display unique SQLite engine. git-svn-id: http://piwigo.org/svn/trunk@5239 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix typo : parenthesisnikrou2010-03-211-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5238 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 :nikrou2010-03-215-36/+44
| | | | | | | only one function use exceptions to deal with differents possible errors git-svn-id: http://piwigo.org/svn/trunk@5236 68402e56-0260-453c-a942-63ccdbb3a9ee
* [trunk] localisation hu/RU feature:1526 and feature:1527ddtddt2010-03-211-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5235 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1255: add pwg_select_db function.patdenice2010-03-215-11/+30
| | | | git-svn-id: http://piwigo.org/svn/trunk@5230 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1255: set mysql as default engine.patdenice2010-03-211-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5220 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1522: Move config_local.inc.php to local/config/config.inc.phppatdenice2010-03-212-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@5215 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1522 : move database config file to local directorynikrou2010-03-211-1/+1
| | | | | | (include/config_database.inc.php becomes local/config/database.inc.php) git-svn-id: http://piwigo.org/svn/trunk@5213 68402e56-0260-453c-a942-63ccdbb3a9ee
* [trunk] merge bug:1523 / Compatibility with PHP 5.3ddtddt2010-03-211-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5211 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1522: Move local css local files and local language files to local ↵patdenice2010-03-205-5/+44
| | | | | | | | directory. Add $conf['template_force_compile'] to help developpers. git-svn-id: http://piwigo.org/svn/trunk@5208 68402e56-0260-453c-a942-63ccdbb3a9ee
* less warnings + language fixes rvelices2010-03-202-7/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@5206 68402e56-0260-453c-a942-63ccdbb3a9ee
* - added a js confirmation before deletign a themervelices2010-03-201-66/+18
| | | | | | | - fix link to css - simplified language loading (a couple of years ago during utf8 migration I left the possibility to have languages defined in another charsets - this is useless) git-svn-id: http://piwigo.org/svn/trunk@5200 68402e56-0260-453c-a942-63ccdbb3a9ee
* increase copyright year to 2010plegall2010-03-1955-55/+55
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1328: backport the pwg_token on trunkplegall2010-03-195-38/+185
| | | | | | | | | bug 1329: backport the check_input_parameter on trunk feature 1026: add pwg_token feature for edit/delete comment. Heavy refactoring on this feature to make the code simpler and easier to maintain (I hope). git-svn-id: http://piwigo.org/svn/trunk@5195 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix some sql issues :nikrou2010-03-192-2/+6
| | | | | | | - permalink that use if() syntax - add tables themes for other database engines that mysql git-svn-id: http://piwigo.org/svn/trunk@5192 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
* feature 1519: admin instructions are dispatched into several tabs. Onlyplegall2010-03-181-0/+9
| | | | | | | | | | | | | | | | applied to en_UK and fr_FR. The help content itself needs some updates but it will be another set of commits, in this commit, I nearly only modified the container. The new "Add Photos" help page only introduces you to 3 main ways to add photos: direct upload, pLoader and FTP. Each of them has a dedicated tab on the Admin>Photos>Add screen. No use of the big question mark icon linked to the Help pages in the administration header, to avoid having this icon twice : in the header + in the content next to H2. git-svn-id: http://piwigo.org/svn/trunk@5182 68402e56-0260-453c-a942-63ccdbb3a9ee
* -fix language keys problemsrvelices2010-03-182-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@5178 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
* - removed compatibility with php4 (file_put_contents exists in php5)rvelices2010-03-182-29/+6
| | | | | | - when synchronizing local files , sort them alphabetically git-svn-id: http://piwigo.org/svn/trunk@5176 68402e56-0260-453c-a942-63ccdbb3a9ee
* Revert gettext stuff.nikrou2010-03-174-1036/+14
| | | | | | | | | | Keep english values for language keys translation. Provide a script to use english values for key in language files. Todo : provide a script (to help transition) to keep using original keys in language files for translators. git-svn-id: http://piwigo.org/svn/trunk@5156 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 1514: new screen to manage installed themes; activate, deactivate,plegall2010-03-173-9/+19
| | | | | | | | | | | | delete, set as default. plugins.class.php was merged back to a state it doesn't manage themes at all. themes.class.php was created instead, from a duplication of plugins.class.php and strongly modified then. feature 1507: the display of available themes is now much more "graphic". git-svn-id: http://piwigo.org/svn/trunk@5153 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1505: when there is no photo yet in the gallery, displays a big andplegall2010-03-143-0/+56
| | | | | | obvious message, guiding to the Administration>Images>Add page. git-svn-id: http://piwigo.org/svn/trunk@5138 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