mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Disable form auto-complete in admin area.
This commit is contained in:
parent
5b63aa19d0
commit
48cea0cc0f
@ -1501,6 +1501,7 @@ class users_admin_ui extends e_admin_ui
|
||||
// $this->addTitle(LAN_USER_QUICKADD);
|
||||
|
||||
$text = "<div>".$frm->open("core-user-adduser-form",null,null,'autocomplete=0')."
|
||||
<div style='display:none'><input type='password' id='_no_autocomplete_' /></div>
|
||||
<fieldset id='core-user-adduser'>
|
||||
<table class='table adminform'>
|
||||
<colgroup>
|
||||
|
@ -5136,9 +5136,10 @@ class e_form
|
||||
$query = isset($form['query']) ? $form['query'] : e_QUERY ;
|
||||
$url = (isset($form['url']) ? e107::getParser()->replaceConstants($form['url'], 'abs') : e_SELF).($query ? '?'.$query : '');
|
||||
$curTab = varset($_GET['tab'],0);
|
||||
|
||||
|
||||
$text .= "
|
||||
<form method='post' action='".$url."' id='{$form['id']}-form' enctype='multipart/form-data' autocomplete='off' >
|
||||
<div style='display:none'><input type='password' id='_no_autocomplete_' /></div>
|
||||
<div id='admin-ui-edit'>
|
||||
".vartrue($form['header'])."
|
||||
".$this->token()."
|
||||
|
Loading…
x
Reference in New Issue
Block a user