# FILE: src-board-subs-3 # Copyright (c) 1998, Kevin W. Paulisse and William F. Polik, all rights reserved # Licensed under the Discus license agreement # http://www.chem.hope.edu/discus #---SEPARATOR---# sub page_mgr_1 { local ($username) = @_; local ($append,$owntopic,$tc); &header; print "
\n"; open (FILE, "$message_dir/board-topics.html") || &error_message("File Error", "Could not open top file (board-topics.html):
$!! "); @lines =
Topic | Group | ||
"; print "$fs$topic_name"; print " | $fs\u$owner | ||
$fs", "You aren't authorized to edit any topics!!!\n";
if ($tc == 0 && $username eq $superuser) {
print " Note that this is because there are not any topics created yet. You need\n"; print "to use the 'Board Manager' to create topics. For more information,\n"; print "consult the Superuser Getting Started Tutorial! \n"; } print " |
$fs";
print " "; print "\n"; print " "; print "("; print "Go to this page on the board) \n"; print " "; print "("; print "Show all subtopics) \n"; if ($parent_number > 0 && $parent_number != $me_number) { open (PARENT, "$message_dir/$topic_number/$parent_number.$ext"); @parent = \n"; @parent = (" \n"; } elsif ($line =~ / \n"; } else { print " $name \n"; undef @me_children; foreach $line (@me) { $lastme = $1 if $line =~ //; } foreach $line (@me) { if ($line =~ / \n"; } elsif ($line =~ / \n/) { push (@me_children, "0$1:$2!$3"); } } } } } print " | \n";
print "$fs\n";
print "";
print "Quick Options \n"; print "[Subtopics] \n" if $param =~ /Sub/; print "[Add a Subtopic] \n" if $param =~ /Sub/; print "[About Message] \n" if $param =~ /About/; print "[Messages] \n" if $param =~ /Message/; print "[Add a Message] \n" if $param =~ /Message/; print "[Page Layout] \n"; print " |