Browse Source

Locking permissions

pull/40/head
Savetheinternet 13 years ago
parent
commit
db17603221
  1. 3
      inc/config.php
  2. 4
      inc/functions.php

3
inc/config.php

@ -207,7 +207,8 @@
define('MOD_LINK_DELETEBYIP', '[D+]', true);
define('MOD_LINK_STICKY', '[Sticky]', true);
define('MOD_LINK_DESTICKY', '[-Sticky]', true);
define('MOD_LINK_LOCK', '[Lock]', true);
define('MOD_LINK_UNLOCK', '[-Lock]', true);
// A small file in the main directory indicating that the script has been ran and the board(s) have been generated.
// This keeps the script from querying the database and causing strain when not needed.
define('HAS_INSTALLED', '.installed', true);

4
inc/functions.php

@ -99,9 +99,9 @@
formatDate($ban['set']) .
'</strong>, and ' .
($ban['expires'] ?
'expires on <strong>' .
'expires ' . until($ban['expires']) . ' from now, which is on <strong>' .
formatDate($ban['expires']) .
'</strong>, which is ' . until($ban['expires']) . ' from now'
'</strong>'
: '<em>will not expire</em>' ) .
'.</p>
<p>Your IP address is <strong>' . $_SERVER['REMOTE_ADDR'] . '</strong>.</p>

Loading…
Cancel
Save