Skip to content

Commit

Permalink
Refactor footer
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy committed Feb 18, 2019
1 parent d5b6f63 commit d0b3481
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
<div class="box">
<?php

if (isset($footer_style) && ($footer_style == 'viewforum' || $footer_style == 'viewtopic') && $is_admmod)
$footer_style = isset($footer_style) ? $footer_style : NULL;

if (($footer_style == 'viewforum' || $footer_style == 'viewtopic') && $is_admmod)
{
echo "\t\t".'<div id="modcontrols" class="inbox">'."\n";

Expand Down Expand Up @@ -91,8 +93,6 @@
<?php

// If no footer style has been specified, we use the default (only copyright/debug info)
$footer_style = isset($footer_style) ? $footer_style : NULL;

if ($footer_style == 'index')
{
if ($pun_config['o_feed_type'] == '1')
Expand Down

0 comments on commit d0b3481

Please sign in to comment.