mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Enable skip_bottom_list_for_robot by default
This commit is contained in:
parent
bee30c0c40
commit
4abec2dfeb
2 changed files with 2 additions and 2 deletions
|
|
@ -565,7 +565,7 @@ class BoardView extends Board
|
|||
|
||||
// set the current page of documents
|
||||
$document_srl = Context::get('document_srl');
|
||||
if($document_srl && $this->module_info->skip_bottom_list_for_robot === 'Y' && isCrawler())
|
||||
if($document_srl && $this->module_info->skip_bottom_list_for_robot !== 'N' && isCrawler())
|
||||
{
|
||||
Context::set('page', $args->page = null);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -246,7 +246,7 @@
|
|||
<input type="number" min="1" name="skip_bottom_list_days" value="{$module_info->skip_bottom_list_days ?: 30}" /> {$lang->unit_day}
|
||||
<br />
|
||||
<label for="skip_bottom_list_for_robot">
|
||||
<input type="checkbox" name="skip_bottom_list_for_robot" id="skip_bottom_list_for_robot" value="Y" checked="checked"|cond="$module_info->skip_bottom_list_for_robot === 'Y'" />
|
||||
<input type="checkbox" name="skip_bottom_list_for_robot" id="skip_bottom_list_for_robot" value="Y" checked="checked"|cond="$module_info->skip_bottom_list_for_robot !== 'N'" />
|
||||
{$lang->skip_bottom_list_for_robot}
|
||||
</label>
|
||||
<p class="x_help-block">{$lang->about_customize_bottom_list}</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue