aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
* constants should not contain - but _plegall2010-05-071-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6091 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1648 fixed: add the pwg_db_check_version functions for pdo-sqlite, sqliteplegall2010-05-071-0/+2
| | | | | | | | | | and pgsql, also make the $pwg_db_link global in the install_db_connect function so that it can be used in SQLite functions. bug fixed: with pdo-sqlite, pwg_db_num_rows always returns 0, so when initializing user data, it tries to insert the same row twice. git-svn-id: http://piwigo.org/svn/trunk@6090 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1641 fixed: Admin>Categories>Synchronize moved to Admin>Tools>Synchronizeplegall2010-05-031-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
* deactivate debug traces for advanced upload formplegall2010-05-031-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@6054 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1639 fixed: the upload form now correctly uses the $conf['upload_dir']plegall2010-05-031-2/+2
| | | | | | | | | | | | | parameter (web API already use it). By default, the $conf['upload_dir'] is no longer dependent to PHPWG_ROOT_PATH because it becomes a real mess when admin/include/uploadify.php (called directly, not from an include) tries to perform an upload. Improvement: make clearer how $conf['upload_dir'] can be set (relative to the Piwigo installation directory + HTTP reachable) git-svn-id: http://piwigo.org/svn/trunk@6052 68402e56-0260-453c-a942-63ccdbb3a9ee
* bug 1613 fixed: split the "pending" screen into 2 distinct sections :plegall2010-04-292-42/+1
| | | | | | admin>photos>pending + admin>tools>pending comments. git-svn-id: http://piwigo.org/svn/trunk@5997 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1630: upgrade to Piwigo 2.1 :-)plegall2010-04-282-16/+48
| | | | | | bug 1604: only activate core themes not all themes. git-svn-id: http://piwigo.org/svn/trunk@5982 68402e56-0260-453c-a942-63ccdbb3a9ee
* Add triggers for image and thumbnail resizing.patdenice2010-04-241-3/+15
| | | | git-svn-id: http://piwigo.org/svn/trunk@5957 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1605: ability to forbid theme activation, needed for gally-default.plegall2010-04-151-0/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@5874 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix some issues with database connections.nikrou2010-04-101-1/+1
| | | | | | | install_db_connect() function must return database resource link insert into set syntax is mysql specific git-svn-id: http://piwigo.org/svn/trunk@5781 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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
* Fix missing keys: some keys have been removed by mistake during the massiveplegall2010-04-012-6/+6
| | | | | | | | | | key conversion. Remove some language keys that are really obsolete. I've updated the script to convert language files to 2.1, I will apply "obsolete keys removal" process in a 2nd step on other languages. git-svn-id: http://piwigo.org/svn/trunk@5559 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
* Fix some issues with database engines :nikrou2010-03-292-11/+12
| | | | | | | | - insert into syntax not correct for posgresql or sqlite - add languages table - incorrect function for row count (sqlite) git-svn-id: http://piwigo.org/svn/trunk@5452 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 1502: Allow to have configuration page for each theme.css.patdenice2010-03-291-5/+34
| | | | | | About string for theme has to be saved in language theme directory (about.html) git-svn-id: http://piwigo.org/svn/trunk@5446 68402e56-0260-453c-a942-63ccdbb3a9ee
* Simplify installation message, no need to explain the following step, theplegall2010-03-271-1/+0
| | | | | | | | | | "no photo yet" feature makes the explanations useless at this point. .infos admin block is used to display messages, I've set the background transparent here, because it's the only message of the page. Anyway, I don't think using .infos blocks are relevant if that's the only message on the page. git-svn-id: http://piwigo.org/svn/trunk@5408 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix php5 apache configuration with upgrade.patdenice2010-03-262-1/+18
| | | | git-svn-id: http://piwigo.org/svn/trunk@5387 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix php5 apache configuration with install.patdenice2010-03-261-0/+17
| | | | | | Fix php5 apache configuration display. git-svn-id: http://piwigo.org/svn/trunk@5384 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1514: make the "deactivate" action inactive if there is no activeplegall2010-03-261-1/+18
| | | | | | | | | theme left. bug fixed: when setting the default theme, make sure at least one user will be updated. git-svn-id: http://piwigo.org/svn/trunk@5382 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1535: Allow to install new languages from PEM.patdenice2010-03-261-0/+175
| | | | git-svn-id: http://piwigo.org/svn/trunk@5371 68402e56-0260-453c-a942-63ccdbb3a9ee
* Move set_tabsheet function for plugins pages to plugins class.patdenice2010-03-252-18/+18
| | | | git-svn-id: http://piwigo.org/svn/trunk@5367 68402e56-0260-453c-a942-63ccdbb3a9ee
* Feature 1535: Add language manager.patdenice2010-03-252-0/+229
| | | | git-svn-id: http://piwigo.org/svn/trunk@5357 68402e56-0260-453c-a942-63ccdbb3a9ee
* improvement: dynamically activate all installed themes (with checks onplegall2010-03-252-0/+21
| | | | | | parent availability and so on). git-svn-id: http://piwigo.org/svn/trunk@5340 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix missing key translations for nbm and c13ynikrou2010-03-231-4/+4
| | | | git-svn-id: http://piwigo.org/svn/trunk@5287 68402e56-0260-453c-a942-63ccdbb3a9ee
* ture 1514: improvement, impossible to activate a theme is a parent is missingplegall2010-03-221-0/+36
| | | | | | | (a parent includes grand father and his own father, and his own father, and so on... until the root theme is "default" or has no parent declared) git-svn-id: http://piwigo.org/svn/trunk@5259 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1514: improvement, impossible to delete a theme that is requiredplegall2010-03-221-0/+32
| | | | | | by another installed theme. git-svn-id: http://piwigo.org/svn/trunk@5258 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1255: Move $conf['db_sqlite_default'] and ↵patdenice2010-03-211-9/+14
| | | | | | | | | $conf['dbengine_select_default'] in install.php (as constants). PDO::SQLite is now displayed as SQLite in install page. Always display unique SQLite engine. git-svn-id: http://piwigo.org/svn/trunk@5239 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1255: set mysql as default engine.patdenice2010-03-211-6/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5220 68402e56-0260-453c-a942-63ccdbb3a9ee
* feature 1522: Move config_local.inc.php to local/config/config.inc.phppatdenice2010-03-211-1/+1
| | | | git-svn-id: http://piwigo.org/svn/trunk@5215 68402e56-0260-453c-a942-63ccdbb3a9ee
* Fix some language keys problemsnikrou2010-03-202-3/+3
| | | | | | Need translations ! git-svn-id: http://piwigo.org/svn/trunk@5207 68402e56-0260-453c-a942-63ccdbb3a9ee
* 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