mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
add js
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9048 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
204db2c4be
commit
ac91ee9845
2 changed files with 12 additions and 2 deletions
|
|
@ -1,3 +1,4 @@
|
|||
<load target="js/fileConfig.js" type="body"/>
|
||||
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
||||
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
||||
</div>
|
||||
|
|
@ -13,14 +14,14 @@
|
|||
<input type="radio" name="allow_outlink" value="N" id="allow_outlink_n" checked="checked"|cond="$config->allow_outlink == 'N'" /> <label for="allow_outlink_n">{$lang->cmd_no}</label>
|
||||
</p>
|
||||
</li>
|
||||
<li style="display:none"|cond="$config->allow_outlink == 'N'">
|
||||
<li style="display:none"|cond="$config->allow_outlink == 'N'" class="_outLink">
|
||||
<p class="q">{$lang->allow_outlink_format}</p>
|
||||
<p class="a">
|
||||
<input type="text" name="allow_outlink_format" value="{$config->allow_outlink_format}" />
|
||||
<p>{$lang->about_allow_outlink_format}</p>
|
||||
</p>
|
||||
</li>
|
||||
<li style="display:none"|cond="$config->allow_outlink == 'N'">
|
||||
<li style="display:none"|cond="$config->allow_outlink == 'N'" class="_outLink">
|
||||
<p class="q">{$lang->allow_outlink_site}</p>
|
||||
<p class="a">
|
||||
<textarea type="text" name="allow_outlink_site">{$config->allow_outlink_site}</textarea>
|
||||
|
|
|
|||
9
modules/file/tpl/js/fileConfig.js
Normal file
9
modules/file/tpl/js/fileConfig.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
(function($){
|
||||
$('input[name=allow_outlink]').click(function(){
|
||||
if($(this).val() == 'Y'){
|
||||
$('._outLink').show();
|
||||
}else{
|
||||
$('._outLink').hide();
|
||||
}
|
||||
});
|
||||
}(jQuery))
|
||||
Loading…
Add table
Add a link
Reference in a new issue