forked from GNUsocial/gnu-social
		
	Corrected links to tagrss and add fancy URL for tag rss
This commit is contained in:
		@@ -69,7 +69,7 @@ class TagAction extends StreamAction {
 | 
				
			|||||||
			$this->public_views_menu();
 | 
								$this->public_views_menu();
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		else {
 | 
							else {
 | 
				
			||||||
			$this->show_feeds_list(array(0=>array('href'=>common_local_url('tagrss'),
 | 
								$this->show_feeds_list(array(0=>array('href'=>common_local_url('tagrss', array('tag' => $tag)),
 | 
				
			||||||
												  'type' => 'rss',
 | 
																	  'type' => 'rss',
 | 
				
			||||||
												  'version' => 'RSS 1.0',
 | 
																	  'version' => 'RSS 1.0',
 | 
				
			||||||
												  'item' => 'tagrss')));
 | 
																	  'item' => 'tagrss')));
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1206,6 +1206,10 @@ function common_fancy_url($action, $args=NULL) {
 | 
				
			|||||||
			$path = 'tags';
 | 
								$path = 'tags';
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
		return common_path($path . (($args) ? ('?' . http_build_query($args)) : ''));
 | 
							return common_path($path . (($args) ? ('?' . http_build_query($args)) : ''));
 | 
				
			||||||
 | 
						 case 'tagrss':
 | 
				
			||||||
 | 
					        $path = 'tag/' . $args['tag'] . '/rss';
 | 
				
			||||||
 | 
					        unset($args['tag']);
 | 
				
			||||||
 | 
							return common_path($path . (($args) ? ('?' . http_build_query($args)) : ''));
 | 
				
			||||||
	 case 'peopletag':
 | 
						 case 'peopletag':
 | 
				
			||||||
		$path = 'peopletag/' . $args['tag'];
 | 
							$path = 'peopletag/' . $args['tag'];
 | 
				
			||||||
		unset($args['tag']);
 | 
							unset($args['tag']);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user