Changeset 750 for ZMS/trunk/dtml/object/f_recordset_grid.dtml
- Timestamp:
- 23.10.2009 16:12:55 (3 years ago)
- File:
-
- 1 edited
-
ZMS/trunk/dtml/object/f_recordset_grid.dtml (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ZMS/trunk/dtml/object/f_recordset_grid.dtml
r724 r750 21 21 <colgroup> 22 22 <dtml-if grid_options> 23 <col width="<dtml-var " _.max(23 <col width="<dtml-var "max( 24 24 len(filter(lambda x: x in ['insert','export'],grid_options.keys())), 25 25 len(filter(lambda x: x in ['delete','sort','update','choose'],grid_options.keys())))*22">"/> … … 117 117 ><div style="float:left;width:20px;" 118 118 ><dtml-if "_['res-index']==0" 119 ><img src="<dtml-var MISC_ZMS>spacer.gif" title=""border="0" class="hbutton"119 ><img src="<dtml-var MISC_ZMS>spacer.gif" border="0" class="hbutton" 120 120 ><dtml-else 121 121 ><a href="<dtml-var "url_append_params(grid_options['sort']['action']['up']%str(row.get('id',_['res-index'])),{'qorder':REQUEST.get('qorder',''),'qorderdir':REQUEST.get('qorderdir','asc')})">" class="hbutton" … … 125 125 ><br 126 126 ><dtml-if "_['res-index']==len(res)-1" 127 ><img src="<dtml-var MISC_ZMS>spacer.gif" title=""border="0" class="hbutton"127 ><img src="<dtml-var MISC_ZMS>spacer.gif" border="0" class="hbutton" 128 128 ><dtml-else 129 129 ><a href="<dtml-var "url_append_params(grid_options['sort']['action']['down']%str(row.get('id',_['res-index'])),{'qorder':REQUEST.get('qorder',''),'qorderdir':REQUEST.get('qorderdir','asc')})">" class="hbutton" … … 223 223 <dtml-else> 224 224 <dtml-try> 225 <dtml-let u="string_maxlen(str(v), _.max(int(200.0/len(grid_cols)),grid_col.get('minsize',20)))"225 <dtml-let u="string_maxlen(str(v),max(int(200.0/len(grid_cols)),grid_col.get('minsize',20)))" 226 226 ><dtml-if "_['sequence-start'] and 'choose' in grid_options.keys()" 227 227 ><a href="<dtml-let choose="grid_options['choose']['action']%str(row.get('id',_['res-index']))"><dtml-if "choose.find('javascript:')==0"><dtml-var choose><dtml-else><dtml-var "url_append_params(choose,{'qorder':REQUEST.get('qorder',''),'qorderdir':REQUEST.get('qorderdir','asc')})"></dtml-if></dtml-let>" class="zmi"
Note: See TracChangeset
for help on using the changeset viewer.
