Changeset 2402 for WAeUP_SRP/base


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
Files:
2 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/search_students_form.pt

    r2392 r2402  
    2020      <nobr><a href="statistics_simple_view">Basic Student Statistics</a>
    2121      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>     
    22       <nobr><a href="apply_admission_manage">Application Process</a>
    23       &nbsp;&nbsp;&nbsp;&nbsp;</nobr>         
     22 
    2423      <span tal:condition="is_so">
    25          <nobr><a href="view_logs">View Log Files</a>
    26          &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
    27          <nobr><a href="add_student">Add Student Record</a>       
    28        
     24          <nobr><a href="apply_admission_manage">Application Process</a>
     25          &nbsp;&nbsp;&nbsp;&nbsp;</nobr>     
     26          <nobr><a href="view_logs">View Log Files</a>
     27          &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
     28          <nobr><a href="add_student">Add Student Record</a>       
     29          &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
     30          <nobr><a href="remove_students">Remove Student Record(s)</a>           
    2931      </span>
    3032      </strong>
  • 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.