Browse Source

Small fixes to follow @marienfressinaud recommandations

Alexis Degrugillier 11 năm trước cách đây
mục cha
commit
84dcd25d89

+ 1 - 1
app/layout/aside_flux.phtml

@@ -77,13 +77,13 @@
 	<ul class="dropdown-menu">
 	<ul class="dropdown-menu">
 		<li class="dropdown-close"><a href="#close">❌</a></li>
 		<li class="dropdown-close"><a href="#close">❌</a></li>
 		<li class="item"><a href="<?php echo _url ('index', 'index', 'get', 'f_!!!!!!'); ?>"><?php echo Minz_Translate::t ('filter'); ?></a></li>
 		<li class="item"><a href="<?php echo _url ('index', 'index', 'get', 'f_!!!!!!'); ?>"><?php echo Minz_Translate::t ('filter'); ?></a></li>
+		<li class="item"><a href="<?php echo _url ('stats', 'repartition', 'id', '!!!!!!'); ?>"><?php echo Minz_Translate::t ('stats'); ?></a></li>
 		<li class="item"><a target="_blank" href="http://example.net/"><?php echo Minz_Translate::t ('see_website'); ?></a></li>
 		<li class="item"><a target="_blank" href="http://example.net/"><?php echo Minz_Translate::t ('see_website'); ?></a></li>
 		<?php if ($this->loginOk) { ?>
 		<?php if ($this->loginOk) { ?>
 		<li class="separator"></li>
 		<li class="separator"></li>
 		<li class="item"><a href="<?php echo _url ('configure', 'feed', 'id', '!!!!!!'); ?>"><?php echo Minz_Translate::t ('administration'); ?></a></li>
 		<li class="item"><a href="<?php echo _url ('configure', 'feed', 'id', '!!!!!!'); ?>"><?php echo Minz_Translate::t ('administration'); ?></a></li>
 		<li class="item"><a href="<?php echo _url ('feed', 'actualize', 'id', '!!!!!!'); ?>"><?php echo Minz_Translate::t ('actualize'); ?></a></li>
 		<li class="item"><a href="<?php echo _url ('feed', 'actualize', 'id', '!!!!!!'); ?>"><?php echo Minz_Translate::t ('actualize'); ?></a></li>
 		<li class="item"><a href="<?php echo _url ('entry', 'read', 'get', 'f_!!!!!!'); ?>"><?php echo Minz_Translate::t ('mark_read'); ?></a></li>
 		<li class="item"><a href="<?php echo _url ('entry', 'read', 'get', 'f_!!!!!!'); ?>"><?php echo Minz_Translate::t ('mark_read'); ?></a></li>
-		<li class="item"><a href="<?php echo _url ('stats', 'repartition', 'id', '!!!!!!'); ?>"><?php echo Minz_Translate::t ('stats'); ?></a></li>
 		<?php } ?>
 		<?php } ?>
 	</ul>
 	</ul>
 </script>
 </script>

+ 4 - 4
app/views/stats/repartition.phtml

@@ -1,4 +1,4 @@
-<?php $this->partial('aside_stats'); ?>
+<?php $this->partial ('aside_stats'); ?>
 
 
 <div class="post content">
 <div class="post content">
 	<a href="<?php echo _url ('index', 'index'); ?>"><?php echo _t ('back_to_rss_feeds'); ?></a>
 	<a href="<?php echo _url ('index', 'index'); ?>"><?php echo _t ('back_to_rss_feeds'); ?></a>
@@ -6,8 +6,8 @@
 	<?php if ($this->feed) {?>
 	<?php if ($this->feed) {?>
 		<h1>
 		<h1>
 			<?php echo _t ('stats_repartition'), " - "; ?>
 			<?php echo _t ('stats_repartition'), " - "; ?>
-			<a href="<?php echo _url('configure', 'feed', 'id', $this->feed->id()); ?>"
-			   title="<?php echo date('Y-m-d', $feed['last_date']); ?>">
+			<a href="<?php echo _url ('configure', 'feed', 'id', $this->feed->id()); ?>"
+			   title="<?php echo date ('Y-m-d', $feed['last_date']); ?>">
 				<?php echo $this->feed->name(); ?>
 				<?php echo $this->feed->name(); ?>
 			</a>
 			</a>
 		</h1>
 		</h1>
@@ -97,4 +97,4 @@ function initStats() {
 	
 	
 }
 }
 initStats();
 initStats();
-</script>
+</script>