From 2eb720c5caca97c2e5f740727df15893fcaa615f Mon Sep 17 00:00:00 2001 From: Benjamin Sonntag <benjamin@alternc.org> Date: Tue, 5 Feb 2013 11:50:54 +0000 Subject: [PATCH] - "Account admin" at the head of login page => "admin account" - remove center in main.php, we are css guys ;) - removed unused div in foot --- bureau/admin/foot.php | 2 +- bureau/admin/main.php | 8 +++----- bureau/admin/quotas_oneuser.php | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/bureau/admin/foot.php b/bureau/admin/foot.php index f7b0ad9c..4d1cbccc 100644 --- a/bureau/admin/foot.php +++ b/bureau/admin/foot.php @@ -1,4 +1,4 @@ -</div> <!-- div content --> + </td> </tr> </table> diff --git a/bureau/admin/main.php b/bureau/admin/main.php index 0435ce33..e192fb46 100644 --- a/bureau/admin/main.php +++ b/bureau/admin/main.php @@ -45,9 +45,7 @@ if ($mem->user["lastfail"]) { } if (!empty($error) ) { echo "<p class='error'>$error</p>";$error=''; } -?> -<center> -<?php + $feed_url = variable_get('rss_feed'); if (!empty($feed_url)) { $cache_time = 60*5; // 5 minutes @@ -77,7 +75,7 @@ if ($count < $max) { } $count++; } -echo "</table>\n</center>"; +echo "</table>\n"; echo "<br/>"; } // empty feed_url @@ -103,7 +101,7 @@ if($admin->enabled) { } echo "<hr/><p>"; - __("You are using the AlternC Panel. You can contact the AlternC community for informations or feedback by joining the mailing-list"); + __("You are using the AlternC Panel. You can contact the AlternC community for information or feedback by joining the mailing-list"); echo " <a target=_blank href='http://lists.alternc.org/listinfo/users'>users@alternc.org</a>"; echo "</p>"; } // if $admin->enabled diff --git a/bureau/admin/quotas_oneuser.php b/bureau/admin/quotas_oneuser.php index fe11cd53..af07f275 100644 --- a/bureau/admin/quotas_oneuser.php +++ b/bureau/admin/quotas_oneuser.php @@ -10,7 +10,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set ?> <center> -<p><h3><center><?php __("Account"); ?> <span style="font-weight: bold;"><?php echo $mem->user["login"]; ?></span></center></h3></p> +<h3><center><?php printf(_("<b>%s</b> account"),$mem->user["login"]); ?></center></h3> <div style="width: 550px">