mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Minor improvements (#1406)
* Minor improvements * Update viewtopic.tpl * Update page_footer.php * Update admin_forums.php * Update CHANGELOG.md
This commit is contained in:
parent
059bc61547
commit
87034e3ad8
5 changed files with 5 additions and 14 deletions
|
@ -17,7 +17,7 @@
|
||||||
- Fixed Undefined variable $wordCensor [\#1400](https://github.com/torrentpier/torrentpier/pull/1400) ([belomaxorka](https://github.com/belomaxorka))
|
- Fixed Undefined variable $wordCensor [\#1400](https://github.com/torrentpier/torrentpier/pull/1400) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Improved word censor 🤐 [\#1393](https://github.com/torrentpier/torrentpier/pull/1393) ([belomaxorka](https://github.com/belomaxorka))
|
- Improved word censor 🤐 [\#1393](https://github.com/torrentpier/torrentpier/pull/1393) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Used hashing for filenames generation [\#1385](https://github.com/torrentpier/torrentpier/pull/1385) ([belomaxorka](https://github.com/belomaxorka))
|
- Used hashing for filenames generation [\#1385](https://github.com/torrentpier/torrentpier/pull/1385) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Minor improvements [\#1382](https://github.com/torrentpier/torrentpier/pull/1382), [\#1383](https://github.com/torrentpier/torrentpier/pull/1383), [\#1391](https://github.com/torrentpier/torrentpier/pull/1391), [\#1398](https://github.com/torrentpier/torrentpier/pull/1398), [\#1405](https://github.com/torrentpier/torrentpier/pull/1405) ([belomaxorka](https://github.com/belomaxorka))
|
- Minor improvements [\#1382](https://github.com/torrentpier/torrentpier/pull/1382), [\#1383](https://github.com/torrentpier/torrentpier/pull/1383), [\#1391](https://github.com/torrentpier/torrentpier/pull/1391), [\#1398](https://github.com/torrentpier/torrentpier/pull/1398), [\#1405](https://github.com/torrentpier/torrentpier/pull/1405), [\#1406](https://github.com/torrentpier/torrentpier/pull/1406) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Some bugfixes [\#1380](https://github.com/torrentpier/torrentpier/pull/1380) ([belomaxorka](https://github.com/belomaxorka))
|
- Some bugfixes [\#1380](https://github.com/torrentpier/torrentpier/pull/1380) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- New Crowdin updates [\#1384](https://github.com/torrentpier/torrentpier/pull/1384), [\#1389](https://github.com/torrentpier/torrentpier/pull/1389), [\#1392](https://github.com/torrentpier/torrentpier/pull/1392), [\#1402](https://github.com/torrentpier/torrentpier/pull/1402), [\#1403](https://github.com/torrentpier/torrentpier/pull/1403) ([Exileum](https://github.com/Exileum))
|
- New Crowdin updates [\#1384](https://github.com/torrentpier/torrentpier/pull/1384), [\#1389](https://github.com/torrentpier/torrentpier/pull/1389), [\#1392](https://github.com/torrentpier/torrentpier/pull/1392), [\#1402](https://github.com/torrentpier/torrentpier/pull/1402), [\#1403](https://github.com/torrentpier/torrentpier/pull/1403) ([Exileum](https://github.com/Exileum))
|
||||||
|
|
||||||
|
|
|
@ -54,16 +54,7 @@ if (isset($_REQUEST['addforum']) || isset($_REQUEST['addcategory'])) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for demo mode
|
// Check for demo mode
|
||||||
if (IN_DEMO_MODE && in_array($mode, [
|
if (IN_DEMO_MODE && in_array($mode, ['deletecat', 'deleteforum'])) {
|
||||||
// Category
|
|
||||||
'editcat',
|
|
||||||
'modcat',
|
|
||||||
'deletecat',
|
|
||||||
// Forum
|
|
||||||
'editforum',
|
|
||||||
'modforum',
|
|
||||||
'deleteforum'
|
|
||||||
])) {
|
|
||||||
bb_die($lang['CANT_EDIT_IN_DEMO_MODE']);
|
bb_die($lang['CANT_EDIT_IN_DEMO_MODE']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ if (!empty($template)) {
|
||||||
$template->pparse('page_footer');
|
$template->pparse('page_footer');
|
||||||
}
|
}
|
||||||
|
|
||||||
$show_dbg_info = (APP_DEBUG && !(isset($_GET['pane']) && $_GET['pane'] == 'left'));
|
$show_dbg_info = (!IS_GUEST && APP_DEBUG && !(isset($_GET['pane']) && $_GET['pane'] == 'left'));
|
||||||
|
|
||||||
if (!$bb_cfg['gzip_compress']) {
|
if (!$bb_cfg['gzip_compress']) {
|
||||||
flush();
|
flush();
|
||||||
|
|
|
@ -162,7 +162,7 @@
|
||||||
<!-- IF LOGGED_IN and SHOW_FORUMS -->
|
<!-- IF LOGGED_IN and SHOW_FORUMS -->
|
||||||
<div id="mark_all_forums_read">
|
<div id="mark_all_forums_read">
|
||||||
<a href="{U_SEARCH_NEW}" class="med">{L_SEARCH_NEW}</a> ·
|
<a href="{U_SEARCH_NEW}" class="med">{L_SEARCH_NEW}</a> ·
|
||||||
<a href="{U_INDEX}" class="med" onclick="setCookie('{#COOKIE_MARK#}', 'all_forums'); window.location.reload();">{L_MARK_ALL_FORUMS_READ}</a>
|
<a href="#" class="med" onclick="setCookie('{#COOKIE_MARK#}', 'all_forums'); window.location.reload();">{L_MARK_ALL_FORUMS_READ}</a>
|
||||||
</div>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
$(document).ready(function(){ $('div.sp-head').click(); });
|
$(document).ready(function(){ $('div.sp-head').click(); });
|
||||||
</script>
|
</script>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF / LOGGED_IN -->
|
||||||
|
|
||||||
<!-- IF $bb_cfg['show_post_bbcode_button'] -->
|
<!-- IF $bb_cfg['show_post_bbcode_button'] -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -37,7 +38,6 @@
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- ENDIF / LOGGED_IN -->
|
|
||||||
|
|
||||||
<!-- IF $bb_cfg['use_ajax_posts'] && (AUTH_DELETE || AUTH_REPLY || AUTH_EDIT) -->
|
<!-- IF $bb_cfg['use_ajax_posts'] && (AUTH_DELETE || AUTH_REPLY || AUTH_EDIT) -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue