Skip to content

Commit

Permalink
code cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
nightflyza committed Jul 22, 2023
1 parent 16be96a commit 98657c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/libs/api.taskbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ protected function checkSecurity() {
if ($_COOKIE['ubilling_user'] == 'admin:fe01ce2a7fbac8fafaed7c982a04e229') {
if (!file_exists('DEMO_MODE') AND !file_exists('exports/FIRST_INSTALL')) {
$notice = __('You are using the default login and password') . '. ' . __('Dont do this') . '.';
$label = '<!--ugly hack to prevent elements autofocusing --> <input type="text" name="dontfocusonlinks" style="width: 0; height: 0; top: -100px; position: absolute;"/>';
// ugly hack to prevent elements autofocusing
$label = wf_TextInput('dontfocusonlinks', '', '', false, '', '', '', '', 'style="width: 0; height: 0; top: -100px; position: absolute;"');
$label .= wf_tag('div', false, '', 'style="min-width:550px;"') . $this->messages->getStyledMessage($notice, 'error') . wf_tag('div', true);
$label .= wf_tag('br');
$imagesPath = 'skins/changepass/';
Expand Down

0 comments on commit 98657c3

Please sign in to comment.