From a72e67e63dff013b12f68ddec86aeecf8dac450c Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 16 Apr 2008 12:30:26 +0000 Subject: [PATCH] MDL-14388 shuffling the field/butting lists a bit; merged from MOODLE_19_STABLE --- lang/en_utf8/data.php | 3 ++- mod/data/templates.php | 17 +++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/lang/en_utf8/data.php b/lang/en_utf8/data.php index c33562f813..015c9ee505 100644 --- a/lang/en_utf8/data.php +++ b/lang/en_utf8/data.php @@ -24,7 +24,7 @@ $string['availablefromdate'] = 'Available from'; $string['availabletags'] = 'Available tags'; $string['availabletodate'] = 'Available to'; $string['blank'] = 'Blank'; -$string['buttons'] = 'Buttons'; +$string['buttons'] = 'Actions'; $string['bynameondate'] = 'by $a->name - $a->date'; $string['cancel'] = 'Cancel'; $string['checkbox'] = 'Checkbox'; @@ -175,6 +175,7 @@ $string['numnotapproved'] = 'Pending'; $string['numrecords'] = '$a entries'; $string['optionaldescription'] = 'Short description (optional)'; $string['optionalfilename'] = 'Filename (optional)'; +$string['other'] = 'Other'; $string['overwrite'] = 'Overwrite'; $string['pagesize'] = 'Entries per page'; $string['participants'] = 'Participants'; diff --git a/mod/data/templates.php b/mod/data/templates.php index 3ad7c966b2..2ec039c766 100755 --- a/mod/data/templates.php +++ b/mod/data/templates.php @@ -200,7 +200,7 @@ echo '
'; - echo ''; $fields = get_records('data_fields', 'dataid', $data->id); echo ''; @@ -226,22 +226,27 @@ echo ''; echo ''; echo ''; + if ($mode != 'singletemplate') { + // more points to single template - not useable there + echo ''; + echo ''; + } + echo ''; + echo ''; echo ''; echo ''; echo ''; if ($mode != 'singletemplate') { // more points to single template - not useable there - echo ''; - echo ''; echo ''; } echo ''; } if ($mode == 'asearchtemplate') { - echo ''; - echo ''; - echo ''; + echo ''; + echo ''; + echo ''; echo ''; } -- 2.39.5