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 { class ModelAuditRemoval extends Model {
public function get_pending_removals($page_len = 0) { public function get_pending_removals($page = 0, $page_len = 0) {
$limit = ''; $limit = '';
$from = (int)$page * (int)$page_len; $from = (int)$page * (int)$page_len;

View File

@ -81,7 +81,7 @@
</ul> </ul>
<ul class="nav pull-right"> <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> <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 } ?> <?php } ?>