personInUp.tpl.php
5.24 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
<script language="javascript">
//<![CDATA[
submit_str = '<?=_('submit')?>';
delete_str = '<?=_('delete')?>';
pInUp = new personInUp (
'update', 'insert', 'submit', person, newPerson, arrRight, arrDown);
function personInUpInit ()
{
var tCam = document.getElementById ('title_photographer');
var tCamImg = tCam.getElementsByTagName ('img')[0];
var tWat = document.getElementById ('title_owner');
var tWatImg = tWat.getElementsByTagName ('img')[0];
tCamImg.src = arrRight.getImgUrl (tCam);
tWatImg.src = arrRight.getImgUrl (tWat);
}
//]]>
</script>
<div class="bgc-bg1 d-bg1 f-bg1">
<form id="pForm" action="<?=$_SERVER['PHP_SELF']?>" method="post">
<div>
<table cellspacing="0"><tr>
<td>
<input type="checkbox" id="update" name="action"
value="update" disabled="true"
onClick="pInUp.updateForm ()" />
</td>
<td><?=_('update')?></td>
<td> </td>
<td>
<input type="checkbox" id="insert" name="action"
value="insert"
onClick="pInUp.updateForm ()" />
</td>
<td><?=_('insert')?></td>
<td align="right" width="100%">
<input type="submit" id="submit"
value="<?=_('submit')?>" disabled="true" />
</td>
</tr></table>
</div>
<div class="bgc-grp1 d-grp1" style="margin-top: 2px">
<div class="bgc-grp-head1 f-grp-head1 d-grp-head1">
<?=_('personal data')?>
</div>
<div>
<div class="bgc-box1 f-box1 d-box1">
<div>
<input type="hidden" id="personId" value="-1"
disabled="true" />
</div>
<div>
<input type="hidden" id="photographerId" value="-1"
disabled="true" />
</div>
<div>
<input type="hidden" id="ownerId" value="-1"
disabled="true" />
</div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="firstname" value="" disabled="true"
onChange="pInUp.setFirstname (this.value)" />
<?=_('firstname')?>
</div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="surname" value="" disabled="true"
onChange="pInUp.setSurname (this.value)" />
<?=_('surname')?>
</div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="company" value="" disabled="true"
onChange="pInUp.setCompany (this.value)" />
<?=_('company')?>
</div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="email" value="" disabled="true"
onChange="pInUp.setEmail (this.value)" />
<?=_('email')?>
</div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="url" value="" disabled="true"
onChange="pInUp.setUrl (this.value)" />
<?=_('url')?>
</div>
</div>
</div>
</div>
<div class="bgc-grp1 d-grp1" style="margin-top: 2px">
<div class="bgc-grp-head1 f-grp-head-unset1 d-grp-head1"
id="title_photographer">
<table cellspacing="0">
<tr><td>
<?=_('photographer')?>
</td><td width="100%" align="right">
<img style="
margin-right: 3px;
float: right;
cursor: pointer"
onClick="pInUp.showHideBlock ('title_photographer')" />
</td></tr>
</table>
</div>
<div style="display: none">
<div class="bgc-box1 f-box1 d-box1">
<div class="bgc-box-head1 f-box-head1 d-box-head1">
<?=_('camera')?>
</div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="cameraId" value="-1" disabled="true"
onChange="pInUp.setCameraId (this.value)" />
<?=_('cameraId')?>
</div>
</div>
</div>
</div>
<div class="bgc-grp1 d-grp1" style="margin-top: 2px">
<div class="bgc-grp-head1 f-grp-head-unset1 d-grp-head1"
id="title_owner">
<table cellspacing="0">
<tr><td>
<?=_('owner')?>
</td><td width="100%" align="right">
<img style="
float: right;
margin-right: 3px;
cursor: pointer"
onClick="pInUp.showHideBlock ('title_owner')" />
</td></tr>
</table>
</div>
<div style="display: none">
<div class="bgc-box1 f-box1 d-box1">
<div class="bgc-box-head1 f-box-head1 d-box-head1">
<?=_('watermark')?></div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="wmWidth" value="" disabled="true"
onChange="pInUp.setWmWidth (this.value)" />
<?=_('watermark width')?>
</div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="wmHeight" value="" disabled="true"
onChange="pInUp.setWmHeight (this.value)" />
<?=_('watermark height')?>
</div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="wmXPos" value="" disabled="true"
onChange="pInUp.setWmXPos (this.value)" />
<?=_('watermark xPos')?>
</div>
<div>
<input type="text" style="width: 200px" maxlength="255"
id="wmYPos" value="" disabled="true"
onChange="pInUp.setWmYPos (this.value)" />
<?=_('watermark yPos')?>
</div>
</div>
<div class="bgc-box1 f-box1 d-box1">
<div class="bgc-box-head1 f-box-head1 d-box-head1">more</div>
</div>
</div>
</div>
</form>
</div>
<script language="javascript">
//<![CDATA[
personInUpInit ();
//]]>
</script>