소스 검색

A typo and an extra_before link_tree left over

Signed-off-by: emanuele <[email protected]>
emanuele 12 년 전
부모
커밋
3be461e99d
2개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      Sources/MessageIndex.php
  2. 0 1
      Sources/Post.php

+ 1 - 1
Sources/MessageIndex.php

@@ -572,7 +572,7 @@ function MessageIndex()
 	if (!empty($options['display_quick_mod']) && !empty($context['topics']))
 	{
 		$context['can_markread'] = $context['user']['is_logged'];
-		$context['can_lopck'] = allowedTo('lock_any');
+		$context['can_lock'] = allowedTo('lock_any');
 		$context['can_sticky'] = allowedTo('make_sticky') && !empty($modSettings['enableStickyTopics']);
 		$context['can_move'] = allowedTo('move_any');
 		$context['can_remove'] = allowedTo('remove_any');

+ 0 - 1
Sources/Post.php

@@ -2178,7 +2178,6 @@ function Post2()
 		$context['linktree'][] = array(
 			'url' => $scripturl . '?topic=' . $topic . '.0',
 			'name' => $_POST['subject'],
-			'extra_before' => $settings['linktree_inline'] ? $txt['topic'] . ': ' : ''
 		);
 
 		if (isset($_REQUEST['msg']))