summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2000-09-11 07:45:22 +0000
committerDries Buytaert <dries@buytaert.net>2000-09-11 07:45:22 +0000
commit1f0a87f4e704fff7f6c94191afbe7dc0fa9f031e (patch)
tree968ffbc61a794f7ec18b649273a86d42e4081050 /themes
parent17d8330e44fdd03429605d3131bd36c10fddf991 (diff)
downloadbrdo-1f0a87f4e704fff7f6c94191afbe7dc0fa9f031e.tar.gz
brdo-1f0a87f4e704fff7f6c94191afbe7dc0fa9f031e.tar.bz2
Over the last 2 days I redid and reorganized an afwul lot of code and
made quite a lot of additions. The most remarkable addition is the diary server, which I slapped together in less then 40 minutes. Most of the other changes are however `unvisible' for the user but add much value to a better maintainability from a developer's objective. Like always, I fixed quite a number of small bugs that creeped into the code so we should have a bigger, better and more stable drop.org. Unfortunatly, some theme update _are_ required: REQUIRED THEME UPDATES: ======================= * use format_username() where usernames are used * use format_date() where timestamps/dates are used * use format_email() where e-mail addresses are displayed * use format_url() where url are displayed * replace 'formatTimestamp' with format_date * replace 'morelink_*' with 'display_morelink' [most of these functions are in function.inc or template.inc] ___PLEASE___ (<- this should get your attention ;) update your themes as soon as possible - it only takes 30 min. to get in sync with the other themes. Don't start whining about the fact you don't know what to change ... either eat the source cookie, or ask me to elaborate on a few changes. Just let me know what's puzzling you and I'll try to help you out! TODO LIST FOR NEXT WEEK ======================= * Add checks for max. text length in textarea's? Is there an HMTL attribute for this or ...? * Comment moderation + mojo * Edit/admin user accounts: block, delete, change permissions, ... * E-mail password, change password, change e-mail address -> extra checks and routines to validate such `special' changes. * Input checking - input filter: bad words, html tags, ...
Diffstat (limited to 'themes')
-rw-r--r--themes/jeroen/theme.class.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/themes/jeroen/theme.class.php b/themes/jeroen/theme.class.php
index 866d7b623..ae57ddb1f 100644
--- a/themes/jeroen/theme.class.php
+++ b/themes/jeroen/theme.class.php
@@ -46,8 +46,6 @@
<TR>
<TD WIDTH="160" VALIGN="top" ALIGN="right">
<?
- dbconnect();
-
### Display admin blocks:
displayAdminblock($this);
?>
@@ -256,7 +254,6 @@
# Description..: this function is used to theme the comment control box.
function commentControl($sid, $title, $thold, $mode, $order) {
global $user;
- dbconnect();
$query = mysql_query("SELECT sid FROM comments WHERE sid = $sid");
if (!$query) $count = 0; else $count = mysql_num_rows($query);