Subversion Repositories wimsdev

Rev

Rev 16001 | Rev 16156 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16001 Rev 16143
Line 53... Line 53...
53
      <div class="field box fullwidth">
53
      <div class="field box fullwidth">
54
        <label for="seq_desc"> $wims_name_Description</label>
54
        <label for="seq_desc"> $wims_name_Description</label>
55
        <div class="formHelp">$name_desc_desc</div>
55
        <div class="formHelp">$name_desc_desc</div>
56
        <textarea id="seq_desc" class="iEdit" rows="6" cols="85" name="seq_desc" maxlength="$desc_limit">$(data[2;])</textarea>
56
        <textarea id="seq_desc" class="iEdit" rows="6" cols="85" name="seq_desc" maxlength="$desc_limit">$(data[2;])</textarea>
57
      </div>
57
      </div>
-
 
58
!! ------------------ to be deleted
58
      <div class="field box">
59
!!      <div class="field box">
59
        <label for="hidedate">$name_hidedate</label>
60
!!        <label for="hidedate">$name_hidedate</label>
60
        !set hidedate=$(data[5;])
61
!!        !set hidedate=$(data[5;])
61
        !default hidedate=$class_creation
62
!!        !default hidedate=$class_creation
62
        !set wims_ref_class=wims_button_help float_right
63
!!        !set wims_ref_class=wims_button_help float_right
63
        !href target=wims_mhelp cmd=help&special_parm=hide $wims_name_help
64
!!        !href target=wims_mhelp cmd=help&special_parm=hide $wims_name_help
64
        !read adm/datepickerform.phtml $hidedate\
65
!!        !read adm/datepickerform.phtml $hidedate\
65
hidedate\
66
!!hidedate\
66
"$class_creation","$class_expiration"
67
!!"$class_creation","$class_expiration"
67
        <div class="formHelp">$name_desc_hidedate</div>
68
!!        <div class="formHelp">$name_desc_hidedate</div>
68
      </div>
69
!!      </div>
69
      <div class="field box">
70
!!      <div class="field box">
70
        <label for="showdate">$name_showdate</label>
71
!!        <label for="showdate">$name_showdate</label>
71
        !set showdate=$(data[6;])
72
!!        !set showdate=$(data[6;])
72
        !default showdate=$class_creation
73
!!        !default showdate=$class_creation
73
        !set wims_ref_class=wims_button_help float_right
74
!!        !set wims_ref_class=wims_button_help float_right
74
        !href target=wims_mhelp cmd=help&special_parm=show $wims_name_help
75
!!        !href target=wims_mhelp cmd=help&special_parm=show $wims_name_help
75
        !read adm/datepickerform.phtml $showdate\
76
!!        !read adm/datepickerform.phtml $showdate\
76
showdate\
77
!!showdate\
77
"$class_creation","$class_expiration"
78
!!"$class_creation","$class_expiration"
78
        <div class="formHelp">$name_desc_showdate</div>
79
!!        <div class="formHelp">$name_desc_showdate</div>
-
 
80
!!      </div>
-
 
81
!! ---------------- end of deleted
-
 
82
 
-
 
83
!! --------------- add for selecte show
-
 
84
  <div class="field box">
-
 
85
    <label for="allowtype">$(name_showhidetitle)</label>
-
 
86
    !set wims_ref_class=wims_button_help float_right
-
 
87
    !href target=wims_mhelp cmd=help&special_parm=allowtype $wims_name_help
-
 
88
    <select id="allowtype" name="allowtype"
-
 
89
            onchange="toggle_allowtype(this,{'select': '#js_restricted_time','techvar': '#js_restricted_techvar'})"
-
 
90
      >
-
 
91
      !if $tv_listname=$empty
-
 
92
        !set list_allowtype=all,none,select
-
 
93
      !else
-
 
94
        !set list_allowtype=all,none,select,techvar
-
 
95
      !endif
-
 
96
      !let nboption=!itemcnt $list_allowtype
-
 
97
      !for i=1 to $nboption
-
 
98
        !if $(list_allowtype[$i])=$allowtype
-
 
99
          <option value="$(list_allowtype[$i])" selected="selected">$(name_allowtype[$i])</option>
-
 
100
        !else
-
 
101
          <option value="$(list_allowtype[$i])">$(name_allowtype[$i])</option>
-
 
102
        !endif
-
 
103
      !next i
-
 
104
    </select>
-
 
105
 
-
 
106
    <div id="js_restricted_time"
-
 
107
      !if $allowtype=select
-
 
108
        style="display:block"
-
 
109
      !else
-
 
110
        style="display:none"
-
 
111
      !endif
-
 
112
      >
-
 
113
      !readproc adm/scorerestriction get
-
 
114
      !read adm/scorerestriction html
-
 
115
    </div>
-
 
116
 
-
 
117
    <div id="js_restricted_techvar"
-
 
118
      !if $allowtype=techvar
-
 
119
        style="display:block"
-
 
120
      !else
-
 
121
        style="display:none"
-
 
122
      !endif
-
 
123
      >
-
 
124
      !read adm/vfilter/scoreregform.phtml
-
 
125
    </div>
-
 
126
    !read js/interface/ui_utils.js.phtml
-
 
127
 
-
 
128
    !default allowshare=0
-
 
129
    !if $sharers!=$empty
-
 
130
      <div>
-
 
131
        <label for="allowshare">$(name_shinfo[7])</label>
-
 
132
        !formselect allowshare list 0,1 prompt $wims_name_no,$wims_name_yes
79
      </div>
133
      </div>
-
 
134
    !else
-
 
135
      <input type="hidden" name="allowshare" value="0" />
-
 
136
    !endif
-
 
137
  </div>
-
 
138
 
-
 
139
 
-
 
140
!! ---------------- end of add
-
 
141
 
-
 
142
 
-
 
143
 
80
    </div></div>
144
    </div></div>
81
   
145
   
82
    !! ---- manage of seqliste panel
146
    !! ---- manage of seqliste panel
83
    <div id="seqliste">
147
    <div id="seqliste">
84
     $name_addseq
148
     $name_addseq
Line 278... Line 342...
278
  </div>
342
  </div>
279
  $table_end
343
  $table_end
280
</div>
344
</div>
281
 
345
 
282
 
346
 
283
<div class="wimscenter wimsform"><input type="submit" value="$wims_name_tosave" /></div>
347
<div class="wimscenter wimsform"><input type="submit" value="$wims_name_tosave" name="save" /></div>
284
!formend
348
!formend
285
</div>
349
</div>