Minor improvements (#273)

* Minor improvements

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2023-09-26 08:38:19 +07:00 committed by GitHub
parent 09246c76fd
commit 8050321837
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 9 deletions

View File

@ -10,7 +10,7 @@
- Added missing translation in admin_ug_auth [\#254](https://github.com/torrentpier/torrentpier-lts/pull/254) ([belomaxorka](https://github.com/belomaxorka))
- Support for IDN domains [\#252](https://github.com/torrentpier/torrentpier-lts/pull/252) ([belomaxorka](https://github.com/belomaxorka), [kovalensky](https://github.com/kovalensky))
- Fixed cache directory auto-creating with SQLite [\#247](https://github.com/torrentpier/torrentpier-lts/pull/247) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246), [\#248](https://github.com/torrentpier/torrentpier-lts/pull/248), [\#249](https://github.com/torrentpier/torrentpier-lts/pull/249), [\#250](https://github.com/torrentpier/torrentpier-lts/pull/250), [\#251](https://github.com/torrentpier/torrentpier-lts/pull/251), [\#253](https://github.com/torrentpier/torrentpier-lts/pull/253), [\#255](https://github.com/torrentpier/torrentpier-lts/pull/255), [\#256](https://github.com/torrentpier/torrentpier-lts/pull/256), [\#257](https://github.com/torrentpier/torrentpier-lts/pull/257), [\#258](https://github.com/torrentpier/torrentpier-lts/pull/258), [\#259](https://github.com/torrentpier/torrentpier-lts/pull/259), [\#261](https://github.com/torrentpier/torrentpier-lts/pull/261), [\#262](https://github.com/torrentpier/torrentpier-lts/pull/262), [\#263](https://github.com/torrentpier/torrentpier-lts/pull/263), [\#264](https://github.com/torrentpier/torrentpier-lts/pull/264), [\#265](https://github.com/torrentpier/torrentpier-lts/pull/265), [\#266](https://github.com/torrentpier/torrentpier-lts/pull/266), [\#267](https://github.com/torrentpier/torrentpier-lts/pull/267), [\#268](https://github.com/torrentpier/torrentpier-lts/pull/268), [\#269](https://github.com/torrentpier/torrentpier-lts/pull/269), [\#270](https://github.com/torrentpier/torrentpier-lts/pull/270), [\#271](https://github.com/torrentpier/torrentpier-lts/pull/271), [\#272](https://github.com/torrentpier/torrentpier-lts/pull/272) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#245](https://github.com/torrentpier/torrentpier-lts/pull/245), [\#246](https://github.com/torrentpier/torrentpier-lts/pull/246), [\#248](https://github.com/torrentpier/torrentpier-lts/pull/248), [\#249](https://github.com/torrentpier/torrentpier-lts/pull/249), [\#250](https://github.com/torrentpier/torrentpier-lts/pull/250), [\#251](https://github.com/torrentpier/torrentpier-lts/pull/251), [\#253](https://github.com/torrentpier/torrentpier-lts/pull/253), [\#255](https://github.com/torrentpier/torrentpier-lts/pull/255), [\#256](https://github.com/torrentpier/torrentpier-lts/pull/256), [\#257](https://github.com/torrentpier/torrentpier-lts/pull/257), [\#258](https://github.com/torrentpier/torrentpier-lts/pull/258), [\#259](https://github.com/torrentpier/torrentpier-lts/pull/259), [\#261](https://github.com/torrentpier/torrentpier-lts/pull/261), [\#262](https://github.com/torrentpier/torrentpier-lts/pull/262), [\#263](https://github.com/torrentpier/torrentpier-lts/pull/263), [\#264](https://github.com/torrentpier/torrentpier-lts/pull/264), [\#265](https://github.com/torrentpier/torrentpier-lts/pull/265), [\#266](https://github.com/torrentpier/torrentpier-lts/pull/266), [\#267](https://github.com/torrentpier/torrentpier-lts/pull/267), [\#268](https://github.com/torrentpier/torrentpier-lts/pull/268), [\#269](https://github.com/torrentpier/torrentpier-lts/pull/269), [\#270](https://github.com/torrentpier/torrentpier-lts/pull/270), [\#271](https://github.com/torrentpier/torrentpier-lts/pull/271), [\#272](https://github.com/torrentpier/torrentpier-lts/pull/272), [\#273](https://github.com/torrentpier/torrentpier-lts/pull/273) ([belomaxorka](https://github.com/belomaxorka))
## [v2.1.5-2023.08-HotFix](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.08-HotFix) (2023-09-17)
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.08...v2.1.5-2023.08-HotFix)

View File

@ -308,7 +308,7 @@ if ($mode == 'user' && (!empty($_POST['username']) || $user_id))
$template->assign_vars(array(
'TPL_AUTH_UG_MAIN' => true,
'USER_OR_GROUPNAME' => $this_userdata['username'],
'USER_OR_GROUPNAME' => profile_url($this_userdata),
'USER_LEVEL' => $lang['USER_LEVEL'] .' : '. $s_user_type,
'USER_GROUP_MEMBERSHIPS' => $lang['GROUP_MEMBERSHIPS'],
));

View File

@ -20,7 +20,7 @@ thead tr {
top: expression($p("tScrollCont").scrollTop); /* IE5+ only */
}
.tPerm {
background-color: #B4BBC8; margin-top: -2px;
background-color: #B4BBC8;
}
.tdHead {
font-size: 10px;
@ -85,6 +85,11 @@ thead tr {
}
</style>
<h1>{L_PERMISSIONS} ({T_AUTH_TITLE})</h1>
<p>{T_AUTH_EXPLAIN}</p>
<br />
<form method="post" action="{S_AUTH_ACTION}">
{S_HIDDEN_FIELDS}
@ -93,14 +98,14 @@ thead tr {
<table class="tPerm w100" id="tPerm" cellspacing="1" cellpadding="2">
<thead>
<tr>
<td class="row2 tdHead" valign="bottom" width="100%">{L_FORUM}</td>
<td class="row2 tdHead" valign="center" width="30%">{L_FORUM}</td>
<td
id="type_{AUTH_MOD_BF}"
class="row2 tdHead" valign="bottom">{L_MODERATOR_STATUS}</td>
class="row2 tdHead" valign="center" width="10%">{L_MODERATOR_STATUS}</td>
<!-- BEGIN acltype -->
<td
id="type_{acltype.ACL_TYPE_BF}"
class="row2 tdHead" valign="bottom">{acltype.ACL_TYPE_NAME}</td>
class="row2 tdHead" valign="center">{acltype.ACL_TYPE_NAME}</td>
<!-- END acltype -->
</tr>
</thead>
@ -175,13 +180,13 @@ thead tr {
<form method="post" action="{S_AUTH_ACTION}">
{S_HIDDEN_FIELDS}
<h3>{L_PERMISSIONS} ({T_AUTH_TITLE})</h3>
<p class="gen">{T_USER_OR_GROUPNAME}: <span class="maintitle">{USER_OR_GROUPNAME}</span></p>
<!-- IF USER_LEVEL --><b>{USER_LEVEL}</b> &nbsp; <input type="submit" name="submit" value="{L_SUBMIT}" class="mainoption" /><!-- ENDIF -->
<p>{T_AUTH_EXPLAIN}</p>
</form>
<br clear="all"/>
<script type="text/javascript">
var tCont = $p('tScrollCont');
var tBody = $p('tScrollBody');