Ignore:
Timestamp:
12/19/11 17:20:54 (12 years ago)
Author:
Kris Deugau
Message:

/trunk

Fix overloaded-$webvar{action}-related buglet - changing the default
group can cause the page to mutate due to template/page overloading.
Reported by Reid Sutherland on the "Edit user" page, when clicking
a group to change the default group.

Group edit and bulk domain change pages tweaked although the impact
is limited to changing the starting data, not the page operation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/bulkdomain.tmpl

    r166 r207  
    2121                <td>Action:</td>
    2222                <td align="left">
    23 <TMPL_IF maymove>               <input type="radio" name="action" value="move" checked="checked" /> Move to group: <select name="destgroup">
     23<TMPL_IF maymove>               <input type="radio" name="bulkaction" value="move" checked="checked" /> Move to group: <select name="destgroup">
    2424<TMPL_LOOP name=grouplist>              <option value="<TMPL_VAR NAME=groupval>"<TMPL_IF groupactive> selected="selected"</TMPL_IF>><TMPL_VAR name=groupname></option>
    2525</TMPL_LOOP>
    2626                </select><br /></TMPL_IF>
    27 <TMPL_IF maystatus>             <input type="radio" name="action" value="deactivate" /> Deactivate<br />
    28                 <input type="radio" name="action" value="activate" /> Activate<br /></TMPL_IF>
    29 <TMPL_IF maydelete>             <input type="radio" name="action" value="delete" /> Delete<br /></TMPL_IF>
     27<TMPL_IF maystatus>             <input type="radio" name="bulkaction" value="deactivate" /> Deactivate<br />
     28                <input type="radio" name="bulkaction" value="activate" /> Activate<br /></TMPL_IF>
     29<TMPL_IF maydelete>             <input type="radio" name="bulkaction" value="delete" /> Delete<br /></TMPL_IF>
    3030                </td>
    3131        </tr>
Note: See TracChangeset for help on using the changeset viewer.