Удаляем "Powered by Kunena forum"
1.7.x
Ищем вот такой кусочек
// Credits echo '<div class="kcredits kms"> ' . CKunenaLink::GetTeamCreditsLink ( $catid, JText::_('COM_KUNENA_POWEREDBY') ). ' ' . CKunenaLink::GetCreditsLink (); if ($this->params->get('templatebyText')!=''): echo ' :: <a href ="'. $this->params->get('templatebyLink').'" rel="follow">' . $this->params->get('templatebyText') ; if ($this->params->get('templatebyName')) { echo ' '.$this->params->get('templatebyName').'</a>'; } else { echo '</a>'; } endif; echo '</div>';
и просто комментируем:
// Credits /* echo '<div class="kcredits kms"> ' . CKunenaLink::GetTeamCreditsLink ( $catid, JText::_('COM_KUNENA_POWEREDBY') ). ' ' . CKunenaLink::GetCreditsLink (); if ($this->params->get('templatebyText')!=''): echo ' :: <a href ="'. $this->params->get('templatebyLink').'" rel="follow">' . $this->params->get('templatebyText') ; if ($this->params->get('templatebyName')) { echo ' '.$this->params->get('templatebyName').'</a>'; } else { echo '</a>'; } endif; echo '</div>'; */
2.0.x
Редактируем файл /administrator/components/com_kunena/libraries/view.php
Ищем функцию «function poweredBy» содержащую вот такие строки:
final public function poweredBy() { $credits = '<div style="text-align:center">'; $credits .= JHTML::_('kunenaforum.link', 'index.php?option=com_kunena&view=credits', JText::_('COM_KUNENA_POWEREDBY'), '', '', 'follow', array('style'=>'display: inline; visibility: hidden; text-decoration: none;')); $credits .= ' <a href="http://www.kunena.org" rel="follow" target="_blank" style="display: inline; visibility: hidden; text-decoration: none;">'.JText::_('COM_KUNENA').'</a>'; if ($this->ktemplate->params->get('templatebyText')) { $credits .= ' :: <a href ="'. $this->ktemplate->params->get('templatebyLink').'" rel="follow" target="_blank" style="text-decoration: none;">' . $this->ktemplate->params->get('templatebyText') .' '. $this->ktemplate->params->get('templatebyName') .'</a>'; } $credits .= '</div>'; echo $credits;
Заменяем все
visibility: visible;
на
visibility: hidden;
или, что гораздо проще вообще все удаляем:
final public function poweredBy() { }