mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-05 13:44:43 -04:00
Essaye d'éviter les problèmes d'auto-remplissage des champs
Corrige https://github.com/marienfressinaud/FreshRSS/issues/327#issuecomment-32635516
This commit is contained in:
@@ -30,8 +30,8 @@ class FreshRSS_feed_Controller extends Minz_ActionController {
|
||||
$cat = $def_cat->id ();
|
||||
}
|
||||
|
||||
$user = Minz_Request::param ('username');
|
||||
$pass = Minz_Request::param ('password');
|
||||
$user = Minz_Request::param ('http_user');
|
||||
$pass = Minz_Request::param ('http_pass');
|
||||
$params = array ();
|
||||
|
||||
$transactionStarted = false;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<ul class="nav nav-list aside aside_feed">
|
||||
<li class="nav-header"><?php echo Minz_Translate::t ('your_rss_feeds'); ?></li>
|
||||
|
||||
<li class="nav-form"><form id="add_rss" method="post" action="<?php echo Minz_Url::display (array ('c' => 'feed', 'a' => 'add')); ?>">
|
||||
<li class="nav-form"><form id="add_rss" method="post" action="<?php echo Minz_Url::display (array ('c' => 'feed', 'a' => 'add')); ?>" autocomplete="off">
|
||||
<div class="stick">
|
||||
<input type="url" name="url_rss" placeholder="<?php echo Minz_Translate::t ('add_rss_feed'); ?>" />
|
||||
<div class="dropdown">
|
||||
@@ -27,10 +27,10 @@
|
||||
|
||||
<li class="dropdown-header"><?php echo Minz_Translate::t ('http_authentication'); ?></li>
|
||||
<li class="input">
|
||||
<input type="text" name="username" id="username" placeholder="<?php echo Minz_Translate::t ('username'); ?>" />
|
||||
<input type="text" name="http_user" id="http_user" autocomplete="off" placeholder="<?php echo Minz_Translate::t ('username'); ?>" />
|
||||
</li>
|
||||
<li class="input">
|
||||
<input type="password" name="password" id="password" placeholder="<?php echo Minz_Translate::t ('password'); ?>" />
|
||||
<input type="password" name="http_pass" id="http_pass" autocomplete="off" placeholder="<?php echo Minz_Translate::t ('password'); ?>" />
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<p class="alert alert-error"><span class="alert-head"><?php echo Minz_Translate::t ('damn'); ?></span> <?php echo Minz_Translate::t ('feed_in_error'); ?></p>
|
||||
<?php } ?>
|
||||
|
||||
<form method="post" action="<?php echo _url ('configure', 'feed', 'id', $this->flux->id ()); ?>">
|
||||
<form method="post" action="<?php echo _url ('configure', 'feed', 'id', $this->flux->id ()); ?>" autocomplete="off">
|
||||
<legend><?php echo Minz_Translate::t ('informations'); ?></legend>
|
||||
<div class="form-group">
|
||||
<label class="group-name" for="name"><?php echo Minz_Translate::t ('title'); ?></label>
|
||||
|
||||
Reference in New Issue
Block a user