Revision 1519ec69
Added by Hamish Coleman over 17 years ago
- ID 1519ec6930f9f3f7c487edce076336fb13153370
mrtg.cgi | ||
---|---|---|
print "USETEXTLINKS = 1\n";
|
||
print "STARTALLOPEN = 0\n";
|
||
print "ICONPATH = ''\n";
|
||
print 'foldersTree = gFld("<i>Treeview Demo</i>", "javascript:true")',"\n";
|
||
print 'foldersTree = gFld("<i>MRTG Tree</i>", "javascript:parent.op()")',"\n";
|
||
print 'foldersTree.treeID = "Frameset"',"\n";
|
||
|
||
# print contents
|
||
for my $i (sort keys %{$lists}) {
|
||
|
||
print "m$i = insFld(foldersTree, gFld(\"$i\", \"javascript:true\"))\n";
|
||
print "m$i = insFld(foldersTree, gFld(\"$i\", \"javascript:parent.op()\"))\n";
|
||
|
||
for my $j (sort keys %{$lists->{$i}}) {
|
||
print "insDoc(m$i, gLnk(\"R\", \"$j\", \"?page=list&list=$i,$j\"))\n";
|
||
... | ... | |
print "</script>\n";
|
||
print '<frameset cols="200,*">'; # FIXME onresize if navigator.family==nn4
|
||
print '<frame src="?page=treemenu" name=treeframe>';
|
||
print '<frame src="javascript:true" name=basefrm>';
|
||
print '<frame src="javascript:parent.op()" name=basefrm>';
|
||
print "</frameset>\n";
|
||
print "</html>\n";
|
||
|
Also available in: Unified diff
cleanup naming and empty pages