Subversion Repositories wimsdev

Rev

Rev 9597 | Rev 13606 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1.  
  2. !if +$error iswordof +no_send_right
  3.   !exit
  4. !endif
  5.  
  6. !if $c_prec!=$empty
  7.   <p class="newfollow">
  8.     $n_newfollow
  9.     !href cmd=reply&job=read <b>$m_subject</b>
  10.     $n_by
  11.     !if $m_email!=$empty
  12.       <i><a href="mailto:$m_email">$m_from</a></i>
  13.     !else
  14.       <i>$m_from</i>
  15.     !endif
  16.   </p>
  17. !endif
  18.  
  19. !form reply
  20.   <fieldset class="property_fields">
  21.     <legend>$n_compose</legend>
  22.     <div class="field box">
  23.       <label for="c_sender">$n_yourname:</label>
  24.       !if $forumuser=$empty
  25.         <input size="15" id="c_sender" name="c_sender" value="$c_sender" />
  26.       !else
  27.         <span class="tt">$c_sender</span>&nbsp;
  28.       !endif
  29.       <label for="c_smail">$n_email:</label>&nbsp;<input size="30" type="email" name="c_smail" id="c_smail" value="$c_smail" required="required" />
  30.       !if $send_right<2
  31.         <p class="formHelp">$n_cautious</p>
  32.       !endif
  33.     </div>
  34.  
  35.     <div class="field box">
  36.       <label for="c_subject">$n_subject:</label>
  37.       <input size="55" name="c_subject" id="c_subject" value="$c_subject" required="required"/>
  38.     </div>
  39.     <div class="field box">
  40.       <label>$n_content:</label> (
  41.       !if $speckedit=no
  42.         !set msgsrc1=<textarea cols="70" rows="18" name="wims_deposit">
  43.         !href cmd=reply&job=compose&speckedit=yes&c_quote=$c_quote $wims_name_active
  44.       !else
  45.         !set msgsrc1=<textarea cols="70" rows="18" name="wims_deposit" $wims_id>
  46.         !href cmd=reply&job=compose&speckedit=no&c_quote=$c_quote $wims_name_desactive
  47.       !endif
  48.       <span class="small"> - $wims_name_speck_warning</span>).<br />
  49.       !set msgsrc2=</textarea>
  50.       !if $c_quote>0 and $c_prec!=$empty
  51.         !mexec scripts/quote.sh
  52.       !endif
  53.       !if $c_quote=0
  54.         !mexec scripts/msgsrc.sh
  55.       !endif
  56.       !if $c_quote<0
  57.         $msgsrc1$msgsrc2
  58.       !endif
  59.       !set c_quote=0
  60.     </div>
  61.   </fieldset>
  62.   <p class="wimscenter wimsform">
  63.     <input type="submit" name="c_preview" value="$n_preview" $wims_on_click/>
  64.     <input type="submit" name="c_send" value="$n_send0" $wims_on_click/>
  65.     !set wims_ref_class=wims_button wims_secondary_button
  66.     !href module=$module $wims_name_giveup
  67.     !!<input type="submit" name="c_list" class="wims_secondary_button" value="$wims_name_giveup" />
  68.  
  69.   </p>
  70. !formend
  71.  
  72. !set wims_ref_class=wims_button_help
  73. !href cmd=help $wims_name_help
  74.  $n_mathhelp
  75.  
  76. !if $c_prec!=$empty
  77.   <hr />
  78.   <div class="wims_forum_intro">
  79.     !href cmd=reply&job=read $m_subject $n_origin
  80.     $n_by <i>$m_from</i>:
  81.   </div>
  82.   <div class="wims_forum_msg">
  83.     !read $forumdir/$c_prec html
  84.   </div>
  85.   <hr/>
  86. !endif
  87.