Skip to content

Commit

Permalink
Merge pull request #15 from Crizz0/update-html-fix-strict-warning
Browse files Browse the repository at this point in the history
Remove XHTML, new version, public static changes
  • Loading branch information
Crizz0 authored Dec 31, 2023
2 parents 41a736e + e6a0f2f commit 6b6382e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions adm/style/acp_ipanonym_main.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ <h1>{{ lang('ACP_IP_ANONYM_MAIN') }}</h1>
<dl>
<dt><label for="crizzo_ipanonym_enable">{{ lang('ACP_IP_ANONYM_ENABLE')}}{{ lang('COLON') }}</label><br><span>{{ lang('ACP_IP_ANONYM_ENABLE_EXPLAIN')}}</span></dt>
<dd>
<label><input type="radio" class="radio" id="crizzo_ipanonym_enable" name="crizzo_ipanonym_enable" value="1" {% if IP_ANONYM_ENABLED %}checked="checked"{% endif %}/> {{ lang('YES') }}</label>
<label><input type="radio" class="radio" name="crizzo_ipanonym_enable" value="0" {% if not IP_ANONYM_ENABLED %}checked="checked"{% endif %}/> {{ lang('NO') }}</label>
<label><input type="radio" class="radio" id="crizzo_ipanonym_enable" name="crizzo_ipanonym_enable" value="1" {% if IP_ANONYM_ENABLED %} checked {% endif %}> {{ lang('YES') }}</label>
<label><input type="radio" class="radio" name="crizzo_ipanonym_enable" value="0" {% if not IP_ANONYM_ENABLED %} checked {% endif %}> {{ lang('NO') }}</label>
</dd>
</dl>

Expand All @@ -41,7 +41,7 @@ <h1>{{ lang('ACP_IP_ANONYM_MAIN') }}</h1>
</fieldset>

<fieldset class="submit-buttons">
<input class="button1" type="submit" id="submit" name="submit" value="{{ lang('SUBMIT') }}" />&nbsp;
<input class="button1" type="submit" id="submit" name="submit" value="{{ lang('SUBMIT') }}">&nbsp;
{{ S_FORM_TOKEN }}
</fieldset>
</form>
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"type": "phpbb-extension",
"description": "This phpBB extension will anonymise the user's IP in posts, logs, sessions etc.",
"homepage": "https://github.com/Crizz0/ipanonym",
"version": "1.0.4-dev",
"time": "2020-08-26",
"version": "1.0.4",
"time": "2023-12-31",
"license": "GPL-2.0-only",
"authors": [{
"name": "Christian Schnegelberger",
Expand Down
2 changes: 1 addition & 1 deletion event/permission_listener.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function __construct(\phpbb\auth\auth $auth)
$this->auth = $auth;
}

static public function getSubscribedEvents()
public static function getSubscribedEvents()
{
return array(
'core.permissions' => 'permissions',
Expand Down
2 changes: 1 addition & 1 deletion migrations/init_install.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function effectively_installed()
return isset($this->config['crizzo_ipanonym_enable']);
}

static public function depends_on()
public static function depends_on()
{
return array(
'\phpbb\db\migration\data\v32x\v324',
Expand Down
2 changes: 1 addition & 1 deletion migrations/v102.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class v102 extends \phpbb\db\migration\migration
{
static public function depends_on()
public static function depends_on()
{
return array(
'\crizzo\ipanonym\migrations\init_install',
Expand Down

0 comments on commit 6b6382e

Please sign in to comment.