phpBMS

Show
Ignore:
Timestamp:
03/26/07 16:50:25 (5 years ago)
Author:
brieb
Message:

Updated XHTML compliance

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/phpbms/modules/bms/discounts_addedit.php

    r204 r205  
    5555<script language="JavaScript" src="javascript/discount.js" type="text/javascript"></script> 
    5656</head> 
    57 <body onLoad="init()"><?php include("../../menu.php")?> 
     57<body onload="init()"><?php include("../../menu.php")?> 
    5858<div class="bodyline"> 
    59         <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onSubmit="return validateForm(this);"> 
     59        <form action="<?php echo $_SERVER["PHP_SELF"] ?>" method="post" name="record" onsubmit="return validateForm(this);"> 
    6060        <div id="topButtons"> 
    6161                  <?php showSaveCancel(1); ?> 
     
    6868                        <p> 
    6969                                <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" /> 
    7171                        </p>                     
    7272                        <p> 
     
    100100                        <p> 
    101101                                <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> 
    103103                                &nbsp; 
    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> 
    105105                        </p> 
    106106                        <p id="pValue"> 
phpBMS vulnerability assesment provided by Orvant Inc. Copyright © 2010 Kreotek, LLC. All Rights reserved.