forked from opendream/hotri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbiblio_copy_new_form.php
79 lines (67 loc) · 2.65 KB
/
biblio_copy_new_form.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?php
/* This file is part of a copyrighted work; it is distributed with NO WARRANTY.
* See the file COPYRIGHT.html for more details.
*/
require_once("../shared/common.php");
session_cache_limiter(null);
$tab = "cataloging";
$nav = "newcopy";
$helpPage = "biblioCopyEdit";
$focus_form_name = "newCopyForm";
$focus_form_field = "barcodeNmbr";
#****************************************************************************
#* Checking for get vars. Go back to form if none found.
#****************************************************************************
if (count($_GET) == 0) {
header("Location: ../catalog/index.php");
exit();
}
require_once("../functions/inputFuncs.php");
require_once("../shared/logincheck.php");
require_once("../shared/get_form_vars.php");
require_once("../classes/Localize.php");
$loc = new Localize(OBIB_LOCALE,$tab);
#****************************************************************************
#* Retrieving get var
#****************************************************************************
$bibid = $_GET["bibid"];
require_once("../shared/header.php");
?>
<font class="small">
<?php echo $loc->getText("catalogFootnote",array("symbol"=>"*")); ?>
</font>
<form name="newCopyForm" method="POST" action="../catalog/biblio_copy_new.php<?php echo empty($_GET['hits'])?'':'?hits='.$_GET['hits'].(empty($_GET['isbn'])?'':'&isbn='.$_GET['isbn']) ?>">
<table class="primary">
<tr>
<th colspan="2" nowrap="yes" align="left">
<?php echo $loc->getText("biblioCopyNewFormLabel"); ?>:
</th>
</tr>
<tr>
<td nowrap="true" class="primary" valign="top">
<sup>*</sup> <?php echo $loc->getText("biblioCopyNewBarcode"); ?>:
</td>
<td valign="top" class="primary">
<?php printInputText("barcodeNmbr",20,20,$postVars,$pageErrors); ?>
<input type="checkbox" name="autobarco" />
<?php echo $loc->getText("biblioCopyNewAuto"); ?>
</td>
</tr>
<tr>
<td nowrap="true" class="primary" valign="top">
<?php echo $loc->getText("biblioCopyNewDesc"); ?>:
</td>
<td valign="top" class="primary">
<?php printInputText("copyDesc",40,40,$postVars,$pageErrors); ?>
</td>
</tr>
<tr>
<td align="center" colspan="2" class="primary">
<input type="submit" value="<?php echo $loc->getText("catalogSubmit"); ?>" class="button">
<input type="button" onClick="self.location='../shared/biblio_view.php?bibid=<?php echo HURL($bibid); ?>'" value="<?php echo $loc->getText("catalogCancel"); ?>" class="button">
</td>
</tr>
</table>
<input type="hidden" name="bibid" value="<?php echo H($bibid);?>">
</form>
<?php include("../shared/footer.php"); ?>