summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/calendar-setup.js2
-rw-r--r--httemplate/elements/calendar.js2
-rw-r--r--httemplate/elements/header.html19
-rw-r--r--httemplate/elements/menubar.html8
-rw-r--r--httemplate/elements/pager.html42
-rw-r--r--httemplate/elements/table.html8
6 files changed, 2 insertions, 79 deletions
diff --git a/httemplate/elements/calendar-setup.js b/httemplate/elements/calendar-setup.js
index 0dc3caa00..6f1d7a232 100644
--- a/httemplate/elements/calendar-setup.js
+++ b/httemplate/elements/calendar-setup.js
@@ -19,7 +19,7 @@
* than modifying calendar.js itself).
*/
-// $Id: calendar-setup.js,v 1.3 2003-11-07 10:53:35 ivan Exp $
+// $Id: calendar-setup.js,v 1.1.2.2 2003-11-07 10:53:36 ivan Exp $
/**
* This function "patches" an input field (or other element) to use a calendar
diff --git a/httemplate/elements/calendar.js b/httemplate/elements/calendar.js
index 3c028cc76..9503f3957 100644
--- a/httemplate/elements/calendar.js
+++ b/httemplate/elements/calendar.js
@@ -10,7 +10,7 @@
* Read the entire license text here: http://www.gnu.org/licenses/lgpl.html
*/
-// $Id: calendar.js,v 1.3 2003-11-07 10:53:35 ivan Exp $
+// $Id: calendar.js,v 1.1.2.2 2003-11-07 10:53:36 ivan Exp $
/** The Calendar object constructor. */
Calendar = function (mondayFirst, dateStr, onSelected, onClose) {
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html
deleted file mode 100644
index 581bbabc7..000000000
--- a/httemplate/elements/header.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<%
- my($title, $menubar) = @_;
- my $etc = @_ ? shift : ''; #$etc is for things like onLoad= etc.
-%>
- <HTML>
- <HEAD>
- <TITLE>
- <%= $title %>
- </TITLE>
- <META HTTP-Equiv="Cache-Control" Content="no-cache">
- <META HTTP-Equiv="Pragma" Content="no-cache">
- <META HTTP-Equiv="Expires" Content="0">
- </HEAD>
- <BODY BGCOLOR="#e8e8e8"<%= $etc %>>
- <FONT SIZE=7>
- <%= $title %>
- </FONT>
- <BR><BR>
- <%= $menubar ? "$menubar<BR><BR>" : '' %>
diff --git a/httemplate/elements/menubar.html b/httemplate/elements/menubar.html
deleted file mode 100644
index 87a50312c..000000000
--- a/httemplate/elements/menubar.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<%
- my($item, $url, @html);
- while (@_) {
- ($item, $url) = splice(@_,0,2);
- push @html, qq!<A HREF="$url">$item</A>!;
- }
-%>
-<%= join(' | ', @html) %>
diff --git a/httemplate/elements/pager.html b/httemplate/elements/pager.html
deleted file mode 100644
index db9ff83bf..000000000
--- a/httemplate/elements/pager.html
+++ /dev/null
@@ -1,42 +0,0 @@
-<%
-
- my %opt = @_;
-
- my $pager = '';
- if ( $opt{'total'} != $opt{'num_rows'} && $opt{'maxrecords'} ) {
- unless ( $opt{'offset'} == 0 ) {
- $cgi->param('offset', $opt{'offset'} - $opt{'maxrecords'});
-%>
-
- <A HREF="<%= $cgi->self_url %>"><B><FONT SIZE="+1">Previous</FONT></B></A>
-
-<%
- }
- my $page = 0;
- for ( my $poff = 0; $poff < $opt{'total'}; $poff += $opt{'maxrecords'} ) {
- $page++;
- if ( $opt{'offset'} == $poff ) {
-%>
-
- <FONT SIZE="+2"><%= $page %></FONT>
-
-<%
- } else {
- $cgi->param('offset', $poff);
-%>
-
- <A HREF="<%= $cgi->self_url %>">$page</A>
-
-<%
- }
- }
- unless ( $opt{'offset'} + $opt{'maxrecords'} > $opt{'total'} ) {
- $cgi->param('offset', $opt{'offset'} + $opt{'maxrecords'});
-%>
-
- <A HREF="<%= $cgi->self_url %>"><B><FONT SIZE="+1">Next</FONT></B></A>
-
-<%
- }
- }
-%>
diff --git a/httemplate/elements/table.html b/httemplate/elements/table.html
deleted file mode 100644
index 3b6108719..000000000
--- a/httemplate/elements/table.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<%
- my $color = shift;
- if ( $color ) {
-%>
- <TABLE BGCOLOR="<%= $color %>" BORDER=1 WIDTH="100%" CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">
-<% } else { %>
- <TABLE BORDER=1 CELLSPACING=0 CELLPADDING=2 BORDERCOLOR="#999999">
-<% } %>