fix selected
This commit is contained in:
parent
5f69f8c303
commit
f760a04ee8
@ -43,8 +43,8 @@
|
|||||||
|
|
||||||
foreach ($dirs as $dir) {
|
foreach ($dirs as $dir) {
|
||||||
$dir = str_replace($path.\'/\', \'\', $dir);
|
$dir = str_replace($path.\'/\', \'\', $dir);
|
||||||
$selected = ($dir === $currpath) ? "selected" : "";
|
$selected = ($dir === $currpath) ? \'selected="selected"\' : "";
|
||||||
echo \'<option value="/\'. $dir .\'" selected="\'. $selected .\'">\'. $dir .\'</option>\';
|
echo \'<option value="/\'. $dir .\'" \'. $selected .\'>\'. $dir .\'</option>\';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
';
|
';
|
||||||
@ -113,3 +113,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user