Skip to content

Commit

Permalink
3.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
micker committed Jun 21, 2023
1 parent 8cbb8b5 commit 18e4c92
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion mod_dashboard.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<creationDate>2023</creationDate>
<authorEmail>[email protected]</authorEmail>
<authorUrl>www.com3elles.com</authorUrl>
<version>3.1.1</version>
<version>3.1.2</version>
<copyright>Copyright (C) 2008 - 2022 Open Source Matters. All rights reserved.</copyright>
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
<description>MOD_DASHBOARD_INTRO</description>
Expand Down
14 changes: 7 additions & 7 deletions tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,25 +506,25 @@
//var_dump($catidslist);die;
switch ($block->TypofBlock) {
case ('fb'):
$show_all_link = 'index.php?option=com_content&view=featured' . implode('', $catidslist);
$show_all_link = 'index.php?option=com_content&view=featured' . empty($catidslist) ? '' : implode('', $catidslist);
break;
case ('pb'):
$show_all_link = 'index.php?option=com_content&view=articles&filter[published]=1' . implode('', $catidslist);
$show_all_link = 'index.php?option=com_content&view=articles&filter[published]=1' . empty($catidslist) ? '' : implode('', $catidslist);
break;
case ('upb'):
$show_all_link = 'index.php?option=com_content&view=articles&filter[published]=0' . implode('', $catidslist);
$show_all_link = 'index.php?option=com_content&view=articles&filter[published]=0' . empty($catidslist) ? '' : implode('', $catidslist);
break;
case ('ab'):
$show_all_link = 'index.php?option=com_content&view=articles&filter[published]=2' . implode('', $catidslist);
$show_all_link = 'index.php?option=com_content&view=articles&filter[published]=2' . empty($catidslist) ? '' : implode('', $catidslist);
break;
case ('tb'):
$show_all_link = 'index.php?option=com_content&view=articles&filter[published]=-2' . implode('', $catidslist);
$show_all_link = 'index.php?option=com_content&view=articles&filter[published]=-2' . empty($catidslist) ? '' : implode('', $catidslist);
break;
case ('ub'):
$show_all_link = 'index.php?option=com_content&view=articles&filter[author_id]=' . $user->id . implode('', $catidslist);
$show_all_link = 'index.php?option=com_content&view=articles&filter[author_id]=' . $user->id . empty($catidslist) ? '' : implode('', $catidslist);
break;
case ('cb'):
$show_all_link = 'index.php?option=com_content&view=articles&filter[author_id]=' . $user->id . implode('', $catidslist);
$show_all_link = 'index.php?option=com_content&view=articles&filter[author_id]=' . $user->id . empty($catidslist) ? '' : implode('', $catidslist);
break;
}

Expand Down
4 changes: 2 additions & 2 deletions update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<element>mod_dashboard</element>
<type>module</type>
<client>administrator</client>
<version>3.1.1</version>
<version>3.1.2</version>

<infourl title="FAQ">
https://github.com/micker/mod_dashboard/wiki
</infourl>

<downloads>
<downloadurl type="full" format="zip">https://github.com/micker/mod_dashboard/archive/v3.1.1.zip</downloadurl>
<downloadurl type="full" format="zip">https://github.com/micker/mod_dashboard/archive/v3.1.2.zip</downloadurl>
</downloads>

<tags>
Expand Down

0 comments on commit 18e4c92

Please sign in to comment.