version 1.42, 2006/10/23 18:48:47
|
version 1.44, 2007/07/03 00:12:30
|
Line 266 sub handler {
|
Line 266 sub handler {
|
if ($allowed) { |
if ($allowed) { |
$r->print('<br /><textarea cols="80" rows="10" name="'.$field.'">'. |
$r->print('<br /><textarea cols="80" rows="10" name="'.$field.'">'. |
&HTML::Entities::encode($syllabus{$field},'&"<>'). |
&HTML::Entities::encode($syllabus{$field},'&"<>'). |
'</textarea><input type="submit" name="storesyl" value="'.&mt('Store').'" />'); |
'</textarea><input type="submit" name="storesyl" value="'.&mt('Save').'" />'); |
} |
} |
} else { |
} else { |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
Line 278 sub handler {
|
Line 278 sub handler {
|
$r->print( |
$r->print( |
'<br />'.&mt('Topic').'<br /><textarea cols="80" rows="2" name="'.$field.'">'. |
'<br />'.&mt('Topic').'<br /><textarea cols="80" rows="2" name="'.$field.'">'. |
&HTML::Entities::encode($syllabus{$field},'&"<>'). |
&HTML::Entities::encode($syllabus{$field},'&"<>'). |
'</textarea><input type="submit" name="storesyl" value="'.&mt('Store').'" />'); |
'</textarea><input type="submit" name="storesyl" value="'.&mt('Save').'" />'); |
} |
} |
} |
} |
} |
} |