[ Index ]

PHP Cross Reference of Drupal 6 (yi-drupal)

title

Body

[close]

/sites/all/themes/myzen/ -> id_form1.dtml (source)

   1  <dtml-comment> -*-dtml-*-  </dtml-comment>
   2  
   3  <dtml-unless  "_.has_key('name_serial')" > 
   4    <dtml-call "REQUEST.set('qstring','../trans_entry')">
   5      <dtml-call "REQUEST.RESPONSE.redirect(qstring)">
   6        <dtml-return "'goodbye'">
   7  </dtml-unless>
   8  
   9  <dtml-var standard_html_header>
  10    <center> <h3>Identification Update </h3></center>
  11  
  12  
  13    
  14    <div class="sel2">
  15      <dtml-in SELECT mapping> 
  16        <FORM ACTION="" METHOD="POST" name="identity_edit">
  17       <TABLE >
  18  
  19          <tr><th>Title:</th><td> 
  20              <SELECT  name="name_title" class="sel2">
  21                <OPTION <dtml-if "_.has_key('name_title') and name_title == ''">
  22                Selected </dtml-if>></OPTION>
  23              <OPTION <dtml-if "_.has_key('name_title') and name_title == 'Ms'">
  24                Selected </dtml-if>>Ms</OPTION>
  25              <OPTION <dtml-if "_.has_key('name_title') and name_title == 'Miss'"> 
  26                Selected </dtml-if>>Miss</OPTION> 
  27              <OPTION <dtml-if "_.has_key('name_title') and name_title == 'Mr'"> 
  28                Selected </dtml-if>>Mr</OPTION>
  29              <OPTION <dtml-if "_.has_key('name_title') and name_title == 'Mrs'"> 
  30                Selected </dtml-if>>Mrs</OPTION> 
  31              <OPTION <dtml-if "_.has_key('name_title') and name_title == 'Mme'"> 
  32                Selected </dtml-if>>Mme</OPTION> 
  33              <OPTION <dtml-if "_.has_key('name_title') and name_title == 'Dr'"> 
  34                Selected </dtml-if>>Dr</OPTION> 
  35              <OPTION <dtml-if "_.has_key('name_title') and name_title == 'Rb'"> 
  36                Selected </dtml-if>>Rb</OPTION>
  37            </select>
  38            </td>
  39        
  40        
  41        
  42        <th>First:</th><td> <INPUT name="name_first" type="text" size=15 class="sel2"
  43                      value="<dtml-var name_first html_quote missing="" null="">"> </td>
  44        <th>Middle:</th><td> <INPUT name="name_mid" type="text" size=5 class="sel2"
  45                       value="<dtml-var name_mid html_quote missing="" null="">"></td>
  46        <th>Last:</th><td> <INPUT name="name_last" type="text"  class="sel2"
  47                     value="<dtml-var name_last html_quote missing="" null="">"></td>
  48         </tr></table>
  49        <table>
  50            <tr><th width="20%" align="right"></th><th width="80%" align="left"></th></tr>
  51            
  52            <tr><th align="right">Street:</th><td>        
  53                <INPUT name="addr_street" type="text"  class="sel2"
  54                       value="<dtml-var addr_street html_quote missing="" null="">"></td></tr>
  55            <tr><th align="right">City:</th><td>
  56                
  57                <INPUT name="addr_city" type="text"  class="sel2"
  58                       value="<dtml-var addr_city html_quote missing="" null="">"></td></tr>
  59            <tr><th align="right">Prov:</th><td>
  60                
  61                <INPUT name="addr_prov" type="text"  class="sel2"
  62                       value="<dtml-var addr_prov html_quote missing="" null="">"></td></tr>
  63            <tr><th align="right">Country:</th><td>
  64              
  65                <INPUT name="addr_country" type="text"  class="sel2"
  66                       value="<dtml-var addr_country html_quote missing="" null="">"></td></tr>
  67            <tr><th align="right">postcd:</th><td>
  68                
  69              <INPUT name="addr_postcd" type="text"  class="sel2"
  70                     value="<dtml-var addr_postcd html_quote missing="" null="">"></td></tr>
  71            <tr><th align="right">E-mail:</th><td>
  72                <INPUT name="addr_email" type="text"  class="sel2"
  73                       value="<dtml-var addr_email html_quote missing="" null="">"></td></tr>
  74            <tr><th align="right">Phone home:</th><td>
  75                <INPUT name="phone_home" type="text"  class="sel2"
  76                       value="<dtml-var phone_home html_quote missing="" null="">"></td></tr>
  77            <tr><th align="right">Phone bus:</th><td>
  78                <INPUT name="phone_bus" type="text"  class="sel2"
  79                       value="<dtml-var phone_bus html_quote missing="" null="">"></td></tr>
  80            <tr><th align="right">Rec type:</th><td>
  81                <SELECT name="rec_type" class="sel2">
  82                  <OPTION <dtml-if "_.has_key('rec_type') and rec_type == 'Member'"> 
  83                      Selected </dtml-if>>Member</OPTION>
  84                  <OPTION <dtml-if "_.has_key('rec_type') and rec_type == 'Donor'"> 
  85                      Selected </dtml-if>>Donor</OPTION>
  86                  <OPTION <dtml-if "_.has_key('rec_type') and rec_type == 'Vendor'"> 
  87                      Selected </dtml-if>>Vendor</OPTION>
  88                  <OPTION <dtml-if "_.has_key('rec_type') and rec_type == 'Staff'"> 
  89                      Selected </dtml-if>>Staff</OPTION>
  90                  <OPTION <dtml-if "_.has_key('rec_type') and rec_type == 'Other'"> 
  91                      Selected </dtml-if>>Other</OPTION>    
  92                </SELECT>
  93              </td></tr>
  94        </table>
  95        <dtml-if "_.has_key('rec_type') and rec_type == 'Member'"> 
  96          <dtml-call  expr="REQUEST.set('serial',name_serial)">
  97  
  98  
  99            <dtml-in SELECT_FROM_MEMBER mapping>
 100            <dtml-var member_form> 
 101  <!--            <dtml-if "_.has_key('postdate') and postdate  == 'true'">
 102                        <dtml-call "REQUEST.set('postdate',postdate)">
 103              </dtml-if>
 104  <!--        REQUEST:<BR>
 105              <dtml-var REQUEST>    
 106          POSTDATE:<BR>
 107                <dtml-var postdate>
 108  -->              
 109          </dtml-in>   
 110        </dtml-if>
 111        
 112      <CENTER>
 113          &nbsp <br>
 114  
 115          <input type="hidden" name="name_serial" value="<dtml-var name_serial>" >
 116          <input type="submit" value="Update" 
 117                 name="../identity/do_update:method" class="button">
 118          &nbsp &nbsp &nbsp &nbsp
 119          <input type="HIDDEN" name="y_message" value="Transaction cancelled!">
 120          <input type="submit" value="Cancel" 
 121                 name="../trans_entry:method" class="button">
 122      
 123          
 124  
 125        </CENTER>
 126        
 127      </FORM> 
 128    </dtml-in>    
 129  </div>                                        
 130  <dtml-var standard_html_footer>


Generated: Mon Jul 9 18:01:44 2012 Cross-referenced by PHPXref 0.7