version 1.24, 2003/09/21 21:40:06
|
version 1.25, 2003/10/04 20:49:40
|
Line 176 ENDDOCUMENT
|
Line 176 ENDDOCUMENT
|
# ---------------------------------------------------------------- Get syllabus |
# ---------------------------------------------------------------- Get syllabus |
if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) { |
if (($syllabus{'uploaded.lastmodified'}) || ($allowed)) { |
my $lastmod=$syllabus{'uploaded.lastmodified'}; |
my $lastmod=$syllabus{'uploaded.lastmodified'}; |
$lastmod=($lastmod?localtime($lastmod):'never'); |
$lastmod=($lastmod?&Apache::lonlocal::locallocaltime($lastmod):&mt('never')); |
|
|
$r->print('<table><tr><td>'.&mt('Uploaded').':</td><td>'. |
$r->print('<table><tr><td>'.&mt('Uploaded').':</td><td>'. |
&Apache::loncommon::aboutmewrapper( |
&Apache::loncommon::aboutmewrapper( |
&Apache::loncommon::plainname($syllabus{'uploaded.name'}, |
&Apache::loncommon::plainname($syllabus{'uploaded.name'}, |
$syllabus{'uploaded.domain'}),$syllabus{'uploaded.name'}, |
$syllabus{'uploaded.domain'}),$syllabus{'uploaded.name'}, |
$syllabus{'uploaded.domain'}). |
$syllabus{'uploaded.domain'}). |
'</td></tr><tr><td>Last updated:</td><td>'. |
'</td></tr><tr><td>'.&mt('Last updated').':</td><td>'. |
$lastmod. |
$lastmod. |
'</td></tr></table><p>'); |
'</td></tr></table><p>'); |
if ($allowed) { |
if ($allowed) { |