[Koha-patches] [PATCH] Fix for Bug 6768, Two unused include files can be removed

Owen Leonard oleonard at myacpl.org
Tue Aug 23 20:53:18 CEST 2011


Removing error-top.inc and error-bottom.inc
---
 .../prog/en/includes/error-bottom.inc              |   16 -----
 .../intranet-tmpl/prog/en/includes/error-top.inc   |   65 --------------------
 2 files changed, 0 insertions(+), 81 deletions(-)
 delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/error-bottom.inc
 delete mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/error-top.inc

diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/error-bottom.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/error-bottom.inc
deleted file mode 100644
index 1e41bf3..0000000
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/error-bottom.inc
+++ /dev/null
@@ -1,16 +0,0 @@
-<br clear="all" />
-
-<div class="center">
-<a href="/cgi-bin/koha/mainpage.pl">Home</a> ||
-<a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a> ||
-<a href="/cgi-bin/koha/members/members-home.pl">Members</a> ||
-<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a> ||
-<a href="/cgi-bin/koha/circ/circulation.pl">Circulation</a> ||
-<a href="/cgi-bin/koha/reports-home.pl">Reports</a> ||
-<a href="/cgi-bin/koha/admin-home.pl">Parameters</a> ||
-<a href="/cgi-bin/koha/about.pl">About Koha</a> || 
-Help
-</div>
-
-</body>
-</html>
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/error-top.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/error-top.inc
deleted file mode 100644
index 5d9cea7..0000000
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/error-top.inc
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN"
-    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>KOHA: INTRANET: Catalog</title>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
-<script language="JavaScript">
-<!-- Hide from old browsers
-function openWindow(targeturl, windowname) {
-newwin =
-window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
-}
-// end hiding -->
-</script>
-
-<script language="JavaScript" type="text/javascript">
-function Help() {
-	newin=window.open("/cgi-bin/koha/help.pl","KohaHelp",'width=600,height=600,toolbar=false,scrollbars=yes');
-}
-</script>
-
-<link rel="stylesheet" type="text/css" href="[% themelang %]/css/staff.css" />
-<style type="text/css">
-.catalogue {
-	background-color:#ad11ad;
-	color:#FFFFFF;
-	background-image:none;
-	text-decoration: normal;
-	}
-a.catalogue:hover {
-	background-color: #ad11ad;
-	color: #FFFFFF;
-	text-decoration: none;
-	}
-</style>
-</head>
-
-<body>
-<!-- MENUS -->
-<div id="menubar">
-	<span class="koha">KOHA</span>
-	<span class="koha"><a class="home" href="/cgi-bin/koha/mainpage.pl">Koha</a></span>
-	<a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
-	<a href="/cgi-bin/koha/catalogue/search.pl">Catalog</a>
-	<a  href="/cgi-bin/koha/circ/circulation.pl">Circulation</a>
-	<a class="members" href="/cgi-bin/koha/members/members-home.pl">Members</a>
-	<a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl">Authorities</a>
-	<a class="reports" href="/cgi-bin/koha/reports-home.pl">Reports</a>
-	<a class="parameters" href="/cgi-bin/koha/admin-home.pl">Parameters</a>
-	<a class="about" href="/cgi-bin/koha/about.pl">About</a>
-	<a href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Help</a>
-</div>
-<div id="submenu">
-	<span class="koha">options &gt;&gt;&nbsp;&nbsp;</span>
-	<a href="/cgi-bin/koha/catalogue/search.pl" class="submenu2">search</a>
-	<a href="/cgi-bin/koha/virtualshelves/shelves.pl" class="submenu">Lists</a>
-	<a href="/cgi-bin/koha/cataloguing/addbiblio.pl" class="submenu2">Add biblio</a>
-	<a href="/cgi-bin/koha/maint/catmaintain.pl" class="submenu">Cat maintenance</a>
-</div>
-[% IF ( loggedinusername ) %]
-    <p align="left">Logged in as: [% loggedinusername %] [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
-[% ELSE %]
-    <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
-[% END %]
-- 
1.7.3



More information about the Koha-patches mailing list