Subversion Repositories wimsdev

Rev

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

Rev 14091 Rev 14259
Line 117... Line 117...
117
 
117
 
118
!else oef module
118
!else oef module
119
  !read adm/tabscript modtool
119
  !read adm/tabscript modtool
120
  <div id="widget_modtool">
120
  <div id="widget_modtool">
121
    <ul id="modtool_summary">
121
    <ul id="modtool_summary">
122
  !for tfile in other,src,cpp,help,lang,phtml
122
    !for tfile in other,src,cpp,help,lang,phtml
123
    !if $(files$tfile) !=$empty
123
      !if $(files$tfile) !=$empty
124
      <li><a href="#modtool$tfile">$(name_files_$tfile)</a></li>
124
        <li><a href="#modtool$tfile">$(name_files_$tfile)</a></li>
125
    !endif
125
      !endif
126
  !next
126
    !next
127
  </ul>
127
    </ul>
128
  !for tfile in other,src,cpp,help,lang,phtml
128
    !for tfile in other,src,cpp,help,lang,phtml
129
    !if $(files$tfile)!=$empty
129
      !if $(files$tfile)!=$empty
130
      <div id="modtool$tfile">
130
        <div id="modtool$tfile">
131
      !set table_id=file_$(tfile)_list
131
          !set table_id=file_$(tfile)_list
132
      $table_header
132
          $table_header
133
      <caption>$(name_files_$tfile)</caption>
133
          <caption>$(name_files_$tfile)</caption>
134
      <thead>$table_hdtr
134
          <thead>$table_hdtr
135
        <th scope="col">$wims_name_name</th><th scope="col">$wims_name_action</th><th scope="col">$wims_name_Explanations</th>
135
            <th scope="col">$wims_name_name</th><th scope="col">$wims_name_action</th><th scope="col">$wims_name_Explanations</th>
136
      </tr></thead>
136
          </tr></thead>
137
      <tbody>
137
          <tbody>
138
      !for f in $(files$tfile)
138
          !for f in $(files$tfile)
139
        $table_tr
139
          $table_tr
140
          <td style="text-align:left;" class="wims_fname nowrap">$f</td>
140
            <td style="text-align:left;" class="wims_fname nowrap">$f</td>
141
          <td style="text-align:center;">
141
            <td style="text-align:center;">
142
          !set wims_ref_class=wims_button
142
              !set wims_ref_class=wims_button
143
          !href cmd=reply&jobreq=showfile&fname=$f $wims_name_Show
143
              !href cmd=reply&jobreq=showfile&fname=$f $wims_name_Show
144
$
144
$
145
          !set wims_ref_class=wims_button
145
              !set wims_ref_class=wims_button
146
          !href cmd=reply&jobreq=edfile&fname=$f $wims_name_change
146
              !href cmd=reply&jobreq=edfile&fname=$f $wims_name_change
147
$
147
$
148
          !set wims_ref_class=wims_button wims_warning
148
              !set wims_ref_class=wims_button wims_warning
149
          !href cmd=reply&jobreq=delfile&fname=$f $wims_name_erase
149
              !href cmd=reply&jobreq=delfile&fname=$f $wims_name_erase
150
          !!!can change the name if it is
150
              !!!can change the name if it is
151
          !! -- not published and (not a phtml file in an oef module)
151
              !! -- not published and (not a phtml file in an oef module)
152
          !! or
152
              !! or
153
          !! -- published and not a file with extension oef
153
              !! -- published and not a file with extension oef
154
          !if ($pubtit=$empty and ($tfile!=phtml or oef notin $category))\
154
              !if ($pubtit=$empty and ($tfile!=phtml or oef notin $category))\
155
            or ($pubtit!=$empty and (oef notin $category or $tfile notwordof src phtml))
155
                or ($pubtit!=$empty and (oef notin $category or $tfile notwordof src phtml))
156
            !set wims_ref_class=wims_button
156
                !set wims_ref_class=wims_button
157
            !href cmd=reply&jobreq=changefile&fname=$f $name_changefile
157
                !href cmd=reply&jobreq=changefile&fname=$f $name_changefile
158
          !endif
158
              !endif
159
          !if oef isin $category and ../src/ isin ../$f and .oef/.. isin $f/..
159
              !if oef isin $category and ../src/ isin ../$f and .oef/.. isin $f/..
160
            !set f_=!translate internal / to , in $f
160
                !set f_=!translate internal / to , in $f
161
            !set f_=!item -1 of $f_
161
                !set f_=!item -1 of $f_
162
            !set f_=!replace internal .oef.. by in $f_..
162
                !set f_=!replace internal .oef.. by in $f_..
163
$
163
$
164
            !set wims_ref_class=wims_button
164
                !set wims_ref_class=wims_button
165
            !href module=adm/createxo&catmodule=devel/$auth_login/$mod&existing=$f_ Createxo
165
                !href module=adm/createxo&catmodule=devel/$auth_login/$mod&existing=$f_ Createxo
166
          !endif
166
              !endif
167
        </td><td>
167
            </td><td>
168
          !set t_=!translate . to _ in $f
168
              !set t_=!translate . to _ in $f
169
          !set t_=!translate / to _ in $t_
169
              !set t_=!translate / to _ in $t_
170
          !set t_=$($t_)
170
              !set t_=$($t_)
171
          !default t_=--
171
              !default t_=--
172
          $t_
172
              $t_
173
        </td>
173
            </td>
174
        </tr>
174
          </tr>
175
      !next f
175
          !next f
176
      </tbody>
176
          </tbody>
177
      $table_end
177
          $table_end
178
      !read tablesort.phtml
178
          !read tablesort.phtml
179
 
179
 
180
      !if oef isin $category
180
          !if oef isin $category
181
        <div class="wims_msg help">
181
            <div class="wims_msg help">
182
          $(name_help_addfile_$tfile) $name_help_addfile
182
              $(name_help_addfile_$tfile) $name_help_addfile
-
 
183
            </div>
-
 
184
          !endif
183
        </div>
185
        </div>
184
      !endif
186
      !endif
185
      </div>
187
    !next tfile
186
    !endif
188
  </div>
187
  !next tfile
-
 
188
!endif
189
!endif
189
 
190
 
190
!form reply
191
!form reply
191
  <input type="hidden" name="jobreq" value="edfile" />
192
  <input type="hidden" name="jobreq" value="edfile" />
192
  <fieldset class="property_fields blockcenter">
193
  <fieldset class="property_fields blockcenter">