Skip to content

Commit

Permalink
fix to com_content
Browse files Browse the repository at this point in the history
  • Loading branch information
CB9TOIIIA committed Nov 22, 2016
1 parent 3a60f19 commit b0aa8f4
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 19 deletions.
2 changes: 1 addition & 1 deletion views/articles/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');

Expand Down
3 changes: 1 addition & 2 deletions views/auhorsprofile/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,11 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');


}

}

3 changes: 1 addition & 2 deletions views/autors/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,11 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');


}

}

3 changes: 1 addition & 2 deletions views/disqus/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,11 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');


}

}

3 changes: 1 addition & 2 deletions views/index/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,11 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');


}

}

3 changes: 1 addition & 2 deletions views/orders/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,11 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');


}

}

4 changes: 2 additions & 2 deletions views/report/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function display( $tpl = null )
*/
protected function _setToolBar()
{
JToolBarHelper::title( JText::_( 'Генератор отчетов' ) );
JToolBarHelper::title( JText::_( 'Статистика тегов' ) );
JToolbarHelper::divider();

$component = JComponentHelper::getComponent('com_myjbzoostat');
Expand Down Expand Up @@ -115,7 +115,7 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');

Expand Down
3 changes: 1 addition & 2 deletions views/reportauthors/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,11 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');


}

}

3 changes: 1 addition & 2 deletions views/social/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,11 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');


}

}

3 changes: 1 addition & 2 deletions views/tags/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,11 @@ protected function _setToolBar()
$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=report\" class=\"btn btn-small\"><i class=\"icon-signup\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');
if (JComponentHelper::isEnabled('com_zoo') == '1') { $bar->appendButton('Custom', $dhtml, 'list'); }

JToolBarHelper::preferences('com_myjbzoostat');


}

}

0 comments on commit b0aa8f4

Please sign in to comment.