-
Notifications
You must be signed in to change notification settings - Fork 1
/
AccountGroups.php.rej
executable file
·60 lines (48 loc) · 2.46 KB
/
AccountGroups.php.rej
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
***************
*** 258,262 ****
if (! isset($_GET['delete'])) {
! echo "<FORM METHOD='post' action=" . $_SERVER['PHP_SELF'] . '?' . SID . '>';
if (isset($_GET['SelectedAccountGroup'])) {
--- 258,262 ----
if (! isset($_GET['delete'])) {
! echo "<FORM METHOD='post' name='AccountGroups' action=" . $_SERVER['PHP_SELF'] . '?' . SID . ' name="AccountGroups">';
if (isset($_GET['SelectedAccountGroup'])) {
***************
*** 307,311 ****
echo "<INPUT TYPE=HIDDEN NAME='SelectedAccountGroup' VALUE='" . $_POST['SelectedAccountGroup'] . "'>";
! echo '<CENTER><TABLE><TR><TD>' . _('Acount Group Name') . ':' . '</TD><TD><input tabindex="1" ' .
(in_array('GroupName',$Errors) ? 'class="inputerror"' : '' ) .' type="Text" name="GroupName" SIZE=30 MAXLENGTH=30 value="'
. $_POST['GroupName'] . '"></TD></TR>';
--- 307,311 ----
echo "<INPUT TYPE=HIDDEN NAME='SelectedAccountGroup' VALUE='" . $_POST['SelectedAccountGroup'] . "'>";
! echo '<CENTER><TABLE><TR><TD>' . _('Account Group Name') . ':' . '</TD><TD><input tabindex="1" ' .
(in_array('GroupName',$Errors) ? 'class="inputerror"' : '' ) .' type="Text" name="GroupName" SIZE=30 MAXLENGTH=30 value="'
. $_POST['GroupName'] . '"></TD></TR>';
***************
*** 368,372 ****
echo '<TR><TD>' . _('Sequence In TB') . ':' . '</TD>';
echo '<TD><INPUT tabindex="5" ' . (in_array('SequenceInTB',$Errors) ? 'class="inputerror"' : '' ) .
! ' TYPE=Text MAXLENGTH=4 name=SequenceInTB VALUE=' . $_POST['SequenceInTB'] . '></TD></TR>';
echo '</TABLE>';
--- 368,373 ----
echo '<TR><TD>' . _('Sequence In TB') . ':' . '</TD>';
echo '<TD><INPUT tabindex="5" ' . (in_array('SequenceInTB',$Errors) ? 'class="inputerror"' : '' ) .
! ' TYPE=Text MAXLENGTH=4 name=SequenceInTB onKeyPress="return restrictToNumbers(this, event)"
! VALUE=' . $_POST['SequenceInTB'] . '></TD></TR>';
echo '</TABLE>';
***************
*** 374,381 ****
echo '<CENTER><input tabindex="6" type=Submit name=submit value=' . _('Enter Information') . '>';
! echo '</FORM>';
} //end if record deleted no point displaying form to add record
-
include('includes/footer.inc');
?>
--- 375,383 ----
echo '<CENTER><input tabindex="6" type=Submit name=submit value=' . _('Enter Information') . '>';
! echo "<script>defaultControl(document.AccountGroups.GroupName);</script>";
!
! echo '</form>';
} //end if record deleted no point displaying form to add record
include('includes/footer.inc');
?>