Changeset 261

Show
Ignore:
Timestamp:
04/10/08 22:30:43 (9 months ago)
Author:
shupp
Message:

CS Fixes for Domains_Menu

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Framework/Module/Domains/Menu.php

    r227 r261  
    44 * Framework_Module_Domains_Menu  
    55 *  
    6  * @uses      ToasterAdmin_Auth_Domain 
    7  * @package   ToasterAdmin 
    8  * @author    Bill Shupp <hostmaster@shupp.org>  
    9  * @copyright 2007 Bill Shupp 
    10  * @license   GPL 2.0  {@link http://www.gnu.org/licenses/gpl.txt} 
    11  * @link      http://trac.merchbox.com/trac/toasteradmin 
     6 * PHP Version 5.1.0+ 
     7 *  
     8 * @uses       ToasterAdmin_Auth_Domain 
     9 * @category   Main 
     10 * @package    ToasterAdmin 
     11 * @subpackage Module 
     12 * @author     Bill Shupp <hostmaster@shupp.org>  
     13 * @copyright  2007-2008 Bill Shupp 
     14 * @license    GPL 2.0  {@link http://www.gnu.org/licenses/gpl.txt} 
     15 * @link       http://trac.merchbox.com/trac/toasteradmin 
    1216 */ 
    1317 
     
    1721 * Show Domain Menu 
    1822 *  
    19  * @uses      ToasterAdmin_Auth_Domain 
    20  * @package   ToasterAdmin 
    21  * @author    Bill Shupp <hostmaster@shupp.org>  
    22  * @copyright 2007 Bill Shupp 
    23  * @license   GPL 2.0  {@link http://www.gnu.org/licenses/gpl.txt} 
    24  * @link      http://trac.merchbox.com/trac/toasteradmin 
     23 * @uses       ToasterAdmin_Auth_Domain 
     24 * @category   Mail 
     25 * @package    ToasterAdmin 
     26 * @subpackage Module 
     27 * @author     Bill Shupp <hostmaster@shupp.org>  
     28 * @copyright  2007-2008 Bill Shupp 
     29 * @license    GPL 2.0  {@link http://www.gnu.org/licenses/gpl.txt} 
     30 * @link       http://trac.merchbox.com/trac/toasteradmin 
    2531 */ 
    2632class Framework_Module_Domains_Menu extends ToasterAdmin_Auth_Domain 
     
    5157        } 
    5258        // Setup URLs 
     59        $aurl = './?module=Accounts&domain=' . $this->data['domain']; 
     60        $furl = './?module=Forwards&domain=' . $this->data['domain']; 
     61        $rurl = './?module=Responders&domain=' . $this->data['domain']; 
     62        $this->setData('list_accounts_url', htmlspecialchars($aurl)); 
     63        $this->setData('list_forwards_url', htmlspecialchars($furl)); 
     64        $this->setData('list_responders_url', htmlspecialchars($rurl)); 
    5365        $this->setData('domain', $this->domain); 
    54         $this->setData('list_accounts_url', htmlspecialchars('./?module=Accounts&domain=' . $this->data['domain'])); 
    55         $this->setData('list_forwards_url', htmlspecialchars('./?module=Forwards&domain=' . $this->data['domain'])); 
    56         $this->setData('list_responders_url', htmlspecialchars('./?module=Responders&domain=' . $this->data['domain'])); 
    57         // $this->setData('list_lists_url', htmlspecialchars('./?module=Lists&domain=' . $this->data['domain'])); 
    58  
    59         // Language 
    60         $this->setData('LANG_Email_Accounts', _('Email Accounts')); 
    61         $this->setData('LANG_Forwards', _('Forwards')); 
    62         $this->setData('LANG_Auto_Responders', _('Auto-Responders')); 
    63         $this->setData('LANG_Mailing_Lists', _('Mailing Lists')); 
    64         $this->setData('LANG_Domain_List', _('Domain List')); 
    6566 
    6667        $this->tplFile = 'domainMenu.tpl';