Skocz do zawartości
"Idzie nowe..." - o zmianach i nie tylko ×
Przeniesienie zakupów z IPS Marketplace / Moving bought items from IPS Marketplace ×

Brak opcji 'Szukaj'


Kolorowy96

Rekomendowane odpowiedzi

A tak trudno napisać do autora? Może zrobi to za Ciebie ;) Z resztą sam sobie możesz sprawdzić w bitach co gdzie jest. W Global Template masz:

<!-- ::: BRANDING STRIP: Logo and search box ::: -->
			<div id='branding'>
				<div class='main_width'>
					<div id='logo'>
						<if test="brandingBar:|:ipsRegistry::$applications[ $this->registry->getCurrentApplication() ]['hasCustomHeader']">
							{parse template="overwriteHeader" group="{current_app}_global" params=""}
						<else />
							{parse template="defaultHeader" group="global" params=""}
						</if>
					</div>
					{parse template="quickSearch" group="global" params=""}
				</div>
			</div>

a w bicie quick search:

<div id='search' class='right'>
	<form action="{parse url="app=core&module=search&do=search&fromMainBar=1" base="public"}" method="post" id='search-box' >
		<fieldset>
			<label for='main_search' class='hide'>{$this->lang->words['sj_search']}</label>
			<a href='{parse url="app=core&module=search&search_in=<if test="hasSearchApp:|:isset($this->request['search_app']) AND $this->request['search_app']">{$this->request['search_app']}<else />{$this->registry->getCurrentApplication()}</if>" base="public"}' title='{$this->lang->words['advanced_search']}' accesskey='4' rel="search" id='adv_search' class='right'>{$this->lang->words['advanced']}</a>
			<span id='search_wrap' class='right'>
				<input type='text' id='main_search' name='search_term' class='inactive' size='17' tabindex='100' />
				<span class='choice ipbmenu clickable' id='search_options' style='display: none'></span>
				<ul id='search_options_menucontent' class='ipbmenu_content ipsPad' style='display: none'>
					<li class='title'><strong>{$this->lang->words['context_search_title']}</strong></li>
					<if test="inTopic:|:$this->request['showtopic'] or ( isset( $this->request['search_app'] ) and substr( $_POST['search_app'], 0, 13 ) == 'forums:topic:' )">
						<li class='special'>
							<label for='s_topic' title='{$this->lang->words['context_search_topic']}'>
								<if test="showTopic:|:$this->request['showtopic']"><input type='radio' name='search_app' value="forums:topic:{$this->request['showtopic']}" class='input_radio' id='s_topic' checked="checked" /><else /><input type='radio' name='search_app' value="forums:topic:{parse expression="substr( $_POST['search_app'], 13 )"}" class='input_radio' id='s_topic' checked="checked" />
								</if><strong>{$this->lang->words['context_search_topic']}</strong>
							</label>
						</li>
					</if>
					<if test="inForum:| $this->request['showforum'] AND $this->registry->getClass('class_forums')->forum_by_id[ $this->request['showforum'] ]['sub_can_post'] ) or ( isset( $this->request['search_app'] ) and substr( $_POST['search_app'], 0, 13 ) == 'forums:forum:' )">
						<li class='special'>
							<label for='s_forum' title='{$this->lang->words['context_search_forum']}'>
								<if test="showForum:|:$this->request['showforum']"><input type='radio' name='search_app' value="forums:forum:{$this->request['f']}" class='input_radio' id='s_forum' <if test="notTopic:|:!$this->request['showtopic']">checked="checked"</if> /><else /><input type='radio' name='search_app' value="forums:forum:{parse expression="substr( $_POST['search_app'], 13 )"}" class='input_radio' id='s_forum' checked="checked" />
								</if><strong>{$this->lang->words['context_search_forum']}</strong>
							</label>
						</li>
					</if>
					<if test="lookElsewhere:|:$this->request['app'] == 'core' and $this->request['module'] == 'search'">
						{parse template="contextSearch" group="{search_app}_global" params=""}
					<else />
						<if test="notCoreApp:|:!in_array( $this->registry->getCurrentApplication(), array( 'forums', 'members', 'core' ) )">
							<if test="appContextSearch:|:method_exists( $this->registry->output->getTemplate( $this->registry->getCurrentApplication() . '_global' ), 'contextSearch' )">
								{parse template="contextSearch" group="{current_app}_global" params=""}
							</if>
						</if>
					</if>
					<if test="canSearchForums:|:IPSLib::appIsSearchable( 'forums', 'search' )">
						<li class='app'><label for='s_forums' title='{IPSLib::getAppTitle('forums')}'><input type='radio' name='search_app' class='input_radio' id='s_forums' value="forums" <if test="inThisAppForums:| ( isset($this->request['search_app']) AND $this->request['search_app'] == 'forums' ) ) || ( !IPSLib::appIsSearchable( $this->registry->getCurrentApplication(), 'search' ) ) || ( ( $this->registry->getCurrentApplication() == 'forums' ) && ! $this->request['search_app'] ) && !$this->request['showtopic'] && !$this->request['showforum']"><if test="matchesForums:|:substr( $_POST['search_app'], 0, 13 ) != 'forums:topic:' and substr( $_POST['search_app'], 0, 13 ) != 'forums:forum:'">checked="checked"</if></if> />{IPSLib::getAppTitle( 'forums' )}</label></li>
					</if>
					<if test="canSearchMembers:|:IPSLib::appIsSearchable( 'members', 'search' )">
						<li class='app'><label for='s_members' title='{IPSLib::getAppTitle('members')}'><input type='radio' name='search_app' class='input_radio' id='s_members' value="members" <if test="inThisAppMembers:| ( isset($this->request['search_app']) AND $this->request['search_app'] == 'members' ) ) || ( ( $this->registry->getCurrentApplication() == 'members' ) && ! $this->request['search_app'] ) && !$this->request['showtopic'] && !$this->request['showforum']">checked="checked"</if> />{IPSLib::getAppTitle( 'members' )}</label></li>
					</if>
					<if test="canSearchCore:|:IPSLib::appIsSearchable( 'core', 'search' )">
						<li class='app'><label for='s_core' title='{IPSLib::getAppTitle('core')}'><input type='radio' name='search_app' class='input_radio' id='s_core' value="core" <if test="inThisAppCore:| ( isset($this->request['search_app']) AND $this->request['search_app'] == 'core' ) ) || ( ( $this->registry->getCurrentApplication() == 'core' ) && ! $this->request['search_app'] ) && !$this->request['showtopic'] && !$this->request['showforum']">checked="checked"</if> />{IPSLib::getAppTitle( 'core' )}</label></li>
					</if>
					<foreach loop="appLoop:$this->registry->getApplications() as $app => $data">
						<if test="thisAppSearchableNotCore:|:IPSLib::appIsSearchable( $app, 'search' ) AND !in_array( $app, array( 'forums', 'members', 'core' ) )">
							<li class='app'>
								<label for='s_{$app}' title='{IPSLib::getAppTitle( $app )}'>
									<if test="InSearchQuestionMark:|:$this->request['app'] == 'core' and $this->request['module'] == 'search'">
										<input type='radio' name='search_app' class='input_radio' id='s_{$app}' value="{$app}" <if test="inThisAppSearch:| ( isset($this->request['search_app']) AND $this->request['search_app'] == $app ) || ( !IPSLib::appIsSearchable( $this->registry->getCurrentApplication(), 'search' ) AND $app == 'core' ) || ( ( $this->registry->getCurrentApplication() == $app ) && ( !isset($this->request['search_app']) OR !$this->request['search_app'] ) ) ) && !$this->request['showtopic'] && !$this->request['showforum'] && ( !method_exists( $this->registry->output->getTemplate( $this->request['search_app'] . '_global' ), 'contextSearch' ) or ipsRegistry::$appSearch )">checked="checked"</if> />
									<else />
										<input type='radio' name='search_app' class='input_radio' id='s_{$app}' value="{$app}" <if test="inThisAppNotSearch:| ( isset($this->request['search_app']) AND $this->request['search_app'] == $app ) || ( !IPSLib::appIsSearchable( $this->registry->getCurrentApplication(), 'search' ) AND $app == 'core' ) || ( ( $this->registry->getCurrentApplication() == $app ) && ( !isset($this->request['search_app']) OR !$this->request['search_app'] ) ) ) && !$this->request['showtopic'] && !$this->request['showforum'] && ( !method_exists( $this->registry->output->getTemplate( $this->registry->getCurrentApplication() . '_global' ), 'contextSearch' ) or ipsRegistry::$appSearch )">checked="checked"</if> />
									</if>{IPSLib::getAppTitle( $app )}
								</label>
							</li>
						</if>
					</foreach>
				</ul>
				<input type='submit' class='submit_input clickable' value='{$this->lang->words['sj_search']}' />
			</span>
			
		</fieldset>
	</form>
</div>

ale to by trzeba dodać tak, żeby to miało ręce i nogi, więc najlepiej napisz do autora ;) Lub używaj stylu, który ma tę opcję.

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.