Merge branch 'wip-MDL-46703-m27' of git://github.com/marinaglancy/moodle into MOODLE_27_STABLE

This commit is contained in:
Damyon Wiese
2014-08-25 13:53:52 +08:00
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -63,6 +63,7 @@
#page-mod-data-templates .template_heading {
text-align:center;
}
#page-mod-data-templates #availabletags_wrapper {max-width:250px;}
.dir-rtl .mod-data-default-template .template-field {text-align:left;}
.dir-rtl .mod-data-default-template .template-token {text-align:right;}
+2 -1
View File
@@ -234,7 +234,7 @@ if ($mode != 'csstemplate' and $mode != 'jstemplate') {
echo $OUTPUT->help_icon('availabletags', 'data');
echo '<br />';
echo '<div class="no-overflow" id="availabletags_wrapper">';
echo '<select name="fields1[]" id="availabletags" size="12" onclick="insert_field_tags(this)">';
$fields = $DB->get_records('data_fields', array('dataid'=>$data->id));
@@ -291,6 +291,7 @@ if ($mode != 'csstemplate' and $mode != 'jstemplate') {
}
echo '</select>';
echo '</div>';
echo '<br /><br /><br /><br /><input type="submit" name="defaultform" value="'.get_string('resettemplate','data').'" />';
echo '<br /><br />';
if ($usehtmleditor) {