|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/xe/files/cache/template_compiled/ |
Upload File : |
<?php if(!defined("__ZBXE__")) exit();?>
<?php Context::loadJavascriptPlugin("ui.colorpicker"); ?>
<?php Context::loadJavascriptPlugin("filebox"); ?>
<!--Meta:modules/widget/tpl/./js/widget.js--><?php Context::addJsFile("modules/widget/tpl/./js/widget.js", true, ""); ?>
<p class="summary"><?php @print(nl2br($__Context->_caption));?></p>
<table cellspacing="0" class="rowTable">
<tr>
<th scope="row"><div><?php @print($__Context->lang->widget);?></div></th>
<td>
<select name="selected_widget" class="fullWidth">
<?php $Context->__idx[0]=0;if(count($__Context->widget_list)) foreach($__Context->widget_list as $__Context->widget){$__Context->__idx[1]=($__Context->__idx[1]+1)%2; $__Context->cycle_idx = $__Context->__idx[1]+1; ?>
<option value="<?php @print($__Context->widget->widget);?>" <?php if($__Context->widget_info->widget == $__Context->widget->widget){ ?> selected="selected" <?php } ?>><?php @print($__Context->widget->title);?> ver <?php @print($__Context->widget->version);?></option>
<?php } ?>
</select>
<a href="#" class="button small" onclick="selectWidget(jQuery('select[name=selected_widget]').val())"><span><?php @print($__Context->lang->cmd_select);?></span></a>
<?php if($__Context->widget_info->author->description){ ?>
<div class="widget_description"><?php @print(nl2br(trim($__Context->widget_info->author->description)));?></div>
<?php } ?>
</td>
</tr>
<?php if(count($__Context->skin_list)){ ?>
<tr>
<th scope="row"><div><?php @print($__Context->lang->skin);?></div></th>
<td>
<select name="skin" id="widget_skin" class="fullWidth">
<option value=""> </option>
<?php $Context->__idx[1]=0;if(count($__Context->skin_list)) foreach($__Context->skin_list as $__Context->key => $__Context->val){$__Context->__idx[2]=($__Context->__idx[2]+1)%2; $__Context->cycle_idx = $__Context->__idx[2]+1; ?>
<option value="<?php @print($__Context->key);?>"><?php @print($__Context->val->title);?> (<?php @print($__Context->key);?>)</option>
<?php } ?>
</select>
<a href="#" class="button small" onclick="doDisplaySkinColorset(jQuery('#widget_skin').get(0))"><span><?php @print($__Context->lang->cmd_select);?></span></a>
<div id="colorset_area" style="display:none">
<div class="header"><?php @print($__Context->lang->colorset);?></div>
<div class="footer">
<select name="colorset" id="widget_colorset">
</select>
</div>
</div>
</td>
</tr>
<?php } ?>
<tr>
<th scope="row"><div><?php @print($__Context->lang->widget_cache);?></div></th>
<td>
<input type="text" name="widget_cache" value="0" class="inputTypeText" size="2" /><?php @print($__Context->lang->unit_min);?>
<p><?php @print($__Context->lang->about_widget_cache);?></p>
</td>
</tr>
<?php $Context->__idx[2]=0;if(count($__Context->widget_info->extra_var)) foreach($__Context->widget_info->extra_var as $__Context->id => $__Context->var){$__Context->__idx[3]=($__Context->__idx[3]+1)%2; $__Context->cycle_idx = $__Context->__idx[3]+1; ?>
<?php if($__Context->var->group && ((!$__Context->group) || $__Context->group != $__Context->var->group)){ ?>
<?php @$__Context->group = $__Context->var->group;?>
</table>
<h3 class="xeAdmin"><?php @print($__Context->group);?></h3>
<table cellspacing="0" class="rowTable">
<?php } ?>
<tr class="row<?php @print($__Context->cycle_idx);?>">
<th scope="row">
<div>
<?php @print($__Context->var->name);?>
<?php if($__Context->var->type == "mid_list"){ ?>
<input type="checkbox" onclick="XE.checkboxToggleAll('<?php @print($__Context->id);?>'); return false;" />
<?php } ?>
</div>
</th>
<td>
<?php if($__Context->var->type == "text"){ ?>
<input type="text" name="<?php @print($__Context->id);?>" value="" class="inputTypeText fullWidth" id="lang_<?php @print($__Context->id);?>"/>
<a href="<?php @print(getUrl('','module','module','act','dispModuleAdminLangcode','target','lang_'.$__Context->id));?>" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span><?php @print($__Context->lang->cmd_find_langcode);?></span></a>
<?php }elseif($__Context->var->type == "color"){ ?>
<input type="text" name="<?php @print($__Context->id);?>" value="" class="inputTypeText color-indicator" />
<?php }elseif($__Context->var->type == "textarea"){ ?>
<textarea name="<?php @print($__Context->id);?>" class="inputTypeTextArea fullWidth" id="lang_<?php @print($__Context->id);?>"></textarea>
<a href="<?php @print(getUrl('','module','module','act','dispModuleAdminLangcode','target','lang_'.$__Context->id));?>" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span><?php @print($__Context->lang->cmd_find_langcode);?></span></a>
<?php }elseif($__Context->var->type == "select"){ ?>
<select name="<?php @print($__Context->id);?>">
<?php $Context->__idx[3]=0;if(count($__Context->var->options)) foreach($__Context->var->options as $__Context->key => $__Context->val){$__Context->__idx[4]=($__Context->__idx[4]+1)%2; $__Context->cycle_idx = $__Context->__idx[4]+1; ?>
<option value="<?php @print($__Context->key);?>"><?php @print($__Context->val);?></option>
<?php } ?>
</select>
<?php }elseif($__Context->var->type == "select-multi-order"){ ?>
<input type="hidden" name="<?php @print($__Context->id);?>" value="" />
<input type="hidden" name="default_<?php @print($__Context->id);?>" value="" />
<input type="hidden" name="init_<?php @print($__Context->id);?>" value="" />
<div style="float:left;margin-left:30px;">
<select name="show_<?php @print($__Context->id);?>" size="8" class="w100">
<?php $Context->__idx[4]=0;if(count($__Context->var->options)) foreach($__Context->var->options as $__Context->key => $__Context->val){$__Context->__idx[5]=($__Context->__idx[5]+1)%2; $__Context->cycle_idx = $__Context->__idx[5]+1; ?>
<option value="<?php @print($__Context->key);?>"><?php @print($__Context->key);?></option>
<?php } ?>
</select>
</div>
<div style="float:left;margin-left:30px;">
<a class="buttonSet buttonRight" onclick="MultiOrderAdd('<?php @print($__Context->id);?>'); return false;" href="#"></a>
<br/><br/>
<a class="buttonSet buttonLeft" onclick="MultiOrderDelete('<?php @print($__Context->id);?>'); return false;" href="#"></a>
<br/><br/>
<a class="buttonSet buttonUp" onclick="MultiOrderUp('<?php @print($__Context->id);?>'); return false;" href="#"></a>
<br/><br/>
<a class="buttonSet buttonDown" onclick="MultiOrderDown('<?php @print($__Context->id);?>'); return false;" href="#"></a>
</div>
<div style="float:left;margin-left:30px;">
<select name="selected_<?php @print($__Context->id);?>" name="selected_<?php @print($__Context->id);?>" size="8" class="w100">
</select>
</div>
<script type="text/javascript">
<?php $Context->__idx[5]=0;if(count($__Context->var->options)) foreach($__Context->var->options as $__Context->key => $__Context->val){$__Context->__idx[6]=($__Context->__idx[6]+1)%2; $__Context->cycle_idx = $__Context->__idx[6]+1; ?>
<?php if($__Context->var->default_options[$__Context->key] == true){ ?>
jQuery("[name='default_<?php @print($__Context->id);?>']").get(0).value += '<?php @print($__Context->key);?>,';
<?php } ?>
<?php if($__Context->var->init_options[$__Context->key] == true){ ?>
jQuery("[name='init_<?php @print($__Context->id);?>']").get(0).value += ','+'<?php @print($__Context->key);?>';
<?php } ?>
<?php } ?>
if(typeof(initMultiOrder)!=='undefined') {
doAddWindowLoadEventLoader( function() { initMultiOrder('<?php @print($__Context->id);?>'); } );
}
// MultiOrderSet('<?php @print($__Context->id);?>');
</script>
<?php }elseif($__Context->var->type == "mid_list"){ ?>
<?php $Context->__idx[6]=0;if(count($__Context->mid_list)) foreach($__Context->mid_list as $__Context->module_category_srl => $__Context->modules){$__Context->__idx[7]=($__Context->__idx[7]+1)%2; $__Context->cycle_idx = $__Context->__idx[7]+1; ?>
<?php if($__Context->modules->title){ ?>
<div class="widget_title"><?php @print($__Context->modules->title);?></div>
<?php }else{ ?>
<div class="widget_title"><?php @print($__Context->lang->none_category);?></div>
<?php } ?>
<?php $Context->__idx[7]=0;if(count($__Context->modules->list)) foreach($__Context->modules->list as $__Context->key => $__Context->val){$__Context->__idx[8]=($__Context->__idx[8]+1)%2; $__Context->cycle_idx = $__Context->__idx[8]+1; ?>
<div class="widget_mid_list">
<input type="checkbox" value="<?php @print($__Context->key);?>" name="<?php @print($__Context->id);?>" id="chk_mid_list_<?php @print($__Context->key);?>" />
<label for="chk_mid_list_<?php @print($__Context->key);?>"><?php @print($__Context->key);?> (<?php @print($__Context->val->browser_title);?>)</label>
</div>
<?php } ?>
<?php } ?>
<?php }elseif($__Context->var->type == "member_group"){ ?>
<?php $Context->__idx[8]=0;if(count($__Context->group_list)) foreach($__Context->group_list as $__Context->key => $__Context->val){$__Context->__idx[9]=($__Context->__idx[9]+1)%2; $__Context->cycle_idx = $__Context->__idx[9]+1; ?>
<input type="checkbox" value="<?php @print($__Context->key);?>" name="<?php @print($__Context->id);?>" id="chk_member_gruop_<?php @print($__Context->id);?>_<?php @print($__Context->key);?>" />
<label for="chk_member_gruop_<?php @print($__Context->id);?>_<?php @print($__Context->key);?>"><?php @print($__Context->val->title);?></label>
<?php } ?>
<?php }elseif($__Context->var->type == "module_srl_list"){ ?>
<input type="hidden" name="<?php @print($__Context->id);?>" id="<?php @print($__Context->id);?>" value="" />
<select name="_<?php @print($__Context->id);?>" id="_<?php @print($__Context->id);?>" size="8" class="w200 fl"></select>
<ul class="midCommand">
<li><a href="<?php @print(getUrl('','module','module','act','dispModuleSelectList','id',$__Context->id));?>" onclick="popopen(this.href, 'ModuleSelect');return false;" class="button blue"><span><?php @print($__Context->lang->cmd_insert);?></span></a></li>
<li><a href="#" onclick="midMoveUp('<?php @print($__Context->id);?>');return false;" class="button black"><span><?php @print($__Context->lang->cmd_move_up);?></span></a></li>
<li><a href="#" onclick="midMoveDown('<?php @print($__Context->id);?>');return false;" class="button black"><span><?php @print($__Context->lang->cmd_move_down);?></span></a></li>
<li><a href="#" onclick="midRemove('<?php @print($__Context->id);?>');return false;" class="button red"><span><?php @print($__Context->lang->cmd_delete);?></span></a></li>
</ul>
<script type="text/javascript">
if(typeof(getModuleSrlList)!=='undefined') {
doAddWindowLoadEventLoader( function() { getModuleSrlList('<?php @print($__Context->id);?>'); } );
}
</script>
<?php }elseif($__Context->var->type == "mid"){ ?>
<input type="hidden" name="<?php @print($__Context->id);?>" id="<?php @print($__Context->id);?>" value="" />
<input type="text" name="_<?php @print($__Context->id);?>" id="_<?php @print($__Context->id);?>" value="" class="inputTypeText w300" readonly="readonly"/><a href="<?php @print(getUrl('','module','module','act','dispModuleSelectList','id',$__Context->id,'type','single'));?>" onclick="popopen(this.href, 'ModuleSelect');return false;" class="button blue"><span><?php @print($__Context->lang->cmd_select);?></span></a>
<script type="text/javascript">
if(typeof(getModuleSrlList)!=='undefined') {
doAddWindowLoadEventLoader( function() { getModuleSrl('<?php @print($__Context->id);?>'); });
}
</script>
<?php }elseif($__Context->var->type == "filebox"){ ?>
<div id="filebox_preview_<?php @print($__Context->id);?>" style="width:100px;height:100px;display:none" ></div>
<input type="hidden" name="<?php @print($__Context->id);?>" value="" />
<span class="button black"><button type="button" onclick="XE.filebox.open(jQuery('[name=<?php @print($__Context->id);?>]', '#fo_widget').get(0), '<?php @print($__Context->var->filter);?>')"><?php @print($__Context->lang->cmd_select);?></button></span>
<span id="filebox_cancel_<?php @print($__Context->id);?>" class="button red" style="display:none" ><button type="button" onclick="XE.filebox.cancel('<?php @print($__Context->id);?>')"><?php @print($__Context->lang->cmd_delete);?></button></span>
<script type="text/javascript">//<![CDATA[
XE.filebox.init('<?php @print($__Context->id);?>');
//]]></script>
<?php }elseif($__Context->var->type == "menu"){ ?>
<select name="<?php @print($__Context->id);?>" class="w300 fl">
<option value="">-</option>
<?php $Context->__idx[9]=0;if(count($__Context->menu_list)) foreach($__Context->menu_list as $__Context->key => $__Context->val){$__Context->__idx[10]=($__Context->__idx[10]+1)%2; $__Context->cycle_idx = $__Context->__idx[10]+1; ?>
<option value="<?php @print($__Context->val->menu_srl);?>"><?php @print($__Context->val->title);?></option>
<?php } ?>
</select>
<?php } ?>
<p class="clear"><?php @print(nl2br($__Context->var->description));?></p>
</td>
</tr>
<?php } ?>
</table>