mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 01:15:13 +00:00
change thread_maxlevel default
This commit is contained in:
parent
c8ed767a85
commit
c0e25dc9b4
3 changed files with 3 additions and 3 deletions
|
@ -495,7 +495,7 @@ class ThreadItem {
|
|||
'wait' => t('Please wait'),
|
||||
'submid' => str_replace(['+','='], ['',''], base64_encode($item['mid'])),
|
||||
'thread_level' => $thread_level,
|
||||
'thread_max' => intval(get_config('system','thread_maxlevel',2)) + 1
|
||||
'thread_max' => intval(get_config('system','thread_maxlevel',10)) + 1
|
||||
);
|
||||
|
||||
$arr = array('item' => $item, 'output' => $tmp_item);
|
||||
|
|
|
@ -504,7 +504,7 @@ function bb_ShareAttributes($match) {
|
|||
$headline = '<div class="shared_container"> <div class="shared_header">';
|
||||
|
||||
if ($avatar != "")
|
||||
$headline .= '<a href="' . (($auth) ? zid($profile) : $profile) . '" ><img src="' . $avatar . '" alt="' . $author . '" height="32" width="32" /></a>';
|
||||
$headline .= '<a href="' . (($auth) ? zid($profile) : $profile) . '" ><img src="' . $avatar . '" alt="' . htmlspecialchars($author,ENT_COMPAT,'UTF-8',false) . '" height="32" width="32" /></a>';
|
||||
|
||||
if(strpos($link,'/cards/'))
|
||||
$type = t('card');
|
||||
|
|
|
@ -1479,7 +1479,7 @@ function get_item_children($arr, $parent) {
|
|||
}
|
||||
|
||||
$thread_allow = get_config('system','thread_allow',true);
|
||||
$thread_max = intval(get_config('system','thread_maxlevel',2));
|
||||
$thread_max = intval(get_config('system','thread_maxlevel',10));
|
||||
|
||||
foreach ($arr as $item) {
|
||||
if (intval($item['id']) !== intval($item['parent'])) {
|
||||
|
|
Loading…
Reference in a new issue