Dotclear


Ignore:
Timestamp:
12/02/11 08:50:18 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Message:

Last updates to getURLFor : removed blog url from function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.xmlrpc.php

    r772 r776  
    694694                    'description' => $rs->cat_title, 
    695695                    'categoryName' => $rs->cat_url, 
    696                     'htmlUrl' => $this->core->url->getURLFor('category',$rs->cat_url), 
    697                     'rssUrl' => $this->core->url->getURLFor('feed','category/'.$rs->cat_url.'/rss2') 
     696                    'htmlUrl' => $this->core->blog->url. 
     697                         $this->core->url->getURLFor('category',$rs->cat_url), 
     698                    'rssUrl' => $this->core->blog->url. 
     699                         $this->core->url->getURLFor('feed','category/'.$rs->cat_url.'/rss2') 
    698700               ); 
    699701                
     
    10721074           
    10731075          $res = array(); 
    1074           $url   = $this->core->url->getURLFor('tag','%s'); 
    1075           $f_url = $this->core->url->getURLFor('tag_feed','%s'); 
     1076          $url   = $this->core->blog->url. 
     1077               $this->core->url->getURLFor('tag','%s'); 
     1078          $f_url = $this->core->blog->url. 
     1079               $this->core->url->getURLFor('tag_feed','%s'); 
    10761080          while ($tags->fetch()) 
    10771081          { 
Note: See TracChangeset for help on using the changeset viewer.

Sites map