code cleanup

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2020-03-14 07:03:04 +01:00
parent e4f64b41bc
commit 39fc249596
2 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
class ModelAuditRemoval extends Model {
public function get_pending_removals($page_len = 0) {
public function get_pending_removals($page = 0, $page_len = 0) {
$limit = '';
$from = (int)$page * (int)$page_len;

View File

@ -3,15 +3,15 @@
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid"<?php if($settings['background_colour']) { ?> style="background: <?php print $settings['background_colour']; ?>;"<?php } ?>>
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand"<?php if($settings['branding_url']) { ?> target="_blank" href="<?php print $settings['branding_url']; ?>" title="<?php print $settings['branding_text']; ?>"<?php } ?>><?php if($settings['branding_logo']) { ?><img src="<?php print $settings['branding_logo']; ?>" alt="<?php print $settings['branding_text']; ?>" /><?php } ?></a>
<div class="nav-collapse collapse">
<ul class="nav">
@ -79,9 +79,9 @@
<?php } ?>
</ul>
<ul class="nav pull-right">
<?php if($settings['branding_url']) { ?>
<?php if($settings['branding_url']) { ?>
<li><a href="<?php print $settings['branding_url']; ?>" <?php if($settings['text_colour']) { ?> style="color: <?php print $settings['text_colour']; ?>;"<?php } ?> target="_blank"><i class="icon-phone"></i>&nbsp;<?php print $settings['branding_text']; ?></a></li>
<?php } ?>
@ -97,7 +97,7 @@
<li><a href="logout.php"><i class="icon-off"></i>&nbsp;<?php print $text_logout; ?></a></li>
</ul>
</li>
</ul>
</ul>
</div><!--/.nav-collapse -->
</div>
</div>