?>
</label>
            <select class="easyui-combobox readonly_sa" name="state" data-options="required:true,editable:false,panelHeight:42" style="width:120px;">
               <option value=1><?php 
mea_toLocalC('enabled');
?>
</option>
               <option value=0><?php 
mea_toLocalC('disabled');
?>
</option>
            </select>
        </div>
        <div class="fitem">
            <label><?php 
mea_toLocalC_2d('recorded');
?>
</label>
            <input class="checkbox_sa" name="todbflag" type="checkbox" value=1>
        </div>
        
        <input name="sensor_actuator_id" type="hidden">
        <input name="id" type="hidden" id="database_sa_id" defaultValue='-1' value='-1'>
    </form>
</div>
<div id="dlg_buttons_sa">
<?php 
if ($isadmin == 0) {
    ?>
      <a href="javascript:void(0)" id="submit_button_sa"  class="easyui-linkbutton" iconCls="icon-ok" style="width:100px"><?php 
    mea_toLocalC('save');
</label>
            <select class="easyui-combobox editable_us" name="language" data-options="required:true,editable:false,panelHeight:105" style="width:120px;">
               <option value="default"><?php 
mea_toLocalC('default (en)');
?>
</option>
               <option value="fr"><?php 
mea_toLocalC('français (fr)');
?>
</option>
            </select>
        </div>
 
        <div class="fitem">
            <label><?php 
mea_toLocalC_2d('password option');
?>
</label>
            <select class="easyui-combobox readonly_us" name="flag" data-options="required:true,editable:false,panelHeight:105" style="width:120px;">
               <option value=1><?php 
mea_toLocalC("must be changed at first login");
?>
</option>
               <option value=0><?php 
mea_toLocalC("must not be changed at first login");
?>
</option>
               <option value=2><?php 
mea_toLocalC("can't be changed by user");
?>
</option>
<div id="dlg_lo" class="easyui-dialog" style="width:500px;height:450px;padding:10px 20px" modal="true" closed="true" buttons="#dlg_buttons_lo">
    <div class="ftitle"><?php 
mea_toLocalC('locations');
?>
</div>
    <form id="fm_lo" method="post" novalidate>
        <div class="fitem">
            <label><?php 
mea_toLocalC_2d('name');
?>
</label>
            <input id="location_name" name="name" class="easyui-textbox editable_lo" style="width:100px;" data-options="required:true,validType:'name_validation',missingMessage:translationController.toLocalC('location name is mandatory')">
        </div>
        <div class="fitem">
            <label><?php 
mea_toLocalC_2d('description');
?>
</label>
            <input name="description" class="easyui-textbox editable_lo" data-options="multiline:true" style="width:270px;height:50px">
        </div>
        <input name="id_location" type="hidden">
        <input name="id" type="hidden" id="database_lo_id" defaultValue='-1' value='-1'>
    </form>
</div>
<div id="dlg_buttons_lo">
<?php 
if ($isadmin == 0) {
    ?>
      <a href="javascript:void(0)" id="submit_button_lo"  class="easyui-linkbutton" iconCls="icon-ok" style="width:100px"><?php 
    mea_toLocalC('save');
    ?>
Beispiel #4
0
               <option value=99><?php 
mea_toLocalC('other');
?>
</option>
            </select>
        </div>
        <div class="fitem">
            <label><?php 
mea_toLocalC_2d('description');
?>
</label>
            <input name="description" class="easyui-textbox editable_ty" data-options="multiline:true" style="width:270px;height:50px">
        </div>
        <div class="fitem">
            <label><?php 
mea_toLocalC_2d('parameters');
?>
</label>
            <input name="parameters" class="easyui-textbox editable_ty" data-options="multiline:true" style="width:270px;height:75px">
        </div>
        <input name="flag" type="hidden" defaultValue='2' value='2'>
        <input name="id" type="hidden" id="database_ty_id" defaultValue='-1' value='-1'>
        
    </form>
</div>

<div id="dlg_buttons_ty">
<?php 
if ($isadmin == 0) {
    ?>
   <a href="javascript:void(0)" id="submit_button_ty"  class="easyui-linkbutton" iconCls="icon-ok" style="width:100px"><?php 
              </tr>
           </table>
        </div>
        <p></p>
        <div id="ap4" class="easyui-panel" data-options="style:{margin:'0 auto'}" title="<?php 
mea_toLocalC('continuity buffer (used when Mysql history database is unavailable)');
?>
" style="width:700px;padding:10px;">
            <table width="600px" align="center" style="padding-bottom: 12px;">
               <col width="30%">
               <col width="60%">
               <col width="10%">
               <tr>
                  <td align="right">
                     <label for="BUFFERDB" id="sqlitebuffer"><?php 
mea_toLocalC_2d('SQLite buffer db');
?>
</label>
                  </td>
                  <td>
<?php 
if ($isadmin == 0) {
    ?>
                     <input name="BUFFERDB" id="BUFFERDB" style="height:25px; width:100%; " class="easyui-textbox editable_ap" data-options="buttonText:'Select',prompt:'path...',onClickButton:fsBufferPath"/>
<?php 
} else {
    ?>
                     <input name="BUFFERDB" id="BUFFERDB" style="height:25px; width:100%; " class="easyui-textbox editable_ap"/>
<?php 
}
?>
                           <td align="right">
                              <label><?php 
mea_toLocalC('short cut');
mea_toLocalC_2d(' 3');
?>
</label>
                           </td>
                           <td>
                              <input id=sc3 style='width:150px'>
                           </td>
                        </tr>
                        <tr>
                           <td align="right">
                              <label><?php 
mea_toLocalC('short cut');
mea_toLocalC_2d(' 4');
?>
</label>
                           </td>
                           <td>
                              <input id=sc4 style='width:150px'>
                           </td>
                        </tr>
                     </table>
               </div>
            </div>
         </div>

         <p></p>

         <div style="margin:0 auto; text-align:center;">
            <label><?php 
mea_toLocalC_2d('device');
?>
</label>
            <input name="dev" class="easyui-textbox editable_in" data-options="required:true,missingMessage:translationController.toLocalC('device is mandatory')" style="width:270px;">
        </div>
        <div class="fitem" style="">
            <label><?php 
mea_toLocalC_2d('parameters');
?>
</label>
            <input name="parameters" class="easyui-textbox editable_in" data-options="multiline:true" style="width:270px;height:75px">
        </div>
        <div class="fitem">
            <label><?php 
mea_toLocalC_2d('state');
?>
</label>
            <select class="easyui-combobox readonly_in" name="state" data-options="required:true,editable:false,panelHeight:'auto'" style="width:120px;">
               <option value=0><?php 
mea_toLocalC('unactivated');
?>
</option>
               <option value=1><?php 
mea_toLocalC('activated');
?>
</option>
               <option value=2><?php 
mea_toLocalC('delegated');
?>
</option>
                     </td>
                  </tr>
               </table>

               <div style="margin:0 auto; text-align:center;">
                  <a id="button_build_rm" href="javascript:void(0)" class="easyui-linkbutton" style="width=50px;" data-options="iconCls:'icon-reload'"><?php 
mea_toLocalC('build');
?>
</a>
               </div>
            </div>

            <p></p>

            <div id="rm" class="easyui-panel" data-options="style:{margin:'0 auto'}" title="<?php 
mea_toLocalC_2d('choose builded rules to apply');
?>
" style="width:700px;padding:10px;">
               <table width="600px" align="center" style="padding-bottom: 12px;">
                  <col width="100%">
                  <tr>
                     <td align="center"><B><?php 
mea_toLocalC('available builded rules');
?>
</B></td>
                  </tr>
                  <tr>
                     <td align="center">
<!--
                        <select name="builded_rules_rm" id="builded_rules_rm" size="12" style="width:40%;font-family:verdana,helvetica,arial,sans-serif;font-size:12px;">
                        </select>