Ignore:
Timestamp:
23.10.2009 16:12:55 (3 years ago)
Author:
chris
Message:

zms-2.11.4-01

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ZMS/trunk/dtml/object/f_recordset_grid.dtml

    r724 r750  
    2121 <colgroup> 
    2222  <dtml-if grid_options> 
    23    <col width="<dtml-var "_.max( 
     23   <col width="<dtml-var "max( 
    2424     len(filter(lambda x: x in ['insert','export'],grid_options.keys())), 
    2525     len(filter(lambda x: x in ['delete','sort','update','choose'],grid_options.keys())))*22">"/> 
     
    117117   ><div style="float:left;width:20px;" 
    118118    ><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" 
    120120    ><dtml-else 
    121121     ><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" 
     
    125125    ><br 
    126126    ><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" 
    128128    ><dtml-else 
    129129     ><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" 
     
    223223       <dtml-else> 
    224224        <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)))" 
    226226          ><dtml-if "_['sequence-start'] and 'choose' in grid_options.keys()" 
    227227           ><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.