From 0399d6012afc315280e7884a98a66b83f340061a Mon Sep 17 00:00:00 2001 From: Katrin Fischer <Katrin.Fischer.83@web.de> Date: Wed, 21 Mar 2012 22:45:09 +0100 Subject: [PATCH] Bug 7760 - Add ids and classes to every staff page to help with customizaton (circulation) New id: circ_<filename> New class: circ --- .../intranet-tmpl/prog/en/modules/circ/billing.tt | 2 +- .../prog/en/modules/circ/bookcount.tt | 2 +- .../prog/en/modules/circ/branchoverdues.tt | 2 +- .../prog/en/modules/circ/branchtransfers.tt | 2 +- .../prog/en/modules/circ/circulation-home.tt | 2 +- .../prog/en/modules/circ/circulation.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/overdue.tt | 2 +- .../prog/en/modules/circ/pendingreserves.tt | 2 +- .../prog/en/modules/circ/printslip.tt | 2 +- .../prog/en/modules/circ/reserveratios.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- .../prog/en/modules/circ/selectbranchprinter.tt | 2 +- .../intranet-tmpl/prog/en/modules/circ/stats.tt | 2 +- .../prog/en/modules/circ/transfer-slip.tt | 3 ++- .../prog/en/modules/circ/transferstoreceive.tt | 2 +- .../prog/en/modules/circ/view_holdsqueue.tt | 2 +- .../prog/en/modules/circ/waitingreserves.tt | 2 +- 17 files changed, 18 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/billing.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/billing.tt index a24c99a..f1f1d82 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/billing.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/billing.tt @@ -8,7 +8,7 @@ <script type="text/javascript" src="[% themelang %]/lib/calendar/calendar-setup.js"></script> <!-- End of additions --> </head> -<body> +<body id="circ_billing" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt index 43ef0c9..bd1764b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/bookcount.tt @@ -8,7 +8,7 @@ $(document).ready(function(){ }); </script> </head> -<body> +<body id="circ_bookcount" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt index a8a8912..87eeac6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchoverdues.tt @@ -2,7 +2,7 @@ <title>Koha › Circulation › Overdues at [% LoginBranchname %]</title> [% INCLUDE 'doc-head-close.inc' %] </head> -<body> +<body id="circ_branchoverdues" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt index 097089a..a8fc073 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -2,7 +2,7 @@ <title>Koha › Circulation › Transfers</title> [% INCLUDE 'doc-head-close.inc' %] </head> -<body> +<body id="circ_branchtransfers" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt index 6e7ae45..bdd735d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation-home.tt @@ -2,7 +2,7 @@ <title>Koha › Circulation</title> [% INCLUDE 'doc-head-close.inc' %] </head> -<body> +<body id="circ_circulation-home" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt index 1d0e07a..eaa4a8d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt @@ -157,7 +157,7 @@ function refocus(calendar) { </script> [% INCLUDE 'calendar.inc' %] </head> -<body> +<body id="circ_circulation" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt index fec6e82..79692b3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/overdue.tt @@ -71,7 +71,7 @@ </style> [% INCLUDE 'calendar.inc' %] </head> -<body> +<body id="circ_overdue" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt index 634bab9..426f06d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/pendingreserves.tt @@ -46,7 +46,7 @@ $(document).ready(function() { //]]> </script> </head> -<body> +<body id="circ_pendingreserves" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt index a790069..3e60d73 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/printslip.tt @@ -14,7 +14,7 @@ } </script> </head> -<body onload="printThenClose();"> +<body id="circ_printslip" class="circ" onload="printThenClose();"> <div id="receipt"> [% IF plain %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt index 8fe571b..da6292d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/reserveratios.tt @@ -40,7 +40,7 @@ $.tablesorter.addParser({ .ratiolimit { color: blue; cursor: pointer; } </style> </head> -<body> +<body id="circ_reserveratios" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 65ce0f6..c282652 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -41,7 +41,7 @@ function Dopop(link) { //]]> </script> </head> -<body> +<body id="circ_returns" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'checkin-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt index 9b77e68..2f842bc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/selectbranchprinter.tt @@ -5,7 +5,7 @@ .noshow {display: none;} </style> </head> -<body> +<body id="circ_selectbranchprinter" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/stats.tt index 880a096..d62c1af 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/stats.tt @@ -2,7 +2,7 @@ <title>Koha › Circulation › Statistics</title> [% INCLUDE 'doc-head-close.inc' %] </head> -<body> +<body id="circ_stats" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfer-slip.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfer-slip.tt index 9d9ac99..d448186 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfer-slip.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transfer-slip.tt @@ -9,7 +9,8 @@ window.close(); } </script> </head> -<body onload="printandclose();"><div id="main"> +<body id="circ_transfer-slip" class="circ" onload="printandclose();"> +<div id="main"> <h5>Date: [% pulldate %]</h5> <h3>Transfer to [% branchname %]</h3> diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt index 2c84d5d..1b9bac6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tt @@ -23,7 +23,7 @@ $(document).ready(function() { //]]> </script> </head> -<body> +<body id="circ_transferstoreceive" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt index d9ba8fc..09a8ac0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tt @@ -3,7 +3,7 @@ [% INCLUDE 'doc-head-close.inc' %] <style type="text/css"> p { margin-top: 0; }</style> </head> -<body> +<body id="circ_view_holdsqueue" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt index 0de1f0f..d4b88a4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/waitingreserves.tt @@ -23,7 +23,7 @@ $.tablesorter.addParser({ //]]> </script> </head> -<body> +<body id="circ_waitingreserves" class="circ"> [% INCLUDE 'header.inc' %] [% INCLUDE 'circ-search.inc' %] -- 1.7.5.4