mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Fixes #1345 - Confusion over js cache. Use debug mode to enable if still required for some reason.
This commit is contained in:
@@ -1799,12 +1799,21 @@ $text .= "
|
||||
|
||||
$text .= "
|
||||
</tbody>
|
||||
</table>
|
||||
</table>";
|
||||
|
||||
if(E107_DEBUG_LEVEL > 0)
|
||||
{
|
||||
|
||||
|
||||
$text .= "
|
||||
<table class='table adminform' style='margin-top: 20px'>
|
||||
<colgroup>
|
||||
<col class='col-label' />
|
||||
<col class='col-control' />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr><th colspan='2'><span class='label label-warning'>DEPRECATED</span> Available only in DEBUG mode</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>".PRFLAN_248."</td>
|
||||
@@ -1836,8 +1845,21 @@ $text .= "
|
||||
</tr>
|
||||
";
|
||||
|
||||
$text .= "
|
||||
</tbody></table>";
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
$text .= "<div>".
|
||||
$frm->hidden('e_jslib_nocombine',1).
|
||||
$frm->hidden('e_jslib_nocache', 1).
|
||||
$frm->hidden('e_jslib_nobcache',1).
|
||||
$frm->hidden('e_jslib_gzip',0).
|
||||
"</div>";
|
||||
|
||||
}
|
||||
$text .= "
|
||||
</tbody></table>
|
||||
".pref_submit('javascript')."
|
||||
</fieldset>
|
||||
|
||||
|
Reference in New Issue
Block a user