version 1.83, 2009/03/27 13:50:36
|
version 1.84, 2009/03/27 15:46:38
|
Line 238 if ($target ne 'tex') {
|
Line 238 if ($target ne 'tex') {
|
#--------Functions |
#--------Functions |
if ($target ne 'tex') { |
if ($target ne 'tex') { |
if($allowed || $privileged){ |
if($allowed || $privileged){ |
&Apache::lontemplate::start_functionslist($r); |
$r->print(&Apache::lontemplate::start_functionslist()); |
if($allowed){ |
if($allowed){ |
&Apache::lontemplate::item_functionslist($r,'<a href="'.$r->uri.'?forcestudent=1">'.&mt('Show Public View').'</a>'.&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView')); |
$r->print(&Apache::lontemplate::item_functionslist( |
|
'<a href="'.$r->uri.'?forcestudent=1">'.&mt('Show Public View').'</a>' |
|
.&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView'))); |
}elsif($privileged){ |
}elsif($privileged){ |
&Apache::lontemplate::item_functionslist($r,'<a href="'.$r->uri.'?forceedit=1">'.&mt('Edit').'</a>'); |
$r->print(&Apache::lontemplate::item_functionslist( |
|
'<a href="'.$r->uri.'?forceedit=1">'.&mt('Edit').'</a>')); |
} |
} |
&Apache::lontemplate::end_functionslist($r); |
$r->print(&Apache::lontemplate::end_functionslist()); |
} |
} |
} |
} |
#----------------------------Print Headtitle |
#----------------------------Print Headtitle |