get('module-'.SITE_ID.'-content'); if ($module) { $module = dr_array_sort($module, 'share', 'asc'); $limit = 10; if (is_array($module) && dr_count($module) > $limit) { $module_more = array_slice($module, $limit); $module = array_slice($module, 0, $limit); } } } if (dr_is_app('sites')) { $cname[] = '更新子站目录'; } if (dr_is_app('client')) { $cname[] = '更新终端目录'; } if ($cname) { $add['module2'] = [implode('、', $cname), 'update_site_config']; } ?> {loop $add $id $t} {$key} {dr_lang($t[0])} {php $key=$key+1;} {/loop} {$key++} {dr_lang('新增或变更栏目后,需要更新栏目缓存数据')} {loop $module $c} {if !$c.share} {/if} {/loop} {if $module_more}
{/if} {$key++} {dr_lang('内容地址与设置地址不同步时,更新内容URL地址')} {loop $module $c} {/loop} {if $module_more}
{/if}