mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
#18199703 : add module_selector for start_module (allowing administrator to choose start module among virtual sites' modules)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6718 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
17e397c2c4
commit
43bb8abadf
3 changed files with 11 additions and 21 deletions
|
|
@ -33,19 +33,13 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><div>{$lang->start_module}</div></th>
|
||||
<th scope="row"><div>{$lang->start_module}</div></th>
|
||||
<td>
|
||||
<select name="index_module_srl" class="w200">
|
||||
<!--@foreach($mid_list as $key => $val)-->
|
||||
<option value="" disabled="disabled">{$key}</option>
|
||||
<!--@foreach($val as $k => $v)-->
|
||||
<option value="{$v->module_srl}" <!--@if($start_module->index_module_srl==$v->module_srl)-->selected="selected"<!--@end-->> {$v->mid} ({$v->browser_title})</option>
|
||||
<!--@end-->
|
||||
<!--@endforeach-->
|
||||
</select>
|
||||
<p>{$lang->about_start_module}</p>
|
||||
<input type="hidden" name="index_module_srl" id="target_module" value="{$start_module->index_module_srl}" />
|
||||
<input type="text" name="_target_module" id="_target_module" class="inputTypeText w300" value="{$start_module->mid} ({$start_module->browser_title})" readonly="readonly" /><a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="button green"><span>{$lang->cmd_select}</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th><div>{$lang->use_optimizer}</div></th>
|
||||
<td>
|
||||
|
|
|
|||
|
|
@ -49,3 +49,10 @@ jQuery(function(){
|
|||
function doAdminLogout() {
|
||||
exec_xml('admin','procAdminLogout',new Array(), function() { location.reload(); });
|
||||
}
|
||||
|
||||
function insertSelectedModule(id, module_srl, mid, browser_title) {
|
||||
var obj= xGetElementById('_'+id);
|
||||
var sObj = xGetElementById(id);
|
||||
sObj.value = module_srl;
|
||||
obj.value = browser_title+' ('+mid+')';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue