Cleanup the temporary user_main page a bit, even though its still temporary

This commit is contained in:
james 2010-08-19 20:13:43 +00:00
parent 78614ef309
commit 1427900873

View File

@ -38,25 +38,25 @@
echo "<br />"; echo "<br />";
echo "<br />"; echo "<br />";
echo "This is a placeholder for hte main user page until all the specific user-role pages are removed. For now, here is the mainpage for each role you have: "; echo "This is a placeholder for the main user page until all the specific user-role pages are removed. For now, heres your roles: ";
echo "<br />"; echo "<br />";
echo "<br />"; echo "<br />";
echo "<ul>";
foreach(array_keys($u['roles']) as $r) { foreach(array_keys($u['roles']) as $r) {
echo "<a href=\"{$r}_main.php\">".$roles[$r]['name']." Main Page</a><br />"; echo "<li>".$roles[$r]['name']."</li>";
// echo "<a href=\"{$r}_main.php\">".$roles[$r]['name']." Main Page</a><br />";
} }
echo "</ul>";
echo "<br />";
echo "<br />";
echo "<br />"; echo "<br />";
echo i18n('Other Options and Things To Do').':<br />'; echo i18n('Other Options and Things To Do').':<br />';
echo '<ul>'; echo '<ul>';
echo '<li><a href="user_account.php">'.i18n('Change Password').'</a> - '.i18n('Change your email, username, and password').'</li>'; echo '<li><a href="user_edit.php">'.i18n('Change Password').'</a> - '.i18n('Change your email, username, and password').'</li>';
echo '<li><a href="user_activate.php">'.i18n('Activate/Deactivate Roles').'</a> - '. echo '<li><a href="user_edit.php">'.i18n('Activate/Deactivate Roles').'</a> - '.
i18n('Activate/Deactiate/Remove/Delete roles or your entire account'). i18n('Activate/Deactiate/Remove/Delete roles or your entire account').
'</li>'; '</li>';
echo '<li>'.i18n('To logout, use the [Logout] link in the upper-right of the page').'</li>'; echo '<li>'.i18n('To logout, use the "Logout" link in the upper-right of the page').'</li>';
echo '</ul>'; echo '</ul>';
send_footer(); send_footer();