mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +09:00
issue 160, code clear up
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9197 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ace9dd3f6e
commit
77eb13849b
2 changed files with 21 additions and 19 deletions
|
|
@ -1,3 +1,21 @@
|
||||||
|
<script>
|
||||||
|
jQuery(function($){
|
||||||
|
$('#favicon').change(function(){
|
||||||
|
var re_favicon = /favicon\.ico$/
|
||||||
|
if(re_favicon.test($(this).val()) != true){
|
||||||
|
alert('{$lang->msg_not_correct_iconname} favicon.ico {$lang->msg_possible_only_file}');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
$('#mobicon').change(function(){
|
||||||
|
var re_favicon = /mobicon\.png$/
|
||||||
|
if(re_favicon.test($(this).val()) != true){
|
||||||
|
alert('{$lang->msg_not_correct_iconname} mobicon.png {$lang->msg_possible_only_file}');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
<!--%import("./js/config.js")-->
|
<!--%import("./js/config.js")-->
|
||||||
<!--%import("../../session/tpl/js/session.js")-->
|
<!--%import("../../session/tpl/js/session.js")-->
|
||||||
|
|
||||||
|
|
@ -46,12 +64,12 @@
|
||||||
<input type="hidden" name="index_module_srl" id="index_module_srl" value="{$start_module->index_module_srl}" />
|
<input type="hidden" name="index_module_srl" id="index_module_srl" value="{$start_module->index_module_srl}" />
|
||||||
<input type="text" name="_target_module" id="_target_module" value="{$start_module->browser_title} ({$start_module->mid})" readonly />
|
<input type="text" name="_target_module" id="_target_module" value="{$start_module->browser_title} ({$start_module->mid})" readonly />
|
||||||
<a href="#modalWindow" class="modalAnchor" onClick="viewSiteSearch()">{$lang->cmd_find}</a> </p>
|
<a href="#modalWindow" class="modalAnchor" onClick="viewSiteSearch()">{$lang->cmd_find}</a> </p>
|
||||||
<div class="site_keyword_search" style="display:none">
|
<p class="site_keyword_search" style="display:none">
|
||||||
<input type="text" name="site_keyword" /> <a href="#suggestion3" class="tgAnchor findsite">{$lang->cmd_confirm}</a>
|
<input type="text" name="site_keyword" /> <a href="#suggestion3" class="tgAnchor findsite">{$lang->cmd_confirm}</a>
|
||||||
<div id="suggestion3" class="tgContent suggestion" >
|
<div id="suggestion3" class="tgContent suggestion" >
|
||||||
<ul></ul>
|
<ul></ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<select class="moduleList" style="width:290px"></select>
|
<select class="moduleList" style="width:290px"></select>
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -160,7 +178,6 @@
|
||||||
<li>
|
<li>
|
||||||
<p class="q"><label for="default_url">{$lang->default_url}</label></p>
|
<p class="q"><label for="default_url">{$lang->default_url}</label></p>
|
||||||
<p class="a"><input type="text" name="default_url" id="default_url" value="{$default_url}"/></p>
|
<p class="a"><input type="text" name="default_url" id="default_url" value="{$default_url}"/></p>
|
||||||
|
|
||||||
<p class="desc">{$lang->about_default_url}</p>
|
<p class="desc">{$lang->about_default_url}</p>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
|
@ -227,7 +244,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div class="btnArea">
|
<div class="btnArea">
|
||||||
<span class="btn medium"><input type="submit" value="Save" /></span>
|
<span class="btn medium"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,23 +1,8 @@
|
||||||
jQuery(function($){
|
jQuery(function($){
|
||||||
$('#favicon').change(function(){
|
|
||||||
var re_favicon = /favicon\.ico$/
|
|
||||||
if(re_favicon.test($(this).val()) != true){
|
|
||||||
alert('{$lang->msg_not_correct_iconname} favicon.ico {$lang->msg_possible_only_file}');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$('#mobicon').change(function(){
|
|
||||||
var re_favicon = /mobicon\.png$/
|
|
||||||
if(re_favicon.test($(this).val()) != true){
|
|
||||||
alert('{$lang->msg_not_correct_iconname} mobicon.png {$lang->msg_possible_only_file}');
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
$('.tgContent ul').bind('click', function(){
|
$('.tgContent ul').bind('click', function(){
|
||||||
$('#sitefind_addBtn').css('display','');
|
$('#sitefind_addBtn').css('display','');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function setStartModule(){
|
function setStartModule(){
|
||||||
var target_module = jQuery('.moduleIdList option:selected').text();
|
var target_module = jQuery('.moduleIdList option:selected').text();
|
||||||
var index_module_srl = jQuery('.moduleIdList').val();
|
var index_module_srl = jQuery('.moduleIdList').val();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue