aboutsummaryrefslogtreecommitdiffstats
path: root/include/common.inc.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove deprecated function get_thumbnail_url + $conf['local_data_dir']rvelices2012-08-271-2/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@17649 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2649: broken code commited in r15587, fixed with a simpler conditionplegall2012-06-071-1/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@15597 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 2649 fixed: do not load mobile theme when using web APIplegall2012-06-071-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@15587 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2577patdenice2012-02-181-22/+1
| | | | | | Many improvements git-svn-id: http://piwigo.org/svn/trunk@13234 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2577patdenice2012-02-151-1/+23
| | | | | | Add functionnality in core files. git-svn-id: http://piwigo.org/svn/trunk@13172 68402e56-0260-453c-a942-63ccdbb3a9ee
* update Piwigo headers to 2012, last change before the expected (or not) ↵mistic1002012-01-171-1/+1
| | | | | | apocalypse git-svn-id: http://piwigo.org/svn/trunk@12922 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2548 multisize - code cleanup + better usage in category_cats + ↵rvelices2012-01-171-4/+2
| | | | | | i.php logs memory usage peak git-svn-id: http://piwigo.org/svn/trunk@12920 68402e56-0260-453c-a942-63ccdbb3a9ee
* fetaure 2542 replace $conf['local_data_dir'] with $conf['data_location'] and ↵rvelices2011-12-291-0/+2
| | | | | | move combined files and image derivatives from local to _data git-svn-id: http://piwigo.org/svn/trunk@12802 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2541 multisizervelices2011-12-271-1/+3
| | | | | | | - core implementation + usage on most public/admin pages - still to do: sync process, upload, gui/persistence for size parameters, migration script, center of interest ... git-svn-id: http://piwigo.org/svn/trunk@12796 68402e56-0260-453c-a942-63ccdbb3a9ee
* simplification of 'startup phase' - multisite.inc.php is not required ↵rvelices2011-12-191-29/+6
| | | | | | anymore / database.inc.php is included after config. git-svn-id: http://piwigo.org/svn/trunk@12768 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2538 Make a unified messages managementmistic1002011-12-181-1/+4
| | | | | | use only $page['infos'] and $page['errors'] vars and and necessary template to all main pages git-svn-id: http://piwigo.org/svn/trunk@12764 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2322patdenice2011-11-051-0/+1
| | | | | | | feature:2493 Add a trigger for multi language tags in quick search and url git-svn-id: http://piwigo.org/svn/trunk@12553 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2317 move order config to Admin->Config->Optionsmistic1002011-07-011-0/+21
| | | | | | | | new GUI interface for simple paterns in GUI, order_by and order_by_inside_category are merged (not un DB) users can define special paterns with $conf['order_by_custom'] and $conf['order_by_inside_category_custom'] git-svn-id: http://piwigo.org/svn/trunk@11587 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2365 added: Piwigo version is written in the database (asplegall2011-06-251-0/+9
| | | | | | | | | "piwigo_db_version" in the config table). We only store the branch, not the release : 2.3 and not 2.3.1, because database structure is not changing between minor releases. git-svn-id: http://piwigo.org/svn/trunk@11511 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2250patdenice2011-04-071-2/+0
| | | | | | | Add expire parameter. Clean code. git-svn-id: http://piwigo.org/svn/trunk@10128 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature:2250patdenice2011-04-061-0/+1
| | | | | | Incompatible plugins and obsolete plugins may not be activated. git-svn-id: http://piwigo.org/svn/trunk@10098 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
* feature 2112 added: ability to set an additional local directoryplegall2011-01-171-2/+16
| | | | | | | $conf['local_dir_site'] in local/config/multisite.inc.php git-svn-id: http://piwigo.org/svn/trunk@8722 68402e56-0260-453c-a942-63ccdbb3a9ee
* removed unused files / code / css; shorter codervelices2010-12-231-2/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 2060: Remove adviser mode.patdenice2010-12-141-5/+0
| | | | | | First commit: only php files. git-svn-id: http://piwigo.org/svn/trunk@8126 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add possibility to configure the url for the extension managergrum2010-10-301-2/+10
| | | | | | feature:1966 git-svn-id: http://piwigo.org/svn/trunk@7501 68402e56-0260-453c-a942-63ccdbb3a9ee
* misplaced closing paranthesis in common.inc.phprvelices2010-06-121-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6523 68402e56-0260-453c-a942-63ccdbb3a9ee
* add nl.piwigo.org as domain name if current language is nl_NLplegall2010-05-091-1/+1
| | | | | | | | fix typos on language names in install.php correct list of available newsletters git-svn-id: http://piwigo.org/svn/trunk@6152 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1652 fixed: json_encode function is required for admin.php?fckb_tags=1plegall2010-05-081-0/+1
| | | | | | (used in the new tags widget) git-svn-id: http://piwigo.org/svn/trunk@6126 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1617 fixed : help page is displayed in current theme in public or admin ↵nikrou2010-04-181-2/+1
| | | | | | pages git-svn-id: http://piwigo.org/svn/trunk@5920 68402e56-0260-453c-a942-63ccdbb3a9ee
* move no_photo_yet feature to a new php file included by common.inc.php only ↵rvelices2010-03-311-77/+3
| | | | | | 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 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
* 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-211-3/+9
| | | | | | | 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-211-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@5230 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1522: Move config_local.inc.php to local/config/config.inc.phppatdenice2010-03-211-1/+1
| | | | 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
* feature 1522: Move local css local files and local language files to local ↵patdenice2010-03-201-1/+1
| | | | | | | | 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
* - removed compatibility with php4 (file_put_contents exists in php5)rvelices2010-03-181-15/+6
| | | | | | - when synchronizing local files , sort them alphabetically git-svn-id: http://piwigo.org/svn/trunk@5176 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1505: when there is no photo yet in the gallery, displays a big andplegall2010-03-141-0/+35
| | | | | | obvious message, guiding to the Administration>Images>Add page. git-svn-id: http://piwigo.org/svn/trunk@5138 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: based on Dotclear model, P@t has reorganized the way Piwigoplegall2010-03-131-6/+2
| | | | | | | 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
* Feature 1451 : localization with gettextnikrou2010-03-021-4/+4
| | | | | | | | | | | Use php-gettext (developpement version rev43, because of php5.3) as fallback Use native language (english) instead of key for translation Keep directory en_UK for english customization Need some refactoring for plurals Todo : managing plugins in the same way git-svn-id: http://piwigo.org/svn/trunk@5021 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1426 fixed : admin help popup use gallery theme instead of admin themenikrou2010-02-151-1/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@4893 68402e56-0260-453c-a942-63ccdbb3a9ee
* [trunk] localisation merge 4758 bug:1416ddtddt2010-02-011-0/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@4816 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature_1255 :nikrou2009-11-291-1/+1
| | | | | | | - single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1244 resolvednikrou2009-11-201-15/+5
| | | | | | | | Replace all mysql functions in core code by ones independant of database engine Fix small php code synxtax : hash must be accessed with [ ] and not { }. git-svn-id: http://piwigo.org/svn/trunk@4325 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 928 resolved.nikrou2009-11-161-3/+3
| | | | | | | Replace include/mysql.inc.php by include/config_database.inc.php to be independant of database engine Rename database configurations variables by ones in $conf array. git-svn-id: http://piwigo.org/svn/trunk@4280 68402e56-0260-453c-a942-63ccdbb3a9ee
* [trunk] Merge 4046 new: de.piwigo.org/forum / es.piwigo.org/forum are ↵ddtddt2009-10-151-0/+6
| | | | | | online, PHPWG_DOMAIN updated inside Piwigo. git-svn-id: http://piwigo.org/svn/trunk@4047 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4005 from branch 2.0 to trunkpatdenice2009-10-091-1/+1
| | | | | | | | bug 1187: set_magic_quote_runtime and get_magic_quote_gpc are depreciated and can produce notices from PHP 5.3. Add a @ to avoid this notices. This functions need to be removed with PHP 6 git-svn-id: http://piwigo.org/svn/trunk@4006 68402e56-0260-453c-a942-63ccdbb3a9ee
* PHP 5.3 compatibility - Deprecated functions were replace as follows :Eric2009-08-171-1/+1
| | | | | | | | | | ereg() -> preg_match() ereg_replace() -> preg_replace() eregi() -> preg_match() with the 'i' modifier eregi_replace() -> preg_replace() with the 'i' modifier set_magic_quotes_runtime() -> No more usefull. Fixed it by adding "@" prefix. git-svn-id: http://piwigo.org/svn/trunk@3747 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3276 from branch 2.0 to trunkplegall2009-05-061-2/+2
| | | | | | | | | bug 968 fixed: charset is set in HTTP header. improvement: in the "this gallery is locked" message, the link to the "sign in" page is on the whole sentence, not only on the final dot. git-svn-id: http://piwigo.org/svn/trunk@3277 68402e56-0260-453c-a942-63ccdbb3a9ee