Changeset 205 for trunk/phpbms/modules/bms/discounts_addedit.php
- Timestamp:
- 03/26/07 16:50:25 (5 years ago)
- Files:
-
- 1 modified
-
trunk/phpbms/modules/bms/discounts_addedit.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpbms/modules/bms/discounts_addedit.php
r204 r205 55 55 <script language="JavaScript" src="javascript/discount.js" type="text/javascript"></script> 56 56 </head> 57 <body on Load="init()"><?php include("../../menu.php")?>57 <body onload="init()"><?php include("../../menu.php")?> 58 58 <div class="bodyline"> 59 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" on Submit="return validateForm(this);">59 <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 60 60 <div id="topButtons"> 61 61 <?php showSaveCancel(1); ?> … … 68 68 <p> 69 69 <label for="id">id</label><br /> 70 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="22" maxlength="5" readonly=" true" class="uneditable" />70 <input id="id" name="id" type="text" value="<?php echo $therecord["id"]; ?>" size="22" maxlength="5" readonly="readonly" class="uneditable" /> 71 71 </p> 72 72 <p> … … 100 100 <p> 101 101 <strong>type</strong><br /> 102 <input type="radio" class="radiochecks" id="typePercentage" name="type" value="percent" <?php if($therecord["type"]=="percent") echo "checked " ?> onClick="changeType()" /><label for="typePercentage">percentage</label>102 <input type="radio" class="radiochecks" id="typePercentage" name="type" value="percent" <?php if($therecord["type"]=="percent") echo "checked=\"checked\"" ?> onclick="changeType()" /><label for="typePercentage">percentage</label> 103 103 104 <input type="radio" class="radiochecks" id="typeAmount" name="type" value="amount" <?php if($therecord["type"]=="amount") echo "checked " ?> onClick="changeType()" /><label for="typeAmount">amount</label>104 <input type="radio" class="radiochecks" id="typeAmount" name="type" value="amount" <?php if($therecord["type"]=="amount") echo "checked=\"checked\"" ?> onclick="changeType()" /><label for="typeAmount">amount</label> 105 105 </p> 106 106 <p id="pValue">