select box 에 selected 적용
This commit is contained in:
@ -122,10 +122,9 @@ $pg_anchor = "
|
|||||||
<?
|
<?
|
||||||
$arr = get_skin_dir('new');
|
$arr = get_skin_dir('new');
|
||||||
for ($i=0; $i<count($arr); $i++) {
|
for ($i=0; $i<count($arr); $i++) {
|
||||||
echo '<option value="'.$arr[$i].'">'.$arr[$i].'</option>'.PHP_EOL;
|
echo '<option '.get_selected($config['cf_new_skin'], $arr[$i]).' value="'.$arr[$i].'">'.$arr[$i].'</option>'.PHP_EOL;
|
||||||
}
|
}
|
||||||
?></select>
|
?></select>
|
||||||
<script> document.getElementById('cf_new_skin').value="<?=$config['cf_new_skin']?>";</script>
|
|
||||||
</td>
|
</td>
|
||||||
<th scope="row"><label for="cf_new_rows">최근게시물 라인수</label></th>
|
<th scope="row"><label for="cf_new_rows">최근게시물 라인수</label></th>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
Reference in New Issue
Block a user