synch'ing 2.2 and head
authortipaul <tipaul>
Thu, 4 Aug 2005 14:02:52 +0000 (14:02 +0000)
committertipaul <tipaul>
Thu, 4 Aug 2005 14:02:52 +0000 (14:02 +0000)
13 files changed:
koha-tmpl/intranet-tmpl/default/en/includes/marc-editor.css
koha-tmpl/intranet-tmpl/default/en/includes/marc-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/members-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/menus.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/default/en/includes/parameters-top.inc
koha-tmpl/intranet-tmpl/default/en/includes/reports-top.inc
koha-tmpl/intranet-tmpl/default/en/members/member-quicksearch-results.tmpl
koha-tmpl/intranet-tmpl/default/en/parameters/branches.tmpl
koha-tmpl/intranet-tmpl/default/en/parameters/currency.tmpl
koha-tmpl/intranet-tmpl/default/en/parameters/marctagstructure.tmpl
koha-tmpl/intranet-tmpl/default/en/parameters/systempreferences.tmpl
koha-tmpl/intranet-tmpl/default/en/value_builder/marc21_leader.tmpl [new file with mode: 0644]
koha-tmpl/intranet-tmpl/default/en/value_builder/unimarc_leader.tmpl [new file with mode: 0644]

index 9174b95..c0f42c9 100644 (file)
@@ -43,9 +43,8 @@ div.tab {
 .MARCtag { /* style for tag definition (700 - Statement of responsability) */
        font-weight:bold;
        color:#ad11ad;
-       background-color:FFFFFF;
+       background-color:#E8E0F1;
        background-image:url('');
-       border-bottom: thin solid #ad11ad;
        margin-right:30%;
 }
 
@@ -54,4 +53,5 @@ div.tab {
        width: 12em;
        margin-left:30px;
        display:inline;
+       color:#000000;
 }
index 3dac788..608c64d 100644 (file)
@@ -39,29 +39,10 @@ a.catalogue:hover {
 
 <body>
 <!-- TMPL_UNLESS name="popup" -->
-       <!-- MENUS -->
-       <div id="menubar">
-               <span class="koha"><a class="home" href="/cgi-bin/koha/mainpage.pl">Koha</a></span>
-               <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a>
-               <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a>
-               <a class="circulation"  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 class="catalogue" 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/loadmodules.pl?module=search&marc=1&amp;type=intranet" class="submenu2">search</a>
-               <a href="/cgi-bin/koha/loadmodules.pl?module=addbiblio&amp;type=intranet" class="submenu">Add biblio</a>
-               <a class="submenu2" href="/cgi-bin/koha/bull-home.pl">Serial</a>
-               <a href="/cgi-bin/koha/bookshelves/shelves.pl" class="submenu">Virtual shelves</a>
-       </div>
-<!-- /TMPL_UNLESS -->
+<!-- TMPL_INCLUDE name="menus.inc" -->
 <!-- TMPL_IF NAME="loggedinusername" -->
-    <pLogged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
+    <p class="user">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
 <!-- TMPL_ELSE -->
-    <p><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
+    <p class="user"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
 <!-- /TMPL_IF -->
+<!-- /TMPL_UNLESS -->
index 22fdf6e..f11668d 100644 (file)
@@ -29,27 +29,9 @@ a.members:hover {
 
 <body>
 
-<!-- MENUS -->
-<div id="menubar">
-       <span class="koha"><a class="home" href="/cgi-bin/koha/mainpage.pl">Koha</a></span>
-       <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a>
-       <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a>
-       <a class="circulation"  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 class="catalogue" 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/members/members-home.pl" class="submenu">Search</a>
-       <a href="/cgi-bin/koha/members/memberentry.pl?actionType=Add" class="submenu2">Add member</a>
-       <a href="/cgi-bin/koha/members/memberentry.pl?categorycode=I&amp;actionType=Add" class="submenu">Add organisation</a>
-</div>
+<!-- TMPL_INCLUDE name="menus.inc" -->
 <!-- TMPL_IF NAME="loggedinusername" -->
-    <p align="left">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
+    <p class="user">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
 <!-- TMPL_ELSE -->
-    <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
+    <p class="user"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
 <!-- /TMPL_IF -->
diff --git a/koha-tmpl/intranet-tmpl/default/en/includes/menus.inc b/koha-tmpl/intranet-tmpl/default/en/includes/menus.inc
new file mode 100644 (file)
index 0000000..7fcc2b5
--- /dev/null
@@ -0,0 +1,152 @@
+<script language="JavaScript" type="text/javascript">
+var TID; //the timeout identifier
+var Mduration=500; // how long before closing the menu
+function Help() {
+       newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
+}
+/*var ie = (document.all) ? 1:0;
+var ns7 = (document.getElementById) ? 1:0;*/
+               function MM_findObj(n, d) { //v4.0
+                       var p,i,x;
+                       if(!d) d=document;
+                       if((p=n.indexOf("?"))>0&&parent.frames.length) {
+                               d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);
+                       }
+                       if(!(x=d[n])&&d.all) x=d.all[n];
+                       for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
+                       for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
+                       if(!x && document.getElementById) x=document.getElementById(n);
+                       return x;
+               }
+               function SetOn(item) {
+                       for(i=1;i<=7;i++) {
+                               SetOff(i);
+                       }
+                       CancelTimeOut(TID);
+                       if (!(layer = MM_findObj('Subm' + item))) return;
+                       layer.style.visibility = 'visible';
+               }
+               function LaunchSetOff(item) {
+                       if (TID) {
+                               CancelTimeOut(TID);
+                       }
+                       TID=setTimeout('SetOff('+item+')',Mduration);
+               }
+               function CancelTimeOut(TID) {
+                       clearTimeout(TID);
+               }
+               function SetOff(item) {
+                       if (!(layer = MM_findObj('Subm' + item))) return;
+                       layer.style.visibility = 'hidden';
+               }
+</script>
+
+<!-- MENUS -->
+<!-- ACQUISITION -->
+<div id="Subm1"> 
+  <a href="/cgi-bin/koha/acqui/acqui-home.pl" class="submenu acquisition" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(1)">Main page</a>
+  <a href="/cgi-bin/koha/acqui/histsearch.pl" class="submenu acquisition" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(1)">History search</a>
+</div>
+
+<!-- CATALOGUE -->
+<div id="Subm2"> 
+       <a href="/cgi-bin/koha/loadmodules.pl?module=search&amp;marc=1&amp;type=intranet" class="submenu catalogue" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(2)">Search</a>
+       <a href="/cgi-bin/koha/loadmodules.pl?module=addbiblio&amp;type=intranet" class="submenu catalogue" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(2)">Add biblio</a>
+       <hr>
+       <a class="submenu bull" href="/cgi-bin/koha/bull-home.pl" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(2)">Subscriptions</a>
+       <a href="/cgi-bin/koha/bull/lateissues.pl" class="submenu bull" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(2)">Late issues</a>
+       <hr>
+       <a href="/cgi-bin/koha/bookshelves/shelves.pl" class="submenu catalogue" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(2)">Virtual shelves</a>
+</div>
+<!-- CIRC -->
+<div id="Subm3"> 
+       <a href="/cgi-bin/koha/circ/circulation.pl" class="submenu circulation" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(3)">Issues</a>
+       <a href="/cgi-bin/koha/circ/returns.pl" class="submenu circulation" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(3)">Returns</a>
+       <a href="/cgi-bin/koha/circ/branchtransfers.pl" class="submenu circulation" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(3)">Branch transfers</a>
+</div>
+<!-- MEMBERS -->
+<div id="Subm4"> 
+       <a href="/cgi-bin/koha/members/members-home.pl" class="submenu members" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(4)">Search</a>
+       <a href="/cgi-bin/koha/members/memberentry.pl?actionType=Add" class="submenu members" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(4)">Add member</a>
+       <a href="/cgi-bin/koha/members/memberentry.pl?categorycode=I&amp;actionType=Add" class="submenu members" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(4)">Add organisation</a>
+</div>
+<!-- AUTHORITIES -->
+<div id="Subm5"> 
+       <a href="/cgi-bin/koha/authorities/authorities-home.pl" class="submenu authority" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(5)">Authorities</a>
+</div>
+<!-- REPORTS -->
+<div id="Subm6"> 
+       <a href="/cgi-bin/koha/reports/acquisitions_stats.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Acquisitions</a>
+       <a href="/cgi-bin/koha/reports/borrowers_stats.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Borrowers</a>
+       <a href="/cgi-bin/koha/reports/catalogue_stats.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Catalogue</a>
+       <a href="/cgi-bin/koha/reports/issues_stats.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Circulation</a>
+       <hr>
+       <a href="/cgi-bin/koha/reports/bor_issues_top.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Most issuing Borrowers</a>
+       <a href="/cgi-bin/koha/reports/cat_issues_top.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Most issued items</a>
+       <hr>
+       <a href="/cgi-bin/koha/reports/borrowers_out.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Borrowers without issues</a>
+       <a href="/cgi-bin/koha/reports/catalogue_out.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Items not issued</a>
+       <a href="/cgi-bin/koha/reports/inventory.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Inventory/Stocktaking</a>
+       <a href="/cgi-bin/koha/reports/manager.pl?report_name=itemtypes" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Catalogue by itemtype</a>
+       <a href="/cgi-bin/koha/stats.pl?time=yesterday" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Till Reconciliation (yesterday)</a>
+       <a href="/cgi-bin/koha/stats.pl?time=today" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Till Reconciliation (today)</a>
+       <a href="/cgi-bin/koha/overdue.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Overdue items</a>
+       <a href="/cgi-bin/koha/reports/manager.pl?report_name=issues_by_borrower_category" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Issues by borrower category</a>
+       <a href="/cgi-bin/koha/reports/issues_avg_stats.pl" class="submenu reports" onMouseOver="CancelTimeOut(TID)" onMouseOut="LaunchSetOff(6)">Average loan time</a>
+</div>
+<!-- PARAMETERS -->
+<div id="Subm7"> 
+       <TMPL_IF name="CAN_user_parameters">    
+               <a class="submenu parameters" href="/cgi-bin/koha/admin/branches.pl" title="The different branches you manage with this Koha server." onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Library branches</a>
+       </TMPL_IF>
+       <TMPL_IF name="CAN_user_management">
+               <a href="/cgi-bin/koha/admin/aqbookfund.pl" title="Book fund administration. Remember to edit your book funds before you start editing the budgets." class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Book funds</a>
+               <a href="/cgi-bin/koha/admin/currency.pl" title="Define exchange rates"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Currencies</a>
+               <a href="/cgi-bin/koha/admin/itemtypes.pl" title="Define item types"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Item types</a>
+               <hr>
+               <a href="/cgi-bin/koha/admin/categorie.pl" title="Define the categories of borrowers"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Borrower categories</a>
+               <a href="/cgi-bin/koha/admin/issuingrules.pl" title="Define issuing rules for branches / borrowers / item types (nb of issues, duration, cost...)"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Issuing rules</a>
+               <hr>
+               <a href="/cgi-bin/koha/admin/authorised_values.pl" title="Define categories and authorised values for them. Authorised values are used in MARC form to limit and help editing MARC biblios" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Authorised values</a>
+       </TMPL_IF>
+               
+       <TMPL_IF name="CAN_user_parameters">
+               <a href="/cgi-bin/koha/admin/authtypes.pl" title="Define categories and thesaurus/authority MARC structure" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Thesaurus Structure</a>
+               <a href="/cgi-bin/koha/admin/biblio_framework.pl" title="the frameworks defined for the MARC editor. Create frameworks, then define the MARC structure (fields &amp; subfields)" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Biblio framework (MARC structure)</a>
+               <a href="/cgi-bin/koha/admin/koha2marclinks.pl" title="Define links between the Koha standard DB and the MARC one. Note those links can be defined through MARC structure. This tool is just a shortcut to speed up linkage" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Links Koha - MARC DB</a>
+               <a href="/cgi-bin/koha/admin/checkmarc.pl" title="Checks the MARC structure. USE IT before working with real data. It will show mistakes that can BREAK Koha's database!" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">MARC Check</a>
+               <hr>
+               <a href="/cgi-bin/koha/admin/printers.pl" title="Printers (UNIX paths)" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Printers</a>
+       </TMPL_IF>
+       
+       <TMPL_IF name="CAN_user_management">
+               <a href="/cgi-bin/koha/admin/stopwords.pl" title="Words deleted during searches" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Stop words</a>
+       </TMPL_IF>
+       
+       <TMPL_IF name="CAN_user_parameters">
+               <a href="/cgi-bin/koha/admin/z3950servers.pl" title="Servers to query for MARC data"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Z39.50 Servers</a>
+               <a href="/cgi-bin/koha/admin/systempreferences.pl" title="System preferences"class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">System preferences</a>
+       </TMPL_IF>
+
+<TMPL_IF name="CAN_user_tools">
+       <hr>
+               <a href="/cgi-bin/koha/export/marc.pl" title="Exporting in MARC format" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">MARC biblio export</a>
+               <a href="/cgi-bin/koha/import/breeding.pl" title="The reservoir is a table where imported MARC records are stored. A MARC record is stored in the reservoir as long as you have no item. When you type the ISBN or title of a biblio, it's searched for in the reservoir. If it is found, the biblio is added to Koha active table" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Upload MARC records in reservoir</a>
+               <a href="/cgi-bin/koha/barcodes/barcodes.pl" title="the barcode generator deals with generating barcodes for items you acquire" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Generate barcodes</a>
+               <a href="/cgi-bin/koha/admin/letter.pl" title="Letters to use in Koha" class="submenu parameters" onMouseOver="CancelTimeOut(TID)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Letters</a>
+</TMPL_IF>
+
+</div>
+<!-- MENUS -->
+<div id="menubar">
+       <span class="koha"><a class="home" href="/cgi-bin/koha/mainpage.pl">Koha</a></span>
+       <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions" onMouseOver="SetOn(1)">Acquisitions</a>
+       <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet" onMouseOver="SetOn(2)">Catalogue</a>
+       <a class="circulation"  href="/cgi-bin/koha/circ/circulation.pl" onMouseOver="SetOn(3)">Circulation</a>
+       <a class="members" href="/cgi-bin/koha/members/members-home.pl" onMouseOver="SetOn(4)">Members</a>
+       <a class="authority" href="/cgi-bin/koha/authorities/authorities-home.pl" onMouseOver="SetOn(5)">Authorities</a>
+       <a class="reports" href="/cgi-bin/koha/reports-home.pl" onMouseOver="SetOn(6)">Reports</a>
+       <a class="parameters" href="/cgi-bin/koha/admin-home.pl" onMouseOver="SetOn(7)" onMouseOut="TID=setTimeout('SetOff(7)',Mduration)">Parameters</a>
+       <a class="about" href="/cgi-bin/koha/about.pl">About</a>
+       <a class="catalogue" href="/cgi-bin/koha/help.pl" onclick="Help(); return false;">Help</a>
+</div>
\ No newline at end of file
index 7b090f4..c726d1e 100644 (file)
        background-color: #86c268;
        color: #FFFFFF;
        text-decoration: normal;
-       font-weight: bold;
        background-image:none;
        }
 a.parameters:hover {
        background-color: #86c268;
        color: #FFFFFF;
        text-decoration: normal;
-       font-weight: bold;
        }
 </style>
 </head>
@@ -30,28 +28,10 @@ function Help() {
        newin=window.open("/cgi-bin/koha/help.pl","Koha Help",'width=600,height=600,toolbar=false,scrollbars=yes');
 }
 </script>
-<!-- MENUS -->
-<div id="menubar">
-       <span class="koha"><a class="home" href="/cgi-bin/koha/mainpage.pl">Koha</a></span>
-       <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a>
-       <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a>
-       <a class="circulation"  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 class="catalogue" 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/admin/aqbookfund.pl" class="submenu">Funds</a>
-       <a href="/cgi-bin/koha/admin/authorised_values.pl" class="submenu2">Auth value</a>
-       <a href="/cgi-bin/koha/admin/currency.pl" class="submenu2">Currencies</a>
-       <a href="/cgi-bin/koha/admin/printers.pl" class="submenu">Printers</a>
-</div>
+
+<!-- TMPL_INCLUDE name="menus.inc" -->
 <!-- TMPL_IF NAME="loggedinusername" -->
-    <p align="left">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
+    <p class="user">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
 <!-- TMPL_ELSE -->
-    <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
+    <p class="user"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
 <!-- /TMPL_IF -->
index 1bd6fa5..a620c71 100644 (file)
@@ -16,39 +16,20 @@ function Help() {
        background-color: #6b7cbe;
        color:#FFFFFF;
        text-decoration: normal;
-       font-weight: bold;
        background-image:none;
        }
 a.reports:hover {
        background-color: #6b7cbe;
        color: #FFFFFF;
        text-decoration: normal;
-       font-weight: bold;
        }
 </style>
 </head>
 <body>
 
-<!-- MENUS -->
-<div id="menubar">
-       <span class="koha"><a class="home" href="/cgi-bin/koha/mainpage.pl">Koha</a></span>
-       <a class="acquisition" href="/cgi-bin/koha/loadmodules.pl?module=acquisitions">Acquisitions</a>
-       <a class="catalogue" href="/cgi-bin/koha/loadmodules.pl?module=search&amp;type=intranet">Catalogue</a>
-       <a class="circulation"  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 class="catalogue" 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/reports/manager.pl?report_name=itemtypes" class="submenu">Itemtypes</a>
-</div>
-
+<!-- TMPL_INCLUDE name="menus.inc" -->
 <!-- TMPL_IF NAME="loggedinusername" -->
-    <p align="left">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
+    <p class="user">Logged in as: <!-- TMPL_VAR NAME="loggedinusername" --> [<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>]</p>
 <!-- TMPL_ELSE -->
-    <p align="left"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
+    <p class="user"><a href="/cgi-bin/koha/opac-user.pl">Log In</a> to Koha</p>
 <!-- /TMPL_IF -->
index f0cdb4a..8a81090 100644 (file)
@@ -4,7 +4,7 @@
 <h1>Member Search</h1>
 
 <div class="bloc100">
-       <p><!-- TMPL_VAR Name ="numresults" --> records match you search.
+       <p class="resultcount"><!-- TMPL_VAR Name ="numresults" --> members were found.
         </p>
        <table>
                <tr>
@@ -20,7 +20,8 @@
                        <!-- TMPL_ELSE -->
                                <tr bgcolor="white">
                        <!-- /TMPL_IF -->
-                               <td><!-- TMPL_VAR NAME="count" --><form action="member-search-results.pl" method="get"><input type="button" class="button" value="Choose" title="Choose this Patron" onclick="window.opener.FillForm('<!-- TMPL_VAR NAME="cardnumber" -->','request','member'); return false;" /></form></td>
+                               <td><!-- TMPL_VAR NAME="count" -->
+<form action="member-search-results.pl" method="get"><input type="button" class="button" value="Choose" title="Choose this Patron" onclick="window.opener.FillForm('<!-- TMPL_VAR NAME="cardnumber" -->','request','member'); return false;" /></form></td>
                                <td><!-- TMPL_VAR NAME="cardnumber" --></td>
                                <td><a href="/cgi-bin/koha/members/moremember.pl?bornum=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="surname" --></a></td>
                                <td><!-- TMPL_VAR NAME="firstname" --></a></td>
index 7a3d384..a1f9539 100644 (file)
@@ -3,12 +3,10 @@
        <!-- TMPL_IF NAME="add" -->
        
        <h1>
-       <!-- TMPL_IF NAME="use-heading-flags-p" -->
        <!-- TMPL_IF NAME="heading-branches-p" -->Branches<!-- /TMPL_IF -->
        <!-- TMPL_IF NAME="heading-branches-add-branch-p" -->Branches: Add Branch<!-- /TMPL_IF -->
        <!-- TMPL_IF NAME="heading-branches-edit-branch-p" -->Branches: Edit Branch<!-- /TMPL_IF -->
        <!-- TMPL_IF NAME="heading-branches-edit-category-p" -->Branches: Edit Category<!-- /TMPL_IF -->
-       <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="head" --><!-- /TMPL_IF -->
        </h1>
        
        <form action="<!-- TMPL_VAR NAME="action" -->" name="Aform" method="post">
        
        <!-- TMPL_IF NAME="else" -->
                <h1>
-               <!-- TMPL_IF NAME="use-heading-flags-p" -->
                <!-- TMPL_IF NAME="heading-branches-p" -->Branches<!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="heading-branches-add-branch-p" -->Branches: Add Branch<!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="heading-branches-edit-branch-p" -->Branches: Edit Branch<!-- /TMPL_IF -->
                <!-- TMPL_IF NAME="heading-branches-edit-category-p" -->Branches: Edit Category<!-- /TMPL_IF -->
-               <!-- TMPL_ELSE --><!-- TMPL_VAR NAME="head" --><!-- /TMPL_IF -->
                </h1>
        
-               <font color="red"><!-- TMPL_VAR NAME="message" --></font>
+               <font color="red">
+               <!-- TMPL_IF name="MESSAGE1" -->
+                       NEW Cannot change branch record: You must specify a Branchname and a Branchcode
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="MESSAGE2" -->
+                       NEW Branch record changed
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="MESSAGE3" -->
+                       NEW Branch record deleted
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="MESSAGE4" -->
+                       NEW Cannot change branch record: You must specify a Branchname and a Branchcode
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="MESSAGE5" -->
+                       NEW Category record changed
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="MESSAGE6" -->
+                       NEW The category has been deleted
+               <!-- /TMPL_IF -->
+               <!-- TMPL_IF name="MESSAGE7" -->
+                       Branch cannot be deleted because there are items using that branch
+               <!-- /TMPL_IF -->
+               </font>
                <table border="1" cellpadding="5" cellspacing="0">
                        <tr>
                                <th colspan="6" align="left" bgcolor="#99cc33">
index 87eeaff..77b4fa5 100644 (file)
        
        <!-- TMPL_IF NAME="else" -->
                <h1 class="parameters">Currencies admin</h1>
-                       <form action="<!-- TMPL_VAR NAME="script_name" -->" method="post">
-                                       <input type="text" name="description" value="<!-- TMPL_VAR NAME="searchfield" -->">
-                                       <input type="submit" value="Filter" class="button parameters">
-                       </form>
-       
-               <!-- TMPL_IF NAME="searchfield" -->
-                       You searched for <b><!-- TMPL_VAR NAME="searchfield" --></b>
-               <!-- /TMPL_IF -->
-       
                <table>
                        <tr>
                                <th class="parameters"><b>Currency</b></td>
index 7745898..8956821 100644 (file)
        <form action="<!-- TMPL_VAR NAME="script_name" -->" name="Aform" method="post">
                <input type="hidden" name="op" value="add_validate">
                <input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->">
-               <p><label>Tag<label><!-- TMPL_VAR NAME="searchfield" --></p>
+               <p><label>Tag<label><!-- TMPL_IF Name="searchfield" -->
+               <!-- TMPL_VAR NAME="searchfield" -->
+               <!-- TMPL_ELSE -->
+               <input type="text" name="tagfield" value="" escape=HTML -->
+               <!-- /TMPL_IF -->
+               </p>
                <p><label>Lib for librarians</label><input type="text" name="liblibrarian" value="<!-- TMPL_VAR NAME="liblibrarian" escape=HTML -->" size="80" maxlength="100"></p>
                <p><label>Lib for opac</label><input type="text" name="libopac" value="<!-- TMPL_VAR NAME="libopac" escape=HTML -->" size="80" maxlength="100"></p>
                <p><label>Repeatable</label><!-- TMPL_VAR NAME="repeatable" --></p>
                </select>
                <input type="text" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->">
                <input type="submit" value="OK" class="button">
-               <p>
-               <i>Display only used Tags/Subfields</i> <input type="checkbox" name="select_display" value="True" <!-- TMPL_IF Name="select_display"-->checked<!--/TMPL_IF -->  OnChange="javascript:document.f.submit()">
+               <p><!-- TMPL_IF Name="select_display"-->
+                               <i>Display only used Tags/Subfields</i> <input type="checkbox" name="select_display" value="True" checked OnChange="javascript:document.f.submit()">
+                       <!-- TMPL_ELSE -->
+                               <i>Display only used Tags/Subfields</i> <input type="checkbox" name="select_display" value="True" OnChange="javascript:document.f.submit()">
+                       <!--/TMPL_IF --> 
                </p>
        </form>
        <b>NOTE : if you change the link between a MARC subfield and a non-MARC field, ask your administrator to run misc/rebuildnonmarc.pl script.</b>
index fdd7d16..c7e532f 100644 (file)
        <table>
                <tr>
                        <td>
-                               <!-- TMPL_IF name="Admin" -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Admin" class="button">Admin</a>
-                               <!-- TMPL_ELSE -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Admin">Admin</a>
-                               <!-- /TMPL_IF -->
+                               <!--TMPL_IF Name="Admin"-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Admin" class="button">Admin
+                                       </a>
+                               <!--TMPL_ELSE-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Admin">Admin
+                                       </a>
+                               <!--/TMPL_IF-->
                        </td>
                        <td>
-                               <!-- TMPL_IF name="Acquisitions" -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Acquisitions" class="button">Acquisitions</a>
-                               <!-- TMPL_ELSE -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Acquisitions">Acquisitions</a>
-                               <!-- /TMPL_IF -->
+                               <!--TMPL_IF Name="Acquisitions"-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Acquisitions" class="button">Acquisitions
+                                       </a>
+                               <!--TMPL_ELSE-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Acquisitions">Acquisitions
+                                       </a>
+                               <!--/TMPL_IF-->
                        </td>
                        <td>
-                               <!-- TMPL_IF name="Authorities" -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Authorities" class="button">Authorities</a>
-                               <!-- TMPL_ELSE -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Authorities">Authorities</a>
-                               <!-- /TMPL_IF -->
+                               <!--TMPL_IF Name="Authorities"-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Authorities" class="button">Authorities
+                                       </a>
+                               <!--TMPL_ELSE-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Authorities">Authorities
+                                       </a>
+                               <!--/TMPL_IF-->
                        </td>
                        <td>
-                               <!-- TMPL_IF name="Catalogue" -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Catalogue" class="button">Catalogue</a>
-                               <!-- TMPL_ELSE -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Catalogue">Catalogue</a>
-                               <!-- /TMPL_IF -->
+                               <!--TMPL_IF Name="Catalogue"-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Catalogue" class="button">Catalogue
+                                       </a>
+                               <!--TMPL_ELSE-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Catalogue">Catalogue
+                                       </a>
+                               <!--/TMPL_IF-->
                        </td>
                        <td>
-                               <!-- TMPL_IF name="Circulation" -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Circulation" class="button">Circulation</a>
-                               <!-- TMPL_ELSE -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Circulation">Circulation</a>
-                               <!-- /TMPL_IF -->
+                               <!--TMPL_IF Name="Circulation"-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Circulation" class="button">Circulation
+                                       </a>
+                               <!--TMPL_ELSE-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Circulation">Circulation
+                                       </a>
+                               <!--/TMPL_IF-->
                        </td>
                        <td>
-                               <!-- TMPL_IF name="Members" -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Members" class="button">Members</a>
-                               <!-- TMPL_ELSE -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Members">Members</a>
-                               <!-- /TMPL_IF -->
+                               <!--TMPL_IF Name="Members"-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Members" class="button">Members
+                                       </a>
+                               <!--TMPL_ELSE-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=Members">Members
+                                       </a>
+                               <!--/TMPL_IF-->
                        </td>
                        <td>
-                               <!-- TMPL_IF name="OPAC" -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=OPAC" class="button">OPAC</a>
-                               <!-- TMPL_ELSE -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=OPAC">OPAC</a>
-                               <!-- /TMPL_IF -->
+                               <!--TMPL_IF Name="OPAC"-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=OPAC" class="button">OPAC
+                                       </a>
+                               <!--TMPL_ELSE-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=OPAC">OPAC
+                                       </a>
+                               <!--/TMPL_IF-->
                        </td>
                        <td>
-                               <!-- TMPL_IF name="Others" -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=" class="button">Others</a>
-                               <!-- TMPL_ELSE -->
-                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=">Others</a>
-                               <!-- /TMPL_IF -->
+                               <!--TMPL_IF Name="Others"-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=" class="button">Others
+                                       </a>
+                               <!--TMPL_ELSE-->
+                                       <a href="/cgi-bin/koha/admin/systempreferences.pl?tab=">Others
+                                       </a>
+                               <!--/TMPL_IF-->
                        </td>
                </tr>
        </table>
-       <!-- TMPL_VAR NAME="searchfield" -->
        <table border="0" cellspacing="0" cellpadding="2">
        <tr valign="top" bgcolor="#99cc33">
                <th>Variable</th>
diff --git a/koha-tmpl/intranet-tmpl/default/en/value_builder/marc21_leader.tmpl b/koha-tmpl/intranet-tmpl/default/en/value_builder/marc21_leader.tmpl
new file mode 100644 (file)
index 0000000..02b4799
--- /dev/null
@@ -0,0 +1,321 @@
+<html>
+<head>
+<title>Leader builder</title>
+</head>
+<body>
+<form name="f_pop" onSubmit="javascript:report()">
+<table>
+       <tr>
+               <td>1-4 Record size</td>
+               <td>(auto-filled)</td>
+       </tr>
+       <tr>
+               <td>5- Record status</td>
+               <td>
+                       <select name="f5" size="1">
+                       <!-- TMPL_IF name="f5a" -->
+                               <option value=" " SELECTED>a- Increase in encoding level</option>
+                       <!-- TMPL_ELSE -->
+                               <option value=" ">a- Increase in encoding level</option>
+                       <!-- /TMPL_IF -->
+
+                       <!-- TMPL_IF name="f5c" -->
+                               <option value="c" SELECTED>c- Corrected or revised</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="c">c- Corrected or revised</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f5d" -->
+                               <option value="d" SELECTED>d- Deleted</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="d">d- Deleted</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f5n" -->
+                               <option value="n" SELECTED>n- New</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="n">n- New</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f5p" -->
+                               <option value="p" SELECTED>p- Increase in encoding level from prepublication</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="p">p- Increase in encoding level from prepublication</option>
+                       <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       <tr>
+               <td>6- Type of record</td>
+               <td>
+                       <select name="f6" size="1">
+                       <!-- TMPL_IF name="f6a" -->
+                               <option value="a" SELECTED>a- Language material (monography)</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="a">a- Language material (monography)</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6c" -->
+                               <option value="c" SELECTED>c- Notated music</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="c">c- Notated music</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6d" -->
+                               <option value="d" SELECTED>d- Manuscript notated music</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="d">d- Manuscript notated music</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6e" -->
+                               <option value="e" SELECTED>e- Cartographic material</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="e">e- Cartographic material</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6f" -->
+                               <option value="f" SELECTED>f - Manuscript cartographic material</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="f">f - Manuscript cartographic material</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6g" -->
+                               <option value="g" SELECTED>g - Projected medium</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="g">g - Projected medium</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6i" -->
+                               <option value="i" SELECTED>i - Nonmusical sound recording</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="i">i - Nonmusical sound recording</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6j" -->
+                               <option value="j" SELECTED>j - Musical sound recording</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="j">j - Musical sound recording</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6k" -->
+                               <option value="k" SELECTED>k - Two-dimensional nonprojectable graphic</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="k">k - Two-dimensional nonprojectable graphic</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6m" -->
+                               <option value="m" SELECTED>m - Computer file</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="m">m - Computer file</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6o" -->
+                               <option value="o" SELECTED>o - Kit</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="o">o - Kit</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6r" -->
+                               <option value="r" SELECTED>r - Three-dimensional artifact or naturally occurring object</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="r">r - Three-dimensional artifact or naturally occurring object</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6t" -->
+                               <option value="t" SELECTED>t - Manuscript language material</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="t">t - Manuscript language material</option>
+                       <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       <tr>
+               <td>7- Bibliographic level</td>
+               <td>
+                       <select name="f7" size="1">
+                               <!-- TMPL_IF name="f7a" -->
+                                       <option value="a" SELECTED>a- Monographic component part</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="a">a- Monographic component part</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f7b" -->
+                                       <option value="b" SELECTED>b- Serial component part</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="b">a- Serial component part</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f7c" -->
+                                       <option value="c" SELECTED>c- Collection</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="c">c- Collection</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f7d" -->
+                                       <option value="d" SELECTED>d- Subunit</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="d">d- Subunit</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f7i" -->
+                                       <option value="i" SELECTED>i- Integrating resource</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="i">i- Integrating resource</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f7m" -->
+                                       <option value="m" SELECTED>m- Monograph/item</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="m">m- Monograph/item</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f7s" -->
+                                       <option value="s" SELECTED>s- Serial</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="s">s- Serial</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       
+       <tr>
+               <td>8- Hierarchic level</td>
+               <td>
+                       <select name="f8" size="1">
+                               <!-- TMPL_IF name="f8 " -->
+                                       <option value=" " SELECTED>No specific type</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value=" ">No specific type</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f8a" -->
+                                       <option value="a" SELECTED>a- Archival</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="a">a- Archival</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+
+       <tr>
+               <td>9- Encoding</td>
+               <td>
+                       <select name="f9" size="1">
+                               <!-- TMPL_IF name="f9 " -->
+                                       <option value=" " SELECTED>MARC-8</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value=" ">MARC-8</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f9a" -->
+                                       <option value="a" SELECTED>a- UCS/Unicode</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="a">a- UCS/Unicode</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       <tr>
+               <td>10-16 indicator/subfields/size</td>
+               <td>(auto-filled)</td>
+       <tr>
+               <td>17- Encoding</td>
+               <td>
+                       <select name="f17" size="1">
+                               <!-- TMPL_IF name="f17 " -->
+                                       <option value=" " SELECTED>full level</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value=" ">Full level</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f171" -->
+                                       <option value="1" SELECTED>1- Full level, material not examined</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="1">1- Full level, material not examined</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f172" -->
+                                       <option value="2" SELECTED>2 - Less-than-full level, material not examined</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="2">2 - Less-than-full level, material not examined</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f173" -->
+                                       <option value="3" SELECTED>3- Abbreviated level</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="3">3- Abbreviated level</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f174" -->
+                                       <option value="4" SELECTED>4- Core level</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="4">4- Core level</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f175" -->
+                                       <option value="5" SELECTED>5- Partial (preliminary) level</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="5">5- Partial (preliminary) level</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f177" -->
+                                       <option value="7" SELECTED>7- Minimal level</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="7">7- Minimal level</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f178" -->
+                                       <option value="8" SELECTED>8- Prepublication level</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="8">8- Prepublication level</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f17u" -->
+                                       <option value="u" SELECTED>u - Unknown</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="u">u - Unknown</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f17z" -->
+                                       <option value="z" SELECTED>z- Not applicable</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="z">z- Not applicableFull level</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+
+       <tr>
+               <td>18 - Descriptive cataloging form</td>
+               <td>
+                       <select name="f18" size="1">
+                               <!-- TMPL_IF name="f18 " -->
+                                       <option value=" " SELECTED>Non-ISBD</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value=" ">Non-ISBD</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f18a" -->
+                                       <option value="a" SELECTED>a- AACR 2</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="a">a- AACR 2</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f18i" -->
+                                       <option value="i" SELECTED>i- ISBD</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="i">i- ISBD</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f18u" -->
+                                       <option value="u" SELECTED>u- Unknown</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="u">u- Unknown</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       
+       <tr>
+               <td>19 - Linked record requirement</td>
+               <td>
+                       <select name="f19" size="1">
+                               <!-- TMPL_IF name="f19 " -->
+                                       <option value=" " SELECTED>Related record not required</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value=" ">Related record not required</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f18r" -->
+                                       <option value="r" SELECTED>r- Related record required</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="r">r- Related record required</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       <tr>
+               <td>20-24 entry map & lengths</td>
+               <td>(auto-filled)</td>
+       <tr>
+
+       <tr><td colspan=2><input type="submit" value="OK"></td></tr>
+</table>
+</form>
+<script>
+function report() {
+               opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value = 
+                       '    '+document.f_pop.f5.value +
+                       document.f_pop.f6.value+ document.f_pop.f7.value+
+                       document.f_pop.f8.value+ document.f_pop.f9.value+ '       '+
+                       document.f_pop.f17.value+ document.f_pop.f18.value+ document.f_pop.f19.value+'     ';
+               self.close();
+               return false;
+       }
+</script>
+</body>
+</html>
diff --git a/koha-tmpl/intranet-tmpl/default/en/value_builder/unimarc_leader.tmpl b/koha-tmpl/intranet-tmpl/default/en/value_builder/unimarc_leader.tmpl
new file mode 100644 (file)
index 0000000..0176f99
--- /dev/null
@@ -0,0 +1,241 @@
+<html>
+<head>
+<title>Construction du leader</title>
+</head>
+<body>
+<form name="f_pop" onSubmit="javascript:report()">
+<table>
+       <tr>
+               <td>1-4 Taille</td>
+               <td>(auto-calculé)</td>
+       </tr>
+       <tr>
+               <td>5- Etat de la notice</td>
+               <td>
+                       <select name="f5" size="1">
+                       <!-- TMPL_IF name="f5c" -->
+                               <option value="c" SELECTED>c- Notice corrigée</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="c">c- Notice corrigée</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f5d" -->
+                               <option value="d" SELECTED>d- Notice détruite</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="d">d- Notice détruite</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f5n" -->
+                               <option value="n" SELECTED>n- Nouvelle notice</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="n">n- Nouvelle notice</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f5o" -->
+                               <option value="o" SELECTED>o- Notice fille</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="o">o- Notice fille</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f5p" -->
+                               <option value="p" SELECTED>p- Notice incomplète ou pré-publi</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="p">p- Notice incomplète ou pré-publi</option>
+                       <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       <tr>
+               <td>6- Type de document</td>
+               <td>
+                       <select name="f6" size="1">
+                       <!-- TMPL_IF name="f6a" -->
+                               <option value="a" SELECTED>a- Texte imprimé</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="a">a- Texte imprimé</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6b" -->
+                               <option value="b" SELECTED>b- Texte manuscrit</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="b">b- Texte manuscrit</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6c" -->
+                               <option value="c" SELECTED>c- Partition musicale imprimée</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="c">c- Partition musicale imprimée</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6d" -->
+                               <option value="d" SELECTED>d- Partition musicale manuscrite</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="d">d- Partition musicale manuscrite</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6e" -->
+                               <option value="e" SELECTED>e- doc cartographique imprimé</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="e">e- doc cartographique imprimé</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6f" -->
+                               <option value="f" SELECTED>f - doc cartographique manuscrit</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="f">f - doc cartographique manuscrit</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6g" -->
+                               <option value="g" SELECTED>g - doc projeté ou vidéo</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="g">g - doc projeté ou vidéo</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6i" -->
+                               <option value="i" SELECTED>i - enreg sonore non musical</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="i">i - enreg sonore non musical</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6j" -->
+                               <option value="j" SELECTED>j - enreg sonore musical</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="j">j - enreg sonore musical</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6k" -->
+                               <option value="k" SELECTED>k - doc graphique 2 dimensions</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="k">k - doc graphique 2 dimensions</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6m" -->
+                               <option value="m" SELECTED>m - doc multimédia</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="m">m - doc multimédia</option>
+                       <!-- /TMPL_IF -->
+                       <!-- TMPL_IF name="f6r" -->
+                               <option value="r" SELECTED>r - Objet à 3 dimension, artefact</option>
+                       <!-- TMPL_ELSE -->
+                               <option value="r">r - Objet à 3 dimension, artefact</option>
+                       <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       <tr>
+               <td>7- Type de la notice</td>
+               <td>
+                       <select name="f7" size="1">
+                               <!-- TMPL_IF name="f7a" -->
+                                       <option value="a" SELECTED>a- Analytique (partie composante)</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="a">a- Analytique (partie composante)</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f7c" -->
+                                       <option value="c" SELECTED>c- Recueil factice</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="c">c- Recueil factice</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f7m" -->
+                                       <option value="m" SELECTED>m- Monographie</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="m">m- Monographie</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f7s" -->
+                                       <option value="s" SELECTED>s- Publication en série</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="s">s- Publication en série</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       
+       <tr>
+               <td>8- Niveau hiérarchique</td>
+               <td>
+                       <select name="f8" size="1">
+                               <!-- TMPL_IF name="f8 " -->
+                                       <option value=" " SELECTED>Non défini</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value=" ">Non défini</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f81" -->
+                                       <option value="1" SELECTED>1- Pas de relation hiérarchique</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="1">1- Pas de relation hiérarchique</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f82" -->
+                                       <option value="2" SELECTED>2- Notice de niveau le + élevé</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="2">a- Notice de niveau le + élevé</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f83" -->
+                                       <option value="3" SELECTED>3- Notice fille</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="3">3- Notice fille</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+
+       <tr>
+               <td>9-16 indicator/subfields/size</td>
+               <td>(auto-filled)</td>
+       <tr>
+               <td>17- Niveau de catalogage</td>
+               <td>
+                       <select name="f17" size="1">
+                               <!-- TMPL_IF name="f17 " -->
+                                       <option value=" " SELECTED>Rédigée "document en mains"</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value=" ">Rédigée "document en mains"</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f171" -->
+                                       <option value="1" SELECTED>1- Non rédigée "document en mains"</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="1">1- Non rédigée "document en mains"</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f172" -->
+                                       <option value="2" SELECTED>2 - Rédigée sur un doc avant publi</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="2">2 - Rédigée sur un doc avant publi</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f173" -->
+                                       <option value="3" SELECTED>3- Notice incomplète</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="3">3- Notice incomplète</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+
+       <tr>
+               <td>18 - Descriptive cataloging form</td>
+               <td>
+                       <select name="f18" size="1">
+                               <!-- TMPL_IF name="f18 " -->
+                                       <option value=" " SELECTED> conforme ISBD</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value=" "> conforme ISBD</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f18i" -->
+                                       <option value="i" SELECTED>i- partiellement conforme ISBD</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="i">i- partiellement conforme ISBD</option>
+                               <!-- /TMPL_IF -->
+                               <!-- TMPL_IF name="f18n" -->
+                                       <option value="n" SELECTED>n- Non conforme ISBD</option>
+                               <!-- TMPL_ELSE -->
+                                       <option value="n">n- Non conforme ISBD</option>
+                               <!-- /TMPL_IF -->
+                       </select>
+               </td>
+       </tr>
+       
+       <tr>
+               <td>19-24 entry map & lengths</td>
+               <td>(auto-filled)</td>
+       <tr>
+
+       <tr><td colspan=2><input type="submit" value="OK"></td></tr>
+</table>
+</form>
+<script>
+function report() {
+               opener.document.f.field_value[<!-- TMPL_VAR name="index" -->].value = 
+                       '     '+document.f_pop.f5.value +
+                       document.f_pop.f6.value+ document.f_pop.f7.value+
+                       document.f_pop.f8.value+ document.f_pop.f9.value+ '       '+
+                       document.f_pop.f17.value+ document.f_pop.f18.value+' 450  ';
+               self.close();
+               return false;
+       }
+</script>
+</body>
+</html>