aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bug 1396: when a photo was deleted, the code to avoid orphans as categoryplegall2010-01-231-0/+14
| | | | | | | 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/branches/2.0@4730 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1364: subscribe to pl.piwigo.org/announcement when current language ↵plegall2010-01-041-0/+1
| | | | | | is pl_PL git-svn-id: http://piwigo.org/svn/branches/2.0@4617 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1328: implement check_pwg_token for emails on user comments management.plegall2009-12-171-33/+0
| | | | | | | | | | The check_pwg_token and get_pwg_token functions were moved to the public side (for use on comments.php) The email sent to admins on new user comment does not directly includes validate/delete actions. git-svn-id: http://piwigo.org/svn/branches/2.0@4508 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1328: first specific implementation of the check_pwg_token for theplegall2009-12-151-4/+9
| | | | | | | | | admin/tags page (all actions : add/edit/delete). The "check_token" function was renammed into check_pwg_token because the word "token" is too much generic. git-svn-id: http://piwigo.org/svn/branches/2.0@4503 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4493 from trunk to branch 2.0plegall2009-12-151-4/+9
| | | | | | | Bug 1328 : improve check function git-svn-id: http://piwigo.org/svn/branches/2.0@4502 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4492 from trunk to branch 2.0plegall2009-12-151-0/+22
| | | | | | | Bug 1328 add function to check token git-svn-id: http://piwigo.org/svn/branches/2.0@4501 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1301 fixed: it is now possible to move root category 4 into root categoryplegall2009-12-011-1/+1
| | | | | | 49. Sometimes a single comma makes a huge difference! git-svn-id: http://piwigo.org/svn/branches/2.0@4400 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1231: subscribe to cn.piwigo.org/announcement when current language isplegall2009-11-051-0/+1
| | | | | | zh_CN git-svn-id: http://piwigo.org/svn/branches/2.0@4213 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 953: avoid fatal error when delete a photo (added with pwg.images.addplegall2009-07-211-1/+1
| | | | | | API) and the file doesn't not exist on the filesystem. git-svn-id: http://piwigo.org/svn/branches/2.0@3656 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1057 added: let the IT/DE/ES users subscribe to the ID/DE/ES Piwigoplegall2009-07-171-2/+10
| | | | | | announcement newsletter. git-svn-id: http://piwigo.org/svn/branches/2.0@3620 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1020: simplify the URL to subscribe to Piwigo Announcementsplegall2009-06-081-2/+2
| | | | | | Newsletter. git-svn-id: http://piwigo.org/svn/branches/2.0@3401 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1020 added: ability to subscribe to Piwigo Announcement Newsletter fromplegall2009-05-311-0/+9
| | | | | | | Piwigo itself. Admins can perform this action at the end of installation or on administration panel index. git-svn-id: http://piwigo.org/svn/branches/2.0@3381 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 926 fixed: change links to piwigo.org so that they go to existing URLs.plegall2009-03-131-12/+5
| | | | | | | new: if the current language is french, the links go to fr.piwigo.org insted. git-svn-id: http://piwigo.org/svn/branches/2.0@3196 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge 3145-3146 from trunkrvelices2009-02-141-3/+58
| | | | | | | | | | Last (I hope) paranoic optims ... - 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/branches/2.0@3147 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c3072 from trunk to branch 2.0rub2009-01-131-2/+2
| | | | | | | Fix bad $lang. Remove not necessary information messages on upgrade. git-svn-id: http://piwigo.org/svn/branches/2.0@3073 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/branches/2.0@3046 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2902 from trunk to branch 2.0.patdenice2008-11-231-1/+17
| | | | | | | | | - Add home and identification buttons after installation. - 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/branches/2.0@2903 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2900 from trunk to branch 2.0.patdenice2008-11-221-10/+13
| | | | | | | | - Bug fixed: username or password with accented character are now accepted 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/branches/2.0@2901 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add argument at trigger_action in invalidate_user_cache function rub2008-11-191-1/+1
| | | | | | | merge -c2892 from trunk to branch 2.0 The exact copy of commit log in 2892. git-svn-id: http://piwigo.org/svn/branches/2.0@2893 68402e56-0260-453c-a942-63ccdbb3a9ee
* Delete caches and optimize tables on upgraderub2008-11-191-4/+16
| | | | | | | merge -c2890 from trunk to branch 2.0 The exact copy of commit log in 2890. git-svn-id: http://piwigo.org/svn/branches/2.0@2891 68402e56-0260-453c-a942-63ccdbb3a9ee
* Delete cache data when category is deleted.rub2008-11-171-1/+6
| | | | | | | merge -c2882 from trunk to branch 2.0 The exact copy of commit log in 2882. git-svn-id: http://piwigo.org/svn/branches/2.0@2883 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -c2880 from trunk to branch 2.0patdenice2008-11-151-0/+108
| | | | | | | | | | - Add fetchRemote function which allow to retrieve datas over HTTP protocol 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/branches/2.0@2881 68402e56-0260-453c-a942-63ccdbb3a9ee
* Jump to category icon is removed on user forbidden categories (previously ↵vdigital2008-10-191-0/+23
| | | | | | check_restrictions was leading administrators to the access denied page). git-svn-id: http://piwigo.org/svn/branches/2.0@2776 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
* - based on test_menu by grum (thanks to you) - integration of dynamic menu ↵rvelices2008-08-281-7/+24
| | | | | | | | | | bar to pwg - the menubar is composed now of dynamic blocks that can be ordered/hidden - plugins can add their own blocks git-svn-id: http://piwigo.org/svn/trunk@2488 68402e56-0260-453c-a942-63ccdbb3a9ee
* - ws can include php file before invoking web call methodrvelices2008-08-191-2/+3
| | | | | | | | | - remove "Pierrick ..." from some languages - tags - small change to avoid increasing number of urls - added a missing closedir - remove some unnecessary class names and inexisting rel attributes git-svn-id: http://piwigo.org/svn/trunk@2478 68402e56-0260-453c-a942-63ccdbb3a9ee
* Admin advices can be easily extended to new advices.vdigital2008-08-121-5/+18
| | | | | | | | | Admin advices plugin can be translated like any other plugins. Admin advices plugin has been extended with External summary (a technical and non translated part). Some template cleaning. git-svn-id: http://piwigo.org/svn/trunk@2472 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug: 816 - Leading and trailing spaces are removed from new tags (observed ↵vdigital2008-05-181-1/+2
| | | | | | in some bugged metadata). git-svn-id: http://piwigo.org/svn/trunk@2350 68402e56-0260-453c-a942-63ccdbb3a9ee
* Change some PhpWebGallery to Piwigo.rub2008-05-141-4/+4
| | | | | | Not all PhpWebGallery has been translated! git-svn-id: http://piwigo.org/svn/trunk@2339 68402e56-0260-453c-a942-63ccdbb3a9ee
* - remove some unnecessary db columns (#history_summary.id, #history.year, ↵rvelices2008-05-061-17/+32
| | | | | | month, day and hour) git-svn-id: http://piwigo.org/svn/trunk@2333 68402e56-0260-453c-a942-63ccdbb3a9ee
* Resolved issue 0000823: Enhance upload functionalitiesrub2008-05-021-0/+16
| | | | | | | | | | | | | | | First commit, others will be follow. Not hesitate to change my translations. Add upload configuration tabsheet (move and add configuration) Change and add define for access level Can show upload link every time Can restrict access upload.class.php Can choice category on upload page Add upload class not use for the moment Review quickly and temporary style of upload.tpl git-svn-id: http://piwigo.org/svn/trunk@2325 68402e56-0260-453c-a942-63ccdbb3a9ee
* - move #categories.date_last and nb_images to #user_cache_categoriesrvelices2008-05-011-144/+41
| | | | git-svn-id: http://piwigo.org/svn/trunk@2324 68402e56-0260-453c-a942-63ccdbb3a9ee
* - merged function ordering() with update_global_rank() and also optimized ↵rvelices2008-04-201-76/+41
| | | | | | the queries git-svn-id: http://piwigo.org/svn/trunk@2306 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r 2303 from branch-1_7 to trunkrvelices2008-04-191-61/+20
| | | | | | | | - removed some unused code - mass_updates function does not need SELECT VERSION() - rewrote update_uppercats to avoid db update if no change git-svn-id: http://piwigo.org/svn/trunk@2304 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug fixed: as rvelices notified me by email, my header replacement script wasplegall2008-04-051-24/+0
| | | | | | | | | | | | bugged (r2297 was repeating new and old header). By the way, I've also removed the replacement keywords. We were using them because it was a common usage with CVS but it is advised not to use them with Subversion. Personnaly, it is a problem when I search differences between 2 Piwigo installations outside Subversion. git-svn-id: http://piwigo.org/svn/trunk@2299 68402e56-0260-453c-a942-63ccdbb3a9ee
* Modification: new header on PHP files, PhpWebGallery renamed Piwigo.plegall2008-04-041-0/+21
| | | | git-svn-id: http://piwigo.org/svn/trunk@2297 68402e56-0260-453c-a942-63ccdbb3a9ee
* - PWG_CHARSET, DB_CHARSET and DB_COLLATE... utf-8 readyrvelices2007-10-091-0/+30
| | | | git-svn-id: http://piwigo.org/svn/trunk@2127 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge -r 2094 from branch-1_7 to trunkrvelices2007-09-191-2/+2
| | | | | | | | - 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 0000725: Check integrityrub2007-07-181-36/+0
| | | | | | | | | Replace actual test (exif) by a new dynamic system of check integrity. Anomalies are listed with automatic correction if it's possible. It's a proposition of new feature! git-svn-id: http://piwigo.org/svn/trunk@2065 68402e56-0260-453c-a942-63ccdbb3a9ee
* invalidation of the users cache done in a function and an action is triggeredrvelices2007-04-261-0/+12
| | | | git-svn-id: http://piwigo.org/svn/trunk@1978 68402e56-0260-453c-a942-63ccdbb3a9ee