shelves - corrections and HTML validation changes
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
c86f5df431
commit
084e7a404b
|
|
@ -23,7 +23,7 @@ $(document).ready(function(){
|
|||
});
|
||||
});
|
||||
|
||||
function confirmDelete(message,n){
|
||||
function confirmDelete(message){
|
||||
if (window.confirm(message)) {
|
||||
location.href="/cgi-bin/koha/virtualshelves/shelves.pl?shelves=1&DEL-<!-- TMPL_VAR NAME="shelfnumber" -->=1";
|
||||
} else {
|
||||
|
|
@ -125,7 +125,7 @@ $(document).ready(function(){
|
|||
<th>Icon</th>
|
||||
<th>Title</th>
|
||||
<th>Author</th>
|
||||
<th>Call No.</th>
|
||||
<th>Date Added</th>
|
||||
<th> </th>
|
||||
</tr>
|
||||
<!-- TMPL_LOOP NAME="itemsloop" -->
|
||||
|
|
@ -286,7 +286,7 @@ $(document).ready(function(){
|
|||
<td><!-- TMPL_VAR NAME="count" --></td>
|
||||
<td><!-- TMPL_IF NAME="mine" -->
|
||||
<form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="get">
|
||||
<input type="hidden" name="shelf" value="<!-- TMPL_VAR NAME="shelf" -->" />
|
||||
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelf" -->" />
|
||||
<input type="hidden" name="op" value="modif" />
|
||||
<input type="submit" value="Edit" />
|
||||
</form>
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@
|
|||
<th>Title</th>
|
||||
<th>Author</th>
|
||||
<th>Copyright</th>
|
||||
<th>Call No.</th>
|
||||
<th>Date Added</th>
|
||||
</tr>
|
||||
<!-- TMPL_LOOP NAME="itemsloop" -->
|
||||
<!-- TMPL_IF NAME="toggle" -->
|
||||
|
|
@ -113,8 +113,8 @@
|
|||
|
||||
<!-- TMPL_IF NAME="edit" -->
|
||||
<form method="post" action="/cgi-bin/koha/opac-shelves.pl">
|
||||
<input type="hidden" name="op" value="modifsave">
|
||||
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->">
|
||||
<input type="hidden" name="op" value="modifsave" />
|
||||
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelfnumber" -->" />
|
||||
<div class="form">
|
||||
<table>
|
||||
<caption>Edit List <em><!-- TMPL_VAR NAME="shelfname" --></em></caption>
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
<option value="copyrightdate" <!-- TMPL_IF NAME="sort_copyrightdate" -->selected="1"<!-- /TMPL_IF -->>copyrightdate</option>
|
||||
</select></td></tr>
|
||||
</table>
|
||||
<p><input type="hidden" name="category" value="1" /><input type="submit" value="Save Changes" class="submit"></p>
|
||||
<p><input type="hidden" name="category" value="1" /><input type="submit" value="Save Changes" class="submit" /></p>
|
||||
</div>
|
||||
</form>
|
||||
<!-- /TMPL_IF -->
|
||||
|
|
@ -163,7 +163,7 @@
|
|||
<td>
|
||||
<!-- TMPL_IF NAME="mine" -->
|
||||
<form action="opac-shelves.pl" method="get">
|
||||
<input type="hidden" name="shelf" value="<!-- TMPL_VAR NAME="shelf" -->" />
|
||||
<input type="hidden" name="shelfnumber" value="<!-- TMPL_VAR NAME="shelf" -->" />
|
||||
<input type="hidden" name="op" value="modif" />
|
||||
<input type="submit" value="Edit" />
|
||||
</form>
|
||||
|
|
|
|||
Loading…
Reference in New Issue