version 1.209, 2007/06/15 23:01:07
|
version 1.212, 2008/03/06 20:20:18
|
Line 839 sub report_bombs {
|
Line 839 sub report_bombs {
|
&Apache::lonmsg::clear_author_res_msg($uri); |
&Apache::lonmsg::clear_author_res_msg($uri); |
} |
} |
my $clear=&mt('Clear all Messages in Subdirectory'); |
my $clear=&mt('Clear all Messages in Subdirectory'); |
$r->print(<<ENDCLEAR); |
my $cancel=&mt('Back to Directory'); |
|
my $cancelurl=$uri; |
|
$cancelurl=~s/^\Q$domain\E/\/priv/; |
|
$r->print(<<ENDCLEAR); |
<form method="post"> |
<form method="post"> |
<input type="submit" name="clearbombs" value="$clear" /> |
<input type="submit" name="clearbombs" value="$clear" /> |
</form> |
<a href="$cancelurl">$cancel</a> |
|
</form><hr /> |
ENDCLEAR |
ENDCLEAR |
my %brokenurls = |
my %brokenurls = |
&Apache::lonmsg::all_url_author_res_msg($author,$domain); |
&Apache::lonmsg::all_url_author_res_msg($author,$domain); |
Line 1074 sub print_dynamic_metadata {
|
Line 1078 sub print_dynamic_metadata {
|
$table .= '</table>'.$/; |
$table .= '</table>'.$/; |
$r->print($table); |
$r->print($table); |
} else { |
} else { |
$r->print('No new dynamic data found.'); |
$r->print(&mt('No new dynamic data found.')); |
} |
} |
} else { |
} else { |
$r->print('<h4>'. |
$r->print('<h4>'. |
Line 1221 ENDDEL
|
Line 1225 ENDDEL
|
} |
} |
$r->print('<br />'.$bombs); |
$r->print('<br />'.$bombs); |
} else { |
} else { |
my $displayfile='Catalog Information for '.$disuri; |
my $displayfile=&mt('Catalog Information for [_1]',$disuri); |
if ($disuri=~/\/default$/) { |
if ($disuri=~/\/default$/) { |
my $dir=$disuri; |
my $dir=$disuri; |
$dir=~s/default$//; |
$dir=~s/default$//; |
$displayfile= |
$displayfile=&mt('Default Cataloging Information for Directory [_1]',$dir); |
&mt('Default Cataloging Information for Directory').' '. |
|
$dir; |
|
} |
} |
%Apache::lonpublisher::metadatafields=(); |
%Apache::lonpublisher::metadatafields=(); |
%Apache::lonpublisher::metadatakeys=(); |
%Apache::lonpublisher::metadatakeys=(); |
Line 1332 ENDEDIT
|
Line 1334 ENDEDIT
|
".description"}.'</strong>').'<br />'); |
".description"}.'</strong>').'<br />'); |
} |
} |
} else { |
} else { |
$r->print('<a href="'.$uri.'?changecourse=true">This resource is not associated with a course.</a><br />'); |
$r->print('<a href="'.$uri.'?changecourse=true">'.&mt('This resource is not associated with a course.').'</a><br />'); |
} |
} |
} |
} |
if (@added_order) { |
if (@added_order) { |