|
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();?>
<input type="hidden" name="menu_item_srl" value="<?php @print($__Context->item_info->menu_item_srl);?>" />
<input type="hidden" name="parent_srl" value="<?php @print($__Context->item_info->parent_srl);?>" />
<input type="hidden" name="normal_btn" value="<?php @print($__Context->item_info->normal_btn);?>" />
<input type="hidden" name="hover_btn" value="<?php @print($__Context->item_info->hover_btn);?>" />
<input type="hidden" name="active_btn" value="<?php @print($__Context->item_info->active_btn);?>" />
<div class="layer" style="display:block;">
<h4 class="xeAdmin"><?php @print($__Context->lang->menu);?></h4>
<button class="xButton" type="button" onclick="hideCategoryInfo();return false" ><span><?php @print($__Context->lang->cmd_close);?></span></button>
<div class="layerBody">
<table cellspacing="0" class="rowTable">
<?php if($__Context->item_info->parent_menu_name){ ?>
<tr class="row<?php @print($__Context->cycle_idx);?>">
<th scope="row"><div><?php @print($__Context->lang->parent_menu_name);?></div></th>
<td><?php @print($__Context->item_info->parent_menu_name);?></td>
</tr>
<?php } ?>
<tr>
<th scope="row"><div><?php @print($__Context->lang->menu_name);?></div></th>
<td>
<input type="text" name="menu_name" id="menu_name" value="<?php @print(htmlspecialchars($__Context->item_info->name));?>" class="inputTypeText w300"/>
<a href="<?php @print(getUrl('','module','module','act','dispModuleAdminLangcode','target','menu_name'));?>" onclick="popopen(this.href);return false;" class="buttonSet buttonSetting"><span><?php @print($__Context->lang->cmd_find_langcode);?></span></a>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->menu_url);?></div></th>
<td>
<input type="text" name="menu_url" value="<?php @print(htmlspecialchars($__Context->item_info->url));?>" class="inputTypeText" />
<a href="<?php @print(getUrl('module','menu','act','dispMenuAdminMidList'));?>" onclick="popopen(this.href);return false;" class="button black"><span><?php @print($__Context->lang->cmd_search_mid);?></span> </a>
<p class="clear"><?php @print($__Context->lang->about_menu_url);?></p>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->menu_open_window);?></div></th>
<td>
<input type="checkbox" name="menu_open_window" value="Y" <?php if($__Context->item_info->open_window=="Y"){ ?>checked="checked"<?php } ?> />
<p><?php @print($__Context->lang->about_menu_open_window);?></p>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->menu_expand);?></div></th>
<td>
<input type="checkbox" name="menu_expand" value="Y" <?php if($__Context->item_info->expand=="Y"){ ?>checked="checked"<?php } ?> />
<p><?php @print($__Context->lang->about_menu_expand);?></p>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->menu_img_btn);?></div></th>
<td><p><?php @print($__Context->lang->about_menu_img_btn);?></p></td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->menu_normal_btn);?></div></th>
<td>
<div id="menu_normal_btn_zone" <?php if(!$__Context->item_info->normal_btn){ ?>style="display:none;"<?php } ?>>
<img src="<?php @print($__Context->item_info->normal_btn);?>" alt="" id="menu_normal_btn_img" /><br />
<a href="#" onclick="doDeleteButton('menu_normal_btn');return false;" class="button"><span><?php @print($__Context->lang->cmd_delete);?></span></a>
</div>
<input type="file" name="menu_normal_btn" value="" class="inputTypeText" onchange="doMenuUploadButton(this); return false;"/>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->menu_hover_btn);?></div></th>
<td>
<div id="menu_hover_btn_zone") <?php if(!$__Context->item_info->hover_btn){ ?>style="display:none;"<?php } ?>>
<img src="<?php @print($__Context->item_info->hover_btn);?>" alt="" id="menu_hover_btn_img" /><br />
<a href="#" onclick="doDeleteButton('menu_hover_btn');return false;" class="button"><span><?php @print($__Context->lang->cmd_delete);?></span></a>
</div>
<input type="file" name="menu_hover_btn" value="" class="inputTypeText" onchange="doMenuUploadButton(this); return false;"/>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->menu_active_btn);?></div></th>
<td>
<div id="menu_active_btn_zone" <?php if(!$__Context->item_info->active_btn){ ?>style="display:none;"<?php } ?>>
<img src="<?php @print($__Context->item_info->active_btn);?>" alt="" id="menu_active_btn_img" /><br />
<a href="#" onclick="doDeleteButton('menu_active_btn');return false;" class="button"><span><?php @print($__Context->lang->cmd_delete);?></span></a>
</div>
<input type="file" name="menu_active_btn" value="" class="inputTypeText" onchange="doMenuUploadButton(this); return false;"/>
</td>
</tr>
<tr>
<th scope="row"><div><?php @print($__Context->lang->menu_group_srls);?></div></th>
<td>
<?php $Context->__idx[0]=0;if(count($__Context->group_list)) foreach($__Context->group_list as $__Context->key=>$__Context->val){$__Context->__idx[1]=($__Context->__idx[1]+1)%2; $__Context->cycle_idx = $__Context->__idx[1]+1; ?>
<input type="checkbox" name="group_srls" value="<?php @print($__Context->key);?>" id="group_<?php @print($__Context->key);?>" <?php if(is_array($__Context->item_info->group_srls)&&in_array($__Context->key, $__Context->item_info->group_srls)){ ?>checked="checked"<?php } ?>/>
<label for="group_<?php @print($__Context->key);?>"><?php @print($__Context->val->title);?></label>
<?php } ?>
<p><?php @print($__Context->lang->about_menu_group_srls);?></p>
</td>
</tr>
<tr>
<th scope="row" colspan="3" class="button"><div>
<span class="button black strong"><input type="submit" value="<?php @print($__Context->lang->cmd_save);?>" /></span>
</div></th>
</tr>
</table>
<script type="text/javascript">
(function($){
$("[name^=menu_name_]").bind("blur",function(e){
if($("[name=ck_"+$(this).attr("name")+"]:checked").size()>0){
$("[name^=ck_menu_name_]:checked").each(function(i){
$("[name="+$(this).attr("name").substring(3)+"]").val(e.target.value);
});
}
});
$('input#menu_name').focus();
})(jQuery);
</script>
</div>
</div>