~ubuntu-branches/ubuntu/saucy/dhelp/saucy-proposed

« back to all changes in this revision

Viewing changes to category.rhtml

  • Committer: Bazaar Package Importer
  • Author(s): Esteban Manchado Velázquez
  • Date: 2007-10-20 17:35:26 UTC
  • Revision ID: james.westby@ubuntu.com-20071020173526-q1ekqfek5tlctsn1
Tags: 0.5.25
* Maintainer change.
* Rewrite dhelp_parse in Ruby. This fixes some bugs and avoids many problems
  (Closes: #21678, #268487, #62454, #312950, #442943, #444429, #193428).
* This release should be a drop-in replacement for the C version, and still
  uses the same database and internal format.
* It also adds a Ruby library, to allow other developers to write other
  programs that read and/or update the dhelp databases.
* Use "http://localhost" for CGI script URLs (Closes: #114588).
* Removed misleading dot from example (Closes: #381804).
* Uses sensible-browser instead of having its own configuration system
  (Closes: #146002, #162518, #381805, #217162, #430590).
* Clean up the HTML a bit (Closes: #438973, #134567, #115306).
* Remove references to obsolete script dh_dhelp (Closes: #369459).
* Raise title limit from 49 to 100 characters (Closes: #102393).
* Depend on doc-base, to make sure packages have their documentation
  available for dhelp (Closes: #314733, #368035).
* Wait a couple of seconds before exiting, after a fatal error, to make sure
  the user can read the error message (Closes: #35097).
* Make documentation index files world-readable, regardless of current umask
  (Closes: #158792, #430474, #430505).
* Remove obsolete script dhelp2dwww.pl, and references to it
  (Closes: #364245).
* Remove "dangerous" environment variables from dsearch, to avoid taint
  problems (Closes: #389944).
* Strip blanks from .dhelp field values (Closes: #133218).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<HTML>
 
2
<HEAD>
 
3
    <TITLE><%= @categoryTitle %></TITLE>
 
4
    <LINK REV=made HREF="mailto:dhelp@packages.debian.org">
 
5
</HEAD>
 
6
<BODY>
 
7
<IMG SRC="<%= @docPathPrefix %>dhelp/swirl.jpg"> 
 
8
<IMG SRC="<%= @docPathPrefix %>dhelp/debian.jpg" ALT="Debian GNU/Linux"> 
 
9
<H1><%= @categoryTitle %></H1>
 
10
<P>
 
11
 
 
12
<DL>
 
13
<!-- Items in this category -->
 
14
<% @itemList.each do |item| %>
 
15
<DT><IMG SRC="<%= @docPathPrefix %>dhelp/text.png"> <A HREF="<%= @docPathPrefix %><%= item.file %>"><B><%= item.name %></B></A><P></DT>
 
16
    <DD><%= item.descrip %></DD>
 
17
<% end %>
 
18
 
 
19
<!-- Directory list -->
 
20
<% Dir.entries(Dir.pwd).each do |entry| %>
 
21
    <% next if entry =~ /^\./ %>
 
22
    <% if File.directory? entry %>
 
23
        <DT><IMG SRC="<%= @docPathPrefix %>dhelp/folder.png" ALT="">
 
24
                 <A HREF="<%= entry %>/index.html"><B><%= entry %>/</B></A></DT>
 
25
                     <DD></DD>
 
26
 
 
27
    <% end %>
 
28
<% end %>
 
29
 
 
30
</DL>
 
31
<P>
 
32
<CENTER>
 
33
<FORM ACTION="/cgi-bin/dsearch">
 
34
<INPUT TYPE="text" NAME="search">
 
35
<INPUT TYPE="submit" VALUE="<%= _("Search") %>">
 
36
</FORM><BR>
 
37
[ <A HREF="http://localhost/cgi-bin/info2www"><%= _("info documents") %></A> | 
 
38
<A HREF="http://localhost/cgi-bin/man/man2html"><%= _("man pages") %></A> | 
 
39
<A HREF="../"><%= _("other documents") %></A> ]
 
40
</CENTER>
 
41
</BODY></HTML>