Skip to content

Commit

Permalink
Merge pull request Kunena#134 from xillibit/master
Browse files Browse the repository at this point in the history
# [Kunena#133] Bug in page titles and meta descriptions
  • Loading branch information
fxstein committed Sep 11, 2011
2 parents ce2e737 + a7f66a1 commit a14848a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/com_kunena/CHANGELOG.php
Expand Up @@ -33,6 +33,9 @@
Kunena 1.7.1-DEV
10-September-2011 Xillibit
# [#133] Bug in page titles and meta descriptions
3-September-2011 Xillibit
# [#120] PHP Fatal error: Class 'JDocumentHTML' not found in template
# [#104] Template Manager cannot list more then 20 templates
Expand Down
2 changes: 1 addition & 1 deletion components/com_kunena/funcs/showcat.php
Expand Up @@ -158,7 +158,7 @@ function __construct($catid, $page=0) {

//meta description and keywords
$metaKeys = kunena_htmlspecialchars ( JText::_('COM_KUNENA_CATEGORIES') . ", {$objCatParentInfo->name}, {$this->objCatInfo->name}, {$this->config->board_title}, " . $this->app->getCfg ( 'sitename' ) );
$metaDesc = kunena_htmlspecialchars ( "{$objCatParentInfo->name} ({$this->page}/{$this->totalpages}) - {$this->objCatInfo->name} - {$this->config->board_title}" );
$metaDesc = kunena_htmlspecialchars ( "{$objCatParentInfo->description} ({$this->page}/{$this->totalpages})" );

$document = & JFactory::getDocument ();
$cur = $document->get ( 'description' );
Expand Down

0 comments on commit a14848a

Please sign in to comment.