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
This commit is contained in:
Roy Johnson 2006-06-15 18:18:19 +00:00
parent 349cf454e8
commit 72654a1b24
4 changed files with 49 additions and 18 deletions

View file

@ -25,7 +25,14 @@ our $I18N = {
message => q|Field Name|,
lastUpdated => 1031514049
},
'confirm delete all' => {
message => q|Are you sure you want to DELETE all of this Data Form\'s entries permanently?|,
lastUpdated => 1031514049
},
'confirm delete one' => {
message => q|Are you sure you want to DELETE this entry permanently?|,
lastUpdated => 1031514049
},
'71' => {
message => q|
<p>This Asset creates a simple multipurpose data-entry and display