From fef111472c88c13b2cf207f98bd8a5622ece8739 Mon Sep 17 00:00:00 2001 From: David Monllao Date: Thu, 21 Apr 2016 14:48:01 +0800 Subject: [PATCH] MDL-51603 dataformats: Using the long name instead of the short one --- lib/outputrenderers.php | 2 +- lib/templates/dataformat_selector.mustache | 24 ++++++++++++---------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 7495155c8d9..845ff1bc44d 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1893,7 +1893,7 @@ class core_renderer extends renderer_base { if ($format->is_enabled()) { $options[] = array( 'value' => $format->name, - 'label' => get_string('shortname', $format->component), + 'label' => get_string('dataformat', $format->component), ); } } diff --git a/lib/templates/dataformat_selector.mustache b/lib/templates/dataformat_selector.mustache index 96c713a3a22..e961ae1194d 100644 --- a/lib/templates/dataformat_selector.mustache +++ b/lib/templates/dataformat_selector.mustache @@ -30,15 +30,17 @@ * submit }}
- - - - - {{#params}} - - {{/params}} +
+ + + + + {{#params}} + + {{/params}} +