aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* o add missing $langrub2007-03-291-2/+2
| | | | | | | | o use of l10n_dec o normalize file header git-svn-id: http://piwigo.org/svn/trunk@1932 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 578rub2007-03-281-30/+1
| | | | | | | | | | User guest must be real user Step 1: guest is a real user On next commit, I finish installation and use of guest of user list and group git-svn-id: http://piwigo.org/svn/trunk@1926 68402e56-0260-453c-a942-63ccdbb3a9ee
* Bug fixed: in delete_categories function, the deletion on #old_permalinksplegall2007-03-071-1/+1
| | | | | | | query was using a wrong variable. git-svn-id: http://piwigo.org/svn/trunk@1879 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 657: permalinks for categoriesrvelices2007-02-281-0/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@1866 68402e56-0260-453c-a942-63ccdbb3a9ee
* - function delete_user now clears asssociated data in the caddie table and ↵rvelices2007-02-271-58/+38
| | | | | | | | the sessions table - xml writer improvement for web service git-svn-id: http://piwigo.org/svn/trunk@1863 68402e56-0260-453c-a942-63ccdbb3a9ee
* New: history logs high quality access via action.php. A new columnplegall2007-02-141-4/+97
| | | | | | | | | | | #history.is_high was added. Filter was added on administration history detail view. Modification: function get_sql_condition_FandF was slightly refactored for presentation improvement. git-svn-id: http://piwigo.org/svn/trunk@1817 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue : 137laurent.duretz2007-02-091-3/+1
| | | | | | Use correct SQL request ta have MySql compatibility git-svn-id: http://piwigo.org/svn/trunk@1794 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 0000639: Force selected page on index.phprub2007-02-081-3/+6
| | | | | | | | | | | | | Continue the Radu idea, restrict more use of random list Issue 0000598: NBM: Add new informations Add css on mail Use user template for mail (on next commit, best control) Comment mass_inserts because don't with MySQL 4.1.9 git-svn-id: http://piwigo.org/svn/trunk@1792 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue : 137laurent.duretz2007-02-081-28/+29
| | | | git-svn-id: http://piwigo.org/svn/trunk@1790 68402e56-0260-453c-a942-63ccdbb3a9ee
* - correct php warnings (section_init and mass_inserts)rvelices2007-02-081-30/+17
| | | | | | | | | - flat category view url is now 'flat' instead of 'flat_cat' (it is nicer and shorter) - small html validation (double class attribute) - removed unnecessary class="" - changed 2 times hard coded index.php?recent_pics with make_index_url(...) git-svn-id: http://piwigo.org/svn/trunk@1789 68402e56-0260-453c-a942-63ccdbb3a9ee
* git-svn-id: http://piwigo.org/svn/trunk@1786 ↵laurent.duretz2007-02-071-12/+37
| | | | 68402e56-0260-453c-a942-63ccdbb3a9ee
* Issue 0000614: Display hits under thumbnails like comments countervdigital2007-01-281-0/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@1763 68402e56-0260-453c-a942-63ccdbb3a9ee
* Very little/small corrections:rub2007-01-161-12/+13
| | | | | | | | | | | o bad parser word user on installation o standardization of the method to open link in new tab/windows o removed not used constant o use/add link constants o use new function pwg_URL o add missing translation git-svn-id: http://piwigo.org/svn/trunk@1726 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature "Admin Advices !" (Standard plugin) : May give you always now an ↵vdigital2007-01-151-0/+27
| | | | | | | | | | | | | | | advice on the administration page. Quick solved list: 1 - Wording on EXIF/IPTC Advices 2 - Default language is English 3 - Some Transparency issues under IE 4 - Some Border issues 5 - PWG Menu moved from Advices Box to Intro. 6 - phpwebgallery.net URLs are available thru a new admin function pwg_URL() 7 - PWG Menu URL open in a new target (XHTML strict compliant (JS)). git-svn-id: http://piwigo.org/svn/trunk@1724 68402e56-0260-453c-a942-63ccdbb3a9ee
* very small improvements:rvelices2007-01-131-3/+8
| | | | | | | | | | | - 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
* - bug 471: apostrophe lors de l'ajout d'un tag (different behavior depending onrvelices2007-01-111-11/+2
| | | | | | | | | magic_quotes_gpc) - metadata synchronization correction: iptc keywords were MySql escaped 2 times when synchronizing from site manager, but only once when synchronizing one image git-svn-id: http://piwigo.org/svn/trunk@1717 68402e56-0260-453c-a942-63ccdbb3a9ee