intranetuserjs => C4::Context->preference("intranetuserjs"),
TemplateEncoding => C4::Context->preference("TemplateEncoding"),
IndependantBranches => C4::Context->preference("IndependantBranches"),
+ AutoLocation => C4::Context->preference("AutoLocation"),
);
$template->param( loginprompt => 1 ) unless $info{'nopermission'};
$template->param (
ISBD => $res,
biblionumber => $biblionumber,
+ isbdview => 1,
);
output_html_with_http_headers $query, $cookie, $template->output;
biblionumber => $biblionumber,
popup => $popup,
hide_marc => C4::Context->preference('hide_marc'),
+ marcview => 1,
);
output_html_with_http_headers $query, $cookie, $template->output;
$template->param(
ITEM_RESULTS => \@items,
biblionumber => $biblionumber,
+ detailview => 1,
subscriptions => \@subs,
subscriptionsnumber => $subscriptionsnumber,
subscriptiontitle => $dat->{title},
}
$template->param(
total => scalar @$issues,
- issues => $issues
+ issues => $issues,
+ issuehistoryview => 1,
);
output_html_with_http_headers $query, $cookie, $template->output;
$template->param(count => $data->{'count'});
$template->param(BIBITEM_DATA => \@results);
$template->param(ITEM_DATA => $items);
+$template->param(moredetailview => 1);
$template->param(loggedinuser => $loggedinuser);
$template->param(biblionumber => $biblionumber);
border-bottom : 1px solid #E8E8E8;
clear : both;
font-size : 90%;
- padding :.2em .5em .4em .5em;
+ padding :.2em .5em .4em 10px;
+}
+
+#header+#breadcrumbs {
+ margin-top : 1em;
}
#commonsearch {
}
.required {
- background-color:red;
- color:white;
+ color : #C00;
+}
+
+span.required {
+ font-style : italic;
}
.term {
div#menu li a {
text-decoration: none;
display: block;
- background-color: #EEE;
+ background : #EEE url(../../img/side-tab-gradient.gif) repeat-y top right;
border: 1px solid #000;
font-size: 111%;
margin: .5em 0;
}
div#menu li a:hover {
- background-color: #F0F0CC;
+ background : #E8F0F6 url(../../img/side-tab-gradient-hover.gif) repeat-y top right;
}
div#menu li.active a:hover {
#menu ul li.active a {
background-color: #FFF;
+ background-image : none;
border-right: 0;
font-weight: bold;
}
\ No newline at end of file
<div id="menu">
<ul>
- <li class="active"> <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Normal</a></li>
-<li> <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">MARC</a></li>
- <li> <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">ISBD</a></li>
- <li><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Items</a></li>
- <li><a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Holds</a></li>
+ <!-- TMPL_IF NAME="detailview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF -->
+ <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Normal</a></li>
+<!-- TMPL_IF NAME="marcview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF -->
+<a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">MARC</a></li>
+ <!-- TMPL_IF NAME="isbdview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF -->
+ <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">ISBD</a></li>
+ <!-- TMPL_IF NAME="moredetailview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF -->
+ <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Items</a></li>
+ <li>
+ <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Holds</a></li>
<!-- TMPL_IF name="subscriptionsnumber" --><li><a href="/cgi-bin/koha/serials/serials-home.pl?searched=1&title_filter=<!-- TMPL_VAR NAME="subscriptiontitle" -->">Subscription(s)</a></li><!-- /TMPL_IF -->
</ul>
<ul>
-<li> <a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&title=<!-- TMPL_VAR NAME="title"-->&author=<!-- TMPL_VAR NAME="author"-->" >Circulation history</a></li>
- <!-- TMPL_IF NAME="CAN_user_parameters"--><li><a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&module=CATALOGUING&action=MODIFY&object=<!-- TMPL_VAR NAME="biblionumber"-->">Modification log</a> </li><!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="issuehistoryview" --><li class="active"><!-- TMPL_ELSE --><li><!-- /TMPL_IF -->
+<a href="/cgi-bin/koha/catalogue/issuehistory.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&title=<!-- TMPL_VAR NAME="title"-->&author=<!-- TMPL_VAR NAME="author"-->" >Checkout history</a></li>
+<!-- TMPL_IF NAME="CAN_user_parameters"--><li><a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&module=CATALOGUING&action=MODIFY&object=<!-- TMPL_VAR NAME="biblionumber"-->">Modification log</a> </li><!-- /TMPL_IF -->
</ul>
</div>
\ No newline at end of file
var moremenu = [
{ text: "Renew Patron", onclick: { fn: confirm_reregistration } },
- { text: "Set Permissions", url: "/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->"},
+ { text: "Set Permissions", url: "/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->",<!-- TMPL_UNLESS NAME="CAN_user_permission" -->disabled: true, <!-- /TMPL_UNLESS -->},
{ text: "Delete", onclick: { fn: confirm_deletion } },
]
});
new YAHOO.widget.Button("checkout");
- new YAHOO.widget.Button("addchild");
+ <!-- TMPL_IF name="adultborrower" -->new YAHOO.widget.Button("addchild");<!-- /TMPL_IF -->
new YAHOO.widget.Button("editpatron");
new YAHOO.widget.Button("addnote");
new YAHOO.widget.Button("changepassword");
</ul>
</div>
-<div id="login"> <!-- TMPL_IF NAME="AutoLocation" --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong><!-- TMPL_ELSE --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong> (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set</a>) | <!-- /TMPL_IF --> <!-- TMPL_IF NAME="loggedinusername" --><span class="loggedinusername"><!-- TMPL_VAR NAME="loggedinusername" --></span> (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>) | <!-- TMPL_ELSE -->You are not logged in | <!-- /TMPL_IF --><a href="/cgi-bin/koha/help.pl" id="helper" onclick="window.open('/cgi-bin/koha/help.pl','Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); return false;">[ ? ]</a></div></div>
+<div id="login"><!-- TMPL_IF NAME="AutoLocation" --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong><!-- TMPL_ELSE --><!-- TMPL_IF NAME="IndependantBranches" --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong><!-- TMPL_ELSE --><strong><!-- TMPL_VAR NAME="LoginBranchname" --></strong> (<a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set</a>)<!-- /TMPL_IF --><!-- /TMPL_IF --> | <!-- /TMPL_IF --> <!-- TMPL_IF NAME="loggedinusername" --><span class="loggedinusername"><!-- TMPL_VAR NAME="loggedinusername" --></span> (<a href="/cgi-bin/koha/mainpage.pl?logout.x=1">Log Out</a>) | <!-- TMPL_ELSE -->You are not logged in | <!-- /TMPL_IF --><a href="/cgi-bin/koha/help.pl" id="helper" onclick="window.open('/cgi-bin/koha/help.pl','Koha_Help','width=600,height=600,toolbar=false,scrollbars=yes'); return false;">[ ? ]</a></div></div>
<!-- TMPL_IF NAME="intranetreadinghistory" --><li><a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Reading Record</a></li><!-- /TMPL_IF -->
<!-- TMPL_IF NAME="CAN_user_parameters"--><li><a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&module=MEMBERS&action=MODIFY&object=<!-- TMPL_VAR NAME="borrowernumber" -->">Modification Log</a></li><!-- /TMPL_IF -->
</ul>
+<!-- /TMPL_IF -->
\ No newline at end of file
var moremenu = [
{ text: "Renew Patron", onclick: { fn: confirm_reregistration } },
- { text: "Set Permissions", url: "/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->"},
+ { text: "Set Permissions", url: "/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->",<!-- TMPL_UNLESS NAME="CAN_user_permission" -->disabled: true, <!-- /TMPL_UNLESS -->},
{ text: "Delete", onclick: { fn: confirm_deletion } },
]
});
new YAHOO.widget.Button("checkout");
- new YAHOO.widget.Button("addchild");
+ <!-- TMPL_IF name="adultborrower" -->new YAHOO.widget.Button("addchild");<!-- /TMPL_IF -->
new YAHOO.widget.Button("editpatron");
new YAHOO.widget.Button("addnote");
new YAHOO.widget.Button("changepassword");
<p><label>Password:<br />
<input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" /></label>
</p>
-<!-- TMPL_UNLESS name="IndependantBranches" -->
- <p><label for="branch">Library:<br />
+
+<!-- TMPL_IF NAME="AutoLocation" --><!-- TMPL_ELSE --><!-- TMPL_IF NAME="IndependantBranches" --><!-- TMPL_ELSE --><p><label for="branch">Library:<br />
<select name="branch" id="branch" class="input">
<!-- TMPL_LOOP NAME="branchloop" -->
<option value="<!-- TMPL_VAR NAME='branchcode' -->"><!-- TMPL_VAR NAME='branchname' --></option>
<!-- /TMPL_LOOP -->
</select></label>
- </p>
-<!-- /TMPL_UNLESS -->
+ </p><!-- /TMPL_IF --><!-- /TMPL_IF -->
+
<!-- <p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Remember me</label></p> -->
<p class="submit"><input id="submit" type="submit" value="Login »" tabindex="4" /></p>
<!-- /TMPL_IF -->
]
<!-- TMPL_IF name="volume" -->, <!-- TMPL_VAR name="volume" --><!-- /TMPL_IF -->
- <!-- TMPL_IF name="volumedesc" -->, <!-- TMPL_VAR name="volumedesc" --><!-- /TMPL_IF -->
+ <!-- TMPL_IF name="volumedesc" -->, <!-- TMPL_VAR name="volumedesc" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="number" --> <!-- TMPL_VAR NAME="number" --> <!-- /TMPL_IF -->
<!-- TMPL_IF name="unititle" -->, <!-- TMPL_VAR name="unititle" --><!-- /TMPL_IF -->
/ <!-- TMPL_VAR NAME="author" --> <!-- TMPL_VAR NAME="class" -->
</p>
<!-- /TMPL_LOOP -->
</ul>
</li>
- <!-- /TMPL_IF -->
- <!-- TMPL_IF name="illus" -->
- <li><strong>Illustrator:</strong> <!-- TMPL_VAR name="illus" --></li>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="publishercode" -->
<li><strong>Published by:</strong>
<a href="/cgi-bin/koha/opac-search.pl?q=pb,wrdl:<!-- TMPL_VAR NAME="publishercode"-->">
<!-- TMPL_VAR NAME="publishercode" -->
- </a> <!-- TMPL_IF name="place" -->(<!-- TMPL_VAR NAME="place"-->)<!--/TMPL_IF--> <!-- TMPL_IF NAME="publicationyear" -->, <!-- TMPL_VAR NAME="publicationyear" --><!-- /TMPL_IF -->
+ </a> <!-- TMPL_IF name="place" -->(<!-- TMPL_VAR NAME="place"-->)<!--/TMPL_IF--> <!-- TMPL_IF NAME="publicationyear" -->, <!-- TMPL_VAR NAME="publicationyear" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="editionstatement" --><!-- TMPL_VAR NAME="editionstatement" --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="editionresponsability" --><!-- TMPL_VAR NAME="editionresponsability" --><!-- /TMPL_IF -->
</li>
<!-- /TMPL_IF -->
<li><strong>Description:</strong>
- <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" -->
+ <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --><!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF -->
<!-- TMPL_IF name="size" -->, <!-- /TMPL_IF --><!-- TMPL_VAR name="size" -->
</li>
</ul>
<li><strong>Notes:</strong> <!-- TMPL_VAR NAME="notes" --></li>
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
- <!-- TMPL_IF name="unititle" -->
- <li><strong>Alternate title:</strong> <!-- TMPL_VAR NAME="unititle" --></li>
- <!-- /TMPL_IF -->
<!-- TMPL_IF name="classification" -->
<li><strong>Classification:</strong> <!-- TMPL_VAR name="subclass" --><!-- TMPL_VAR name="classification" --></li>
<!-- /TMPL_IF -->
</div>
</div>
<div class="yui-b">
-<!-- TMPL_INCLUDE NAME="cat-menu.inc" -->
+<!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
</div>
<div class="yui-b">
<!-- TMPL_INCLUDE NAME="biblio-view-menu.inc" -->
-<!-- TMPL_INCLUDE NAME="cat-menu.inc" -->
</div>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
function PopupZ3950() {
var strQuery = AreZ3950MandoriesOk();
if(strQuery){
- window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"+strQuery,"z3950search",'width=640,height=400,location=yes,toolbar=no,scrollbars=yes');
+ window.open("/cgi-bin/koha/cataloguing/z3950_search.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"+strQuery,"z3950search",'width=640,height=400,location=yes,toolbar=no,scrollbars=yes,resize=yes');
} else {
var strAlert = _("To perform a z39.50 search, you must enter at least one of the following: \n\n ISBN\n ISSN\n Title\n Author\n");
alert(strAlert);
</script>
<!-- TMPL_INCLUDE NAME="header.inc" -->
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloguing</a> › <!-- TMPL_IF NAME="biblionumtagfield" -->Edit MARC Record Number <!-- TMPL_VAR name="biblionumber" --><!-- TMPL_ELSE -->Add MARC Record<!-- /TMPL_IF --></div>
<div id="doc" class="yui-t7">
<div id="yui-main">
<div class="yui-g">
+
+
<h1><!-- TMPL_IF NAME="biblionumtagfield" -->Edit MARC Record Number <!-- TMPL_VAR name="biblionumber" --><!-- TMPL_ELSE -->Add MARC Record<!-- /TMPL_IF --></h1>
<!-- TMPL_UNLESS name="number" -->
</head>
<body>
<!-- TMPL_INCLUDE NAME="header.inc" -->
+<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/cataloguing/addbooks.pl">Cataloguing</a> › Items for <!-- TMPL_VAR name="title" --> <!-- TMPL_IF NAME="author" --> by <!-- TMPL_VAR name="author" --><!-- /TMPL_IF --> (Record #<!-- TMPL_VAR NAME="biblionumber" -->)</div>
<div id="doc3" class="yui-t2">
<li><a href="/cgi-bin/koha/circ/circulation.pl">Check Out</a></li>
<li><a href="/cgi-bin/koha/circ/returns.pl">Check In</a></li>
<li><a href="/cgi-bin/koha/circ/branchtransfers.pl">Transfer</a></li>
- <!-- TMPL_UNLESS NAME="AutoLocation" -->
- <li><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a></li>
- <!-- /TMPL_UNLESS -->
+ <!-- TMPL_IF NAME="AutoLocation" --><!-- TMPL_ELSE --><!-- TMPL_IF NAME="IndependantBranches" --><!-- TMPL_ELSE --><li><a href="/cgi-bin/koha/circ/selectbranchprinter.pl">Set library</a></li><!-- /TMPL_IF --><!-- /TMPL_IF -->
</ul>
</div>
<!-- TMPL_UNLESS NAME="noissues" -->
<div class="yui-u first"><form method="post" action="/cgi-bin/koha/circ/circulation.pl" name="mainform">
<fieldset id="circ_circulation_issue">
- <label for="barcode">Enter item barcode: </label>
- <div class="hint">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</div>
+ <label for="barcode">Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->) </label>
+ <div class="hint">Enter item barcode:</div>
<input type="text" name="barcode" id="barcode" class="focus" size="14" />
<!-- RESULT OF ISSUING REQUEST -->
<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Koha › Patrons ›
<!-- TMPL_IF NAME="opadd" --> Add<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF -->
-patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --><!-- TMPL_ELSE -->Modify<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF -->
-patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --><!-- /TMPL_IF --></title>
+patron <!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR name="firstname" --><!-- TMPL_ELSE -->Modify<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF -->
+patron <!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR name="firstname" --><!-- /TMPL_IF --></title>
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
<script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/members.js"></script>
<!-- TMPL_INCLUDE NAME="calendar.inc" -->
Add<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF -->
patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
<!-- TMPL_ELSE -->
-<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" --></a> › Modify<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF -->
-patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --><!-- /TMPL_IF --></div>
+<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" --></a> › <strong>Modify<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF -->
+patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --><!-- /TMPL_IF --></strong></div>
<div id="doc3" class="yui-t2">
<!-- /TMPL_IF-->
Title: </label>
<!-- TMPL_VAR NAME="borrotitlepopup" -->
+ <!-- TMPL_IF NAME="mandatorytitle" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_ELSE -->
<input type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
<!-- /TMPL_IF -->
+ <!-- TMPL_IF NAME="mandatorysurname" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryfirstname" -->
<!-- /TMPL_IF-->
Firstname: </label>
<input type="text" id="firstname" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->" />
+ <!-- TMPL_IF NAME="mandatoryfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatorydateofbirth" -->
}
);
</script>
+ <!-- TMPL_IF NAME="mandatorydateofbirth" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryinitials" -->
<!-- /TMPL_IF-->
Initials: </label>
<input type="text" id="initials" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->" />
+ <!-- TMPL_IF NAME="mandatoryinitials" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryothernames" -->
<!-- /TMPL_IF-->
Other name: </label>
<input type="text" id="othernames" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" />
+<!-- TMPL_IF NAME="mandatoryothernames" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<!--TMPL_IF Name="I"-->
<input type="hidden" name="sex" value="N" />
<!-- /TMPL_IF-->
Street number: </label>
<input type="text" id="streetnumber" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->" />
+<!-- TMPL_IF NAME="mandatorystreetnumber" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<!-- TMPL_IF NAME="road_cgipopup" -->
<li>
<!-- /TMPL_IF-->
Street type: </label>
<!-- TMPL_VAR NAME="roadpopup" -->
+ <!-- TMPL_IF NAME="mandatorystreettype" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<!--/TMPL_IF-->
<li>
<!--/TMPL_IF-->
Address: </label>
<input type="text" id="address" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->" />
+ <!-- TMPL_IF NAME="mandatoryaddress" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryaddress2" -->
<!-- /TMPL_IF-->
Address 2: </label>
<input type="text" id="address2" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->" />
- </li>
- <li>
- <!-- TMPL_IF NAME="mandatoryzipcode" -->
- <label for="zipcode" class="required">
- <!--TMPL_ELSE-->
- <label for="zipcode">
- <!-- /TMPL_IF-->
- Zipcode: </label>
- <input type="text" name="zipcode" id="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->" />
- </li>
- <!-- TMPL_IF NAME="city_cgipopup" -->
+ <!-- TMPL_IF NAME="mandatoryaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
+ </li>
+ <!-- TMPL_IF NAME="city_cgipopup" -->
<li>
<!-- TMPL_IF NAME="mandatoryselect_city" -->
<label for="select_city" class="required">
<!-- /TMPL_IF-->
Select a city: </label>
<!-- TMPL_VAR NAME="citypopup" -->
+ <!-- TMPL_IF NAME="mandatoryselect_city" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<!-- /TMPL_IF-->
<li>
<!-- /TMPL_IF-->
City: </label>
<input type="text" id="city" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->" />
+ <!-- TMPL_IF NAME="mandatorycity" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
+ <li>
+ <!-- TMPL_IF NAME="mandatoryzipcode" -->
+ <label for="zipcode" class="required">
+ <!--TMPL_ELSE-->
+ <label for="zipcode">
+ <!-- /TMPL_IF-->
+ Zipcode: </label>
+ <input type="text" name="zipcode" id="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->" />
+ <!-- TMPL_IF NAME="mandatoryzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
+ </li>
+
</ol>
</fieldset>
<fieldset class="rows" id="memberentry_contact">
<label for="B_email">
<!-- /TMPL_IF-->
E-mail (home): </label>
- <input type="text" id="B_email" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" />
+ <input type="text" id="B_email" name="B_email" size="45" value="<!-- TMPL_VAR NAME="B_email" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_email" --><span class="required">Required</span><!-- /TMPL_IF --> </li>
+ <li>
<!-- TMPL_IF NAME="mandatoryB_phone" -->
<label for="B_phone" class="required">
<!--TMPL_ELSE-->
<label for="B_phone">
<!-- /TMPL_IF-->
- Phone (cell): </label>
- <input type="text" id="B_phone" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
+ Phone (mobile): </label>
+ <input type="text" id="B_phone" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_phone" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<!--/TMPL_IF-->
<li>
<!-- /TMPL_IF-->
Phone (home): </label>
<input type="text" id="phone" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" />
+ <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryphonepro" -->
<!--TMPL_ELSE-->
<label for="phonepro">
<!-- /TMPL_IF-->
- Phone (prof): </label>
+ Phone (work): </label>
<input type="text" id="phonepro" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" />
+ <!-- TMPL_IF NAME="mandatoryphonepro" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatorymobile" -->
<!-- /TMPL_IF-->
Phone (cell): </label>
<input type="text" id="mobile" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->" />
+ <!-- TMPL_IF NAME="mandatorymobile" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryemail" -->
<label for="email">
<!-- /TMPL_IF-->
E-mail (home): </label>
- <input type="text" id="email" name="email" value="<!-- TMPL_VAR NAME="email" -->" />
+ <input type="text" id="email" name="email" size="45" value="<!-- TMPL_VAR NAME="email" -->" />
+ <!-- TMPL_IF NAME="mandatoryemail" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryemailpro" -->
<!--TMPL_ELSE-->
<label for="emailpro">
<!-- /TMPL_IF-->
- E-mail (prof): </label>
- <input type="text" id="emailpro" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" />
+ E-mail (work): </label>
+ <input type="text" id="emailpro" name="emailpro" size="45" value="<!-- TMPL_VAR NAME="emailpro" -->" />
+ <!-- TMPL_IF NAME="mandatoryemailpro" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryfax" -->
<!-- /TMPL_IF-->
Fax: </label>
<input type="text" id="fax" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" />
+ <!-- TMPL_IF NAME="mandatoryfax" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
</ol>
</fieldset>
<!-- /TMPL_IF-->
Address: </label>
<input type="text" id="B_address" name="B_address" size="40" value="<!-- TMPL_VAR NAME="B_address" -->" />
- </li>
- <li>
- <!-- TMPL_IF NAME="mandatoryB_zipcode" -->
- <label for="B_zipcode" class="required">
- <!--TMPL_ELSE-->
- <label for="B_zipcode">
- <!-- /TMPL_IF-->
- Zipcode: </label>
- <input type="text" id="B_zipcode" name="B_zipcode" maxlength="5" size="5" value="<!-- TMPL_VAR NAME="B_zipcode" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_address" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryB_city" -->
<!-- /TMPL_IF-->
City: </label>
<input type="text" id="B_city" name="B_city" size="20" value="<!-- TMPL_VAR NAME="B_city" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_city" --><span class="required">Required</span><!-- /TMPL_IF -->
+ </li>
+ <li>
+ <!-- TMPL_IF NAME="mandatoryB_zipcode" -->
+ <label for="B_zipcode" class="required">
+ <!--TMPL_ELSE-->
+ <label for="B_zipcode">
+ <!-- /TMPL_IF-->
+ Zipcode: </label>
+ <input type="text" id="B_zipcode" name="B_zipcode" maxlength="5" size="5" value="<!-- TMPL_VAR NAME="B_zipcode" -->" />
+ <!-- TMPL_IF NAME="mandatoryB_zipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
</ol>
</fieldset>
<!-- /TMPL_IF-->
Organisation(s): </label>
<!-- TMPL_VAR NAME="CGIorganisations" -->
+ <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
</ol>
</fieldset>
<label for="cardnumber">
<!-- /TMPL_IF-->
Card number: </label>
- <input type="text" id="cardnumber" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" /></li>
+ <input type="text" id="cardnumber" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
+ <!-- TMPL_IF NAME="mandatorycardnumber" --><span class="required">Required</span><!-- /TMPL_IF --></li>
<li>
<!-- TMPL_IF NAME="mandatorybranchcode" -->
<label for="branchcode" class="required">
<!-- /TMPL_IF-->
Branch: </label>
<!-- TMPL_VAR NAME="CGIbranch" -->
+ <!-- TMPL_IF NAME="mandatorybranchcode" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="catcodepopup" -->
<!-- TMPL_VAR NAME="CGIsort1" -->
<!--TMPL_ELSE-->
<input type="text" id="sort1" name="sort1" size="20" value="<!-- TMPL_VAR NAME="sort1" -->" />
+ <!-- TMPL_IF NAME="mandatorysort1" --><span class="required">Required</span><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_VAR NAME="CGIsort2" -->
<!--TMPL_ELSE-->
<input type="text" id="sort2" name="sort2" size="20" value="<!-- TMPL_VAR NAME="sort2" -->" />
+ <!-- TMPL_IF NAME="mandatorysort2" --><span class="required">Required</span><!-- /TMPL_IF -->
<!-- /TMPL_IF -->
</li>
</ol>
}
);
</script>
+ <!-- TMPL_IF NAME="mandatorydateenrolled" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatorydateexpiry" -->
}
);
</script>
+ <!-- TMPL_IF NAME="mandatorydateexpiry" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryopacnote" -->
<!-- /TMPL_IF-->
OPAC note: </label>
<textarea id="opacnote" name="opacnote" cols="40" rows="2"><!-- TMPL_VAR NAME="opacnote" --></textarea>
+ <!-- TMPL_IF NAME="mandatoryopacnote" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatoryborrowernotes" -->
<!-- /TMPL_IF-->
Library note: </label>
<textarea id="borrowernotes" name="borrowernotes" cols="40" rows="2"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
+ <!-- TMPL_IF NAME="mandatoryborrowernotes" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
</ol>
</fieldset>
<!-- /TMPL_IF-->
OPAC Login: </label>
<input type="text" id="userid" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->" />
+ <!-- TMPL_IF NAME="mandatoryuserid" --><span class="required">Required</span><!-- /TMPL_IF -->
</li>
<li>
<!-- TMPL_IF NAME="mandatorypassword" -->
<input type="text" id="password" name="password" size="20" value="" />
<!--/TMPL_IF-->
<!--/TMPL_IF-->
+ <!-- TMPL_IF NAME="mandatorypassword" --><span class="required">Required</span><!-- /TMPL_IF -->
</li></ol>
</fieldset>
<!--this zones are not necessary in modif mode -->
<!-- TMPL_ELSE -->
<input type="button" name="save" onclick="return check_form_borrowers();" value="Save Changes" />
<!--/TMPL_IF -->
+ <a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a>
</fieldset>
</form>
$data{'dateenrolled'}=$today;
}
-$data{'surname'}=uc($data{'surname'});
-$data{'firstname'}=ucfirst(lc $data{'firstname'});
+$data{'surname'}=uc($data{'surname'}) if C4::Context->preference('uppercasesurnames');
$data{'dateenrolled'}=format_date($data{'dateenrolled'});
$data{'dateexpiry'}=format_date($data{'dateexpiry'});
-$data{'contactname'}=uc($data{'contactname'});
-$data{'contactfirstname'}= ucfirst( lc $data{'contactfirstname'});
+$data{'contactname'}=uc($data{'contactname'}) if C4::Context->preference('uppercasesurnames');
$data{'dateofbirth'} = format_date($data{'dateofbirth'});
$template->param( "showguarantor" => 1) if ($category_type!~/A|I/);# associate with step to know where u are