");
+}
+
sub print_field_sortable {
my ($r, $data_ref, $target, $allowed, $default_rich_text, $group) = @_;
my %data = %{$data_ref};
my @fields = @{thaw($data{'data.fields'})};
$r->print("
-
\n");
foreach my $key (@fields) {
my %field = %{thaw($data{'data.field.'.$key})};
- $r->print("
$field{title}
\n");
+ $r->print("
$field{title}
\n");
}
$r->print("
-
+
+
+
+
\n");
}
@@ -753,16 +843,16 @@ sub print_template_new_fields {
if ($target ne 'tex') {
#output of syllabusfields will be generated here.
&Apache::lontemplate::print_start_template($r,$title,'LC_Box', 'box-'.$key);
- $r->print($message);
+ #$r->print($message);
if ($allowed) {
- $r->print("
");
+ $r->print("
");
&Apache::lontemplate::print_textarea_template($r, $raw_message,
$key, $default_rich_text);
- &Apache::lontemplate::print_saveall_template($r);
- if (!exists($data{'properties.v2_converted'})) {
- $r->print("Delete ");
- $r->print("Rename to \"Hello, World!\"");
- }
+# &Apache::lontemplate::print_saveall_template($r);
+# if (!exists($data{'properties.v2_converted'})) {
+# $r->print("Delete ");
+# $r->print("Rename to \"Hello, World!\"");
+# }
$r->print("