aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-27 21:08:29 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-04-27 21:08:29 +0200
commit0e95494e29353a9ae31fb1196c6c9aaf556ae981 (patch)
treeda499463fda30157c172d92a1e02e972a6c6d6e5 /app/views
parent2a52d315bed725d5997a42547673bccfe2409b5d (diff)
Fix issue #26 : possibilité de s'abonner à des flux derrière authentification HTTP + correction quelques traductions
Diffstat (limited to 'app/views')
-rw-r--r--app/views/configure/feed.phtml11
1 files changed, 6 insertions, 5 deletions
diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml
index 73b70ec4c..0d9c5cae6 100644
--- a/app/views/configure/feed.phtml
+++ b/app/views/configure/feed.phtml
@@ -58,20 +58,21 @@
<i class="icon i_help"></i> <?php echo Translate::t ('retrieve_truncated_feeds'); ?>
</div>
</div>
-<!--
+
+ <?php $auth = $this->flux->httpAuth (false); ?>
<div class="form-group">
<label class="group-name" for="http_user"><?php echo Translate::t ('http_username'); ?></label>
<div class="group-controls">
- <input type="text" name="http_user" id="http_user" value="<?php echo Translate::t ('not_yet_implemented'); ?>" />
+ <input type="text" name="http_user" id="http_user" value="<?php echo $auth['username']; ?>" />
<i class="icon i_help"></i> <?php echo Translate::t ('access_protected_feeds'); ?>
</div>
<label class="group-name" for="http_pass"><?php echo Translate::t ('http_password'); ?></label>
<div class="group-controls">
- <input type="text" name="http_pass" id="http_pass" value="<?php echo Translate::t ('not_yet_implemented'); ?>" />
+ <input type="password" name="http_pass" id="http_pass" value="<?php echo $auth['password']; ?>" />
</div>
</div>
--->
+
<div class="form-group form-actions">
<div class="group-controls">
@@ -82,5 +83,5 @@
</form>
</div>
<?php } else { ?>
-<div class="alert"><span class="alert-head"><?php echo Translate::t ('no_selected_feed'); ?></span> <?php echo Translate::t ('think_to_add'); ?></div>
+<div class="alert alert-warn"><span class="alert-head"><?php echo Translate::t ('no_selected_feed'); ?></span> <?php echo Translate::t ('think_to_add'); ?></div>
<?php } ?>