Перейти к контенту
  • 0

Value поиск


innot

Вопрос

Здравствуйте приспичило мне переделать дизайн хостинг, но столкнулся я с проблемой

<input type='submit' class='submit_input clickable' value='{$this->lang->words['sj_search']}' />

по идее должна появится на кнопке слово "Поиск", но его нет

 

даже если вручную прописывать 

<input type='submit' class='submit_input clickable' value='Поиск' />

всё равно надпись не выводиться

 

может я что-то не так делаю?

Ссылка на комментарий
Поделиться на других сайтах

Рекомендуемые сообщения

  • 0

Значит не там меняете. Вы же не говорите где, в каком стиле, в каком шаблоне.

стиль cubic, файл по умолчанию  quickSearch

 

 

 

<div id='search' class='left'>
	<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>
			
			<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> 

 

 

Ссылка на комментарий
Поделиться на других сайтах

  • 0

У вас указаны 2 класса для этой кнопки. По всему выходит, что для этих классов параметры переопределены в таблицах стиля. Либо уберите из описания кнопки класс, либо пропишите свой класс и опишите его в таблицах стилей, либо ищите в таблицах стилей оба этих класса и проверяйте их значения. Для стандартного скина, например, класс submit_input описан так:

 

#search .submit_input {
background: #7ba60d url(http://www.forum.delite.ibrtest.ru/public/style_images/master/search_icon.png) no-repeat 50%;
text-indent: -3000em;
padding: 0; border: 0;
border: 1px solid #7ba60d;
display: block;
width: 26px;
height: 26px;
position: absolute;
right: 0; top: 0; bottom: 0;
-moz-border-radius: 0 3px 3px 0;
-webkit-border-top-right-radius: 3px;
-webkit-border-bottom-right-radius: 3px;
border-radius: 0 3px 3px 0;
-webkit-box-shadow: inset 0px 1px 0 rgba(255,255,255,0.2);
-moz-box-shadow: inset 0px 1px 0 rgba(255,255,255,0.2);
box-shadow: inset 0px 1px 0 rgba(255,255,255,0.2);
Ссылка на комментарий
Поделиться на других сайтах

  • 0

@MrLite, ТС говорит о том, что у него изменения не применяются.

 

смотрел, ошибка в другой в результате мне на странице выводит

<input type="submit" class="submit_input clickable" value>

 

Это или кеш недоступен на запись, или стиль меняют один, а смотрят другой.

 

 

Надо попробовать просто какой-нибудь текст туда добить и посмотреть, появится ли он на результирующей странице, типа 

</ul>
ТЕСТТЕСТТЕСТ!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!ТЕСТТЕСТ
                <input type='submit' class='submit_input clickable' value='{$this->lang->words['sj_search']}' />
Я ТЕСТ, Я ТУТ , ЧТОБЫ УВИДЕТЬ, ЧТО ИЗМЕНЕНИЯ ПРИМЕНЯЮТСЯ!!!          
  </span>

Если не появится, значит собаку явно зарыли не там, где откапывают.

 

А уже дальше, когда применяться будет, переходить к вопросу почему там букавы не появляются, когда value проставляешь. 

Ссылка на комментарий
Поделиться на других сайтах

Присоединиться к обсуждению

Вы можете ответить сейчас, а зарегистрироваться позже. Если у вас уже есть аккаунт, войдите, чтобы ответить от своего имени.

Гость
Ответить на вопрос...

×   Вы вставили отформатированный текст.   Удалить форматирование

  Допустимо не более 75 смайлов.

×   Ваша ссылка была автоматически заменена на медиа-контент.   Отображать как ссылку

×   Ваши публикации восстановлены.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.

Зарузка...
×
×
  • Создать...

Важная информация

Находясь на нашем сайте, вы соглашаетесь на использование файлов cookie, а также с нашим положением о конфиденциальности Политика конфиденциальности и пользовательским соглашением Условия использования.