모듈 선택기능 추가 (위젯의 단일/다수 위젯 선택, 첵크된 게시글 이동/복사시) 사용되며 virtualSite외의 사이트들도 검색후 선택이 가능하도록 개선

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5298 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-01-09 09:37:43 +00:00
parent 3345d21c4e
commit 906bb46d19
83 changed files with 970 additions and 543 deletions

View file

@ -11,117 +11,11 @@
</div>
<div id="popBody">
<table cellspacing="0" class="adminTable">
<caption>{nl2br($lang->about_widget_code)}</caption>
<tr>
<th scope="row"><div>{$lang->widget}</div></th>
<td>{$widget_info->title} ver {$widget_info->version}</td>
</tr>
<!--@if(count($skin_list))-->
<tr>
<th scope="row"><div>{$lang->skin}</div></th>
<td>
<select name="skin" onchange="doDisplaySkinColorset(this);return false;">
<option value="">&nbsp;</option>
<!--@foreach($skin_list as $key => $val)-->
<option value="{$key}">{$val->title} ({$key})</option>
<!--@end-->
</select>
<div id="colorset_area" style="display:none">
<div class="header">{$lang->colorset}</div>
<div class="footer">
<select name="colorset" id="widget_colorset">
</select>
</div>
</div>
</td>
</tr>
<!--@end-->
<tr>
<th scope="row"><div>{$lang->widget_cache}</div></th>
<td>
<input type="text" name="widget_cache" value="0" class="inputTypeText" size="2" />{$lang->unit_min}
<p>{$lang->about_widget_cache}</p>
</td>
</tr>
<!--@foreach($widget_info->extra_var as $id => $var)-->
<!--@if($var->group && ((!$group) || $group != $var->group))-->
{@$group = $var->group}
</table>
<table cellspacing="0" class="adminTable">
<caption>{$group}</caption>
<!--@end-->
<tr class="row{$cycle_idx}">
<th scope="row"><div>
{$var->name}
<!--@if($var->type == "mid_list")-->
<input type="checkbox" onclick="XE.checkboxToggleAll('{$id}'); return false;" />
<!--@end-->
</div></th>
<td>
<!--@if($var->type == "text")-->
<input type="text" name="{$id}" value="" class="inputTypeText w400" />
<!--@elseif($var->type == "textarea")-->
<textarea name="{$id}" class="inputTypeTextArea w200"></textarea>
<!--@elseif($var->type == "select")-->
<select name="{$id}">
<!--@foreach($var->options as $key => $val)-->
<option value="{$key}">{$val}</option>
<!--@end-->
</select>
<!--@elseif($var->type == "mid_list")-->
<!--@foreach($mid_list as $module_category_srl => $modules)-->
<!--@if($modules->title)-->
<div class="widget_title">{$modules->title}</div>
<!--@else-->
<div class="widget_title">{$lang->none_category}</div>
<!--@end-->
<!--@foreach($modules->list as $key => $val)-->
<div class="widget_mid_list">
<input type="checkbox" value="{$key}" name="{$id}" id="chk_mid_list_{$key}" />
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
</div>
<!--@end-->
<!--@end-->
<!--@elseif($var->type == "mid")-->
<select name="{$id}">
<!--@foreach($mid_list as $module_category_srl => $modules)-->
<!--@if($modules->title)-->
<option disabled="disabled">{$modules->title}</option>
<!--@else-->
<option disabled="disabled">{$lang->none_category}</option>
<!--@end-->
<!--@foreach($modules->list as $key => $val)-->
<option value="{$key}">&nbsp; {$key} ({$val->browser_title})</option>
<!--@end-->
<!--@end-->
</select>
<!--@end-->
<p class="clear">{nl2br($var->description)}</p>
</td>
</tr>
<!--@end-->
<!--@if($group)-->
</table>
{@ $_caption = $lang->about_widget_code}
<!--#include("widget_generate_code.include.html")-->
<table cellspacing="0" class="adminTable">
<col width="100" />
<col width="*" />
<!--@end-->
<tr>
<th><div>{$lang->widget_code}</div></th>
<td><textarea readonly="true" id="widget_code" class="inputTypeTextArea w400"></textarea></td>
@ -130,8 +24,8 @@
</div>
<div id="popFooter" class="tCenter gap1">
<span class="button"><input type="submit" value="{$lang->cmd_generate_code}" /></span>
<a href="#" onclick="window.close(); return false;" class="button"><span>{$lang->cmd_close}</span></a>
<span class="button green"><input type="submit" value="{$lang->cmd_generate_code}" /></span>
<a href="#" onclick="window.close(); return false;" class="button red"><span>{$lang->cmd_close}</span></a>
</div>
</form>