From 72654a1b248d637e253ce070bc3ab049a8ab7dd8 Mon Sep 17 00:00:00 2001 From: Roy Johnson Date: Thu, 15 Jun 2006 18:18:19 +0000 Subject: [PATCH] Exposed new template variables to the DataForm Added Delete confirmation prompts for deleting data form entries and deleting all entries Fixed deleteEntry method to return the view instead of a blank page. Removed deleteAllEntries method because nothing was using it Fixed deleteAllEntriesConfirm method Added hasEntries method Adjusted Dataform view templates to use new vars --- docs/upgrades/templates-6.99.4/data_list.tmpl | 7 ++- .../templates-6.99.4/default_dataform.tmpl | 7 ++- lib/WebGUI/Asset/Wobject/DataForm.pm | 44 ++++++++++++++----- lib/WebGUI/i18n/English/Asset_DataForm.pm | 9 +++- 4 files changed, 49 insertions(+), 18 deletions(-) diff --git a/docs/upgrades/templates-6.99.4/data_list.tmpl b/docs/upgrades/templates-6.99.4/data_list.tmpl index ee16ee998..50f32d8a4 100644 --- a/docs/upgrades/templates-6.99.4/data_list.tmpl +++ b/docs/upgrades/templates-6.99.4/data_list.tmpl @@ -6,11 +6,9 @@
- - - • - • + + • @@ -41,6 +39,7 @@ + ~~~