aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* increase copyright year to 2010plegall2010-03-1915-15/+15
| | | | git-svn-id: http://piwigo.org/svn/trunk@5196 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1328: backport the pwg_token on trunkplegall2010-03-192-29/+1
| | | | | | | | | 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-172-58/+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 1514: new screen to manage installed themes; activate, deactivate,plegall2010-03-172-29/+670
| | | | | | | | | | | | delete, set as default. plugins.class.php was merged back to a state it doesn't manage themes at all. themes.class.php was created instead, from a duplication of plugins.class.php and strongly modified then. feature 1507: the display of available themes is now much more "graphic". git-svn-id: http://piwigo.org/svn/trunk@5153 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1507: ability to install themes directly from piwigo.org/ext.plegall2010-03-151-8/+29
| | | | | | | | | | | | | | The theme manager backend for installation is the plugin manager backend, because they are very close. thanks to feature:1502, installing a theme and installing a plugin are very similare operations. The only differences are the installation directory and the main file to find in the archive. This is only the very first step, the "add new theme" screen needs many improvements, to begin with display style. git-svn-id: http://piwigo.org/svn/trunk@5143 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502patdenice2010-03-131-20/+0
| | | | | | | Remove automatic file creation for local-layout.css during install or upgrade.php. Move icon/admin directory from default theme. git-svn-id: http://piwigo.org/svn/trunk@5124 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1502: based on Dotclear model, P@t has reorganized the way Piwigoplegall2010-03-131-5/+1
| | | | | | | 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 1489: integrate UploadForm into Piwigo core. The integration is notplegall2010-03-088-2937/+5173
| | | | | | | | 100% done, I just "made it work" on trunk. pclzip library was updated to version 2.8.2 for memory usage improvement. git-svn-id: http://piwigo.org/svn/trunk@5089 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : fix mispelling and missing translationsnikrou2010-03-033-9/+9
| | | | git-svn-id: http://piwigo.org/svn/trunk@5036 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1451 : localization with gettextnikrou2010-03-028-31/+31
| | | | | | | | | | | 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 1460 : Customize form installation depending on database enginenikrou2010-02-271-9/+30
| | | | | | | | | - sqlite is proposed by default if severals database engine are available (cf conf) - sqlite is proposed before pdo-sqlite - remove host, user and password for sqlite git-svn-id: http://piwigo.org/svn/trunk@4985 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1459 : add support for SQLite3 via PDOnikrou2010-02-261-0/+7
| | | | git-svn-id: http://piwigo.org/svn/trunk@4967 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-032-3/+3
| | | | | | 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 r4682 from branch 2.0 to trunkplegall2010-01-151-0/+8
| | | | | | | | | feature 620: if no exif/iptc found in the "web resized" photo, then we search into the high definition picture if available. Thanks to Jochen Roth (Polly) for the patch. git-svn-id: http://piwigo.org/svn/trunk@4683 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4680 from branch 2.0 to trunkplegall2010-01-151-0/+3
| | | | | | | | bug 1380: now correctly synchronizes metadata on a single photo, needs a nicer fix on trunk. git-svn-id: http://piwigo.org/svn/trunk@4681 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
* Feature 1255 :nikrou2009-12-021-0/+98
| | | | | | | - add postgres database engine - change installation process to allow postgres or mysql database git-svn-id: http://piwigo.org/svn/trunk@4410 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-293-8/+13
| | | | | | | - single quotes in queries - start using $conf['dblayer'] git-svn-id: http://piwigo.org/svn/trunk@4385 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255: modification in sql queriesnikrou2009-11-251-1/+1
| | | | | | | | | - manage random function - manage regex syntax - manage quote (single instead of double) - manage interval git-svn-id: http://piwigo.org/svn/trunk@4367 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : limit params in sql queries were in wrong order (LIMIT count ↵nikrou2009-11-212-2/+2
| | | | | | OFFSET offset) git-svn-id: http://piwigo.org/svn/trunk@4334 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1255 : improve sqlnikrou2009-11-212-3/+3
| | | | | | 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-207-303/+35
| | | | | | | | 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-183-8/+8
| | | | | | | | 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 928 resolved.nikrou2009-11-161-1/+1
| | | | | | | 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
* Feature 1241 resolved. replace mysql_fetch_array by mysql_fetch_assoc for ↵nikrou2009-11-155-28/+28
| | | | | | small php code improvements git-svn-id: http://piwigo.org/svn/trunk@4265 68402e56-0260-453c-a942-63ccdbb3a9ee
* merge r4033 from branch 2.0 to trunkpatdenice2009-10-141-0/+21
| | | | | | Plugins upgrade now delete obsolete files from obsolete.list. git-svn-id: http://piwigo.org/svn/trunk@4034 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
* merge r3822 from branch 2.0 to trunkpatdenice2009-09-051-20/+5
| | | | | | Update pclzip to 2.8.1 (PHP 5.3 compatibility) git-svn-id: http://piwigo.org/svn/trunk@3823 68402e56-0260-453c-a942-63ccdbb3a9ee
* Allow to add description.txt file in language directory for plugin description.patdenice2009-08-011-1/+5
| | | | git-svn-id: http://piwigo.org/svn/trunk@3716 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 r3581 from branch 2.0 to trunkpatdenice2009-07-151-108/+411
| | | | | | | Update pclzip library to 2.8 git-svn-id: http://piwigo.org/svn/trunk@3582 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
* Resolved issue 0000974: Adding a link to the gallery in the notification of ↵rub2009-04-211-1/+9
| | | | | | inscription git-svn-id: http://piwigo.org/svn/trunk@3243 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature_948_accordion feature 948 : fix problem with incorrect submenu open ↵nikrou2009-03-191-0/+2
| | | | | | in admin use a new variable (U_ACTIVE_MENU) and use default position defined in selected_admin_menu if not exists git-svn-id: http://piwigo.org/svn/trunk@3216 68402e56-0260-453c-a942-63ccdbb3a9ee
* Update version in plugins table during plugin activation.patdenice2009-03-161-1/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@3205 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
* fix html warnings. unclosed monotagsnikrou2009-03-091-2/+2
| | | | git-svn-id: http://piwigo.org/svn/trunk@3185 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
* - Show number of downloads in plugins list.patdenice2009-02-131-0/+10
| | | | | | | - Allow to sort plugins by number of downloads. - Fix plugin revision URL (no more revision_view in PEM). git-svn-id: http://piwigo.org/svn/trunk@3143 68402e56-0260-453c-a942-63ccdbb3a9ee
* - moved check upgrade feed code to admin/include/functions_upgrade.phprvelices2009-02-131-1/+49
| | | | | | | - refactored some code (shorter and somehow faster - but nothing revolutionary) - decrease lost space in permalinks.tpl and hard coded column width (was illisible) git-svn-id: http://piwigo.org/svn/trunk@3136 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
* Send user language when retrieving datas from PEM api.patdenice2009-01-131-0/+3
| | | | git-svn-id: http://piwigo.org/svn/trunk@3070 68402e56-0260-453c-a942-63ccdbb3a9ee