From 7ba15740434b476e8aef0253919f19ba37e07dc7 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 27 Dec 2004 14:30:49 +0000 Subject: - admin/update : filesystem synchronization process completely rewritten. How to speed up sync ? by avoiding recursivity ! - admin/update : option to display verbose information details - admin/update : option to simulate only. No database insert, delete or update will be made - bug fixed : in admin/cat_list, if you delete a virtual category, you may create a gap in the rank list. This gap will generate errors when trying to move a category on this gap. Fixed by calling ordering and update_global_rank at category deletion. - admin/cat_list, only one query to insert a new virtual category (no need of a second query to update uppercats and global_rank) - for a given category, even if empty, the representing element must not be the one of a forbidden category for the current user - generation time optionnaly displayed on the bottom of each page becomes more price : number of SQL queries and SQL time added. git-svn-id: http://piwigo.org/svn/trunk@659 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/default/admin/update.tpl | 39 +++++++++++++++++++++++++++++++-------- template/default/footer.tpl | 2 +- 2 files changed, 32 insertions(+), 9 deletions(-) (limited to 'template/default') diff --git a/template/default/admin/update.tpl b/template/default/admin/update.tpl index ce4e31a24..1f5dbee2e 100644 --- a/template/default/admin/update.tpl +++ b/template/default/admin/update.tpl @@ -7,6 +7,8 @@
  • @@ -17,15 +19,15 @@
  • - {L_UPDATE_CATS_SUBSET} + {L_UPDATE_CATS_SUBSET}
    + + {L_SEARCH_SUBCATS_INCLUDED}
  • - - {L_SEARCH_SUBCATS_INCLUDED}

    @@ -36,6 +38,27 @@
  • {update.NB_NEW_ELEMENTS} {L_NB_NEW_ELEMENTS}
  • {update.NB_DEL_CATEGORIES} {L_NB_DEL_CATEGORIES}
  • {update.NB_DEL_ELEMENTS} {L_NB_DEL_ELEMENTS}
  • +
  • {update.NB_ERRORS} {L_UPDATE_NB_ERRORS}
  • -{update.CATEGORIES} + +
    {L_UPDATE_ERROR_LIST_TITLE}
    + +
    {L_UPDATE_ERRORS_CAPTION}
    + + + +
    {L_UPDATE_INFOS_TITLE}
    + + diff --git a/template/default/footer.tpl b/template/default/footer.tpl index 190f3f2b2..be201d51f 100644 --- a/template/default/footer.tpl +++ b/template/default/footer.tpl @@ -1,6 +1,6 @@