version 1.207, 2005/10/31 18:52:22
|
version 1.208, 2005/11/04 20:52:35
|
Line 1721 sub checkonthis {
|
Line 1721 sub checkonthis {
|
|
|
|
|
# |
# |
|
# ----------------------------------------------------------------- List Symbs |
|
# |
|
sub list_symbs { |
|
my $r=shift; |
|
my $html=&Apache::lonxml::xmlbegin(); |
|
$r->print($html.'<head><title>Symb List</title></head>'. |
|
&Apache::loncommon::bodytag('Symb List')); |
|
my $navmap = Apache::lonnavmaps::navmap->new(); |
|
$r->print("<pre>\n"); |
|
foreach my $res ($navmap->retrieveResources()) { |
|
$r->print($res->compTitle()."\t".$res->symb()."\n"); |
|
} |
|
$r->print("\n</pre>\n"); |
|
$r->print('<a href="/adm/coursedocs">'.&mt('Return to DOCS').'</a>'); |
|
} |
|
|
|
|
|
# |
# -------------------------------------------------------------- Verify Content |
# -------------------------------------------------------------- Verify Content |
# |
# |
sub verifycontent { |
sub verifycontent { |
Line 2087 sub handler {
|
Line 2105 sub handler {
|
|
|
if ($env{'form.verify'}) { |
if ($env{'form.verify'}) { |
&verifycontent($r); |
&verifycontent($r); |
|
} elsif ($env{'form.listsymbs'}) { |
|
&list_symbs($r); |
} elsif ($env{'form.versions'}) { |
} elsif ($env{'form.versions'}) { |
&checkversions($r); |
&checkversions($r); |
} elsif ($env{'form.dumpcourse'}) { |
} elsif ($env{'form.dumpcourse'}) { |
Line 2454 ENDNEWSCRIPT
|
Line 2474 ENDNEWSCRIPT
|
my %lt=&Apache::lonlocal::texthash( |
my %lt=&Apache::lonlocal::texthash( |
'vc' => 'Verify Content', |
'vc' => 'Verify Content', |
'cv' => 'Check/Set Resource Versions', |
'cv' => 'Check/Set Resource Versions', |
|
'ls' => 'List Symbs', |
); |
); |
|
|
my $folderpath=$env{'form.folderpath'}; |
my $folderpath=$env{'form.folderpath'}; |
Line 2488 $uploadtag
|
Line 2509 $uploadtag
|
<input type="submit" name="versions" value="$lt{'cv'}" />$help{'Check_Resource_Versions'} |
<input type="submit" name="versions" value="$lt{'cv'}" />$help{'Check_Resource_Versions'} |
$dumpbut |
$dumpbut |
$exportbut |
$exportbut |
</td></tr></table> |
</td><!-- <td bgcolor="#DDDDCC"> |
|
<input type="submit" name="listsymbs" value="$lt{'ls'}" /> |
|
</td>--></tr></table> |
</form> |
</form> |
ENDCOURSEVERIFY |
ENDCOURSEVERIFY |
$r->print(&Apache::loncommon::help_open_topic('Docs_Adding_Course_Doc', |
$r->print(&Apache::loncommon::help_open_topic('Docs_Adding_Course_Doc', |