version 1.314, 2009/07/03 14:52:47
|
version 1.317, 2010/01/30 22:40:37
|
Line 953 sub editxmlmode {
|
Line 953 sub editxmlmode {
|
&Apache::structuretags::remember_problem_state().' |
&Apache::structuretags::remember_problem_state().' |
<div class="LC_edit_problem_editxml_header"> |
<div class="LC_edit_problem_editxml_header"> |
<table class="LC_edit_problem_header_title"><tr><td> |
<table class="LC_edit_problem_header_title"><tr><td> |
'.&mt('Problem Editing').&Apache::loncommon::help_open_topic('Problem_Editor_XML_Index').' |
<h2>'.&mt('Problem Editing').' '.&Apache::loncommon::help_open_topic('Problem_Editor_XML_Index').'</h2> |
</td><td align="right"> |
</td><td align="right"> |
'.&Apache::loncommon::helpLatexCheatsheet('Problem_LON-CAPA_Functions','Script Functions').' |
'.&Apache::loncommon::helpLatexCheatsheet('Problem_LON-CAPA_Functions','Script Functions').' |
</td></tr> |
</td></tr> |
Line 971 sub editxmlmode {
|
Line 971 sub editxmlmode {
|
<input type="submit" name="submitbutton" accesskey="s" value="'.&mt('Save').'" /> |
<input type="submit" name="submitbutton" accesskey="s" value="'.&mt('Save').'" /> |
<input type="submit" name="submitbutton" accesskey="v" value="'.&mt('Save and View').'" /> |
<input type="submit" name="submitbutton" accesskey="v" value="'.&mt('Save and View').'" /> |
</div> |
</div> |
<hr /> |
<hr style="clear:both;" /> |
'.&Apache::lonxml::message_location().' |
'.&Apache::lonxml::message_location().' |
</div> |
</div> |
' . ' |
' . ' |
Line 1127 sub get_template_list {
|
Line 1127 sub get_template_list {
|
my $filename=$file->[0]; |
my $filename=$file->[0]; |
$filename=~s/^\/home\/httpd\/html//; |
$filename=~s/^\/home\/httpd\/html//; |
$result.=' <span class="LC_fontsize_small">' |
$result.=' <span class="LC_fontsize_small">' |
.'<a href="'.$filename.'" target="sample">'.&mt('Example').'</a>' |
.'<a href="'.$filename.'?inhibitmenu=yes" target="sample">'.&mt('Example').'</a>' |
.'</span><br />'."\n"; |
.'</span><br />'."\n"; |
$count ++; |
$count ++; |
} |
} |