Changeset 151

Show
Ignore:
Timestamp:
2008-06-05 10:37:01 (6 months ago)
Author:
hannes
Message:

making username mandatory when posting (ticket #81)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/misc/Post.php

    r148 r151  
    282282                                $q = NULL; 
    283283                            } 
     284                        } 
     285                        // check if username set 
     286                        if (!isset($user) || $user == '') { 
     287                            $_error = $LANG['error_mandatory']; 
     288                            $ok = 0; 
    284289                        } 
    285290                        // finally, sort out e-mail banning 
  • trunk/classes/pages/Page.php

    r137 r151  
    341341        } 
    342342        // The authors politely ask you to keep this notice of authorship and copyright intact in the spirit of 'credit where credit is due'. 
    343         $_temp = new XMLElement('<div id="bottombar">' . $LANG['Powered_by'] . ' <a href="http://www.spamboard.net" target="_blank">Spam Board</a> ' . $VERSION . ' &amp;copy; 2007 <a href="http://www.spamboard.net/wiki/Authors" target="_blank">Spam Board Team</a></div>'); 
     343        $_temp = new XMLElement('<div id="bottombar">' . $LANG['Powered_by'] . ' <a href="http://www.spamboard.net" target="_blank">Spam Board</a> ' . $VERSION . ' &amp;copy; 2007, 2008 <a href="http://www.spamboard.net/wiki/Authors" target="_blank">Spam Board Team</a></div>'); 
    344344        // append page footer 
    345345        $this->html->body->addElement($_temp);