mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
Add config to control short URL for downloading
This commit is contained in:
parent
e6305404c5
commit
320d5596f6
5 changed files with 15 additions and 1 deletions
|
|
@ -30,6 +30,14 @@
|
|||
<p class="x_help-block">{$lang->about_allow_outlink_site}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->download_short_url}</label>
|
||||
<div class="x_controls">
|
||||
<label class="x_inline"><input type="radio" name="download_short_url" value="Y" checked="checked"|cond="$config->download_short_url === 'Y' && config('use_rewrite')" disabled="disabled"|cond="!config('use_rewrite')" /> {$lang->cmd_yes}</label>
|
||||
<label class="x_inline"><input type="radio" name="download_short_url" value="N" checked="checked"|cond="$config->download_short_url !== 'Y' || !config('use_rewrite')" disabled="disabled"|cond="!config('use_rewrite')" /> {$lang->cmd_no}</label>
|
||||
<p class="x_help-block">{$lang->about_download_short_url}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->inline_download_format}</label>
|
||||
<div class="x_controls">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue