summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-04-02 15:54:37 +0000
committerDries Buytaert <dries@buytaert.net>2001-04-02 15:54:37 +0000
commit805107cd2202ddee66c4743e43804a3069508f29 (patch)
tree39a0661f2e8a84ee743831ee7abac5c9a626637c /themes
parent1f5bc83d794906c1b88dde20e107363cf2f71c17 (diff)
downloadbrdo-805107cd2202ddee66c4743e43804a3069508f29.tar.gz
brdo-805107cd2202ddee66c4743e43804a3069508f29.tar.bz2
Commiting my work of last Sunday:
- removed ban.inc and ban.module and integrated it in account.module under the name "access control" --> the ban code was not really up to standard so this has now been dealt with. This refactoring and reintegration cuts down the code size with 100 lines too. :-) (The ban.module code was really old and it showed.) - added node.module and made the other modules reuse some of this code --> cut down the code size of modules by at least 100 lines and adds stability. - added a status() function to admin.php to display a conform status message where appropriate. See admin.php for usage. - removed $theme->control() and made comments.inc handle this itself wrapped in a $theme->box(). No need to clutter the themes with such complexity --> updated all themes already. :-) - some small visual changes to some administration pages to be more consistent across different modules.
Diffstat (limited to 'themes')
-rw-r--r--themes/example/example.theme4
-rw-r--r--themes/goofy/goofy.theme4
-rw-r--r--themes/jeroen/jeroen.theme4
-rw-r--r--themes/marvin/marvin.theme9
-rw-r--r--themes/unconed/unconed.theme4
5 files changed, 0 insertions, 25 deletions
diff --git a/themes/example/example.theme b/themes/example/example.theme
index 40f0fb9df..e6ee46cf0 100644
--- a/themes/example/example.theme
+++ b/themes/example/example.theme
@@ -110,10 +110,6 @@
} // close story function
- function controls() {
- echo comment_controls();
- }
-
function comment($comment, $link = "") {
echo "<A NAME=\"$comment->cid\"></A>\n";
diff --git a/themes/goofy/goofy.theme b/themes/goofy/goofy.theme
index 471c5b556..e145362b7 100644
--- a/themes/goofy/goofy.theme
+++ b/themes/goofy/goofy.theme
@@ -147,10 +147,6 @@
<?php
} // close story function
- function controls() {
- $this->box("Comment Control","<div align=\"center\">".comment_controls()."</div>");
- }
-
function comment($comment, $link = "") {
echo "<A NAME=\"$comment->cid\"></A>\n";
?>
diff --git a/themes/jeroen/jeroen.theme b/themes/jeroen/jeroen.theme
index b3f2f2c20..ae54f04b3 100644
--- a/themes/jeroen/jeroen.theme
+++ b/themes/jeroen/jeroen.theme
@@ -171,10 +171,6 @@
} // close story function
- function controls() {
- echo comment_controls();
- }
-
function comment($comment, $link = "") {
echo "<A NAME=\"$comment->cid\"></A>\n";
diff --git a/themes/marvin/marvin.theme b/themes/marvin/marvin.theme
index 224d4816a..1bd4d7cf9 100644
--- a/themes/marvin/marvin.theme
+++ b/themes/marvin/marvin.theme
@@ -69,15 +69,6 @@
print "<BR><BR>\n\n";
}
- function controls() {
- print "<TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n";
- print " <TR><TD BGCOLOR=\"#000000\"><IMG SRC=\"themes/marvin/images/pixel.gif\" WIDTH=\"100%\" HEIGHT=\"0\" ALT=\"\"></TD></TR>\n";
- print " <TR><TD>&nbsp;</TD></TR>\n";
- print " <TR><TD>". comment_controls() ."</TD></TR>\n";
- print " <TR><TD BGCOLOR=\"#000000\"><IMG SRC=\"themes/marvin/images/pixel.gif\" WIDTH=\"100%\" HEIGHT=\"0\" ALT=\"\"></TD></TR>\n";
- print "</TABLE>";
- }
-
function comment($comment, $link = "") {
print "<A NAME=\"$comment->cid\">\n";
diff --git a/themes/unconed/unconed.theme b/themes/unconed/unconed.theme
index 29286d4d6..a0c32fec4 100644
--- a/themes/unconed/unconed.theme
+++ b/themes/unconed/unconed.theme
@@ -118,10 +118,6 @@
<?php
}
- function controls() {
- $this->box("Comment controls","<p align=\"center\">".comment_controls()."</p>");
- }
-
function comment($comment, $link) {
print "<A NAME=\"$comment->cid\"></A>\n";