diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..9e572cee --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +*.swp +web/lib/config.inc + diff --git a/web/html/account.php b/web/html/account.php index fd9cc617..3d981715 100644 --- a/web/html/account.php +++ b/web/html/account.php @@ -13,6 +13,10 @@ html_header(); # print out the HTML header # Main page processing here # +echo "
";
print " ".__("Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information.", array('', '', '', ''))." ".__("If you have feedback about the AUR, please leave it in %hFlyspray%h.", array('', ''))." ".__("Remember to vote for your favourite packages!")." ".__("Though we can't vouch for their contents, we provide a %hlist of user repositories%h for your convenience.", array('', ''))." "; # MAIN: Top Right print " | ";
@@ -178,9 +178,6 @@ print "
"; - print __("%s: %sAn ArchLinux project%s", array("AUR", "", "")); - print " | \n"; - print "||
\n";
- print "
| \n";
- print " ||
";
- print " .:";
- print " ".__("Home")." ";
- print " - ";
- print " ".__("Accounts")." ";
- print " - ";
- print " ".__("Packages")." ";
+END1;
if ($_COOKIE["AURSID"]) {
- # Only display these items if the visitor is logged in. This should
- # be a safe check because check_sid() has been called prior to
- # html_header().
- #
- print " - ";
- print " ".__("Submit")." ";
+ # This is a usability change, so we can go to My Packages page
+ # with just one click
+ # Added by: dsa | ";
- print " ||
\n";
- print " \n"; - print "\n\n"; - - return; + echo ' '."\n";
+ echo " \n";
+ echo " \n";
+ echo "\n";
+ echo "\n";
+ echo "\n\n";
+ return;
}
@@ -461,9 +438,6 @@ function html_header() {
function html_footer($ver="") {
print "\n\n\n";
print " \n"; - print " | \n";
- print "
\n"; print "
"; - print "".__("Package Details")." | \n"; - print "||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
\n";
- print "
\n\n"; - print " |
".__("Actions")." |
".__("Comments")." | |
";
-
- print " | |
\n";
+ echo " | \n";
+ echo "
\n"; - print str_replace("\n", "
\n"; - print "", str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"]))))); - print "
\n"; + echo str_replace("\n", "
", str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"]))))); + echo "