Changeset 247

Show
Ignore:
Timestamp:
04/06/08 22:45:15 (9 months ago)
Author:
shupp
Message:

Remove references to $base_url in Forwards, update Responders to use the domain auth container

Files:

Legend:

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

    r224 r247  
    9090            $aliases[$count]['name'] = $forwardName; 
    9191            $aliases[$count]['contents'] = $this->user->getAliasContents($val); 
    92             $aliases[$count]['edit_url'] = htmlspecialchars("$base_url?module=Forwards&domain={$this->domain}&forward=$forwardName&event=modifyForward"); 
    93             $aliases[$count]['delete_url'] = htmlspecialchars("$base_url?module=Forwards&domain={$this->domain}&forward=$forwardName&event=deleteForward"); 
     92            $aliases[$count]['edit_url'] = htmlspecialchars("./?module=Forwards&domain={$this->domain}&forward=$forwardName&event=modifyForward"); 
     93            $aliases[$count]['delete_url'] = htmlspecialchars("./?module=Forwards&domain={$this->domain}&forward=$forwardName&event=deleteForward"); 
    9494            $count++; 
    9595        } 
  • trunk/Framework/Module/Responders.php

    r195 r247  
    2020 * @license GPL 2.0  {@link http://www.gnu.org/licenses/gpl.txt} 
    2121 */ 
    22 class Framework_Module_Responders extends ToasterAdmin_Commo
     22class Framework_Module_Responders extends ToasterAdmin_Auth_Domai
    2323{ 
    2424 
     
    3333    function __construct() { 
    3434        parent::__construct(); 
    35         // Make they have access 
    36         if (($result = $this->noDomainPrivs())) { 
    37             return $result; 
    38         } 
    3935        // Make sure doamin was supplied 
    4036        if (($result = $this->noDomainSupplied())) {