- "Account admin" at the head of login page => "admin account"

- remove center in main.php, we are css guys ;) 
- removed unused div in foot
This commit is contained in:
Benjamin Sonntag 2013-02-05 11:50:54 +00:00
parent 0ced7faf46
commit 2eb720c5ca
3 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
</div> <!-- div content -->
</td> </td>
</tr> </tr>
</table> </table>

View File

@ -45,9 +45,7 @@ if ($mem->user["lastfail"]) {
} }
if (!empty($error) ) { echo "<p class='error'>$error</p>";$error=''; } if (!empty($error) ) { echo "<p class='error'>$error</p>";$error=''; }
?>
<center>
<?php
$feed_url = variable_get('rss_feed'); $feed_url = variable_get('rss_feed');
if (!empty($feed_url)) { if (!empty($feed_url)) {
$cache_time = 60*5; // 5 minutes $cache_time = 60*5; // 5 minutes
@ -77,7 +75,7 @@ if ($count < $max) {
} }
$count++; $count++;
} }
echo "</table>\n</center>"; echo "</table>\n";
echo "<br/>"; echo "<br/>";
} // empty feed_url } // empty feed_url
@ -103,7 +101,7 @@ if($admin->enabled) {
} }
echo "<hr/><p>"; 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 "&nbsp;<a target=_blank href='http://lists.alternc.org/listinfo/users'>users@alternc.org</a>"; echo "&nbsp;<a target=_blank href='http://lists.alternc.org/listinfo/users'>users@alternc.org</a>";
echo "</p>"; echo "</p>";
} // if $admin->enabled } // if $admin->enabled

View File

@ -10,7 +10,7 @@ if (!isset($mode)) { # when included from adm_login, mode is not set
?> ?>
<center> <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"> <div style="width: 550px">