Skip to content

Commit

Permalink
fix for com_content
Browse files Browse the repository at this point in the history
fix for com_content
  • Loading branch information
CB9TOIIIA committed Dec 20, 2016
1 parent b312eda commit e358637
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 13 deletions.
1 change: 0 additions & 1 deletion views/articles/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
Expand Down
1 change: 0 additions & 1 deletion views/auhorsprofile/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
Expand Down
1 change: 0 additions & 1 deletion views/autors/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
Expand Down
1 change: 0 additions & 1 deletion views/disqus/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
Expand Down
4 changes: 2 additions & 2 deletions views/index/tmpl/default.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
defined( '_JEXEC' ) or die;

if (JFolder::exists(JPATH_ROOT . '/components/com_zoo')) {
$checkJBZooSEF = JBModelConfig::model()->getGroup('config.sef');
$JBZooSEFenabled = $checkJBZooSEF->get('enabled');
$JBZooSEFfix_item = $checkJBZooSEF->get('fix_item');
Expand All @@ -14,7 +14,7 @@
$JBZooSEFparse_priority = $checkJBZooSEF->get('parse_priority');
$JBZooSEFcanonical_redirect = $checkJBZooSEF->get('canonical_redirect');
$JBZooSEFzoo_route_caching = $checkJBZooSEF->get('zoo_route_caching');

}

jimport('joomla.html.html.bootstrap');
require_once JPATH_ADMINISTRATOR . '/components/com_myjbzoostat/elements/paramsetc.php';
Expand Down
2 changes: 0 additions & 2 deletions views/index/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$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>";
Expand Down
1 change: 0 additions & 1 deletion views/orders/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
Expand Down
1 change: 0 additions & 1 deletion views/report/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
Expand Down
1 change: 0 additions & 1 deletion views/reportauthors/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
Expand Down
1 change: 0 additions & 1 deletion views/social/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
Expand Down
1 change: 0 additions & 1 deletion views/tags/view.html.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ protected function _setToolBar()
$dhtml = "<a href=\"/administrator/index.php?option=com_myjbzoostat&view=social\" class=\"btn btn-small\"><i class=\"icon-tree\" title=\"$title\"></i>$title</a>";
$bar->appendButton('Custom', $dhtml, 'list');

JToolBarHelper::preferences('com_myjbzoostat');

$bar = JToolBar::getInstance('toolbar');
$title = JText::_('Отчет');
Expand Down

0 comments on commit e358637

Please sign in to comment.