Subversion Repositories wimsdev

Rev

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

  1. !read adm/title.phtml 3\
  2. \
  3. $title
  4.  
  5. !if $save!=$empty
  6.  !if $error!=$empty
  7.    !read lang/msg.phtml.$modu_lang
  8.  !else
  9.   !if $changed<1
  10.    $name_config
  11.   !else
  12.    $name_updated
  13.   !endif
  14.  !endif
  15.  <p>
  16. !endif
  17.  
  18. !form reply
  19. $table_header
  20.  
  21. !for i=1 to $confcnt
  22.  !set r_=!record $i of lang/confdata.$modu_lang
  23.  !set t_=!word 1 of $r_
  24.  !if $catname isitemof $t_
  25.   !distribute lines $r_ into a_,b_,c_,e_
  26.   !distribute words $a_ into t_,n_,N_
  27.   !set D_=$($n_)
  28.   $table_tr
  29.   <td>$b_ </td><td align="center">
  30.   !set wims_ref_class=wims_button_help
  31.   !href cmd=help&help_subject=conf&help_conf=$i $wims_name_help
  32.   !if $c_ iswordof free int
  33.    <br>
  34.    <small>
  35.    <a href="#" onClick="document.forms[0].conf_$i.value='$(DF_$n_)'">$name_default</a>
  36.    </small>
  37.   !endif
  38.    </td><td nowrap>
  39.   !if $c_=free
  40.    <input size="40" name="conf_$i" value="$D_">
  41.   !endif
  42.   !if $c_=int
  43.    <input size="10" name="conf_$i" value="$D_">
  44.   !endif
  45.   !if $c_=choice
  46.    !set conf_$i=$D_
  47.    !set e_=!translate ; to $\
  48. $ in $e_
  49.    !distribute lines $e_ into x_,y_
  50.    !formselect conf_$i list $x_ prompt $y_
  51.   !endif
  52.   !if $c_=checkbox
  53.    !set conf_$i=$D_
  54.    !set e_=!translate ; to $\
  55. $ in $e_
  56.    !distribute lines $e_ into x_,y_
  57.    !formcheckbox conf_$i list $x_ prompt $y_
  58.   !endif
  59.   !set g_=!trim $g_
  60.   </td></tr>
  61.  !endif
  62. !next i
  63. $table_end <p></p><center>
  64. <input type="submit" name="save" value="$wims_name_tosave">
  65. <input type="submit" name="abandon" value="$wims_name_giveup">
  66. </center>
  67. </form>
  68. <span class="wims_warning">$wims_name_warning</span>. $name_warning
  69. <p>
  70.  
  71. !read conf/$catname.phtml
  72.