SMF Support > Tiếng Việt (Vietnamese)

Cách xóa ô "tìm kiếm"

(1/2) > >>

Gà Mái:
Nhờ các bác chỉ em cách xóa ô "Tìm kiếm" này với
(Không phải menu "Tìm kiếm" đâu nha)
Thanks các bác nhiều

nvcnvn:
bác cho mình hỏi bác đang xài themes gì không, cái này phải edit themes! Khả năng là tìm trong file index.tem...

Gà Mái:
Em đang xài themes BoxyBlue đó bác.

nvcnvn:

--- Code: --- </div>
<div id="searcharea">';
echo '
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
<input type="text" name="search" style="border: 2px double #E0E0E0;" value="', $txt[182], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt[182], '...\';" /> ';

// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';

// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';

echo '
</form>
</div>

--- End code ---
Vào index.template.php tìm và xoá khúc này đi.

Gà Mái:
Cảm ơn bác nhiều.

Em đã làm được, nhưng chỉ xóa đoạn này thôi


--- Code: ---   <div id="searcharea">';
      echo '
      <form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
       <input type="text" name="search" style="border: 2px double #E0E0E0;" value="', $txt[182], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt[182], '...\';" /> ';

       // Search within current topic?
         if (!empty($context['current_topic']))
          echo '
         <input type="hidden" name="topic" value="', $context['current_topic'], '" />';

       // If we're on a certain board, limit it to this board ;).
          elseif (!empty($context['current_board']))
          echo '
         <input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';

   echo '
      </form>
   </div>
--- End code ---

Không xóa </div> đầu tiên :D

Navigation

[0] Message Index

[#] Next page

Go to full version