mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-11 07:27:58 +00:00
add new settings
This commit is contained in:
parent
3ce35066b0
commit
4f311b964d
@ -109,6 +109,15 @@ define('MAGNET_KT_REGEX', '/[\w]+/ui');
|
||||
define('MAGNET_KT_MIN_QUANTITY', 0);
|
||||
define('MAGNET_KT_MAX_QUANTITY', 10);
|
||||
|
||||
define('MAGNET_TR_MIN_QUANTITY', 1);
|
||||
define('MAGNET_TR_MAX_QUANTITY', 50);
|
||||
|
||||
define('MAGNET_AS_MIN_QUANTITY', 0);
|
||||
define('MAGNET_AS_MAX_QUANTITY', 50);
|
||||
|
||||
define('MAGNET_WS_MIN_QUANTITY', 0);
|
||||
define('MAGNET_WS_MAX_QUANTITY', 50);
|
||||
|
||||
define('MAGNET_STOP_WORDS_SIMILAR',
|
||||
[
|
||||
'series',
|
||||
|
@ -92,6 +92,15 @@ try
|
||||
'MAGNET_KT_MAX_QUANTITY' => (int) MAGNET_KT_MAX_QUANTITY,
|
||||
'MAGNET_KT_REGEX' => (string) MAGNET_KT_REGEX,
|
||||
|
||||
'MAGNET_TR_MIN_QUANTITY' => (int) MAGNET_TR_MIN_QUANTITY,
|
||||
'MAGNET_TR_MAX_QUANTITY' => (int) MAGNET_TR_MAX_QUANTITY,
|
||||
|
||||
'MAGNET_AS_MIN_QUANTITY' => (int) MAGNET_AS_MIN_QUANTITY,
|
||||
'MAGNET_AS_MAX_QUANTITY' => (int) MAGNET_AS_MAX_QUANTITY,
|
||||
|
||||
'MAGNET_WS_MIN_QUANTITY' => (int) MAGNET_WS_MIN_QUANTITY,
|
||||
'MAGNET_WS_MAX_QUANTITY' => (int) MAGNET_WS_MAX_QUANTITY,
|
||||
|
||||
'MAGNET_COMMENT_DEFAULT_APPROVED' => (bool) MAGNET_COMMENT_DEFAULT_APPROVED,
|
||||
'MAGNET_COMMENT_DEFAULT_PUBLIC' => (bool) MAGNET_COMMENT_DEFAULT_PUBLIC,
|
||||
'MAGNET_COMMENT_DEFAULT_PUBLIC' => (bool) MAGNET_COMMENT_DEFAULT_PUBLIC,
|
||||
|
@ -354,6 +354,24 @@ else if (is_null($user->public))
|
||||
<?php echo MAGNET_KT_MIN_QUANTITY ?>-<?php echo MAGNET_KT_MAX_QUANTITY ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo _('TR, quantity') ?></td>
|
||||
<td>
|
||||
<?php echo MAGNET_TR_MIN_QUANTITY ?>-<?php echo MAGNET_TR_MAX_QUANTITY ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo _('AS, quantity') ?></td>
|
||||
<td>
|
||||
<?php echo MAGNET_AS_MIN_QUANTITY ?>-<?php echo MAGNET_AS_MAX_QUANTITY ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo _('WS, quantity') ?></td>
|
||||
<td>
|
||||
<?php echo MAGNET_WS_MIN_QUANTITY ?>-<?php echo MAGNET_WS_MAX_QUANTITY ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="padding-y-8 border-bottom-default text-right" colspan="2">
|
||||
<?php echo _('Comments') ?>
|
||||
|
Loading…
Reference in New Issue
Block a user