Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
fieldset.rows legend {
margin-left: 1em;
font-weight: bold;
fieldset.rows legend {
margin-left: 1em;
font-weight: bold;
+fieldset.rows .inputnote {
+ float : left;
+ margin : .5em 0 0 10em;
+}
+
.tabs-nav li {
list-style : none;
}
.tabs-nav li {
list-style : none;
}
<!-- TMPL_ELSE -->
<span class="problem">No phone stored.</span>
<!-- /TMPL_IF --></li>
<!-- TMPL_ELSE -->
<span class="problem">No phone stored.</span>
<!-- /TMPL_IF --></li>
+ <li><!-- TMPL_VAR NAME="borrowerphonepro" --></li>
+ <li><!-- TMPL_VAR NAME="borrowermobile" --></li>
<!-- TMPL_IF NAME="borroweremail" -->
<li> <a href="mailto:<!-- TMPL_VAR NAME="email" -->"><!-- TMPL_VAR NAME="borroweremail" --></a></li>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="borroweremail" -->
<li> <a href="mailto:<!-- TMPL_VAR NAME="email" -->"><!-- TMPL_VAR NAME="borroweremail" --></a></li>
<!-- /TMPL_IF -->
<div id="toolbar">
<ul class="toolbar">
<li><a href="/cgi-bin/koha/serials/subscription-add.pl">New</a></li>
<div id="toolbar">
<ul class="toolbar">
<li><a href="/cgi-bin/koha/serials/subscription-add.pl">New</a></li>
- <li><a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a></li>
+ <!-- TMPL_IF NAME="subscriptionid" --><li><a href="subscription-add.pl?op=mod&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Edit</a></li>
<li><a href="subscription-add.pl?op=dup&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Duplicate </a></li>
<li><a href="#" onclick="popup(<!--TMPL_VAR Name="subscriptionid"-->)">Renew </a></li>
<li><a href="serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&serstatus=1,3">Receive</a></li>
<li><a href="subscription-add.pl?op=dup&subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->">Duplicate </a></li>
<li><a href="#" onclick="popup(<!--TMPL_VAR Name="subscriptionid"-->)">Renew </a></li>
<li><a href="serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&serstatus=1,3">Receive</a></li>
- <li><a href="javascript:confirm_deletion()">Delete</a></li>
+ <li><a href="javascript:confirm_deletion()">Delete</a></li><!-- /TMPL_IF -->
</ul>
<br clear="all" /> </div>
\ No newline at end of file
</ul>
<br clear="all" /> </div>
\ No newline at end of file
<fieldset class="brief">
<label for="patron">Patron: </label>
<div class="hint">(type card number or part of a name)</div>
<fieldset class="brief">
<label for="patron">Patron: </label>
<div class="hint">(type card number or part of a name)</div>
- <input type="text" size="20" id="patron" name="findborrower" />
+ <input type="text" size="20" id="patron" class="focus" name="findborrower" />
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber"-->" />
<input type="submit" value="Search" />
</fieldset>
<input type="hidden" name="biblionumber" value="<!-- TMPL_VAR NAME="biblionumber"-->" />
<input type="submit" value="Search" />
</fieldset>
<!-- TMPL_LOOP name="loop_suppliers" -->
<tr>
<td><!-- TMPL_VAR name="name" --></td>
<!-- TMPL_LOOP name="loop_suppliers" -->
<tr>
<td><!-- TMPL_VAR name="name" --></td>
- <td><a href="#" onclick="GetIt(<!-- TMPL_VAR NAME="aqbooksellerid" -->,'<!-- TMPL_VAR escape="URL" NAME="name" -->')">Get It !</a></td>
+ <td><a href="#" onclick="GetIt(<!-- TMPL_VAR NAME="aqbooksellerid" -->,'<!-- TMPL_VAR escape="URL" NAME="name" -->')">Choose</a></td>
</tr>
<!-- /TMPL_LOOP -->
</table>
</tr>
<!-- /TMPL_LOOP -->
</table>
<div id="bd">
<div id="yui-main">
<div class="yui-b">
<div id="bd">
<div id="yui-main">
<div class="yui-b">
+ <!-- TMPL_INCLUDE NAME="serials-toolbar.inc" -->
+
<!--TMPL_IF Name="information"-->
Serials updated :
<table>
<!--TMPL_IF Name="information"-->
Serials updated :
<table>
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
- <!-- TMPL_IF name="issn" -->
- <a href="/cgi-bin/koha/serials/serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->" title="Issues history"><!-- TMPL_VAR name="issn" --></a>
+ <!-- TMPL_IF name="issn" --><!-- TMPL_VAR name="issn" -->
<!-- /TMPL_IF -->
</td>
<!-- TMPL_IF name="toggle" -->
<!-- /TMPL_IF -->
</td>
<!-- TMPL_IF name="toggle" -->
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
- <!-- TMPL_IF name="title" -->
- <!-- TMPL_VAR name="title" -->
- <!-- TMPL_ELSE -->
- |
- <!-- /TMPL_IF -->
+
+ <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button" title="subscription detail"><!-- TMPL_IF name="title" --><!-- TMPL_VAR name="title" --><!-- TMPL_ELSE -->
+ ---
+ <!-- /TMPL_IF --></a>
+
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
</td>
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- /TMPL_IF -->
<!-- TMPL_IF name="branchcode" --><!-- TMPL_VAR name="branchcode" --><!-- /TMPL_IF -->
</td>
<!-- /TMPL_IF -->
<!-- TMPL_IF name="branchcode" --><!-- TMPL_VAR name="branchcode" --><!-- /TMPL_IF -->
</td>
+ <!-- TMPL_IF name="toggle" -->
+ <td class="hilighted">
+ <!-- TMPL_ELSE -->
+ <td>
+ <!-- /TMPL_IF -->
+ <a href="/cgi-bin/koha/serials/serial-issues.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->">Issue History</a>
+ </td>
<!-- TMPL_IF NAME="routing" -->
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_IF NAME="routing" -->
<!-- TMPL_IF name="toggle" -->
<td class="hilighted">
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<td>
<!-- /TMPL_IF -->
- <a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->" class="button" title="subscription detail">Detail</a>
- </td>
- <!-- TMPL_IF name="toggle" -->
- <td class="hilighted">
- <!-- TMPL_ELSE -->
- <td>
- <!-- /TMPL_IF -->
<a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&serstatus=1,3">Serial receive</a>
</td>
</tr>
<a href="/cgi-bin/koha/serials/serials-edit.pl?subscriptionid=<!-- TMPL_VAR name="subscriptionid" -->&serstatus=1,3">Serial receive</a>
</td>
</tr>
</table>
<!-- /TMPL_IF -->
</table>
<!-- /TMPL_IF -->
- <!-- TMPL_IF NAME="routing" -->
- <!-- TMPL_ELSE -->
- <div id="action">
- <a href="/cgi-bin/koha/serials/subscription-add.pl" class="button">
- Add subscription
- </a>
- </div>
- <!-- /TMPL_IF -->
var textbox = '';
// alert("X: "+x+"Y: "+y+"Z: "+z);
if(x){
var textbox = '';
// alert("X: "+x+"Y: "+y+"Z: "+z);
if(x){
- textbox +="<table>\n<tr><td> <\/td><td>"+x+"<\/td>";
+ textbox +="<table>\n<tr><th> <\/th><th>"+x+"<\/th>";
- textbox +="<td>"+y+"<\/td>";
+ textbox +="<th>"+y+"<\/th>";
- textbox +="<td>"+z+"<\/td>";
+ textbox +="<th>"+z+"<\/th>";
}
}
textbox +="<\/tr>\n";
}
}
textbox +="<\/tr>\n";
- textbox +="<tr><td>"+text[5]+"<\/td><td><input type='text' name='lastvaluetemp1' size='4' onkeyup='moreoptionsupdate(\"lastvalue1\")' value=" + document.f.lastvalue1.value +" /><\/td>\n";
+ textbox +="<tr><th scope=\"row\">"+text[5]+"<\/td><td><input type='text' name='lastvaluetemp1' size='4' onkeyup='moreoptionsupdate(\"lastvalue1\")' value=" + document.f.lastvalue1.value +" /><\/td>\n";
if(y){
textbox +="<td><input type='text' name='lastvaluetemp2' size='4' onkeyup='moreoptionsupdate(\"lastvalue2\")' value=" + document.f.lastvalue2.value + " /><\/td>\n";
if(z){
if(y){
textbox +="<td><input type='text' name='lastvaluetemp2' size='4' onkeyup='moreoptionsupdate(\"lastvalue2\")' value=" + document.f.lastvalue2.value + " /><\/td>\n";
if(z){
}
textbox +="<\/tr>\n";
if(y){
}
textbox +="<\/tr>\n";
if(y){
- textbox +="<tr><td>"+text[6]+"<\/td>";
+ textbox +="<tr><th scope=\"row\">"+text[6]+"<\/th>";
textbox +="<td><a href='javascript:irregularity_check()'>"+_('Irregularity?')+"<\/a><\/td>\n";
textbox +="<td><input type='text' name='whenmorethantemp2' size='4' onkeyup='moreoptionsupdate(\"whenmorethan2\",1)'><\/td>\n";
if(z){
textbox +="<td><a href='javascript:irregularity_check()'>"+_('Irregularity?')+"<\/a><\/td>\n";
textbox +="<td><input type='text' name='whenmorethantemp2' size='4' onkeyup='moreoptionsupdate(\"whenmorethan2\",1)'><\/td>\n";
if(z){
// alert("X: "+x+"Year: "+y);
if(x){
var hemi_select = parseInt('<!-- TMPL_VAR NAME="hemisphere" -->');
// alert("X: "+x+"Year: "+y);
if(x){
var hemi_select = parseInt('<!-- TMPL_VAR NAME="hemisphere" -->');
- textbox +="<table>\n<tr><td>"+ text[7] +"<\/td><td colspan='2'><select name='hemisphere' onchange='hemispheres(this.options[this.selectedIndex].value)'>";
+ textbox +="<li><label for=\"hemisphere\">"+ text[7] +"<\/label><select name='hemisphere' id=\"hemisphere\" onchange='hemispheres(this.options[this.selectedIndex].value)'>";
for(var i = 1; i <= 2; i++){
textbox +="<option value='"+i+"'";
if(i == hemi_select){
for(var i = 1; i <= 2; i++){
textbox +="<option value='"+i+"'";
if(i == hemi_select){
}
textbox +=">"+text[i+7]+"<\/option>";
}
}
textbox +=">"+text[i+7]+"<\/option>";
}
- textbox +="<\/select><\/td><\/tr>\n";
- textbox +="<tr><td> <\/td><td>"+x+"<\/td>";
- textbox +="<td>"+text[16]+"<\/td>";
+ textbox +="<\/li>\n";
+ textbox +="<table><tr><th> <\/th><th>"+x+"<\/th>";
+ textbox +="<th>"+text[16]+"<\/th>";
- textbox +="<tr><td>"+text[5]+"<\/td><td><select name='lastvaluetemp2' id='season1' onchange='moreoptionsupdate(\"lastvalue2\")'>";
+ textbox +="<tr><th scope=\"row\">"+text[5]+"<\/th><td><select name='lastvaluetemp2' id='season1' onchange='moreoptionsupdate(\"lastvalue2\")'>";
for(var j = 1; j <= 4; j++){
textbox +="<option value='"+j+"'>"+text[j+10]+"<\/option>";
}
for(var j = 1; j <= 4; j++){
textbox +="<option value='"+j+"'>"+text[j+10]+"<\/option>";
}
textbox +="<option value='"+k+"'>"+k+"<\/option>";
}
textbox +="<\/select><\/td><\/tr>\n";
textbox +="<option value='"+k+"'>"+k+"<\/option>";
}
textbox +="<\/select><\/td><\/tr>\n";
- textbox +="<tr><td>"+text[6]+"<\/td>";
+ textbox +="<tr><th scope=\"row\">"+text[6]+"<\/th>";
textbox +="<td><a href='javascript:irregularity_check()'>"+_('Irregularity?')+"<\/a><\/td>\n";
textbox +="<td><input type='text' name='whenmorethantemp2' size='4' onkeyup='moreoptionsupdate(\"whenmorethan2\",1)'><\/td>\n";
textbox +="<\/tr><\/table>\n";
textbox +="<td><a href='javascript:irregularity_check()'>"+_('Irregularity?')+"<\/a><\/td>\n";
textbox +="<td><input type='text' name='whenmorethantemp2' size='4' onkeyup='moreoptionsupdate(\"whenmorethan2\",1)'><\/td>\n";
textbox +="<\/tr><\/table>\n";
-function Create_biblio(f)
-{
- window.open('/cgi-bin/koha/cataloguing/addbiblio.pl?mode=popup','FindABibIndex','width=1024,height=768,toolbar=no,scrollbars=yes');
+function addbiblioPopup(biblionumber) {
+ var destination = "/cgi-bin/koha/cataloguing/addbiblio.pl?mode=popup";
+ if(biblionumber){ destination += "&biblionumber="+biblionumber; }
+ window.open(destination,'AddBiblioPopup','width=1024,height=768,toolbar=no,scrollbars=yes');
document.f.submit();
} else {
if(f.numbering_pattern.value == ''){
document.f.submit();
} else {
if(f.numbering_pattern.value == ''){
- alert(_("need to choose a numbering pattern"));
+ alert(_("Please choose a numbering pattern"));
- alert(_("need to check for irregularity by clicking 'Irregularity?'"));
+ alert(_("Please check for irregularity by clicking 'Irregularity?'"));
- alert(_('field marked with * are mandatory'));
+ alert(_('Fields marked with * are mandatory'));
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/subscription-add.pl">Serials</a> › <!-- TMPL_IF name="mod" --> Modify a subscription<!-- TMPL_ELSE -->Add a subscription<!-- /TMPL_IF --></div>
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/serials/subscription-add.pl">Serials</a> › <!-- TMPL_IF name="mod" --> Modify a subscription<!-- TMPL_ELSE -->Add a subscription<!-- /TMPL_IF --></div>
-<div id="doc3" class="yui-t2">
+<div id="doc3" class="yui-t7">
- <div id="yui-main">
- <div class="yui-b">
-
-
<!-- TMPL_IF name="mod" -->
<h1>Modify a subscription</h1>
<!-- TMPL_IF name="mod" -->
<h1>Modify a subscription</h1>
<input type="hidden" name="irreg_check" value="0" />
<input type="hidden" name="issuesexpected1" value="0" />
<input type="hidden" name="irreg_check" value="0" />
<input type="hidden" name="issuesexpected1" value="0" />
- <h2>Subscription information for subscription #<!--TMPL_VAR name="subscriptionid"--></h2>
- <table>
- <tr>
- <td>Librarian:</td>
- <td><!-- TMPL_VAR name="loggedinusername" --></td>
- </tr>
- <tr>
- <td><label>Supplier:</label></td>
- <td><input type="text" name="aqbooksellerid" value="<!-- TMPL_VAR name="aqbooksellerid" -->" size="8" /> (<input type="text" name="aqbooksellername" value="<!-- TMPL_VAR name="aqbooksellername" -->" disabled="disabled" readonly="readonly" />) <a href="#" onclick="FindAcqui(f)">Search for a Supplier</a></td>
- </tr>
- <tr>
- <td><label>Biblio</label></td>
- <td>
- <input type="text" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" size="8" />
+ <div class="yui-u first">
+ <fieldset id="subscription_add_information" class="rows">
+ <legend>Subscription information for subscription #<!--TMPL_VAR name="subscriptionid"--></legend>
+ <ol>
+ <li>
+ <span class="label">Librarian: </span> <!-- TMPL_VAR name="loggedinusername" -->
+ </li>
+ <li>
+ <label for="aqbooksellerid">Supplier:</label>
+ <input type="text" name="aqbooksellerid" id="aqbooksellerid" value="<!-- TMPL_VAR name="aqbooksellerid" -->" size="8" /> (<input type="text" name="aqbooksellername" value="<!-- TMPL_VAR name="aqbooksellername" -->" disabled="disabled" readonly="readonly" />) <div class="inputnote"><a href="#" onclick="FindAcqui(f)">Search for a Supplier</a></div>
+ </li>
+ <li>
+ <label for="biblionumber">Biblio</label>
+
+ <input type="text" name="biblionumber" id="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" size="8" />
(<input type="text" name="title" value="<!-- TMPL_VAR name="bibliotitle" -->" disabled="disabled" readonly="readonly" />)
(<input type="text" name="title" value="<!-- TMPL_VAR name="bibliotitle" -->" disabled="disabled" readonly="readonly" />)
- <a href="#" onclick="Plugin(f)">Search for Biblio</a> <!--TMPL_UNLESS Name="mod"--> |
- <a href="#" onclick="Create_biblio(f)">Create Biblio</a><!--/TMPL_UNLESS-->
- </td>
- </tr>
- <tr>
- <td><label>Call Number</label></td>
- <td><input type="text" name="callnumber" value="<!-- TMPL_VAR name="callnumber" -->" size="20" /></td>
- </tr>
- <tr>
- <td>Branch</td>
- <td>
- <select name="branchcode">
+ <div class="inputnote"> <a href="#" onclick="Plugin(f)">Search for Biblio</a> | <!--TMPL_IF Name="mod"--><a href="#" onclick="addbiblioPopup(<!-- TMPL_VAR NAME="biblionumber" -->); return false;">Edit biblio</a><!-- TMPL_ELSE -->
+ <a href="#" onclick="addbiblioPopup(); return false;">Create Biblio</a><!--/TMPL_IF--></div>
+
+ </li>
+ <li>
+ <label for="callnumber">Call Number</label>
+ <input type="text" name="callnumber" id="callnumber" value="<!-- TMPL_VAR name="callnumber" -->" size="20" />
+ </li>
+ <li>
+ <label for="branchcode">Branch</label>
+
+ <select name="branchcode" id="branchcode">
<option value="">Any branch</option>
<!-- TMPL_LOOP name="branchloop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
<!-- TMPL_ELSE -->
<option value="">Any branch</option>
<!-- TMPL_LOOP name="branchloop" --><!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
<!-- TMPL_ELSE -->
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</select> (select a branch)
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
</select> (select a branch)
- </td>
- </tr>
- <tr>
- <td><label>Notes</label></td>
- <td><textarea name="notes" cols="30" rows="2"><!-- TMPL_VAR name="notes" --></textarea></td>
- </tr>
- <tr>
- <td><label>Management Notes</label></td>
- <td><textarea name="internalnotes" cols="30" rows="2"><!-- TMPL_VAR name="internalnotes" --></textarea></td>
- </tr>
- <tr>
- <td>Patron alert with </td>
- <td>
- <select name="letter">
+
+ </li>
+ <li>
+ <label for="notes">Notes</label>
+ <textarea name="notes" id="notes" cols="30" rows="2"><!-- TMPL_VAR name="notes" --></textarea>
+ </li>
+ <li>
+ <label for="internalnotes">Management Notes</label>
+ <textarea name="internalnotes" id="internalnotes" cols="30" rows="2"><!-- TMPL_VAR name="internalnotes" --></textarea>
+ </li>
+ <li>
+ <label for="letter">Patron alert with </label>
+
+ <select name="letter" id="letter">
<option value="">un-activated</option>
<!-- TMPL_LOOP name="letterloop" -->
<!-- TMPL_IF name="selected" -->
<option value="">un-activated</option>
<!-- TMPL_LOOP name="letterloop" -->
<!-- TMPL_IF name="selected" -->
<option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="lettername" --></option>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
<option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="lettername" --></option>
<!-- /TMPL_IF -->
<!-- /TMPL_LOOP -->
- </select> (select a letter & patrons will be able to "follow" this subscription and recieve a mail on every new issue)
- </td>
- </tr>
- <tr>
- <td><b>Warning:</b></td>
- <td>
+ </select> <div class="inputnote">(select a letter & patrons will be able to "follow" this subscription and recieve a mail on every new issue)</div>
+
+ </li>
+ </ol>
+
+ <div class="warning"><b>Warning:</b>
+
<ul>
<li>Remember you <b>must</b> have created a biblio <b>before</b> creating a subscription</li>
<li>You also must have selected a supplier if you want to ask for late issues</li>
<ul>
<li>Remember you <b>must</b> have created a biblio <b>before</b> creating a subscription</li>
<li>You also must have selected a supplier if you want to ask for late issues</li>
- </ul>
- </td>
- </tr>
- </table>
+ </ul></div>
+
+
+ </fieldset>
+ </div>
+
+<div class="yui-u">
<div id="subscription_form_planning">
<div id="subscription_form_planning">
- <h2>Planning</h2>
- <table>
- <tr>
- <td>First Issue ETA:</td>
- <td>
- <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="button2" style="cursor: pointer;" alt=""/>
- <input type="text" name="firstacquidate" value="<!-- TMPL_VAR name="firstacquidate" -->" size=13 maxlength=10 id="acqui_date" style="border-width: 0px;" />
+ <fieldset class="rows">
+ <legend>Planning</legend>
+ <ol>
+ <li>
+ <label for="firstacquidate"> First Issue ETA:</label>
+
+ <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="button2" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />
+ <input type="text" name="firstacquidate" value="<!-- TMPL_VAR name="firstacquidate" -->" size="13" maxlength="10" id="acqui_date" style="border-width: 0px;" />
<!-- both scripts for calendar must follow the input field -->
<script type="text/javascript">
Calendar.setup({
<!-- both scripts for calendar must follow the input field -->
<script type="text/javascript">
Calendar.setup({
align : "Tl"
});
</script>
align : "Tl"
});
</script>
- </td>
- <td rowspan="5">
- <div id="displayexample"></div>
- </td>
- </tr>
- <tr>
- <td>Frequency: (*)</td>
- <td>
- <select name="periodicity" size="1" onchange="javascript:document.getElementsByName('manualhist')[0].checked=(this.value==1);num_pattern;">
+
+ </li>
+ <li>
+ <label for="periodicity">Frequency: (*)</label>
+
+ <select name="periodicity" size="1" id="periodicity" onchange="javascript:document.getElementsByName('manualhist')[0].checked=(this.value==1);num_pattern;">
<option value="" selected="selected">-- please choose --</option>
<!-- TMPL_IF name="periodicity16" -->
<option value="16" selected="selected">Without Periodicity</option>
<option value="" selected="selected">-- please choose --</option>
<!-- TMPL_IF name="periodicity16" -->
<option value="16" selected="selected">Without Periodicity</option>
<!-- TMPL_ELSE -->
<option value="11">1/2 years</option>
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<option value="11">1/2 years</option>
<!-- /TMPL_IF -->
- </select>
- Manual History :<input type="checkbox" name="manualhist" value="1" />
- </td>
- </tr>
- <tr>
- <td>Numbering Pattern:</td>
- <td>
+ </select></li>
+ <li><label for="manuallist"> Manual History:</label> <input type="checkbox" name="manualhist" id="manuallist" value="1" /></li>
+ <li>
+ <label for="numberpattern"> Numbering Pattern:</label>
+
<select name="numbering_pattern" size="1" id="numberpattern" onchange="num_pattern()">
<option value="" selected="selected">-- please choose --</option>
<!-- TMPL_IF name="numberpattern1" -->
<select name="numbering_pattern" size="1" id="numberpattern" onchange="num_pattern()">
<option value="" selected="selected">-- please choose --</option>
<!-- TMPL_IF name="numberpattern1" -->
<option value="7">None of the above</option>
<!-- /TMPL_IF -->
</select>
<option value="7">None of the above</option>
<!-- /TMPL_IF -->
</select>
- <div id="more_options"></div>
- <div id="irregularity"></div>
- </td>
- </tr>
- <tr>
- <td>Begins On: (*)</td>
- <td>
- <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="button1" style="cursor: pointer;" alt="" />
+ </li>
+ <li id="more_options"></li>
+ <li id="irregularity"></li>
+ <li id="displayexample"></li>
+ <li>
+ <label for="startdate"> Begins On: (*)</label>
+
+ <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="button1" style="cursor: pointer;" alt="Show Calendar" title="Show Calendar" />
<input type="text" name="startdate" value="<!-- TMPL_VAR name="startdate" -->" size="13" maxlength="10" id="beginning_date" />
<!-- both scripts for calendar must follow the input field -->
<script type="text/javascript">
<input type="text" name="startdate" value="<!-- TMPL_VAR name="startdate" -->" size="13" maxlength="10" id="beginning_date" />
<!-- both scripts for calendar must follow the input field -->
<script type="text/javascript">
align : "Tl"
});
</script>
align : "Tl"
});
</script>
- </td>
- </tr>
- <tr>
- <td>Subscription length</td>
- <td>
- <select name="subtype">
+
+ </li>
+ <li>
+ <label for="subtype">Subscription length</label>
+
+ <select name="subtype" id="subtype">
<!-- TMPL_LOOP NAME="subtype" -->
<!-- TMPL_IF NAME="selected" -->
<option value="<!-- TMPL_VAR NAME="name" -->" selected="selected">
<!-- TMPL_LOOP NAME="subtype" -->
<!-- TMPL_IF NAME="selected" -->
<option value="<!-- TMPL_VAR NAME="name" -->" selected="selected">
<!-- /TMPL_LOOP -->
</select>
<input type="text" name="sublength" value="<!-- TMPL_VAR name="sublength" -->" size="3" onkeypress="return check_input(event)" /> (*) (enter amount in numerals)
<!-- /TMPL_LOOP -->
</select>
<input type="text" name="sublength" value="<!-- TMPL_VAR name="sublength" -->" size="3" onkeypress="return check_input(event)" /> (*) (enter amount in numerals)
- </td>
- </tr>
- <tr>
- <td>Numbering calculation</td>
- <td>Numbering formula: <input type="text" name="numberingmethod" id="numberingmethod" value="<!-- TMPL_VAR name="numberingmethod" -->" /></td>
- </tr>
- <tr>
- <td colspan="3">
- <div id="basetable" style="display: none;">
+
+ </li>
+ <li><label for="numberingmethod">Numbering formula:</label> <input type="text" name="numberingmethod" id="numberingmethod" value="<!-- TMPL_VAR name="numberingmethod" -->" />
+ </li>
+ <li>
+ <div id="basetable" style="display: none;">
<table class="small">
<tr>
<th> </th>
<table class="small">
<tr>
<th> </th>
+ </li>
+ </ol>
+ </fieldset>
</div>
<!--TMPL_IF Name="history"-->
<div id="subscription_form_history">
</div>
<!--TMPL_IF Name="history"-->
<div id="subscription_form_history">
<td><input type="text" name="enddate" value="<!-- TMPL_VAR name="enddate" -->" />(if empty : subscription still active)</td>
</tr>
<tr>
<td><input type="text" name="enddate" value="<!-- TMPL_VAR name="enddate" -->" />(if empty : subscription still active)</td>
</tr>
<tr>
- <td>Recieved issues</td>
+ <td>Received issues</td>
<td><textarea name="recievedlist" cols="60" rows="5"><!-- TMPL_VAR name="recievedlist" --></textarea></td>
</tr>
<tr>
<td><textarea name="recievedlist" cols="60" rows="5"><!-- TMPL_VAR name="recievedlist" --></textarea></td>
</tr>
<tr>
<!-- TMPL_ELSE -->
<input type="button" value="Add subscription" onclick="Check(this.form)" accesskey="w" />
<!-- /TMPL_IF -->
<!-- TMPL_ELSE -->
<input type="button" value="Add subscription" onclick="Check(this.form)" accesskey="w" />
<!-- /TMPL_IF -->
-<div class="yui-b">
-<!-- TMPL_INCLUDE NAME="serials-menu.inc" -->
-</div>
-</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
\ No newline at end of file
<!-- TMPL_INCLUDE NAME="serials-toolbar.inc" -->
<h1>Subscription #<!--TMPL_VAR name="subscriptionid"--></h1>
<!-- TMPL_INCLUDE NAME="serials-toolbar.inc" -->
<h1>Subscription #<!--TMPL_VAR name="subscriptionid"--></h1>
- <!--TMPL_IF Name="abouttoexpire"--><div class="problem">Subscription is by its end. It should be renewed now.</div><!--/TMPL_IF-->
+ <!--TMPL_IF Name="abouttoexpire"--><div class="problem">Subscription is near its end. It should be renewed now.</div><!--/TMPL_IF-->
<div id="subscription_info">
<h2>Subscription information</h2>
<div id="subscription_info">
<h2>Subscription information</h2>
borrowerstreetaddress => $borrowerinfo->{'address'},
borrowercity => $borrowerinfo->{'city'},
borrowerphone => $borrowerinfo->{'phone'},
borrowerstreetaddress => $borrowerinfo->{'address'},
borrowercity => $borrowerinfo->{'city'},
borrowerphone => $borrowerinfo->{'phone'},
+ borrowermobile => $borrowerinfo->{'mobile'},
+ borrowerfax => $borrowerinfo->{'fax'},
+ borrowerphonepro => $borrowerinfo->{'phonepro'},
borroweremail => $borrowerinfo->{'email'},
borroweremailpro => $borrowerinfo->{'emailpro'},
borrowercategory => $borrowerinfo->{'category'},
borroweremail => $borrowerinfo->{'email'},
borroweremailpro => $borrowerinfo->{'emailpro'},
borrowercategory => $borrowerinfo->{'category'},