Index: openacs-4/packages/acs-core-docs/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/index.adp,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-core-docs/www/index.adp 16 Jan 2003 13:30:03 -0000 1.8 +++ openacs-4/packages/acs-core-docs/www/index.adp 12 Feb 2003 09:58:06 -0000 1.9 @@ -18,39 +18,47 @@ </td></tr> </table> -<table border="1" cellpadding="8" cellspacing="0" width="80%"> +<table border="1" cellpadding="8" cellspacing="0" width="100%"> <tr> -<td class="codeblock"><strong>Basic OpenACS</strong> +<td><strong>Basic OpenACS</strong> </td> -<td class="codeblock"><strong>Package Documentation</strong></td> +<td><strong>Package Documentation</strong></td> </tr> <tr><td valign="top"> -<pre><strong>For Everyone</strong> - - <a href="release-notes.html">OpenACS 4.6 Release Notes</a> - - Older Release Notes +<strong>For Everyone</strong> + <ul> + <li><a href="release-notes.html">OpenACS 4.6 Release Notes</a></li> + </ul> + + <a href="acs-admin.html"><strong>For OpenACS-admins</strong></a> + <ul> + <li><a href="unix-install.html">Unix Installation Guide</a></li> + <li><a href="win-install.html">Windows Installation Guide</a></li> + </ul> -<a href="acs-admin.html"><strong>For OpenACS-admins</strong></a> - - <a href="unix-install.html">Unix Installation Guide</a> - - <a href="win-install.html">Windows Installation Guide</a> + <a href="acs-dev.html"><strong>For Developers</strong></a> + <ul> + <li><a href="kernel-doc.html">Kernel Documentation</a></li> + <li><a href="dev-guide.html">Developers Guide</a></li> + <li><a href="eng-standards.html">Engineering Standards</a></li> + <li><a href="/api-doc/">API Browser</a> for this OpenACS instance</li> + <li><a href="more-developer-info.html">Other Developer Resources</a></li> + </ul> -<a href="acs-dev.html"><strong>For Developers</strong></a> - - <a href="kernel-doc.html">Kernel Documentation</a> - - <a href="dev-guide.html">Developers Guide</a> - - <a href="eng-standards.html">Engineering Standards</a> - - <a href="/api-doc/">API Browser</a> for this OpenACS instance - - <a href="more-developer-info.html">Other Developer Resources</a> - <strong>Primers and References</strong> - - <a href="http://aolserver.com/docs/">AOLserver Documentation</a> - (the <a href="http://aolserver.com/docs/devel/tcl/api/">Tcl Developer's Guide</a> in particular.) - - <a href="http://philip.greenspun.com/tcl/">Tcl for Web Nerds</a> - - <a href="http://philip.greenspun.com/sql/">SQL for Web Nerds</a> -</pre></td> + <ul> + <li><a href="http://aolserver.com/docs/">AOLserver Documentation</a></li> + (the <a href="http://aolserver.com/docs/devel/tcl/api/">Tcl Developer's Guide</a> in particular.)</li> + <li><a href="http://philip.greenspun.com/tcl/">Tcl for Web Nerds</a></li> + <li><a href="http://philip.greenspun.com/sql/">SQL for Web Nerds</a></li> + </ul> +</td> + <td valign="top"> -<pre> + <% # This block of ADP code ensures that the Installer can still serve this # page even without a working templating system. @@ -61,47 +69,50 @@ db_foreach get_installed_pkgs "select package_key, pretty_name from apm_package_types order by upper(pretty_name) " { if { ! $found_p } { set found_p 1 - adp_puts "<strong>Installed Packages</strong>\n\n" + adp_puts "<strong>Installed Packages</strong>\n\n<ul>\n" } set index_page [lindex [glob -nocomplain \ "[acs_package_root_dir $package_key]/www/doc/index.*"] 0] if { [file exists $index_page] } { if {![empty_string_p $pretty_name]} { - adp_puts "- <a href=\"/doc/$package_key/\">$pretty_name</a>\n" + adp_puts "<li><a href=\"/doc/$package_key/\">$pretty_name</a></li>\n" } else { - adp_puts "- <a href=\"/doc/$package_key/\">$package_key</a>\n" + adp_puts "<li><a href=\"/doc/$package_key/\">$package_key</a></li>\n" } } else { if {![empty_string_p $pretty_name]} { - adp_puts "- $pretty_name\n" + adp_puts "<li>$pretty_name</li>\n" } else { - adp_puts "- $package_key\n" + adp_puts "<li>$package_key</li>\n" } } } } if {!$found_p} { - adp_puts "- No installed packages.\n" + adp_puts "(no installed packages)<p>\n" +} else { + adp_puts "</ul>\n" } set packages [core_docs_uninstalled_packages] if { ! [empty_string_p $packages] } { - adp_puts "\n<strong>Uninstalled packages</strong>\n\n" + adp_puts "\n<strong>Uninstalled packages</strong>\n\n<ul>\n" foreach {key name} $packages { set index_page [lindex [glob -nocomplain \ "[acs_package_root_dir $key]/www/doc/index.*"] 0] if { [file exists $index_page] } { - adp_puts "- <a href=\"$key\">$name</a>\n" + adp_puts "<li><a href=\"$key\">$name</a></li>\n" } else { - adp_puts "- $name\n" + adp_puts "<li>$name</li>\n" } } + adp_puts "</ul>\n" } %> -</pre> + </td> </tr> </table>