mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 13:24:01 -07:00
[TEMP] Prevent issue with undefined lang variable (#694)
This commit is contained in:
parent
dc25a1c0e0
commit
5183b3e7ab
3 changed files with 2 additions and 4 deletions
|
@ -118,8 +118,6 @@ $lang['LOADING'] = 'Loading...';
|
||||||
$lang['JUMPBOX_TITLE'] = 'Select forum';
|
$lang['JUMPBOX_TITLE'] = 'Select forum';
|
||||||
$lang['DISPLAYING_OPTIONS'] = 'Displaying options';
|
$lang['DISPLAYING_OPTIONS'] = 'Displaying options';
|
||||||
|
|
||||||
$lang['COPY_TO_CLIPBOARD'] = 'Copy to clipboard';
|
|
||||||
|
|
||||||
// Global Header strings
|
// Global Header strings
|
||||||
$lang['REGISTERED_USERS'] = 'Registered Users:';
|
$lang['REGISTERED_USERS'] = 'Registered Users:';
|
||||||
$lang['BROWSING_FORUM'] = 'Users browsing this forum:';
|
$lang['BROWSING_FORUM'] = 'Users browsing this forum:';
|
||||||
|
|
|
@ -164,7 +164,7 @@ class Dev
|
||||||
$log .= ''
|
$log .= ''
|
||||||
. '<div onmouseout="$(this).removeClass(\'sqlHover\');" onmouseover="$(this).addClass(\'sqlHover\');" onclick="$(this).toggleClass(\'sqlHighlight\');" class="sqlLogRow" title="' . $info . '">'
|
. '<div onmouseout="$(this).removeClass(\'sqlHover\');" onmouseover="$(this).addClass(\'sqlHover\');" onclick="$(this).toggleClass(\'sqlHighlight\');" class="sqlLogRow" title="' . $info . '">'
|
||||||
. '<span style="letter-spacing: -1px;">' . $time . ' </span>'
|
. '<span style="letter-spacing: -1px;">' . $time . ' </span>'
|
||||||
. '<span class="copyElement" data-clipboard-target="#' . $id . '" title="' . $lang['COPY_TO_CLIPBOARD'] . '" style="color: gray; letter-spacing: -1px;">' . $perc . '</span>'
|
. '<span class="copyElement" data-clipboard-target="#' . $id . '" title="Copy to clipboard" style="color: gray; letter-spacing: -1px;">' . $perc . '</span>'
|
||||||
. ' '
|
. ' '
|
||||||
. '<span style="letter-spacing: 0;" id="' . $id . '">' . $sql . '</span>'
|
. '<span style="letter-spacing: 0;" id="' . $id . '">' . $sql . '</span>'
|
||||||
. '<span style="color: gray"> # ' . $info . ' </span>'
|
. '<span style="color: gray"> # ' . $info . ' </span>'
|
||||||
|
|
|
@ -993,7 +993,7 @@ class SqlDb
|
||||||
<table width="98%" cellpadding="0" cellspacing="0" class="bodyline row2 bCenter" style="border-bottom: 0;">
|
<table width="98%" cellpadding="0" cellspacing="0" class="bodyline row2 bCenter" style="border-bottom: 0;">
|
||||||
<tr>
|
<tr>
|
||||||
<th style="height: 22px; cursor: pointer;" align="left"> ' . $dbg['src'] . ' [' . sprintf('%.4f', $dbg['time']) . ' s] <i>' . $dbg['info'] . '</i></th>
|
<th style="height: 22px; cursor: pointer;" align="left"> ' . $dbg['src'] . ' [' . sprintf('%.4f', $dbg['time']) . ' s] <i>' . $dbg['info'] . '</i></th>
|
||||||
<th class="copyElement" data-clipboard-target="#' . $htid . '" style="height: 22px; cursor: pointer;" align="right" title="' . $lang['COPY_TO_CLIPBOARD'] . '">' . "[$this->engine] $this->db_server.$this->selected_db" . ' :: Query #' . ($this->num_queries + 1) . ' </th>
|
<th class="copyElement" data-clipboard-target="#' . $htid . '" style="height: 22px; cursor: pointer;" align="right" title="Copy to clipboard">' . "[$this->engine] $this->db_server.$this->selected_db" . ' :: Query #' . ($this->num_queries + 1) . ' </th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr><td colspan="2">' . $this->explain_hold . '</td></tr>
|
<tr><td colspan="2">' . $this->explain_hold . '</td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue