Changeset 199

Show
Ignore:
Timestamp:
2009-01-15 21:22:15 (3 years ago)
Author:
hannes
Message:

never force the visitors to open anything in a new window / tab

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/classes/pages/Page.php

    r187 r199  
    77 *              shared by all pages 
    88 * 
    9  * Copyright (C) 2007, 2008 Hannes Schueller 
     9 * Copyright (C) 2007, 2008, 2009 Hannes Schueller 
    1010 * 
    1111 * This program is free software: you can redistribute it and/or modify 
     
    9494        $a = $div->addChild('a', $LANG['Back_to'] . ' ' . $SETTINGS['sitename']); 
    9595        $a->addAttribute('href', $SETTINGS['siteurl']); 
    96         $a->addAttribute('target', '_blank'); 
    9796        if ($is_admin_page) { 
    9897            // admin's top bar 
     
    179178                // link to admin panel 
    180179                if (Member::checkRights('admin/', 'r')) { 
    181                     $_str .= ' <a href="admin/" target="_blank">' . $LANG['Admin_Panel'] . '</a>'; 
     180                    $_str .= ' <a href="admin/">' . $LANG['Admin_Panel'] . '</a>'; 
    182181                    // maintainance mode 
    183182                    if ($SETTINGS['maintainancemode'] == 1) { 
     
    344343        } 
    345344        // The authors politely ask you to keep this notice of authorship and copyright intact in the spirit of 'credit where credit is due'. 
    346         $_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>'); 
     345        $_temp = new XMLElement('<div id="bottombar">' . $LANG['Powered_by'] . ' <a href="http://www.spamboard.net">Spam Board</a> ' . $VERSION . ' &amp;copy; 2007, 2008 <a href="http://www.spamboard.net/wiki/Authors">Spam Board Team</a></div>'); 
    347346        // append page footer 
    348347        $this->html->body->addElement($_temp);