移除搜尋盒 & 增加搜尋圖示在導航棒中

與 phpBB 3.0.x 相關主題。
回覆文章
頭像
心靈捕手
默默耕耘的老師
默默耕耘的老師
文章: 8510
註冊時間: 2004-04-30 01:54
來自: Taiwan

移除搜尋盒 & 增加搜尋圖示在導航棒中

文章 心靈捕手 »

移除搜尋盒 & 增加搜尋圖示在導航棒中


移除搜尋盒
-- 開啟 --
styles/prosilver/template/overall_header.html

-- 找到, 移除 --

代碼: 選擇全部

    <!-- IF S_DISPLAY_SEARCH and not S_IN_SEARCH -->
                 <div id="search-box">
                    <form action="{U_SEARCH}" method="post" id="search">
                    <fieldset>
                       <input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
                       <input class="button2" value="{L_SEARCH}" type="submit" /><br />
                       <a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH_ADV}</a> {S_SEARCH_HIDDEN_FIELDS}
                    </fieldset>
                    </form>
                 </div>
              <!-- ENDIF --> 
  
重新整理樣板
ACP > 風格 > 樣板 > Prosilver > 重新整理

增加搜尋圖示在導航棒中
-- 開啟 --
styles/prosilver/template/overall_header.html

-- 找到 --

代碼: 選擇全部

    <li class="icon-faq"><a href="{U_FAQ}" title="{L_FAQ_EXPLAIN}">{L_FAQ}</a></li> 
  
-- 之前, 增加 --

代碼: 選擇全部

    <!-- IF S_DISPLAY_SEARCH --><li class="icon-search"><a href="{U_SEARCH}" title="{L_SEARCH_ADV_EXPLAIN}">{L_SEARCH}</a></li><!-- ENDIF -->
重新整理樣板
ACP > 風格 > 樣板 > Prosilver > 重新整理

--
資料來源:
http://www.phpbb.com/kb/article/remove- ... in-navbar/
施比受有福,祝福您好運! ^_^
歡迎光臨★★心靈捕手★★ :: 討論區
https://wang5555.dnsfor.me/phpBB3/
回覆文章

回到「3.0」