mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
If there is no mid list, or if mid list is not array, there was some errors to show admin controller. This rev. fix it.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6904 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ea4964ddb8
commit
babc377eb7
2 changed files with 29 additions and 26 deletions
|
|
@ -51,34 +51,36 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row"><div>
|
||||
{$lang->module}
|
||||
<input type="checkbox" onclick="XE.checkboxToggleAll('mid_list'); return false;" />
|
||||
</div></th>
|
||||
<td>
|
||||
<p>{$lang->about_component_mid}</p>
|
||||
<!--@foreach($mid_list as $module_category_srl => $modules)-->
|
||||
<div class="module_category_title">
|
||||
<input type="checkbox" onclick="XE.checkboxToggleAll('mid_list', { wrap:'section_{$module_category_srl}' }); return false;" />
|
||||
<!--@if($modules->title)-->
|
||||
{$modules->title}
|
||||
<!--@else-->
|
||||
{$lang->none_category}
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@if($mid_list)-->
|
||||
<tr>
|
||||
<th scope="row"><div>
|
||||
{$lang->module}
|
||||
<input type="checkbox" onclick="XE.checkboxToggleAll('mid_list'); return false;" />
|
||||
</div></th>
|
||||
<td>
|
||||
<p>{$lang->about_component_mid}</p>
|
||||
<!--@foreach($mid_list as $module_category_srl => $modules)-->
|
||||
<div class="module_category_title">
|
||||
<input type="checkbox" onclick="XE.checkboxToggleAll('mid_list', { wrap:'section_{$module_category_srl}' }); return false;" />
|
||||
<!--@if($modules->title)-->
|
||||
{$modules->title}
|
||||
<!--@else-->
|
||||
{$lang->none_category}
|
||||
<!--@end-->
|
||||
</div>
|
||||
|
||||
<div id="section_{$module_category_srl}">
|
||||
<!--@foreach($modules->list as $key => $val)-->
|
||||
<div class="module_list">
|
||||
<input type="checkbox" value="{$key}" name="mid_list" id="chk_mid_list_{$key}" <!--@if(in_array($key, $component->mid_list))-->checked="checked"<!--@end--> />
|
||||
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
|
||||
<div id="section_{$module_category_srl}">
|
||||
<!--@foreach($modules->list as $key => $val)-->
|
||||
<div class="module_list">
|
||||
<input type="checkbox" value="{$key}" name="mid_list" id="chk_mid_list_{$key}" <!--@if(in_array($key, $component->mid_list))-->checked="checked"<!--@end--> />
|
||||
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
</div>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
</table>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue