mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-27 14:22:54 +09:00
issue 2503, fixed a bug. execute timeout on sitemap page, if there are so many module instance.
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11377 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1f211be064
commit
d436cd26aa
3 changed files with 7 additions and 2 deletions
|
|
@ -222,7 +222,7 @@
|
|||
function _menuInfoSetting(&$menu)
|
||||
{
|
||||
$oModuleModel = &getModel('module');
|
||||
if(!preg_match('/^http/i', $menu['url']))
|
||||
if($menu['url'] && !preg_match('/^http/i', $menu['url']))
|
||||
{
|
||||
unset($midInfo);
|
||||
unset($moduleInfo);
|
||||
|
|
|
|||
|
|
@ -151,6 +151,11 @@
|
|||
* @brief Get module information by mid
|
||||
**/
|
||||
function getModuleInfoByMid($mid, $site_srl = 0, $columnList = array()) {
|
||||
if(!$mid)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
$args->mid = $mid;
|
||||
$args->site_srl = (int)$site_srl;
|
||||
$oCacheHandler = &CacheHandler::getInstance('object');
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@
|
|||
</p>
|
||||
<p cond="$val->type == 'checkbox'" class="a">
|
||||
<span loop="$val->options => $k, $v">
|
||||
<input type="checkbox" name="{$val->name}[]" value="{$v->value}" id="ch_{$key}_{$k}" checked="checked"|cond="in_array($v->value, $val->value)" class="checkbox" />
|
||||
<input type="checkbox" name="{$val->name}[]" value="{$v->value}" id="ch_{$key}_{$k}" checked="checked"|cond="@in_array($v->value, $val->value)" class="checkbox" />
|
||||
<label for="ch_{$key}_{$k}">{$v->title}</label>
|
||||
</span>
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue