Skip to content

Commit 68d1c1a

Browse files
committed
Revert ACP template event and fix error message in acp_users
The other event was better. And with <hr /> it looks really nice :)
1 parent 254317a commit 68d1c1a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<!-- IF .ppp_setting -->
2-
<fieldset>
2+
<hr />
33
<!-- BEGIN ppp_setting -->
44
<dl>
55
<dt><label for="{ppp_setting.KEY}">{ppp_setting.TITLE}{L_COLON}</label><!-- IF ppp_setting.EXPLAIN --><br /><span>{ppp_setting.EXPLAIN}</span><!-- ENDIF --></dt>
66
<dd><input id="{ppp_setting.KEY}" type="number" maxlength="{ppp_setting.MAX_LENGTH}" min="{ppp_setting.MIN}" max="{ppp_setting.MAX}" name="{ppp_setting.KEY}" value="{ppp_setting.VALUE}" /></dd>
77
</dl>
88
<!-- END ppp_setting -->
9-
</fieldset>
109
<!-- ENDIF -->

event/listener.php

+2
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,8 @@ public function update_config_in_acp_users($event)
358358
return;
359359
}
360360

361+
$this->user->add_lang_ext('elsensee/postsperpage', 'common');
362+
361363
$data = array();
362364
$error = $this->validate_request_vars($data, $event['user_row'], true);
363365
if (sizeof($error))

0 commit comments

Comments
 (0)