Skip to content

Commit

Permalink
Fix issue with direct (de)activating
Browse files Browse the repository at this point in the history
  • Loading branch information
instantflorian committed Jan 28, 2023
1 parent b890024 commit 146d002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/modify.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<?php echo $post['group_title'] ?>
</td>
<td>
<a href="<?php echo WB_URL; ?>/modules/news_img/activate_post.php?page_id=<?php echo $page_id; ?>&amp;section_id=<?php echo $section_id; ?>&amp;post_id=<?php echo $post['id_key']; ?>&amp;value=<?php echo $post['active']!=0 ? '0':'1'; ?>');" title="<?php if ($post['active'] == 1): echo $MOD_NEWS_IMG['DEACTIVATE_POST']; else: echo $MOD_NEWS_IMG['ACTIVATE_POST']; endif;?>">
<a href="<?php echo WB_URL; ?>/modules/news_img/activate_post.php?page_id=<?php echo $page_id; ?>&amp;section_id=<?php echo $section_id; ?>&amp;post_id=<?php echo $post['id_key']; ?>&amp;value=<?php echo $post['active']!=0 ? '0':'1'; ?>" title="<?php if ($post['active'] == 1): echo $MOD_NEWS_IMG['DEACTIVATE_POST']; else: echo $MOD_NEWS_IMG['ACTIVATE_POST']; endif;?>">
<?php if ($post['active'] == 1): ?>
<span class="fa fa-fw fa-eye nwi-active"></span>
<?php else: ?>
Expand Down

0 comments on commit 146d002

Please sign in to comment.