mirror of
https://github.com/cydrobolt/polr.git
synced 2024-11-10 04:02:28 +01:00
Fix syntax error typo and prettify
This commit is contained in:
parent
9f27b76428
commit
d2b6497f7f
@ -124,10 +124,12 @@ if (!is_array($auth->islogged())) {
|
||||
</form>
|
||||
</div>';
|
||||
if ($isadmin == true) {
|
||||
echo '<div class="tab-pane" id="adminpanel"><br />'
|
||||
echo '<input type="text" id="linkAction" placeholder="baseval" style="width:30%;" class="form-control" /><a href="#" onclick="customDisableLink();" class="btn btn-sm btn-danger">Disable</a>';
|
||||
echo '<a href="#" onclick="customEnableLink();" class="btn btn-sm btn-success">Enable</a><br />';
|
||||
echo '<div class="tab-pane" id="adminpanel"><br />';
|
||||
echo 'Polr Links - Limited @ 720:' . $linksadmin . '<br>Polr Users - Limited @ 360:' . $usersadmin. '<script src="../js/ucp.js"></script>';
|
||||
echo 'Disable a Link<br />';
|
||||
echo '<input type="text" id="linkAction" placeholder="Link ending" style="width:30%;" class="form-control" />';
|
||||
echo '<div class="linkActionBtn"><a href="javascript:void()" onclick="customDisableLink();" class="btn btn-sm btn-danger">Disable</a> ';
|
||||
echo '<a href="javascript:void()" onclick="customEnableLink();" class="btn btn-sm btn-success">Enable</a></div>';
|
||||
if ($debug == 1) {
|
||||
'<br>Debug Variables: <br>Default IP Fetch: ' . $ip . '<br>X-Forwarded-For:' . @$headers['X-Forwarded-For'] . '<br>Forwarded-For' . @$headers['forwarded-for'];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user