|
|
@@ -45,7 +45,7 @@
|
|
|
id="settingForm[app:title]"
|
|
|
type="text"
|
|
|
name="settingForm[app:title]"
|
|
|
- value="{{ settingForm['app:title'] | default('') }}"
|
|
|
+ value="{{ getConfig('crowi', 'app:title') | default('') }}"
|
|
|
placeholder="GROWI">
|
|
|
<p class="help-block">{{ t("app_setting.sitename_change") }}</p>
|
|
|
</div>
|
|
|
@@ -58,7 +58,7 @@
|
|
|
id="settingForm[app:confidential]"
|
|
|
type="text"
|
|
|
name="settingForm[app:confidential]"
|
|
|
- value="{{ settingForm['app:confidential'] | default('') }}"
|
|
|
+ value="{{ getConfig('crowi', 'app:confidential') | default('') }}"
|
|
|
placeholder="{{ t('app_setting. ex): internal use only') }}">
|
|
|
<p class="help-block">{{ t("app_setting.header_content") }}</p>
|
|
|
</div>
|
|
|
@@ -94,7 +94,7 @@
|
|
|
id="cbFileUpload"
|
|
|
name="settingForm[app:fileUpload]"
|
|
|
value="1"
|
|
|
- {% if settingForm['app:fileUpload'] %}checked{% endif %}
|
|
|
+ {% if getConfig('crowi', 'app:fileUpload') %}checked{% endif %}
|
|
|
{% if not fileUploadService.getIsUploadable() %}disabled="disabled"{% endif %}>
|
|
|
<label for="cbFileUpload">
|
|
|
{{ t("app_setting.enable_files_except_image") }}
|
|
|
@@ -181,7 +181,7 @@
|
|
|
type="text"
|
|
|
name="settingForm[mail:from]"
|
|
|
placeholder="{{ t('eg') }} mail@growi.org"
|
|
|
- value="{{ settingForm['mail:from'] }}">
|
|
|
+ value="{{ getConfig('crowi', 'mail:from') }}">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -192,14 +192,14 @@
|
|
|
<input class="form-control"
|
|
|
type="text"
|
|
|
name="settingForm[mail:smtpHost]"
|
|
|
- value="{{ settingForm['mail:smtpHost']|default('') }}">
|
|
|
+ value="{{ getConfig('crowi', 'mail:smtpHost') | default('') }}">
|
|
|
</div>
|
|
|
<div class="col-xs-2">
|
|
|
<label>{{ t('app_setting.Port') }}</label>
|
|
|
<input class="form-control"
|
|
|
type="text"
|
|
|
name="settingForm[mail:smtpPort]"
|
|
|
- value="{{ settingForm['mail:smtpPort']|default('') }}">
|
|
|
+ value="{{ getConfig('crowi', 'mail:smtpPort') | default('') }}">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -209,14 +209,14 @@
|
|
|
<input class="form-control"
|
|
|
type="text"
|
|
|
name="settingForm[mail:smtpUser]"
|
|
|
- value="{{ settingForm['mail:smtpUser']|default('') }}">
|
|
|
+ value="{{ getConfig('crowi', 'mail:smtpUser') | default('') }}">
|
|
|
</div>
|
|
|
<div class="col-xs-3">
|
|
|
<label>{{ t('Password') }}</label>
|
|
|
<input class="form-control"
|
|
|
type="password"
|
|
|
name="settingForm[mail:smtpPassword]"
|
|
|
- value="{{ settingForm['mail:smtpPassword']|default('') }}">
|
|
|
+ value="{{ getConfig('crowi', 'mail:smtpPassword') | default('') }}">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -248,7 +248,7 @@
|
|
|
type="text"
|
|
|
name="settingForm[aws:region]"
|
|
|
placeholder="例: ap-northeast-1"
|
|
|
- value="{{ settingForm['aws:region'] }}">
|
|
|
+ value="{{ getConfig('crowi', 'aws:region') | default('') }}">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -260,7 +260,7 @@
|
|
|
type="text"
|
|
|
name="settingForm[aws:bucket]"
|
|
|
placeholder="例: crowi"
|
|
|
- value="{{ settingForm['aws:bucket'] }}">
|
|
|
+ value="{{ getConfig('crowi', 'aws:bucket') | default('') }}">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
@@ -271,7 +271,7 @@
|
|
|
id="settingForm[aws:accessKeyId]"
|
|
|
type="text"
|
|
|
name="settingForm[aws:accessKeyId]"
|
|
|
- value="{{ settingForm['aws:accessKeyId'] }}">
|
|
|
+ value="{{ getConfig('crowi', 'aws:accessKeyId') | default('') }}">
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
@@ -283,7 +283,7 @@
|
|
|
id="settingForm[aws:secretAccessKey]"
|
|
|
type="text"
|
|
|
name="settingForm[aws:secretAccessKey]"
|
|
|
- value="{{ settingForm['aws:secretAccessKey'] }}">
|
|
|
+ value="{{ getConfig('crowi', 'aws:secretAccessKey') | default('') }}">
|
|
|
</div>
|
|
|
</div>
|
|
|
|