mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
issue 160, fix a bug for do not display layout instance that have a extra variable name "layout_type"
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9319 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4c747318ae
commit
42cb958d66
2 changed files with 3 additions and 3 deletions
|
|
@ -27,7 +27,7 @@
|
|||
$args->layout_srl = getNextSequence();
|
||||
$args->layout = Context::get('layout');
|
||||
$args->title = Context::get('title');
|
||||
$args->layout_type = Context::get('layout_type');
|
||||
$args->layout_type = Context::get('_layout_type');
|
||||
if(!$args->layout_type) $args->layout_type = "P";
|
||||
|
||||
// Insert into the DB
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<input type="hidden" name="act" value="procLayoutAdminUpdate"|cond="$act == 'dispLayoutAdminModify'" value="procLayoutAdminInsert"|cond="$act == 'dispLayoutAdminInsert'" />
|
||||
<input type="hidden" name="layout_srl" value="{$layout_srl}" />
|
||||
<input type="hidden" name="layout" value="{$selected_layout->layout}" />
|
||||
<input type="hidden" name="layout_type" value="{$selected_layout->layout_type}" />
|
||||
<input type="hidden" name="_layout_type" value="{$selected_layout->layout_type}" />
|
||||
<input type="hidden" name="success_return_url" value="{getUrl('act', 'dispLayoutAdminInstanceList')}" />
|
||||
|
||||
<ul>
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
</block>
|
||||
|
||||
<select cond="$var->type == 'select'" name="{$name}">
|
||||
<option loop="$var->options => $key, $val" value="{$key}" selected="selected"|cond="$key == $var->value">{$val->val}</option>
|
||||
<option loop="$var->options => $key, $val" value="{$key}" selected="selected"|cond="$key == $var->value">{$val}</option>
|
||||
</select>
|
||||
|
||||
<block cond="$var->type == 'radio'">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue