Skip to content

Commit

Permalink
fic
Browse files Browse the repository at this point in the history
  • Loading branch information
CB9TOIIIA committed Sep 18, 2016
1 parent bbf670d commit 417ecec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions views/articles/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

$document->addStyleSheet(JUri::root().'administrator/components/com_myjbzoostat/assets/css/sort.css');
$document->addStyleSheet(JUri::root().'administrator/components/com_myjbzoostat/assets/css/articles.css');
$document->addScript(JUri::root().'administrator/components/com_myjbzoostat/assets/js/sort.js');
$document->addScript(JUri::root().'administrator/components/com_myjbzoostat/assets/js/chart.js');

$document->addStyleSheet(JUri::root().'administrator/components/com_myjbzoostat/assets/css/jquery.dataTables.min.css');
Expand All @@ -21,18 +20,19 @@
echo '
<script type="text/javascript">
jQuery(document).ready(function($) {
$("#myTable2").DataTable({language:{url:"/administrator/components/com_myjbzoostat/assets/js/Russian.json"}});
$("#myTable").DataTable({language:{url:"/administrator/components/com_myjbzoostat/assets/js/Russian.json"}});
});
</script>';

//JUST DO IT 😹 $this->app ----> $app
?>

echo '
<script type="text/javascript">
jQuery(document).ready(function($) {
$("#myTable").tablesorter({});
$("#myTable2").DataTable({language:{url:"/administrator/components/com_myjbzoostat/assets/js/Russian.json"}});
});
</script>
</script>';

//JUST DO IT 😹 $this->app ----> $app
?>


<div class="item-page">
Expand Down
4 changes: 2 additions & 2 deletions views/auhorsprofile/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@

$document->addStyleSheet(JUri::root().'administrator/components/com_myjbzoostat/assets/css/auhorsprofile.css');
$document->addScript(JUri::root().'administrator/components/com_myjbzoostat/assets/js/chart.js');
$document->addStyleSheet(JUri::root().'administrator/components/com_myjbzoostat/assets/css/datepick.css');
$document->addScript(JUri::root().'administrator/components/com_myjbzoostat/assets/js/datepicker.min.js');
$document->addStyleSheet(JUri::root().'administrator/components/com_myjbzoostat/assets/css/jquery.dataTables.min.css');
$document->addScript(JUri::root().'administrator/components/com_myjbzoostat/assets/js/jquery.dataTables.min.js');
$document->addStyleSheet(JUri::root().'administrator/components/com_myjbzoostat/assets/css/datepick.css');
//JUST DO IT $this->app ----> $app
?>

Expand Down Expand Up @@ -458,7 +458,7 @@ function rdate($param, $time=0) {
echo "<td>ID</td>";
echo "<td>Дата</td>";
echo "<td>Название</td>";
echo "<td>Популярность</td>";
echo "<td>Популярность (основана на данных share соц. сетей)</td>";
if (!empty($disqusApiShort)) : echo "<td>Комментариев</td>"; endif;
echo "</tr>";
echo "</thead>";
Expand Down

0 comments on commit 417ecec

Please sign in to comment.