Ignore:
Timestamp:
03.11.2008 14:37:55 (4 years ago)
Author:
mike
Message:

zms-2.11.1-120

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ZMS/trunk/dtml/ZMSSqlDb/manage_configuration.dtml

    r261 r267  
    131131 
    132132<table cellspacing="1" cellpadding="0" border="0" class="zmiNeutralColorStrong0" width="98%"> 
    133 <colgroup> 
    134  <col /> 
    135 </colgroup> 
    136  
    137133  <!-- Header --> 
    138134  <tr> 
    139    <td colspan="4"><dtml-var "f_headline(_,_,headline=getZMILangStr('TAB_EDIT'),extra='<a href='+QUOT+'sqlmodel.xml'+QUOT+' target='+QUOT+'_blank'+QUOT+'><img src='+QUOT+MISC_ZMS+'mime_type.text_xml.gif'+QUOT+' title='+QUOT+getZMILangStr('BTN_EXPORT')+' (XML)'+QUOT+' border='+QUOT+'1'+QUOT+' align='+QUOT+'absmiddle'+QUOT+'/></a>')"></td> 
     135   <td colspan="4" style="width:100%"><dtml-var "f_headline(_,_,headline=getZMILangStr('TAB_EDIT'),extra='<a href='+QUOT+'sqlmodel.xml'+QUOT+' target='+QUOT+'_blank'+QUOT+'><img src='+QUOT+MISC_ZMS+'mime_type.text_xml.gif'+QUOT+' title='+QUOT+getZMILangStr('BTN_EXPORT')+' (XML)'+QUOT+' border='+QUOT+'1'+QUOT+' align='+QUOT+'absmiddle'+QUOT+'/></a>')"></td> 
    140136  </tr> 
    141    
     137 
    142138  <dtml-in "getEntities()" mapping sort=label> 
    143139   <dtml-let entity=sequence-item> 
     
    145141     <!-- Headline --> 
    146142     <tr valign="top" class="zmiNeutralColorStrong0"> 
    147       <td class="form-label"><dtml-var "getZMILangStr('ATTR_ID')"></td> 
     143      <td class="form-label">&nbsp;<dtml-var "getZMILangStr('ATTR_ID')"></td> 
    148144      <td class="form-label"><dtml-var "getZMILangStr('ATTR_DISPLAY')"></td> 
    149145      <td class="form-label"><dtml-var "getZMILangStr('ATTR_TYPE')"></td> 
     
    152148 
    153149     <tr valign="top" class="zmiNeutralColorMedium0"> 
    154       <td class="form-element" 
     150      <td class="form-element" style="width:102px !important" 
    155151       ><input type="hidden" name="id" value="<dtml-var id>" 
    156        ><code><dtml-var id></code 
     152       >&nbsp;<code><dtml-var id></code 
    157153      ></td> 
    158       <td class="form-element" 
    159        ><input type="text" name="label" value="<dtml-var label>" size="20" 
     154      <td class="form-element" style="width:102px !important" 
     155       ><input type="text" name="label" value="<dtml-var label>" size="12" 
    160156      ></td> 
    161       <td class="form-element"> 
    162        <select class="form-element" name="type"> 
     157      <td class="form-element" style="width:102px !important" 
     158       ><select class="form-element" name="type"> 
    163159        <dtml-in "['table','intersection']" 
    164160         ><dtml-let objtype=sequence-item 
     
    168164       ></select> 
    169165      </td> 
    170       <td class="form-element"> 
     166      <td class="form-element" style="width:*;text-align:right"> 
    171167       <input class="form-submit" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_SAVE')" html_quote>"/> 
    172168       <input class="form-submit" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_BACK')" html_quote>"/> 
     
    179175        <table cellpadding="1" cellspacing="1" border="0" width="100%" 
    180176        ><colgroup> 
    181          <col width="20%"/> 
    182          <col width="80%"/> 
     177         <col width="110"/> 
     178         <col width="*"/> 
    183179        </colgroup 
    184180        ><tr class="zmiNeutralColorLight0" 
    185          ><td class="form-small" nowrap="nowrap">Interface</td 
    186          ><td class="form-small"><textarea class="form-fixed" name="interface" cols="80" rows="1" title="Interface" wrap="virtual" style="width:90%;height:20px;background-color:#FFF;"><dtml-var "entity.get('interface','')" html_quote></textarea></td 
     181         ><td class="form-small" nowrap="nowrap">&nbsp;Interface&nbsp;</td 
     182         ><td class="form-small"><textarea class="form-fixed" name="interface" cols="80" rows="1" title="Interface" wrap="virtual" style="width:98%;height:20px;background-color:#FFF;"><dtml-var "entity.get('interface','')" html_quote></textarea></td 
    187183        ></tr 
    188184        ><tr class="zmiNeutralColorLight0" 
    189          ><td class="form-small" nowrap="nowrap">Filter</td 
    190          ><td class="form-small"><textarea class="form-fixed" name="filter" cols="80" rows="1" title="Filter" wrap="virtual" style="width:90%;height:20px;background-color:#FFF;"><dtml-var "entity.get('filter','')" html_quote></textarea></td 
     185         ><td class="form-small" nowrap="nowrap">&nbsp;Filter&nbsp;</td 
     186         ><td class="form-small"><textarea class="form-fixed" name="filter" cols="80" rows="1" title="Filter" wrap="virtual" style="width:98%;height:20px;background-color:#FFF;"><dtml-var "entity.get('filter','')" html_quote></textarea></td 
    191187        ></tr 
    192188        ></table> 
    193189        <!-- Headline --> 
    194        <table cellspacing="1" cellpadding="0" border="0" class="zmiNeutralColorStrong0" width="80%"> 
     190       <table cellspacing="1" cellpadding="0" border="0" class="zmiNeutralColorStrong0" width="100%"> 
    195191       <tr valign="middle"> 
    196192        <td class="form-small" colspan="2"><b>&nbsp;</b></td> 
     
    223219            ><code><dtml-var "column['id']"></code 
    224220           ><dtml-else 
    225             ><input type="text" name="attr_id_<dtml-var "column['id']">" value="<dtml-var "column['id']">" size="20" 
     221            ><input type="text" name="attr_id_<dtml-var "column['id']">" value="<dtml-var "column['id']">" size="12" 
    226222           ></dtml-if 
    227223          ></td> 
     
    230226          ></td> 
    231227          <td class="form-small" 
    232            ><input type="text" name="attr_label_<dtml-var "column['id']">" value="<dtml-var "column['label']">" size="10" 
     228           ><input type="text" name="attr_label_<dtml-var "column['id']">" value="<dtml-var "column['label']">" size="12" 
    233229          ></td> 
    234230          <td title="<dtml-var "getZMILangStr('ATTR_DISPLAY')">" align="center" 
     
    256252            ><tr class="zmiNeutralColorLight0" 
    257253             ><td class="form-small" nowrap="nowrap">Path</td 
    258              ><td class="form-small"><input type="text" name="attr_blob_path_<dtml-var "column['id']">" value="<dtml-var "column['blob'].get('path','')">" size="20"></td 
     254             ><td class="form-small"><input type="text" name="attr_blob_path_<dtml-var "column['id']">" value="<dtml-var "column['blob'].get('path','')">" size="12"></td 
    259255            ></tr 
    260256            ><tr class="zmiNeutralColorLight0" 
    261257             ><td class="form-small" nowrap="nowrap">Remote [URL]</td 
    262              ><td class="form-small"><input type="text" name="attr_blob_remote_<dtml-var "column['id']">" value="<dtml-var "column['blob'].get('remote','')">" size="20"></td 
     258             ><td class="form-small"><input type="text" name="attr_blob_remote_<dtml-var "column['id']">" value="<dtml-var "column['blob'].get('remote','')">" size="12"></td 
    263259            ></tr 
    264260           ><dtml-elif "column.has_key('details')" 
     
    269265            ><tr class="zmiNeutralColorLight0" 
    270266             ><td class="form-small" nowrap="nowrap">Foreign Key</td 
    271              ><td class="form-small"><input type="text" name="attr_details_fk_<dtml-var "column['id']">" value="<dtml-var "column['details'].get('fk','')">" size="20"></td 
     267             ><td class="form-small"><input type="text" name="attr_details_fk_<dtml-var "column['id']">" value="<dtml-var "column['details'].get('fk','')">" size="12"></td 
    272268            ></tr 
    273269           ><dtml-elif "column.has_key('fk')" 
    274270            ><tr class="zmiNeutralColorLight0" 
    275271             ><td class="form-small" nowrap="nowrap">A.Tablename</td 
    276              ><td class="form-small"><select name="attr_fk_tablename_<dtml-var "column['id']">"><option value=""></option><dtml-in "map( lambda x: x['id'], getEntities())" sort><dtml-let t=sequence-item><option value="<dtml-var t>"<dtml-if "column['fk'].get('tablename','').upper()==t.upper()"> selected="selected"</dtml-if>><dtml-var t></option></dtml-let></dtml-in></select></td 
     272             ><td class="form-small"><select name="attr_fk_tablename_<dtml-var "column['id']">" size="12"><option value=""></option><dtml-in "map( lambda x: x['id'], getEntities())" sort><dtml-let t=sequence-item><option value="<dtml-var t>"<dtml-if "column['fk'].get('tablename','').upper()==t.upper()"> selected="selected"</dtml-if>><dtml-var t></option></dtml-let></dtml-in></select></td 
    277273            ></tr 
    278274            ><tr class="zmiNeutralColorLight0" 
    279275             ><td class="form-small" nowrap="nowrap">A.Fieldname</td 
    280              ><td class="form-small"><input type="text" name="attr_fk_fieldname_<dtml-var "column['id']">" value="<dtml-var "column['fk'].get('fieldname','')">" size="20"></td 
     276             ><td class="form-small"><input type="text" name="attr_fk_fieldname_<dtml-var "column['id']">" value="<dtml-var "column['fk'].get('fieldname','')">" size="12"></td 
    281277            ></tr 
    282278            ><tr class="zmiNeutralColorLight0" 
    283279             ><td class="form-small" nowrap="nowrap">A.Displayfield</td 
    284              ><td class="form-small"><input type="text" name="attr_fk_displayfield_<dtml-var "column['id']">" value="<dtml-var "column['fk'].get('displayfield','')">" size="20"></td 
     280             ><td class="form-small"><input type="text" name="attr_fk_displayfield_<dtml-var "column['id']">" value="<dtml-var "column['fk'].get('displayfield','')">" size="12"></td 
    285281            ></tr 
    286282            ><tr class="zmiNeutralColorLight0" 
     
    291287            ><tr class="zmiNeutralColorLight0" 
    292288             ><td class="form-small" nowrap="nowrap">Foreign Key</td 
    293              ><td class="form-small"><input type="text" name="attr_multiselect_fk_<dtml-var "column['id']">" value="<dtml-var "column['multiselect'].get('fk','')">" size="20"></td 
     289             ><td class="form-small"><input type="text" name="attr_multiselect_fk_<dtml-var "column['id']">" value="<dtml-var "column['multiselect'].get('fk','')">" size="12"></td 
    294290            ></tr 
    295291            ><tr class="zmiNeutralColorLight0" 
    296292             ><td class="form-small" nowrap="nowrap">Tablename</td 
    297              ><td class="form-small"><select name="attr_multiselect_tablename_<dtml-var "column['id']">"><option value=""></option><dtml-in "map( lambda x: x['id'], getEntities())" sort><dtml-let t=sequence-item><option value="<dtml-var t>"<dtml-if "column['multiselect'].get('tablename','').upper()==t.upper()"> selected="selected"</dtml-if>><dtml-var t></option></dtml-let></dtml-in></select></td 
     293             ><td class="form-small"><select name="attr_multiselect_tablename_<dtml-var "column['id']">" size="12"><option value=""></option><dtml-in "map( lambda x: x['id'], getEntities())" sort><dtml-let t=sequence-item><option value="<dtml-var t>"<dtml-if "column['multiselect'].get('tablename','').upper()==t.upper()"> selected="selected"</dtml-if>><dtml-var t></option></dtml-let></dtml-in></select></td 
    298294            ></tr 
    299295            ><tr class="zmiNeutralColorLight0" 
     
    308304            ><tr class="zmiNeutralColorLight0" 
    309305             ><td class="form-small" nowrap="nowrap">Foreign Key</td 
    310              ><td class="form-small"><input type="text" name="attr_multimultiselect_fk_<dtml-var "column['id']">" value="<dtml-var "column['multimultiselect'].get('fk','')">" size="20"></td 
     306             ><td class="form-small"><input type="text" name="attr_multimultiselect_fk_<dtml-var "column['id']">" value="<dtml-var "column['multimultiselect'].get('fk','')">" size="12"></td 
    311307            ></tr 
    312308            ><tr class="zmiNeutralColorLight0" 
    313309             ><td class="form-small" nowrap="nowrap">Tablename</td 
    314              ><td class="form-small"><select name="attr_multimultiselect_tablename_<dtml-var "column['id']">"><option value=""></option><dtml-in "map( lambda x: x['id'], getEntities())" sort><dtml-let t=sequence-item><option value="<dtml-var t>"<dtml-if "column['multimultiselect'].get('tablename','').upper()==t.upper()"> selected="selected"</dtml-if>><dtml-var t></option></dtml-let></dtml-in></select></td 
     310             ><td class="form-small"><select name="attr_multimultiselect_tablename_<dtml-var "column['id']">" size="12"><option value=""></option><dtml-in "map( lambda x: x['id'], getEntities())" sort><dtml-let t=sequence-item><option value="<dtml-var t>"<dtml-if "column['multimultiselect'].get('tablename','').upper()==t.upper()"> selected="selected"</dtml-if>><dtml-var t></option></dtml-let></dtml-in></select></td 
    315311            ></tr 
    316312            ><tr class="zmiNeutralColorLight0" 
     
    374370       <tr valign="middle"> 
    375371        <td align="right" class="zmiNeutralColorStrong0"><img src="<dtml-var MISC_ZMS>btn_add.gif" title="<dtml-var "getZMILangStr('CAPTION_INSERT')%getZMILangStr('ATTR_ATTR')">" border="0" class="button" /></td> 
    376         <td class="zmiNeutralColorStrong0"> 
    377          <img src="<dtml-var spacer_gif>" title="" border="0" width="16" height="16" style="vertical-align:middle" /> 
    378         </td> 
    379         <td class="form-small"><input class="form-small" type="text" name="attr_id" value="" size="10"></td> 
     372        <td class="zmiNeutralColorStrong0"><img src="<dtml-var spacer_gif>" title="" border="0" width="16" height="16" style="vertical-align:middle" /></td> 
     373        <td class="form-small" style="vertical-align:middle" ><input class="form-small" type="text" name="attr_id" value="" size="12" /></td> 
    380374        <td class="form-small">&nbsp;</td> 
    381         <td class="form-small"><input class="form-small" type="text" name="attr_label" value="" size="10"></td> 
    382         <td align="center" title="<dtml-var "getZMILangStr('ATTR_DISPLAY')"> (<dtml-var "getZMILangStr('ATTR_COL')">)"> 
    383          <input class="form-checkbox" type="checkbox" name="attr_display:int" value="1" checked="checked"> 
    384         </td> 
     375        <td class="form-small" style="vertical-align:middle"><input class="form-small" type="text" name="attr_label" value="" size="12" /></td> 
     376        <td style="text-align:center;vertical-align:middle"  
     377            title="<dtml-var "getZMILangStr('ATTR_DISPLAY')"> (<dtml-var "getZMILangStr('ATTR_COL')">)"><input class="form-checkbox" type="checkbox" name="attr_display:int" value="1" checked="checked" /></td> 
    385378        <td class="form-small" nowrap="nowrap" 
    386          ><select class="form-small" name="attr_type" 
     379         ><select class="form-small" name="attr_type"  
    387380          ><option value="">----- <dtml-var "getZMILangStr('ACTION_SELECT')%getZMILangStr('ATTR_TYPE')"> -----</option 
    388381          ><dtml-in "valid_types.keys()" 
     
    392385          ></dtml-in 
    393386         ></select 
    394          ><input class="form-submit form-small" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_INSERT')" html_quote>" onclick="btnClick(this,'attr');"> 
     387         >&nbsp;&nbsp;&nbsp;<input class="form-submit form-small" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_INSERT')" html_quote>" onclick="btnClick(this,'attr');"> 
    395388        </td> 
    396389       </tr> 
     
    471464<dtml-var manage_page_footer> 
    472465</dtml-try> 
     466 
Note: See TracChangeset for help on using the changeset viewer.