관리자: wrest.js 변경에 따른 유효성 검사 class 처리

This commit is contained in:
whitedot
2012-12-17 16:47:46 +09:00
parent b26b568a99
commit 2b2f25c0c7
6 changed files with 47 additions and 47 deletions

View File

@ -34,14 +34,14 @@ include_once('./admin.head.php');
<tbody>
<tr>
<th scope="row"><label for="po_subject">투표 제목</label></th>
<td><input type="text" id="po_subject" name="po_subject" required value="<?=$po['po_subject']?>" size="80" maxlength="125"></td>
<td><input type="text" id="po_subject" name="po_subject" class="required" value="<?=$po['po_subject']?>" size="80" maxlength="125"></td>
</tr>
<?
for ($i=1; $i<=9; $i++) {
$required = '';
if ($i==1 || $i==2) {
$required = 'required';
$required = 'class="required"';
}
$po_poll = get_text($po['po_poll'.$i]);