Revision 57

Date:
2010/09/13 10:52:35
Author:
ahitrov@rambler.ru
Revision Log:
п·я┌п╪п╣п·я┌п╪п╣п╫п╣п╫п╦п╣п·я┬п╦п╠п╨пп╦ я▐п╡п╟я│п╨я─п╦п©я┌п╟
Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/core/comps/contenido/components/inputs/password.msn

     
    1 <input <% $prop->{readonly} ? 'readonly ' : '' %> type="text" name="<% $name %>" id="<% $name%>1_text" size="60" value="" style="width: 95%;" onkeyup="<% $name %>_changed();">
    1 <input <% $prop->{readonly} ? 'readonly ' : '' %> type="text" name="<% $name %>" id="<% $name%>_text" size="60" value="" style="width: 95%;" onkeyup="<% $name %>_changed();">
    2 2
    3 3 <table id="<% $name %>_prev_table" style="width: 95%; display: none;" cellspacing="0" cellpadding="0" border="0">
    4 4 <tr>
    5 <td width="100%" class="bb undo" style="padding: 3px;"><% $check || '&nbsp;' %></td>
    5 <td width="100%" class="bb undo" style="padding: 3px;">Отменить изменение пароля</td>
    6 6 <td style="padding-left: 3px; vertical-align: top;"><a href="#" onclick="return <% $name %>_undo();" title="Отменить изменения"><img src="/contenido/i/undo-19x19.gif" width="19" height="19" class="bb gb"></a></td>
    7 7 </tr>
    8 8 </table>
    9 9
    10 <textarea id="<% $name %>_prev_value" style="display: none;"><% $check %></textarea>
    10 <textarea id="<% $name %>_prev_value" style="display: none;"></textarea>
    11 11
    12 12 <script type="text/javascript">
    13 13 function <% $name %>_changed() {
    14 14 var t = document.getElementById('<% $name %>_prev_table');
    15 if (document.getElementById('<% $name %>_text').value==document.getElementById('<% $name %>_prev_value').value) {
    15 if ( document.getElementById('<% $name %>_text').value == '') {
    16 16 if (t.style.display!='none') {
    17 17 t.style.display = 'none';
    18 18 }