mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Add option to make pages available only on one domain
- 2021년에 next 브랜치 적용을 목표로 작업했던 것 가져옴 - modules 테이블에 domain_srl을 추가하여 특정 도메인에서만 유효하도록 설정 가능 - site_srl 변수를 사용하던 곳 중 삭제할 수 있는 곳은 모두 삭제함
This commit is contained in:
parent
ded3b97208
commit
f596947d0e
57 changed files with 163 additions and 197 deletions
|
|
@ -15,11 +15,17 @@
|
|||
<section class="section">
|
||||
<h1>{$lang->subtitle_primary}</h1>
|
||||
<div cond="$logged_info->is_admin == 'Y'" class="x_control-group">
|
||||
<label class="x_control-label" for="board_name">{$lang->mid}</label>
|
||||
<label class="x_control-label" for="board_name">{$lang->url}</label>
|
||||
<div class="x_controls">
|
||||
<select name="domain_srl" id="domain_srl">
|
||||
<option value="-1" selected="selected"|cond="!isset($module_info->domain_srl) || $module_info->domain_srl == -1">{$lang->cmd_any_domain}</option>
|
||||
<!--@foreach(ModuleModel::getAllDomains(100)->data as $domain)-->
|
||||
<option value="{$domain->domain_srl}" selected="selected"|cond="$domain->domain_srl == $module_info->domain_srl">{$domain->domain}</option>
|
||||
<!--@endif-->
|
||||
</select>
|
||||
<span class="baseurl">{\RX_BASEURL}</span>
|
||||
<input type="text" name="board_name" id="board_name" value="{$module_info->mid}" />
|
||||
<a href="#module_name_help" class="x_icon-question-sign" data-toggle>{$lang->help}</a>
|
||||
<p id="module_name_help" class="x_help-block" hidden>{$lang->about_mid}</p>
|
||||
<p class="x_help-block">{$lang->about_mid}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue