issue 628, fixed a bug related radio on modify layout

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10266 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
flyskyko 2012-02-29 06:08:42 +00:00
parent 9830e041a9
commit 5c91b684bd

View file

@ -103,7 +103,7 @@
<div cond= style="float:left;text-align:{$_talign};margin-bottom:1em;width:{$_width}px;height:{$_height}px;margin-right:10px;">
</block>
<label>
<input type="radio" name="{$name}" value="{$key}" />{$val->val}
<input type="radio" name="{$name}" value="{$key}" checked="checked"|cond="$key == $var->value"/>{$val->val}
<block cond="$val->thumbnail">
<br />
<img src="../../../{$val->thumbnail}" alt="{$val->val}" style="border:1px solid #888888;padding:2px;margin:2px;"/>