<form  class="form-horizontal" data-validate="parsley" id="vis_module_form" name="vis_module_form" method="post">
   <input type="hidden" name="vis_operation" value="add_module" />
   <input type="hidden" name="vis_module" value="setting" />		 
   <input type="hidden" name="vis_module_id" value="<? echo $module_details['module_id']; ?>" />
   <?php if($module_details['module_id']==11) { ?> <input type="hidden" name="vis_department" value="0" /><input type="hidden" name="vis_domain" value="0" /><? } ?>
   <? if($module_details['access_type']==1) $core='style="display:none"'; else $core=''; ?>		 
   <div class="form-group" <? echo $core; ?>>
      <label class="col-sm-2 control-label"><? echo $vis_language['TXTMODULE']; ?></label>
      <div class="col-sm-10">
         <input class="form-control input-sm" type="text" name="vis_module_name" id="vis_module_name"  value="<? echo $module_details['module']; ?>" >
      </div>
   </div>
   <div class="form-group">
      <label class="col-sm-2 control-label"><? echo $vis_language['TXTTITLE']; ?></label>
      <div class="col-sm-10">
         <input class="form-control input-sm" type="text" name="vis_module_title" id="vis_module_title" value="<? echo htmlentities($module_details['module_name'], ENT_COMPAT, 'UTF-8'); ?>" >
      </div>
   </div>
   <div class="form-group">
      <label class="col-sm-2 control-label"><? echo $vis_language['TXTHEADERTITLE']; ?></label>
      <div class="col-sm-10">
         <input class="form-control input-sm" type="text" name="vis_headtitle" id="vis_headtitle" value="<? echo $module_details['header_title']; ?>" >
      </div>
   </div>	
   <?php if($module_details['module_id']!=1) { ?>			
   <!--<div class="form-group">
      <label class="col-sm-2 control-label"><? echo $vis_language['TXTDISPLAYONQUICKVIEW']; ?></label>
      <div class="col-sm-10">
         <select  name="vis_qvdisplay" id="vis_qvdisplay" class="form-control input-sm selectpicker">
            <? $selected= ($module_details['quick_view'] == 1)?'selected="selected"':''; ?>
            <option value="0" ><? echo $vis_language['TXTNO']; ?></option>
            <option value="1" <? echo $selected; ?>  ><? echo $vis_language['TXTYES']; ?></option>
         </select>
      </div>
   </div>-->
   <?php } ?>
<script>	
   $(".selectpicker").selectpicker();
</script>
