Ignore:
Timestamp:
19 Oct 2007, 19:51:16 (17 years ago)
Author:
Henrik Bettermann
Message:

fix security for remove_students

correct logging messages

Location:
WAeUP_SRP/base/skins/waeup_utilities
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_utilities/remove_students_form.pt

    r2400 r2402  
    22           students options/students;
    33           info options/info|nothing;
    4            is_so info/is_so;
    54           allowed options/allowed|nothing;"
    65           >
     
    7675                  <tr tal:condition="student"
    7776                      tal:attributes="class python:test(repeat['student'].even(), 'even ajaxtd', 'odd ajaxtd')">
    78                     <td align="left" valign="middle" style="width: 5px;"
    79                         tal:condition="is_so">
     77                    <td align="left" valign="middle" style="width: 5px;">
    8078                      <input type="checkbox" name="ids:list" value="" id="" class="noborder"
    8179                             tal:condition="student/show_checkbox"
     
    104102            <br />
    105103
    106             <div tal:condition="is_so">
    107               <input type="button" value="button_select_all" class="context"
    108                      onclick="someJavaScriptFunctionThatWillBeReplaced"
    109                      i18n:attributes="value"
    110                      tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')'
    111                      % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))"
    112                      />
    113               <input type="submit" name="delete" value="Remove selected"
    114                      class="destructive"
    115                      tal:attributes="onclick python:'return window.confirm(\'%s\')' %
    116                      (cpsmcat('description_confirm_delete'), )"
    117                      />
    118             </div>
     104           
     105            <input type="button" value="button_select_all" class="context"
     106                   onclick="someJavaScriptFunctionThatWillBeReplaced"
     107                   i18n:attributes="value"
     108                   tal:attributes="onclick python:'toggleSelect(this, \'%s\', \'%s\')'
     109                   % (cpsmcat('button_select_all'), cpsmcat('button_deselect_all'))"
     110                   />
     111            <input type="submit" name="delete" value="Remove selected"
     112                   class="destructive"
     113                   tal:attributes="onclick python:'return window.confirm(\'%s\')' %
     114                   (cpsmcat('description_confirm_delete'), )"
     115                   />
     116           
    119117
    120118            <tal:block condition="python:batch_info and batch_info['nb_pages'] > 1">
Note: See TracChangeset for help on using the changeset viewer.