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/ZMS/manage_customizeworkflowform.dtml

    r723 r750  
    133133  <table cellspacing="0" cellpadding="0" border="0"> 
    134134  <tr valign="middle"> 
    135    <td><div class="form-label"><dtml-var "getZMILangStr('ATTR_ACTIVE')"></div></td> 
     135   <td class="form-label"><dtml-var "getZMILangStr('ATTR_ACTIVE')"></td> 
    136136   <td><input class="form-checkbox" type="checkbox" name="workflow:int" value="1" <dtml-if "getConfProperty('ZMS.autocommit',1)==0">checked="checked"</dtml-if>/></td> 
    137    <td><textarea class="form-element" title="Nodes" cols="20" rows="1" name="nodes" wrap="virtual" style="height:20px"><dtml-var "'\n'.join(getConfProperty('ZMS.workflow.nodes',['{$}']))"></textarea></td> 
     137   <td><textarea class="form-element" title="Nodes" cols="20" rows="1" name="nodes" wrap="virtual" style="height:18px"><dtml-var "'\n'.join(getConfProperty('ZMS.workflow.nodes',['{$}']))"></textarea></td> 
    138138   <td><input class="form-element" type="submit" value="?" onclick="return workflowNodesDivDisplay(this);"/></td> 
    139139  </tr> 
     
    171171  <dtml-in "getConfProperty('ZMS.workflow.nodes',['{$}'])"> 
    172172   <dtml-let node=sequence-item ob="getLinkObj(node,REQUEST)"> 
    173     <div class="form-small">     
     173    <div class="form-small"> 
    174174     <dtml-if "ob is not None"> 
    175175      <dtml-var "f_breadcrumbs(_,_,objectPathElements=ob.breadcrumbs_obj_path(),no_icon=1,REQUEST=REQUEST)"> 
    176176     <dtml-else> 
    177       <img src="<dtml-var MISC_ZMS>internal_link_broken.gif" title="" alt="" border="0" align="absmiddle"/> <dtml-var node> 
     177      <img src="<dtml-var MISC_ZMS>internal_link_broken.gif" alt="" border="0" align="absmiddle"/> <dtml-var node> 
    178178     </dtml-if> 
    179179    </div> 
     
    183183 </div> 
    184184 
     185<table cellspacing="0" cellpadding="1" border="0"> 
    185186<dtml-if "readonly or (len(getWfActivitiesIds()) == 0 and len(getWfTransitionsIds()) == 0)"> 
    186 <table cellspacing="0" cellpadding="1" border="0"> 
    187187<dtml-comment> 
    188188+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 
     
    194194  <dtml-if portalMaster> 
    195195   <dtml-if "len(portalMaster.getWfActivitiesIds()) > 0 and len(portalMaster.getWfTransitionsIds()) > 0"> 
    196     <tr valign="middle" height="22"> 
    197      <td><div class="form-label"><dtml-var "getZMILangStr('BTN_ACQUIRE')"></div></td> 
     196    <tr valign="middle"> 
     197     <td class="form-label"><dtml-var "getZMILangStr('BTN_ACQUIRE')"></td> 
    198198     <td><input class="form-checkbox" type="checkbox" name="acquire:int" value="1" <dtml-if acquire>checked="checked"</dtml-if>></td> 
    199199    </tr> 
     
    208208</dtml-comment> 
    209209 <dtml-if "b==0 and getConfProperty('ZMS.workflow.init','')"> 
    210   <tr valign="middle" height="22"> 
    211    <td><div class="form-label"><dtml-var "getZMILangStr('BTN_INIT')"></div></td> 
     210  <tr valign="middle"> 
     211   <td class="form-label"><dtml-var "getZMILangStr('BTN_INIT')"></td> 
    212212   <td> 
    213213    <div class="form-text"> 
     
    225225+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 
    226226</dtml-comment> 
    227  <tr valign="middle" height="22"> 
    228   <td><div class="form-label"><dtml-var "getZMILangStr('ATTR_LAST_MODIFIED')"></div></td> 
    229   <td> 
    230    <div class="form-text"> 
    231     <dtml-var "getLangFmtDate(getConfProperty('ZMS.workflow.change_dt',None))"> 
    232     <dtml-var "getZMILangStr('BY')"> <dtml-var "getConfProperty('ZMS.workflow.change_uid',None)"> 
    233    </div> 
     227 <tr valign="middle"> 
     228  <td class="form-label"><dtml-var "getZMILangStr('ATTR_LAST_MODIFIED')"></td> 
     229  <td class="form-element"> 
     230   <dtml-var "getLangFmtDate(getConfProperty('ZMS.workflow.change_dt',None))"> 
     231   <dtml-var "getZMILangStr('BY')"> <dtml-var "getConfProperty('ZMS.workflow.change_uid',None)"> 
    234232  </td> 
    235233 </tr> 
     
    237235+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 
    238236</dtml-comment> 
     237</dtml-if> 
    239238</table> 
    240 </dtml-if> 
    241239 
    242240 <hr size="1"/> 
     
    304302              ><tr 
    305303              ><dtml-if "len(froms)>0 and idx-1 in _.range(_.min(idx,froms[0]),idx)" 
    306                ><td width="4"><img src="<dtml-var MISC_ZMS>arr_rgt.gif" title="" border="0"/></td 
     304               ><td width="4"><img src="<dtml-var MISC_ZMS>arr_rgt.gif" border="0"/></td 
    307305              ></dtml-if 
    308               ><td align="center" style="white-space: nowrap; border: 1px solid maroon; background-color: <dtml-if "itm.get('editable',1)">#FFFFE0<dtml-else>yellow</dtml-if>; padding-left:2px; padding-right:2px; padding-top:0px; padding-bottom:0px;" 
     306              ><td align="center" style="white-space: nowrap; border: 1px solid maroon; background-color: #FFFFE0; padding-left:2px; padding-right:2px; padding-top:0px; padding-bottom:0px;" 
    309307               ><div class="form-small" 
    310                ><dtml-if "itm.get('icon',None)" 
    311                 ><img src="get_conf_blob?path=ZMS.workflow.activities/<dtml-var "itm['id']">/icon" title="" border="0" align="absmiddle" 
     308               ><dtml-if "itm.get('icon')" 
     309                ><img src="get_conf_blob?path=ZMS.workflow.activities/<dtml-var "itm['id']">/icon" border="0" align="absmiddle" 
    312310               ></dtml-if 
    313311               ><dtml-var "string_maxlen(itm['name'],18)" 
    314312               ></div 
    315313              ></td 
    316               ><dtml-if "len(froms)>0 and idx+1 in _.range(idx,_.max(idx,froms[-1])+1)" 
    317                ><td width="4"><img src="<dtml-var MISC_ZMS>arr_lft.gif" title="" border="0"/></td 
     314              ><dtml-if "len(froms)>0 and idx+1 in _.range(idx,max(idx,froms[-1])+1)" 
     315               ><td width="4"><img src="<dtml-var MISC_ZMS>arr_lft.gif" border="0"/></td 
    318316              ></dtml-if 
    319317              ></tr 
     
    322320              ><dtml-call "REQUEST.set('jtm_details',getWfActivityDetails(_['sequence-item']['id']))" 
    323321              ><dtml-call "REQUEST.set('tos',jtm_details['tos'])" 
    324               ><dtml-call "REQUEST.set('flag',sidx not in froms and len(froms)>0 and sidx in _.range(_.min(idx,froms[0]),_.max(idx,froms[-1])))" 
     322              ><dtml-call "REQUEST.set('flag',sidx not in froms and len(froms)>0 and sidx in _.range(_.min(idx,froms[0]),max(idx,froms[-1])))" 
    325323              ><nobr 
    326               ><img src="<dtml-var spacer_gif>" title="" border="0" width="50%" height="1" align="absmiddle" 
     324              ><img src="<dtml-var spacer_gif>" border="0" width="50%" height="1" align="absmiddle" 
    327325              ><dtml-unless flag 
    328                ><img src="<dtml-var spacer_gif>" title="" border="0" width="1" height="1" align="absmiddle" 
     326               ><img src="<dtml-var spacer_gif>" border="0" width="1" height="1" align="absmiddle" 
    329327              ></dtml-unless 
    330               ><img src="<dtml-var spacer_gif>" title="" border="0" width="1" align="absmiddle"  
     328              ><img src="<dtml-var spacer_gif>" border="0" width="1" align="absmiddle"  
    331329                <dtml-if flag> 
    332330                 height="12" 
     
    339337                 style="background-color:navy;" 
    340338                </dtml-if> 
    341               ><img src="<dtml-var spacer_gif>" title="" border="0" width="50%" height="1" align="absmiddle" 
     339              ><img src="<dtml-var spacer_gif>" border="0" width="50%" height="1" align="absmiddle" 
    342340              ><br 
    343               ><img src="<dtml-var spacer_gif>" title="" border="0" width="50%" height="1" align="absmiddle" <dtml-if "len(froms)>0 and sidx>_.min(idx,froms[0]) and sidx<=_.max(idx,froms[-1])">style="background-color:navy;"</dtml-if> 
     341              ><img src="<dtml-var spacer_gif>" border="0" width="50%" height="1" align="absmiddle" <dtml-if "len(froms)>0 and sidx>_.min(idx,froms[0]) and sidx<=max(idx,froms[-1])">style="background-color:navy;"</dtml-if> 
    344342              ><dtml-if "sidx in froms" 
    345                ><img src="<dtml-var spacer_gif>" title="" border="0" width="2" height="2" align="absmiddle" style="border: 1px solid navy; background-color:#D0FFD0;" 
    346               ><dtml-elif "len(froms)>0 and sidx in _.range(_.min(idx,froms[0]),_.max(idx,froms[-1]))" 
    347                ><img src="<dtml-var spacer_gif>" title="" border="0" width="4" height="1" align="absmiddle" style="background-color:navy;" 
    348               ><dtml-elif "len(tos)>0 and idx in _.range(_.min(sidx,tos[0]),_.max(sidx,tos[-1]))" 
    349                ><img src="<dtml-var spacer_gif>" title="" border="0" width="1" height="4" align="absmiddle" 
    350                ><img src="<dtml-var spacer_gif>" title="" border="0" width="1" height="4" align="absmiddle" style="background-color:navy;" 
     343               ><img src="<dtml-var spacer_gif>" border="0" width="2" height="2" align="absmiddle" style="border: 1px solid navy; background-color:#D0FFD0;" 
     344              ><dtml-elif "len(froms)>0 and sidx in _.range(_.min(idx,froms[0]),max(idx,froms[-1]))" 
     345               ><img src="<dtml-var spacer_gif>" border="0" width="4" height="1" align="absmiddle" style="background-color:navy;" 
     346              ><dtml-elif "len(tos)>0 and idx in _.range(_.min(sidx,tos[0]),max(sidx,tos[-1]))" 
     347               ><img src="<dtml-var spacer_gif>" border="0" width="1" height="4" align="absmiddle" 
     348               ><img src="<dtml-var spacer_gif>" border="0" width="1" height="4" align="absmiddle" style="background-color:navy;" 
    351349              ></dtml-if 
    352               ><img src="<dtml-var spacer_gif>" title="" border="0" width="50%" height="1" align="absmiddle" <dtml-if "len(froms)>0 and sidx>=_.min(idx,froms[0]) and sidx<_.max(idx,froms[-1])">style="background-color:navy;"</dtml-if> 
     350              ><img src="<dtml-var spacer_gif>" border="0" width="50%" height="1" align="absmiddle" <dtml-if "len(froms)>0 and sidx>=_.min(idx,froms[0]) and sidx<max(idx,froms[-1])">style="background-color:navy;"</dtml-if> 
    353351              ><br 
    354               ><img src="<dtml-var spacer_gif>" title="" border="0" width="50%" height="1" align="absmiddle" 
     352              ><img src="<dtml-var spacer_gif>" border="0" width="50%" height="1" align="absmiddle" 
    355353              ><dtml-unless flag 
    356                ><img src="<dtml-var spacer_gif>" title="" border="0" width="1" height="1" align="absmiddle" 
     354               ><img src="<dtml-var spacer_gif>" border="0" width="1" height="1" align="absmiddle" 
    357355              ></dtml-unless 
    358               ><img src="<dtml-var spacer_gif>" title="" border="0" width="1" align="absmiddle"  
     356              ><img src="<dtml-var spacer_gif>" border="0" width="1" align="absmiddle"  
    359357                <dtml-if flag> 
    360358                 height="13" 
     
    367365                 style="background-color:navy;" 
    368366                </dtml-if> 
    369               ><img src="<dtml-var spacer_gif>" title="" border="0" width="50%" height="1" align="absmiddle" 
     367              ><img src="<dtml-var spacer_gif>" border="0" width="50%" height="1" align="absmiddle" 
    370368              ></nobr 
    371369             ></dtml-if 
     
    388386    <dtml-let itm="getWfActivity(REQUEST['id'])"> 
    389387     <tr> 
    390       <td colspan="6"><dtml-var "f_headline(_,_,headline=getZMILangStr('TAB_EDIT'))"></td> 
     388      <td colspan="5"><dtml-var "f_headline(_,_,headline=getZMILangStr('TAB_EDIT'))"></td> 
    391389     </tr> 
    392390     <tr class="zmiNeutralColorStrong0"> 
     
    395393      <td><div class="form-label"><dtml-var "getZMILangStr('ATTR_DISPLAY')"></div></td> 
    396394      <td><div class="form-label">Icon</div></td> 
    397       <td><div class="form-label"><dtml-var "getZMILangStr('CAPTION_EDIT')%getZMILangStr('ATTR_OBJECT')"></div></td> 
    398395      <td>&nbsp;</td> 
    399396     </tr> 
     
    411408         <div class="form-small"> 
    412409          <dtml-if "itm.get('icon',None)"> 
    413            <img src="get_conf_blob?path=ZMS.workflow.activities/<dtml-var "itm['id']">/icon" title="" border="0" align="absmiddle" style="background-image:url(<dtml-var MISC_ZMS>bg_imgpreview.gif);"/> 
     410           <img src="get_conf_blob?path=ZMS.workflow.activities/<dtml-var "itm['id']">/icon" border="0" align="absmiddle" style="background-image:url(<dtml-var MISC_ZMS>bg_imgpreview.gif);"/> 
    414411           <i>(<dtml-var "getDataSizeStr(len(itm['icon'].data))">)</i> 
    415412          </dtml-if> 
     
    419416       </tr> 
    420417       </table> 
    421       </td> 
    422       <td align="center"> 
    423        <input class="form-checkbox" type="checkbox" name="inpEditable:int" value="1" <dtml-if "itm.get('editable',1)">checked="checked</dtml-if>"> 
    424        <div align="center" class="form-small"><dtml-var "getZMILangStr('CAPTION_EDIT')%getZMILangStr('ATTR_OBJECT')"></div> 
    425418      </td> 
    426419      <td nowrap="nowrap"> 
     
    432425   </dtml-if> 
    433426    
    434   <!-- Insert Workflow-Activity --> 
     427  <!-- Insert Activity --> 
    435428  <dtml-if "not readonly and REQUEST.get('id','')==''"> 
    436429  <tr> 
     
    438431  </tr> 
    439432  <tr valign="top" class="zmiNeutralColorLight0"> 
    440    <td class="form-element"> 
    441     <dtml-var "getTextInput(fmName='acForm', elName='newId', size=10, value='', type='text', enabled=1, REQUEST=REQUEST, css='form-element')"> 
    442     <div align="right" class="form-small"><dtml-var "getZMILangStr('ATTR_ID')"></div> 
    443    </td> 
    444    <td class="form-element"> 
    445     <dtml-var "getTextInput(fmName='acForm', elName='newName', size=12, value='', type='text', enabled=1, REQUEST=REQUEST, css='form-element')"> 
    446     <div align="right" class="form-small"><dtml-var "getZMILangStr('ATTR_DISPLAY')"></div> 
    447    </td> 
    448    <td class="form-element"> 
    449     <input class="form-element" type="file" name="newIcon" size="15"> 
    450     <div align="right" class="form-small"><i>Icon</i></div> 
    451    </td> 
    452    <td align="center"> 
    453     <input class="form-checkbox" type="checkbox" name="newEditable:int" value="1" checked="checked"> 
    454     <div align="center" class="form-small"><dtml-var "getZMILangStr('CAPTION_EDIT')%getZMILangStr('ATTR_OBJECT')"></div> 
    455    </td> 
    456    <td class="form-element"> 
    457     <input class="form-submit" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_INSERT')" html_quote>" onclick="btnClick(this);"> 
     433   <td colspan="5"> 
     434    <table cellspacing="0" cellpadding="0" border="0"> 
     435    <tr> 
     436     <td><dtml-var "getTextInput(fmName='acForm',elName='newId',size=10,value='AC_', type='text', enabled=1, REQUEST=REQUEST, css='form-small')"></td> 
     437     <td><dtml-var "getTextInput(fmName='acForm',elName='newName',size=12,value='', type='text', enabled=1, REQUEST=REQUEST, css='form-small')"></td> 
     438     <td><input class="form-element" type="file" name="newIcon" size="15"></td> 
     439     <td>&nbsp;&nbsp;</td> 
     440     <td><input class="form-submit" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_INSERT')" html_quote>" onclick="btnClick(this);"></td> 
     441    </tr> 
     442    <tr> 
     443     <td align="right"><div class="form-small"><dtml-var "getZMILangStr('ATTR_ID')"><dtml-var FORM_LABEL_MANDATORY></div></td> 
     444     <td align="right"><div class="form-small"><dtml-var "getZMILangStr('ATTR_DISPLAY')"><dtml-var FORM_LABEL_MANDATORY></div></td> 
     445     <td align="right"><div class="form-small">Icon</div></td> 
     446    </tr> 
     447    </table> 
    458448   </td> 
    459449  </tr> 
     
    533523            <table cellspacing="0" cellpadding="0" border="0"> 
    534524            <tr valign="middle"> 
    535              <td class="form-small"><dtml-if "itm['from']"><i>From</i></dtml-if></td> 
    536              <td class="form-small">&nbsp;</td> 
    537              <td class="form-small"><b>Transition</b></td> 
    538              <td class="form-small">&nbsp;</td> 
    539              <td class="form-small"><dtml-if "itm['to']"><i>To</i></dtml-if></td> 
    540             </tr> 
    541             <tr valign="middle"> 
    542525             <td class="form-small"> 
    543526              <dtml-if "itm['from']"> 
    544                <div style="white-space: nowrap; border: 1px solid maroon; background-color: #FFFFE0; padding-left:2px; padding-right:2px; padding-top:0px; padding-bottom:0px;"> 
    545                 <dtml-in "getWfActivities()" mapping><dtml-in "itm['from']"><dtml-if "id==_['sequence-item']"><dtml-var name><br/></dtml-if></dtml-in></dtml-in> 
     527               <div style="white-space: nowrap; border: 1px solid maroon; background-color: #FFFFE0; padding: 0px 2px 0px 2px;"> 
     528                <dtml-in "itm['from']" 
     529                 ><dtml-let id=sequence-item 
     530                  ><dtml-in "filter_list(getWfActivities(),'id',id,'==')" mapping 
     531                   ><dtml-var name><br 
     532                  ><dtml-else 
     533                   ><span style="background:red;color:white"><dtml-var id></span><br 
     534                  ></dtml-in 
     535                 ></dtml-let 
     536                ></dtml-in> 
    546537               </div> 
    547538              <dtml-else> 
    548                <img src="<dtml-var spacer_gif>" title="" border="0" width="2" height="2" align="absmiddle" style="border: 1px solid maroon; background-color:#FFFFE0;"> 
     539               <img src="<dtml-var spacer_gif>" border="0" width="2" height="2" align="absmiddle" style="border: 1px solid maroon; background-color:#FFFFE0;"> 
    549540              </dtml-if> 
    550541             </td> 
    551542             <td class="form-small"> 
    552               <nobr><img src="<dtml-var spacer_gif>" title="" border="0" width="14" height="1" style="border-top: 1px solid navy;" align="absmiddle" /></nobr> 
     543              <img src="<dtml-var spacer_gif>" border="0" width="14" height="1" style="border-top: 1px solid navy;" align="absmiddle" /> 
    553544             </td> 
    554545             <td class="form-small"> 
    555               <div style="white-space: nowrap; border: 1px solid navy; background-color: #D0FFD0; padding-left:2px; padding-right:2px; padding-top:0px; padding-bottom:0px;"> 
     546              <div style="white-space: nowrap; border: 1px solid navy; background-color: #D0FFD0; padding: 0px 2px 0px 2px;"> 
    556547               <b><dtml-var "itm['name']"></b> 
    557548               <dtml-if "itm.get('performer',[])"> 
    558                 <div style="color: blue; padding-left:2px; padding-right:2px; padding-top:0px; padding-bottom:0px; margin-left: 4px; margin-right: 4px;"> 
    559                  Performer 
    560                 </div> 
    561                 <div style="white-space: nowrap; border: 1px dotted blue; background-color: #F4FFF4; padding-left:2px; padding-right:2px; padding-top:0px; padding-bottom:0px; margin-left: 4px; margin-right: 4px; margin-bottom: 2px;"> 
     549                <div style="white-space: nowrap; border: 1px dotted blue; background-color: #F4FFF4; padding: 0px 2px 0px 2px; margin: 2px 4px 2px 4px;"> 
    562550                <dtml-in "itm.get('performer',[])"> 
    563551                 <dtml-let role=sequence-item role_str="'ROLE_%s'%role.upper()" role_lang_str="getZMILangStr(role_str)"> 
     
    575563             <td class="form-small"> 
    576564              <dtml-if "itm.get('dtml','')"> 
    577                <nobr><img src="<dtml-var spacer_gif>" title="" border="0" width="7" height="1" style="border-top: 1px solid navy;" align="absmiddle" /><img src="misc_/OFSP/dtmlmethod.gif" title="DTML Method" border="0" align="absmiddle" /><img src="<dtml-var spacer_gif>" title="" border="0" width="7" height="1" style="border-top: 1px solid navy;" align="absmiddle" /><img src="<dtml-var MISC_ZMS>arr_rgt.gif" title="" border="0"/></nobr> 
     565               <nobr><img src="<dtml-var spacer_gif>" border="0" width="7" height="1" style="border-top: 1px solid navy;" align="absmiddle" /><img src="misc_/OFSP/dtmlmethod.gif" title="DTML Method" border="0" align="absmiddle" /><img src="<dtml-var spacer_gif>" border="0" width="7" height="1" style="border-top: 1px solid navy;" align="absmiddle" /><img src="<dtml-var MISC_ZMS>arr_rgt.gif" border="0"/></nobr> 
    578566              <dtml-else> 
    579                <nobr><img src="<dtml-var spacer_gif>" title="" border="0" width="14" height="1" style="border-top: 1px solid navy;" align="absmiddle" /><img src="<dtml-var MISC_ZMS>arr_rgt.gif" title="" border="0"/></nobr> 
     567               <nobr><img src="<dtml-var spacer_gif>" border="0" width="14" height="1" style="border-top: 1px solid navy;" align="absmiddle" /><img src="<dtml-var MISC_ZMS>arr_rgt.gif" border="0"/></nobr> 
    580568              </dtml-if> 
    581569             </td> 
    582570             <td class="form-small"> 
    583               <dtml-if "len(itm['to'])>0"> 
    584                <div style="white-space: nowrap; border: 1px solid maroon; background-color: #FFFFE0; padding-left:2px; padding-right:2px; padding-top:0px; padding-bottom:0px;"> 
    585                 <dtml-in "getWfActivities()" mapping><dtml-in "itm['to']"><dtml-if "id==_['sequence-item']"><dtml-var name><br/></dtml-if><dtml-else>o</dtml-in></dtml-in> 
     571              <dtml-if "itm['to']"> 
     572               <div style="white-space: nowrap; border: 1px solid maroon; background-color: #FFFFE0; padding: 0px 2px 0px 2px;"> 
     573                <dtml-in "itm['to']" 
     574                 ><dtml-let id=sequence-item 
     575                  ><dtml-in "filter_list(getWfActivities(),'id',id,'==')" mapping 
     576                   ><dtml-var name><br 
     577                  ><dtml-else 
     578                   ><span style="background:red;color:white"><dtml-var id></span><br 
     579                  ></dtml-in 
     580                 ></dtml-let 
     581                ></dtml-in> 
    586582               </div> 
    587583              <dtml-else> 
    588                <img src="<dtml-var spacer_gif>" title="" border="0" width="2" height="2" align="absmiddle" style="border: 1px solid maroon; background-color:#FFFFE0;"> 
     584               <img src="<dtml-var spacer_gif>" border="0" width="2" height="2" align="absmiddle" style="border: 1px solid maroon; background-color:#FFFFE0;"> 
    589585              </dtml-if> 
    590586             </td> 
     
    647643           <dtml-var "getSelect(fmName='trForm', elName='inpFrom:list', value=itm['from'], inputtype='multiline', lang_str='From', required=0, optpl=wfItemOptpl, enabled=1, REQUEST=REQUEST, css='form-small')"> 
    648644          </td> 
    649           <td class="form-small"><nobr><img src="<dtml-var spacer_gif>" title="" border="0" width="14" height="1" style="border-top: 1px solid navy;" align="absmiddle" /></nobr></td> 
     645          <td class="form-small"><nobr><img src="<dtml-var spacer_gif>" border="0" width="14" height="1" style="border-top: 1px solid navy;" align="absmiddle" /></nobr></td> 
    650646          <td style="white-space: nowrap; border: 1px dotted blue; background-color: #D0FFD0; padding-left:2px; padding-right:2px; padding-top:0px; padding-bottom:0px;"> 
    651647           <dtml-var "getSelect(fmName='trForm', elName='inpPerformer:list', value=itm.get('performer',[]), inputtype='multiline', lang_str='Performer', required=1, optpl=wfPerformerOptpl, enabled=1, REQUEST=REQUEST, css='form-small')"> 
    652648          </td> 
    653           <td class="form-small"><nobr><img src="<dtml-var spacer_gif>" title="" border="0" width="14" height="1" style="border-top: 1px solid navy;" align="absmiddle" /><img src="<dtml-var MISC_ZMS>arr_rgt.gif" title="" border="0"/></nobr></td> 
     649          <td class="form-small"><nobr><img src="<dtml-var spacer_gif>" border="0" width="14" height="1" style="border-top: 1px solid navy;" align="absmiddle" /><img src="<dtml-var MISC_ZMS>arr_rgt.gif" border="0"/></nobr></td> 
    654650          <td style="white-space: nowrap; border: 1px solid maroon; background-color: #FFFFE0; padding-left:2px; padding-right:2px; padding-top:0px; padding-bottom:0px;"> 
    655651           <dtml-var "getSelect(fmName='trForm', elName='inpTo', value=itm['to'], inputtype='select', lang_str='To', required=0, optpl=wfItemOptpl, enabled=1, REQUEST=REQUEST, css='form-small')"> 
     
    681677   </dtml-if> 
    682678 
    683  <!-- Insert Workflow-Transition --> 
     679 <!-- Insert Transition --> 
    684680 <dtml-if "not readonly and REQUEST.get('id','')==''"> 
    685681  <tr> 
     
    687683  </tr> 
    688684  <tr valign="top" class="zmiNeutralColorLight0"> 
    689    <td class="form-element"> 
     685   <td colspan="3"> 
    690686    <table cellspacing="0" cellpadding="0" border="0"> 
    691     <tr><td><dtml-var "getTextInput(fmName='trForm',elName='newId',size=10,value='', type='text', enabled=1, REQUEST=REQUEST, css='form-small')"></td></tr> 
    692     <tr><td align="right"><div class="form-small"><dtml-var "getZMILangStr('ATTR_ID')"></div></td></tr> 
    693     </table> 
    694    </td> 
    695    <td class="form-element"> 
    696     <table cellspacing="0" cellpadding="0" border="0"> 
    697     <tr><td><dtml-var "getTextInput(fmName='trForm',elName='newName',size=12,value='', type='text', enabled=1, REQUEST=REQUEST, css='form-small')"></td></tr> 
    698     <tr><td align="right"><div class="form-small"><dtml-var "getZMILangStr('ATTR_DISPLAY')"></div></td></tr> 
    699     </table> 
    700    </td> 
    701    <td> 
    702     <table cellspacing="0" cellpadding="0" border="0"> 
    703     <tr valign="top"> 
    704      <td><dtml-var "getSelect(fmName='trForm', elName='newFrom:list', value='', inputtype='multiline', lang_str='From', required=0, optpl=wfItemOptpl, enabled=1, REQUEST=REQUEST, css='form-small')"></td> 
    705      <td><dtml-var "getSelect(fmName='trForm', elName='newTo', value='', inputtype='select', lang_str='To', required=0, optpl=wfItemOptpl, enabled=1, REQUEST=REQUEST, css='form-small')"></td> 
     687    <tr> 
     688     <td><dtml-var "getTextInput(fmName='trForm',elName='newId',size=10,value='TR_', type='text', enabled=1, REQUEST=REQUEST, css='form-small')"></td> 
     689     <td><dtml-var "getTextInput(fmName='trForm',elName='newName',size=12,value='', type='text', enabled=1, REQUEST=REQUEST, css='form-small')"></td> 
     690     <td>&nbsp;&nbsp;</td> 
     691     <td><input class="form-submit" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_INSERT')" html_quote>" onclick="btnClick(this);"></td> 
    706692    </tr> 
    707     <tr valign="top"> 
    708      <td align="right"><div class="form-small"><i>From</i></div></td> 
    709      <td align="right"><div class="form-small"><i>To</i></div></td> 
     693    <tr> 
     694     <td align="right"><div class="form-small"><dtml-var "getZMILangStr('ATTR_ID')"></div></td> 
     695     <td align="right"><div class="form-small"><dtml-var "getZMILangStr('ATTR_DISPLAY')"></div></td> 
    710696    </tr> 
    711697    </table> 
    712    </td> 
    713    <td> 
    714     <input class="form-submit" name="btn" type="submit" value="<dtml-var "getZMILangStr('BTN_INSERT')" html_quote>" onclick="btnClick(this);"> 
    715698   </td> 
    716699  </tr> 
     
    724707</dtml-if> 
    725708 
    726 <dtml-except></dtml-try> 
     709<dtml-except> 
     710<dtml-var error_type>: <dtml-var error_value><br/><dtml-var error_tb newline_to_br html_quote> 
     711</dtml-try> 
    727712 
    728713<dtml-comment> 
     
    811796       <td class="form-label" align="right"><dtml-var "getZMILangStr('OR').lower()"></td> 
    812797       <td class="form-element"> 
    813         <select class="form-element" id="init" name="init" onfocus="zmiExpandConfFiles(this,'workflow')" onmouseover="zmiExpandConfFiles(this,'workflow')"> 
     798        <select class="form-element" id="init" name="init" onfocus="zmiExpandConfFiles(this,'.workflow.')" onmouseover="zmiExpandConfFiles(this,'.workflow.')"> 
    814799         <option value="">--- <dtml-var "getZMILangStr('BTN_INIT')">... ---</option> 
    815800        </select> 
Note: See TracChangeset for help on using the changeset viewer.