Ignore:
Timestamp:
May 2, 2016, 12:09:23 PM (3 years ago)
Author:
jrpelegrina
Message:

Updated to moodle 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • moodle/trunk/fuentes/admin/settings.php

    r136 r1331  
    4949        $firsterror = reset($adminroot->errors);
    5050    }
    51     $adminroot = admin_get_root(true); //reload tree
    5251    $settingspage = $adminroot->locate($section, true);
    5352}
     
    7978    echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
    8079    echo '<input type="hidden" name="return" value="'.$return.'" />';
     80    // HACK to prevent browsers from automatically inserting the user's password into the wrong fields.
     81    echo prevent_form_autofill_password();
    8182
    8283    echo $settingspage->output_html();
     
    121122    echo '<input type="hidden" name="sesskey" value="'.sesskey().'" />';
    122123    echo '<input type="hidden" name="return" value="'.$return.'" />';
     124    // HACK to prevent browsers from automatically inserting the user's password into the wrong fields.
     125    echo prevent_form_autofill_password();
    123126    echo $OUTPUT->heading($settingspage->visiblename);
    124127
Note: See TracChangeset for help on using the changeset viewer.