aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/functions.php (unfollow)
Commit message (Collapse)AuthorFilesLines
2011-01-28bug 2142 fixed: make sure you cannot move a category into itselfplegall1-1/+1
git-svn-id: http://piwigo.org/svn/branches/2.1@8966 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-23merge r8238 from trunk to branch 2.1plegall1-20/+0
feature 2048 removed (and was never released): no data are sent anonymously to piwigo.org for statistics purpose git-svn-id: http://piwigo.org/svn/branches/2.1@8240 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-14feature 2048: remove urlencode for technicals details (already escaped with ↵patdenice1-5/+5
http_build_query). git-svn-id: http://piwigo.org/svn/branches/2.1@8124 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-12feature 2057: use http_build_query instead of add_url_params for GET data.patdenice1-5/+15
git-svn-id: http://piwigo.org/svn/branches/2.1@8089 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-11merge r8079, r8080, r8082, r8083, r8084 from trunk to branch 2.1patdenice1-29/+52
feature 2057: fetchRemote can send POST data feature 2048: Use POST to send server data feature 2048: add $conf['send_hosting_technical_details'] parameter feature 2057: use $get_data parameter to send GET data. feature 2048: send technical details only to get_version_list.php of PEM API. git-svn-id: http://piwigo.org/svn/branches/2.1@8086 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07merge r8022 from trunk to branch 2.1patdenice1-0/+1
Feature 2048: send piwigo version git-svn-id: http://piwigo.org/svn/branches/2.1@8023 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-12-07merge r8020 from trunk to branch 2.1patdenice1-0/+17
Feature 2048: Send data to piwigo server anonymously (like php and mysql versions) git-svn-id: http://piwigo.org/svn/branches/2.1@8021 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-11-09[branche 2.1] nl_NL - add subscribe for NL to newsletterddtddt1-0/+1
git-svn-id: http://piwigo.org/svn/branches/2.1@7723 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-07-05Bug 1763 fixed : [PostgreSQL] double quote used in queriesnikrou1-1/+1
Merge from trunk git-svn-id: http://piwigo.org/svn/branches/2.1@6665 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-05-09add nl.piwigo.org as domain name if current language is nl_NLplegall1-0/+3
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
2010-05-03bug 1641 fixed: Admin>Categories>Synchronize moved to Admin>Tools>Synchronizeplegall1-2/+2
(the same for the Site Manager). The big "Quick Synchro" button is kept on administration homepage. A link to the Synchronize screen was added into Admin>Photos>Add>FTP+Synchro screen. git-svn-id: http://piwigo.org/svn/trunk@6056 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-29bug 1613 fixed: split the "pending" screen into 2 distinct sections :plegall1-1/+1
admin>photos>pending + admin>tools>pending comments. git-svn-id: http://piwigo.org/svn/trunk@5997 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-09feature 1587: move advanced features screen into maintenance screen.plegall1-1/+0
git-svn-id: http://piwigo.org/svn/trunk@5745 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-04-06fixes only:rvelices1-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
2010-04-01bug 1550 fixed: the admin menu opens on the right section for languages_newplegall1-0/+1
page. git-svn-id: http://piwigo.org/svn/trunk@5528 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-29feature 1502: Configuration menu is selected when theme configuration page ↵patdenice1-0/+1
is selected. Remove useless global $page. git-svn-id: http://piwigo.org/svn/trunk@5448 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-25Feature 1535: Add language manager.patdenice1-0/+1
git-svn-id: http://piwigo.org/svn/trunk@5357 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19increase copyright year to 2010plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-19bug 1328: backport the pwg_token on trunkplegall1-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
2010-03-19feature 724: FCBKcomplete propagated to element_set_global andplegall1-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
2010-03-17feature 1515: the new admin menu organization implies to tell the accordionplegall1-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
2010-03-03Feature 1451 : fix mispelling and missing translationsnikrou1-2/+2
git-svn-id: http://piwigo.org/svn/trunk@5036 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-03-02Feature 1451 : localization with gettextnikrou1-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
2010-02-15Feature 1255 :nikrou1-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
2010-02-03Feature 511 : fix problems with calendar functionsnikrou1-1/+1
add pwg_db_concat() function git-svn-id: http://piwigo.org/svn/trunk@4833 68402e56-0260-453c-a942-63ccdbb3a9ee
2010-01-23merge r4730 from branch 2.0 to trunkplegall1-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
2010-01-04merge r4617 from branch 2.0 to trunkplegall1-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
2009-12-14Bug 1328 : improve check functionnikrou1-4/+9
git-svn-id: http://piwigo.org/svn/trunk@4493 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-14Bug 1328 add function to check tokennikrou1-0/+22
git-svn-id: http://piwigo.org/svn/trunk@4492 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-12-01merge r4400 from branch 2.0 to trunkplegall1-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
2009-11-29Feature_1255 :nikrou1-1/+1
- single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-21Feature 1255 : limit params in sql queries were in wrong order (LIMIT count ↵nikrou1-1/+1
OFFSET offset) git-svn-id: http://piwigo.org/svn/trunk@4334 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-11-21Feature 1255 : improve sqlnikrou1-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
2009-11-20Feature 1244 resolvednikrou1-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
2009-11-18Escape all login and username characters in databaseEric1-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
2009-11-15Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for ↵nikrou1-22/+22
small php code improvements git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-07-21merge r3656 from branch 2.0 to trunkplegall1-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
2009-07-17merge r3620 from branch 2.0 to trunkplegall1-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
2009-06-08merge r3401 from branch 2.0 to trunkplegall1-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
2009-05-31merge r3381 from branch 2.0 to trunkplegall1-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
2009-03-13merge r3196 from branch 2.0 to trunkplegall1-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
2009-02-14Last (I hope) paranoic optims ...rvelices1-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
2009-01-13Fix bad $lang.rub1-2/+2
Remove not necessary information messages on upgrade. git-svn-id: http://piwigo.org/svn/trunk@3072 68402e56-0260-453c-a942-63ccdbb3a9ee
2009-01-04Administration: happy new year 2009, all PHP headers updated. plegall1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@3049 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-23- Add home and identification buttons after installation.patdenice1-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
2008-11-22- Bug fixed: username or password with accented character are now accepted ↵patdenice1-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
2008-11-19Add argument at trigger_action in invalidate_user_cache function rub1-1/+1
git-svn-id: http://piwigo.org/svn/trunk@2892 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-19Delete caches and optimize tables on upgraderub1-4/+16
git-svn-id: http://piwigo.org/svn/trunk@2890 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-17Delete cache data when category is deleted.rub1-1/+6
git-svn-id: http://piwigo.org/svn/trunk@2882 68402e56-0260-453c-a942-63ccdbb3a9ee
2008-11-15- Add fetchRemote function which allow to retrieve datas over HTTP protocol ↵patdenice1-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