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

« back to all changes in this revision

Viewing changes to tmp/dhelp-ruby/debian/dhelp/usr/share/dhelp/category.rhtml

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2008-06-19 01:25:07 UTC
  • Revision ID: james.westby@ubuntu.com-20080619012507-adt75omul1shucde
Tags: 0.6.9ubuntu1
* Resynchronise with Debian. Remaining changes:
  - Recommends: firefox-3.0.
  - Exit zero if the bdb module is not available; this usually indicates
    that dhelp is not configured yet.

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>