summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-01-26 14:41:44 +0000
committerDries Buytaert <dries@buytaert.net>2001-01-26 14:41:44 +0000
commit32c89442d3e91c01f64211be372a0ae103025fa6 (patch)
tree2eece4811308b81aa0bfd12c306812ae2e203a55
parentf974e58dbfaa79f48837ddf7910f57abd0368c74 (diff)
downloadbrdo-32c89442d3e91c01f64211be372a0ae103025fa6.tar.gz
brdo-32c89442d3e91c01f64211be372a0ae103025fa6.tar.bz2
- removed all tabs
-rw-r--r--admin.php4
-rw-r--r--includes/hostname.conf8
-rw-r--r--modules/account.module6
-rw-r--r--scripts/php-clean7
-rw-r--r--themes/jeroen/jeroen.theme34
-rw-r--r--themes/unconed/unconed.theme2
6 files changed, 31 insertions, 30 deletions
diff --git a/admin.php b/admin.php
index 8bac83d2a..a8658cdf4 100644
--- a/admin.php
+++ b/admin.php
@@ -23,8 +23,8 @@ function admin_page($mod) {
h1 { font-size: 18pt; font-weight: bold; color: #990000; }
h2 { font-family: helvetica, arial; font-size: 18pt; font-weight: bold; }
h3 { font-family: helvetica, arial; font-size: 14pt; font-weight: bold; }
- th { font-family: helvetica, arial; text-align: center; background-color: #CCCCCC; color: #995555; }
- td { font-family: helvetica, arial; }
+ th { font-family: helvetica, arial; text-align: center; background-color: #CCCCCC; color: #995555; }
+ td { font-family: helvetica, arial; }
</STYLE>
<BODY BGCOLOR="#FFFFFF" LINK="#005599" VLINK="#004499" ALINK="#FF0000">
<H1>Administration</H1>
diff --git a/includes/hostname.conf b/includes/hostname.conf
index 238d413ed..62e4ae02a 100644
--- a/includes/hostname.conf
+++ b/includes/hostname.conf
@@ -49,11 +49,11 @@ $anonymous = "Anonymous Chicken";
# automatically become the default theme.
#
$themes = array("UnConeD" => array(
- "themes/unconed/unconed.theme",
- "modern theme, gray and blue, high coolness factor"),
+ "themes/unconed/unconed.theme",
+ "modern theme, gray and blue, high coolness factor"),
"Marvin" => array(
- "themes/marvin/marvin.theme",
- "classic theme, white, basic design with a fresh look"));
+ "themes/marvin/marvin.theme",
+ "classic theme, white, basic design with a fresh look"));
#
# Submission moderation votes:
diff --git a/modules/account.module b/modules/account.module
index 0de1cbc2e..b4a278d2f 100644
--- a/modules/account.module
+++ b/modules/account.module
@@ -51,13 +51,13 @@ function account_display($order = "username") {
$output .= " <TR>\n";
foreach ($show as $key=>$value) {
switch($value = strtok($value, " ")) {
- case "real_email":
+ case "real_email":
$output .= " <TD>". format_email($account[$value]) ."</TD>\n";
break;
case "last_access":
$output .= " <TD>". format_interval(time() - $account[$value]) ." ago</TD>\n";
break;
- case "status":
+ case "status":
$output .= " <TD ALIGN=\"center\">". $stat[$account[$value]] ."</TD>\n";
break;
case "permissions":
@@ -69,7 +69,7 @@ function account_display($order = "username") {
case "url":
$output .= " <TD>". format_url($account[$value]) ."</TD>\n";
break;
- case "userid":
+ case "userid":
$output .= " <TD>". format_username($account[$value], 1) ."</TD>\n";
break;
default:
diff --git a/scripts/php-clean b/scripts/php-clean
index 5dc306a61..39209cf97 100644
--- a/scripts/php-clean
+++ b/scripts/php-clean
@@ -1,4 +1,5 @@
#!/bin/sh
-find . -name "*~" | xargs rm -f
-find . -name "DEADJOE" | xargs rm -f
-find . -name "*" -type f | xargs perl -wi -pe 's/\s+$/\n/'
+find . -name "*~" -type f | xargs rm -f
+find . -name "DEADJOE" -type f | xargs rm -f
+find . -name "*" -type f | grep -v ".gif" | grep -v ".jpg" | xargs perl -wi -pe 's/\s+$/\n/'
+find . -name "*" -type f | grep -v ".gif" | grep -v ".jpg" | xargs perl -wi -pe 's/\t/ /g'
diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme
index 56c5edc95..71d92b743 100644
--- a/themes/jeroen/jeroen.theme
+++ b/themes/jeroen/jeroen.theme
@@ -36,7 +36,7 @@
<TR>
<TD COLSPAN="2">
<? if (rand(0,150) == 75) $img = "logo2.gif"; else $img = "logo.gif"; ?>
- <IMG SRC="themes/jeroen/images/<? echo $img; ?>" ALT="drop.org logo"><BR><BR>
+ <IMG SRC="themes/jeroen/images/<? echo $img; ?>" ALT="drop.org logo"><BR><BR>
</TD>
</TR>
<TR>
@@ -77,13 +77,13 @@
<FONT COLOR="<? echo $this->fgc2; ?>">
<?
switch (rand(0,12)) {
- case 0: $how = "Yelled at us"; break; case 1: $how = "Whispered"; break;
- case 2: $how = "Reported"; break; case 3: $how = "Posted"; break;
- case 4: $how = "Beamed through"; break; case 5: $how = "Faxed"; break;
- case 6: $how = "Tossed at us"; break; case 7: $how = "Morsed"; break;
- case 8: $how = "Flagged"; break; case 9: $how = "Written to us"; break;
- case 10: $how = "Made up"; break; case 11: $how = "Uploaded"; break;
- default: $how = "Sneaked through";
+ case 0: $how = "Yelled at us"; break; case 1: $how = "Whispered"; break;
+ case 2: $how = "Reported"; break; case 3: $how = "Posted"; break;
+ case 4: $how = "Beamed through"; break; case 5: $how = "Faxed"; break;
+ case 6: $how = "Tossed at us"; break; case 7: $how = "Morsed"; break;
+ case 8: $how = "Flagged"; break; case 9: $how = "Written to us"; break;
+ case 10: $how = "Made up"; break; case 11: $how = "Uploaded"; break;
+ default: $how = "Sneaked through";
}
if ($story->userid) {
@@ -172,13 +172,13 @@
<FONT COLOR="<? echo $this->fgc2; ?>">
<?
switch (rand(0,12)) {
- case 0: $how = "Yelled at us"; break; case 1: $how = "Whispered"; break;
- case 2: $how = "Reported"; break; case 3: $how = "Posted"; break;
- case 4: $how = "Beamed through"; break; case 5: $how = "Faxed"; break;
- case 6: $how = "Tossed at us"; break; case 7: $how = "Morsed"; break;
- case 8: $how = "Flagged"; break; case 9: $how = "Written to us"; break;
- case 10: $how = "Made up"; break; case 11: $how = "Uploaded"; break;
- default: $how = "Sneaked through";
+ case 0: $how = "Yelled at us"; break; case 1: $how = "Whispered"; break;
+ case 2: $how = "Reported"; break; case 3: $how = "Posted"; break;
+ case 4: $how = "Beamed through"; break; case 5: $how = "Faxed"; break;
+ case 6: $how = "Tossed at us"; break; case 7: $how = "Morsed"; break;
+ case 8: $how = "Flagged"; break; case 9: $how = "Written to us"; break;
+ case 10: $how = "Made up"; break; case 11: $how = "Uploaded"; break;
+ default: $how = "Sneaked through";
}
if ($story->userid) {
@@ -215,7 +215,7 @@
else {
echo $story->abstract;
}
- if ($story->article)
+ if ($story->article)
echo "<P>". check_output($story->article) ."</P>";
?>
</TD>
@@ -355,7 +355,7 @@
<?
global $PHP_SELF;
- $this->box("Drop where?", "<TD ALIGN=\"left\" VALIGN=\"top\"><A HREF=\"index.php\">home</A><BR><A HREF=\"faq.php\">faq</A><BR><A HREF=\"search.php\">search</A></TD><TD ALIGN=\"right\" VALIGN=\"top\"><A HREF=\"submit.php\">submit news</A><BR><A HREF=\"account.php\">your account</A></TD>");
+ $this->box("Drop where?", "<TD ALIGN=\"left\" VALIGN=\"top\"><A HREF=\"index.php\">home</A><BR><A HREF=\"faq.php\">faq</A><BR><A HREF=\"search.php\">search</A></TD><TD ALIGN=\"right\" VALIGN=\"top\"><A HREF=\"submit.php\">submit news</A><BR><A HREF=\"account.php\">your account</A></TD>");
theme_account($this);
?>
diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme
index 501ca4334..ee6e308ab 100644
--- a/themes/unconed/unconed.theme
+++ b/themes/unconed/unconed.theme
@@ -229,7 +229,7 @@
<TD VALIGN="top" WIDTH="185">
<?
theme_account($this);
- theme_blocks("all", $this);
+ theme_blocks("all", $this);
?>
</TD>
</TR>