Changeset 267 for ZMS/trunk/dtml/ZMSSqlDb/manage_configuration.dtml
- Timestamp:
- 03.11.2008 14:37:55 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ZMS/trunk/dtml/ZMSSqlDb/manage_configuration.dtml
r261 r267 131 131 132 132 <table cellspacing="1" cellpadding="0" border="0" class="zmiNeutralColorStrong0" width="98%"> 133 <colgroup>134 <col />135 </colgroup>136 137 133 <!-- Header --> 138 134 <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> 140 136 </tr> 141 137 142 138 <dtml-in "getEntities()" mapping sort=label> 143 139 <dtml-let entity=sequence-item> … … 145 141 <!-- Headline --> 146 142 <tr valign="top" class="zmiNeutralColorStrong0"> 147 <td class="form-label"> <dtml-var "getZMILangStr('ATTR_ID')"></td>143 <td class="form-label"> <dtml-var "getZMILangStr('ATTR_ID')"></td> 148 144 <td class="form-label"><dtml-var "getZMILangStr('ATTR_DISPLAY')"></td> 149 145 <td class="form-label"><dtml-var "getZMILangStr('ATTR_TYPE')"></td> … … 152 148 153 149 <tr valign="top" class="zmiNeutralColorMedium0"> 154 <td class="form-element" 150 <td class="form-element" style="width:102px !important" 155 151 ><input type="hidden" name="id" value="<dtml-var id>" 156 > <code><dtml-var id></code152 > <code><dtml-var id></code 157 153 ></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" 160 156 ></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"> 163 159 <dtml-in "['table','intersection']" 164 160 ><dtml-let objtype=sequence-item … … 168 164 ></select> 169 165 </td> 170 <td class="form-element" >166 <td class="form-element" style="width:*;text-align:right"> 171 167 <input class="form-submit" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_SAVE')" html_quote>"/> 172 168 <input class="form-submit" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_BACK')" html_quote>"/> … … 179 175 <table cellpadding="1" cellspacing="1" border="0" width="100%" 180 176 ><colgroup> 181 <col width=" 20%"/>182 <col width=" 80%"/>177 <col width="110"/> 178 <col width="*"/> 183 179 </colgroup 184 180 ><tr class="zmiNeutralColorLight0" 185 ><td class="form-small" nowrap="nowrap"> Interface</td186 ><td class="form-small"><textarea class="form-fixed" name="interface" cols="80" rows="1" title="Interface" wrap="virtual" style="width:9 0%;height:20px;background-color:#FFF;"><dtml-var "entity.get('interface','')" html_quote></textarea></td181 ><td class="form-small" nowrap="nowrap"> Interface </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 187 183 ></tr 188 184 ><tr class="zmiNeutralColorLight0" 189 ><td class="form-small" nowrap="nowrap"> Filter</td190 ><td class="form-small"><textarea class="form-fixed" name="filter" cols="80" rows="1" title="Filter" wrap="virtual" style="width:9 0%;height:20px;background-color:#FFF;"><dtml-var "entity.get('filter','')" html_quote></textarea></td185 ><td class="form-small" nowrap="nowrap"> Filter </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 191 187 ></tr 192 188 ></table> 193 189 <!-- 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%"> 195 191 <tr valign="middle"> 196 192 <td class="form-small" colspan="2"><b> </b></td> … … 223 219 ><code><dtml-var "column['id']"></code 224 220 ><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" 226 222 ></dtml-if 227 223 ></td> … … 230 226 ></td> 231 227 <td class="form-small" 232 ><input type="text" name="attr_label_<dtml-var "column['id']">" value="<dtml-var "column['label']">" size="1 0"228 ><input type="text" name="attr_label_<dtml-var "column['id']">" value="<dtml-var "column['label']">" size="12" 233 229 ></td> 234 230 <td title="<dtml-var "getZMILangStr('ATTR_DISPLAY')">" align="center" … … 256 252 ><tr class="zmiNeutralColorLight0" 257 253 ><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"></td254 ><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 259 255 ></tr 260 256 ><tr class="zmiNeutralColorLight0" 261 257 ><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"></td258 ><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 263 259 ></tr 264 260 ><dtml-elif "column.has_key('details')" … … 269 265 ><tr class="zmiNeutralColorLight0" 270 266 ><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"></td267 ><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 272 268 ></tr 273 269 ><dtml-elif "column.has_key('fk')" 274 270 ><tr class="zmiNeutralColorLight0" 275 271 ><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></td272 ><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 277 273 ></tr 278 274 ><tr class="zmiNeutralColorLight0" 279 275 ><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"></td276 ><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 281 277 ></tr 282 278 ><tr class="zmiNeutralColorLight0" 283 279 ><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"></td280 ><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 285 281 ></tr 286 282 ><tr class="zmiNeutralColorLight0" … … 291 287 ><tr class="zmiNeutralColorLight0" 292 288 ><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"></td289 ><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 294 290 ></tr 295 291 ><tr class="zmiNeutralColorLight0" 296 292 ><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></td293 ><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 298 294 ></tr 299 295 ><tr class="zmiNeutralColorLight0" … … 308 304 ><tr class="zmiNeutralColorLight0" 309 305 ><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"></td306 ><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 311 307 ></tr 312 308 ><tr class="zmiNeutralColorLight0" 313 309 ><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></td310 ><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 315 311 ></tr 316 312 ><tr class="zmiNeutralColorLight0" … … 374 370 <tr valign="middle"> 375 371 <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> 380 374 <td class="form-small"> </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> 385 378 <td class="form-small" nowrap="nowrap" 386 ><select class="form-small" name="attr_type" 379 ><select class="form-small" name="attr_type" 387 380 ><option value="">----- <dtml-var "getZMILangStr('ACTION_SELECT')%getZMILangStr('ATTR_TYPE')"> -----</option 388 381 ><dtml-in "valid_types.keys()" … … 392 385 ></dtml-in 393 386 ></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 > <input class="form-submit form-small" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_INSERT')" html_quote>" onclick="btnClick(this,'attr');"> 395 388 </td> 396 389 </tr> … … 471 464 <dtml-var manage_page_footer> 472 465 </dtml-try> 466
Note: See TracChangeset
for help on using the changeset viewer.
