aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* feature 1587: move advanced features screen into maintenance screen.plegall2010-04-091-1/+0
| | | | git-svn-id: http://piwigo.org/svn/trunk@5745 68402e56-0260-453c-a942-63ccdbb3a9ee
* fixes only:rvelices2010-04-061-9/+9
| | | | | | | | | - some searches returned bad array for page['items'] (resulting in php warnings and sometimes mysql fatal error) still existing in branch 2.0 - mysql fatal error in admin maintenance - php warn in plugins_list.php - fix check on function param in admin/include/functions.php git-svn-id: http://piwigo.org/svn/trunk@5691 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1550 fixed: the admin menu opens on the right section for languages_newplegall2010-04-011-0/+1
| | | | | | page. git-svn-id: http://piwigo.org/svn/trunk@5528 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: Configuration menu is selected when theme configuration page ↵patdenice2010-03-291-0/+1
| | | | | | | | is selected. Remove useless global $page. git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1535: Add language manager.patdenice2010-03-251-0/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5357 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
* bug 1328: backport the pwg_token on trunkplegall2010-03-191-28/+0
| | | | | | | | | 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
* feature 724: FCBKcomplete propagated to element_set_global andplegall2010-03-191-0/+46
| | | | | | | | | element_set_unit to manage tags. Note: multiple instances of FCBKcomplete on the same page does not work as good as a single instance. git-svn-id: http://piwigo.org/svn/trunk@5188 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1515: the new admin menu organization implies to tell the accordionplegall2010-03-171-0/+76
| | | | | | | | | | | | menu which section to open on page load. I've moved the single function in functions_themes.inc.php to function.php to avoid misunderstanding with theme manager. Ability to preset the active menu (in the future, a plugin may add its admin page anywhere in the menu, this features needs other change to be possible) git-svn-id: http://piwigo.org/svn/trunk@5173 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : fix mispelling and missing translationsnikrou2010-03-031-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@5036 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
* Feature 1255 :nikrou2010-02-151-3/+3
| | | | | | | update pwg_db_insert_id() function. PosgreSQL needs table name to retrieve last insert auto increment id. git-svn-id: http://piwigo.org/svn/trunk@4892 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 511 : fix problems with calendar functionsnikrou2010-02-031-1/+1
| | | | | | add pwg_db_concat() function git-svn-id: http://piwigo.org/svn/trunk@4833 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4730 from branch 2.0 to trunkplegall2010-01-231-0/+14
| | | | | | | | | bug 1396: when a photo was deleted, the code to avoid orphans as category representative was 1) wrong (because a photo doesn't have to belong to a category to represent it) 2) at the wrong place. git-svn-id: http://piwigo.org/svn/trunk@4731 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4617 from branch 2.0 to trunkplegall2010-01-041-0/+1
| | | | | | | feature 1364: subscribe to pl.piwigo.org/announcement when current language is pl_PL git-svn-id: http://piwigo.org/svn/trunk@4618 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1328 : improve check functionnikrou2009-12-141-4/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@4493 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 1328 add function to check tokennikrou2009-12-141-0/+22
| | | | git-svn-id: http://piwigo.org/svn/trunk@4492 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4400 from branch 2.0 to trunkplegall2009-12-011-1/+1
| | | | | | | | bug 1301 fixed: it is now possible to move root category 4 into root category 49. Sometimes a single comma makes a huge difference! git-svn-id: http://piwigo.org/svn/trunk@4401 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 1255 : limit params in sql queries were in wrong order (LIMIT count ↵nikrou2009-11-211-1/+1
| | | | | | OFFSET offset) git-svn-id: http://piwigo.org/svn/trunk@4334 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : improve sqlnikrou2009-11-211-2/+2
| | | | | | Replace in queries LIMIT N,M by LIMIT N OFFSET M git-svn-id: http://piwigo.org/svn/trunk@4331 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1244 resolvednikrou2009-11-201-288/+20
| | | | | | | | 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
* Escape all login and username characters in databaseEric2009-11-181-1/+1
| | | | | | | | Display correctly usernames (I hope not to have made mistakes) git-svn-id: http://piwigo.org/svn/trunk@4304 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for ↵nikrou2009-11-151-22/+22
| | | | | | small php code improvements git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3656 from branch 2.0 to trunkplegall2009-07-211-1/+1
| | | | | | | feature 953: avoid fatal error when delete a photo (added with pwg.images.add API) and the file doesn't not exist on the filesystem. git-svn-id: http://piwigo.org/svn/trunk@3657 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3620 from branch 2.0 to trunkplegall2009-07-171-2/+10
| | | | | | | feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigo announcement newsletter. git-svn-id: http://piwigo.org/svn/trunk@3621 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3401 from branch 2.0 to trunkplegall2009-06-081-2/+2
| | | | | | | feature 1020: simplify the URL to subscribe to Piwigo Announcements Newsletter. git-svn-id: http://piwigo.org/svn/trunk@3402 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3381 from branch 2.0 to trunkplegall2009-05-311-0/+9
| | | | | | | | feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter from Piwigo itself. Admins can perform this action at the end of installation or on administration panel index. git-svn-id: http://piwigo.org/svn/trunk@3382 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r3196 from branch 2.0 to trunkplegall2009-03-131-12/+5
| | | | | | | | | bug 926 fixed: change links to piwigo.org so that they go to existing URLs. new: if the current language is french, the links go to fr.piwigo.org instead. git-svn-id: http://piwigo.org/svn/trunk@3197 68402e56-0260-453c-a942-63ccdbb3a9ee
* Last (I hope) paranoic optims ...rvelices2009-02-141-3/+58
| | | | | | | | | - move get_uysername and get_groupname from public to admin/functions.inc.php - optim in index.php - tags.tpl does not need smarty modifier included - move func get_comment_post_key from functions_comment to functions (avoid extra inclusion every time on picture page) git-svn-id: http://piwigo.org/svn/trunk@3145 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix bad $lang.rub2009-01-131-2/+2
| | | | | | Remove not necessary information messages on upgrade. git-svn-id: http://piwigo.org/svn/trunk@3072 68402e56-0260-453c-a942-63ccdbb3a9ee
* Administration: happy new year 2009, all PHP headers updated. plegall2009-01-041-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add home and identification buttons after installation.patdenice2008-11-231-1/+17
| | | | | | | | - Use fetchRemote function for remote site actions. - Corrections in fetchRemote fnction. - Move PLUGIN_PICTURE_BEFORE in picture.tpl. git-svn-id: http://piwigo.org/svn/trunk@2902 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Bug fixed: username or password with accented character are now accepted ↵patdenice2008-11-221-10/+13
| | | | | | | | | for upgrade. - Simplify query in pwg_session_write function. - Retrieve data with cURL method in fetchRemote function now work with forwarded URL. git-svn-id: http://piwigo.org/svn/trunk@2900 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add argument at trigger_action in invalidate_user_cache function rub2008-11-191-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@2892 68402e56-0260-453c-a942-63ccdbb3a9ee
* Delete caches and optimize tables on upgraderub2008-11-191-4/+16
| | | | git-svn-id: http://piwigo.org/svn/trunk@2890 68402e56-0260-453c-a942-63ccdbb3a9ee
* Delete cache data when category is deleted.rub2008-11-171-1/+6
| | | | git-svn-id: http://piwigo.org/svn/trunk@2882 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add fetchRemote function which allow to retrieve datas over HTTP protocol ↵patdenice2008-11-151-0/+108
| | | | | | | | | | | using cURL method, file_get_contents function or fsockopen method. This allow to retrieve datas or files even if allow_url_fopen is deactivated. - Use fetchRemote function in plugins manager and in latest version checking. - Add german translations for upgrade.lang.php. - Remove empty line at the end of pclzip.lib.php. - Change display of deactivated plugins after upgrade. git-svn-id: http://piwigo.org/svn/trunk@2880 68402e56-0260-453c-a942-63ccdbb3a9ee
* Merging revisions 2773-2776vdigital2008-10-191-0/+23
| | | | | | | | | - Default template and Piwigo domain ... - No metadata synchronization icon on a remote picture (Synchro failure) - Jump to category icon is removed on user forbidden categories (previously check_restrictions was leading administrators to the access denied page). git-svn-id: http://piwigo.org/svn/trunk@2777 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 884 added: ability to delete photos uploaded via web API methodplegall2008-10-061-1/+40
| | | | | | | | pwg.images.add, ie without storage_category_id. pLoader uses this method and photos cannot be removed in any other way. git-svn-id: http://piwigo.org/svn/trunk@2678 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fixed: remove useless mysql_real_escape because web api already processplegall2008-10-031-2/+0
| | | | | | | all input parameters. git-svn-id: http://piwigo.org/svn/trunk@2646 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Add set_extents function in template class.patdenice2008-10-031-0/+1
| | | | | | - 752: add trigger (for flipflip). git-svn-id: http://piwigo.org/svn/trunk@2643 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 874 added: new Web API method pwg.tags.add.plegall2008-10-011-0/+45
| | | | git-svn-id: http://piwigo.org/svn/trunk@2634 68402e56-0260-453c-a942-63ccdbb3a9ee
* - Move get_extents function to include/functions.inc.php.patdenice2008-09-251-0/+28
| | | | | | | | | - Change all plugins version to 2.0. - LocalFiles Editor can now edit and create template extension. - Editarea (for LocalFiles Editor) go to version 0.7.2.2 (chrome compatible) - Editarea activation is now saved in database with AJAX. git-svn-id: http://piwigo.org/svn/trunk@2588 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug fixed: now that WebService method pwg.images.add create image recordsplegall2008-09-231-0/+1
| | | | | | | | with no storage_category_id, we allow this field to be null in the administration code. git-svn-id: http://piwigo.org/svn/trunk@2575 68402e56-0260-453c-a942-63ccdbb3a9ee
* - fix function get_fulldirs - works correctly eent for wrong params (virtual ↵rvelices2008-09-211-13/+4
| | | | | | | | cats) - fix functions_metadata.php - could not be included from inside another function git-svn-id: http://piwigo.org/svn/trunk@2560 68402e56-0260-453c-a942-63ccdbb3a9ee
* deletion: function export_pwg_data was inadvertently added with r1817 whileplegall2008-09-191-91/+0
| | | | | | | the development was not finished. git-svn-id: http://piwigo.org/svn/trunk@2551 68402e56-0260-453c-a942-63ccdbb3a9ee
* - better management of fatal errors (instead of die or trigger_error rather ↵rvelices2008-09-051-1/+1
| | | | | | use fatal_error ...) git-svn-id: http://piwigo.org/svn/trunk@2502 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug 847: Instruction page / CSS Text-align: centered ordered lists vdigital2008-09-031-1/+1
| | | | | | | | Bug 846: Bad link to documentation Some CSS Hacks in Admin theme git-svn-id: http://piwigo.org/svn/trunk@2495 68402e56-0260-453c-a942-63ccdbb3a9ee
* synchro improvements:rvelices2008-08-291-114/+101
| | | | | | | | - able to sync metadata at the same time as the files/dirs - by default empty metadata does not overwrite database infos (checkbox can switch to previous behaviour) (bug 132) - the form is shown again even after a successfull non simulated run git-svn-id: http://piwigo.org/svn/trunk@2491 68402e56-0260-453c-a942-63ccdbb3a9ee