Răsfoiți Sursa

Page "à propos" accessible aux visiteurs

Voir #266
Marien Fressinaud 12 ani în urmă
părinte
comite
168dbefc0a

+ 1 - 0
app/i18n/en.php

@@ -12,6 +12,7 @@ return array (
 	'category'			=> 'Category',
 	'shortcuts'			=> 'Shortcuts',
 	'about'				=> 'About',
+	'about_freshrss'		=> 'About FreshRSS',
 
 	'your_rss_feeds'		=> 'Your RSS feeds',
 	'add_rss_feed'			=> 'Add a RSS feed',

+ 1 - 0
app/i18n/fr.php

@@ -12,6 +12,7 @@ return array (
 	'category'			=> 'Catégorie',
 	'shortcuts'			=> 'Raccourcis',
 	'about'				=> 'À propos',
+	'about_freshrss'		=> 'À propos de FreshRSS',
 
 	'your_rss_feeds'		=> 'Vos flux RSS',
 	'add_rss_feed'			=> 'Ajouter un flux RSS',

+ 2 - 0
app/layout/aside_flux.phtml

@@ -9,6 +9,8 @@
 				<a class="btn btn-important" href="<?php echo _url ('configure', 'categorize'); ?>"><i class="icon i_category"></i></a>
 			</div>
 		</li>
+		<?php } elseif (login_is_conf ($this->conf)) { ?>
+		<li><a href="<?php echo _url ('index', 'about'); ?>"><?php echo Translate::t ('about_freshrss'); ?></a></li>
 		<?php } ?>
 
 		<li>

+ 1 - 0
app/views/index/index.phtml

@@ -23,6 +23,7 @@ if(!login_is_conf ($this->conf) ||
 <div class="post content">
 	<h1><?php echo Translate::t ('forbidden_access'); ?></h1>
 	<p><?php echo Translate::t ('forbidden_access_description'); ?></p>
+	<p><a href="<?php echo _url ('index', 'about'); ?>"><?php echo Translate::t ('about_freshrss'); ?></a></p>
 </div>
 <?php
 }

+ 0 - 1
public/themes/default/freshrss.css

@@ -23,7 +23,6 @@
 				display: inline-block;
 				margin: 0;
 				text-shadow: 1px -1px 0 #ccc;
-				vertical-align: middle;
 			}
 			.header > .item.title a:hover {
 				text-decoration: none;

+ 0 - 1
public/themes/flat-design/freshrss.css

@@ -26,7 +26,6 @@ body {
 			.header > .item.title h1 {
 				display: inline-block;
 				margin: 0;
-				vertical-align: middle;
 			}
 			.header > .item.title a:hover {
 				text-decoration: none;