Перейти к содержимому


Фотография
- - - - -

[Обновление до 3.3.х] Дублирование вкладок форум и пользователи


  • Авторизуйтесь для ответа в теме
Сообщений в теме: 24

#21 Оффлайн   Law AC vs. Finch

    Гуру


  • Пользователи
  • Репутация
    890
    • Cообщений: 3 004
    • Форум:Нет

Отправлено 30 Март 2013 - 13:24

помогите шапку поменять, никак не меняется...

Зима уже закончилась, Думаю, что Ваша шапка никому не нужна. Шутка.
Ваш пост поймет только шаман с бубном. Больше конкретики!
  • 1

#22 Оффлайн   potter

    Пользователь


  • Заблокированные
  • Репутация
    0
    • Cообщений: 37
    • Форум:3.4.х

Отправлено 22 Июнь 2013 - 11:49

Я что то не могу найти в своём ксс

Этот код вот он

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
	<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml"<if test="fbcenabled:|:IPSLib::fbc_enabled() === TRUE"> xmlns:fb="http://www.facebook.com/2008/fbml"</if>>
	<head>
		<meta http-equiv="content-type" content="text/html; charset={$this->settings['gb_char_set']}" />
		<title>{$header_items['title']}<if test="pagenumberintitle:|:$header_items['page']"> {$this->lang->words['page_title_page']} {$header_items['page']}</if></title>
		<link rel="shortcut icon" href='<if test="$this->registry->output->isHTTPS">{$this->settings['board_url_https']}<else />{$this->settings['board_url']}</if>/favicon.ico' />
		<meta property="og:title" content="{IPSText::htmlspecialchars( str_replace( ' - ' . $this->settings['board_name'], '', $header_items['title'] ) )}"/>
		<meta property="og:site_name" content="{IPSText::htmlspecialchars( $this->settings['board_name'] )}"/>
		<meta property="og:image" content="{$this->settings['meta_imagesrc']}"/>
		
		{parse template="includeVars" group="global" params""}
		{parse template="includeJS" group="global" params="$jsModules"}
		{parse template="includeCSS" group="global" params="$css"}
		<!--<meta http-equiv="X-UA-Compatible" content="IE=7" />-->
		{parse template="includeMeta" group="global" params="$metaTags"}

		{parse template="includeFeeds" group="global" params="$documentHeadItems"}
		{parse template="includeRTL" group="global" params=""}
		
		<!--<meta name="apple-mobile-web-app-capable" content="yes">-->
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable = no;">
	</head>
	<body id='ipboard_body'>
		<div id='ipbwrapper'>
			<if test="count( $items['navigation'] ) > 1 && !$this->settings['_mobile_nav_home']">
				<if test="$this->nav_count=count($items['navigation'])"></if>
				<if test="$this->nav_back = ( isset( $this->settings['_mobile_back_nav'] ) ) ? $this->settings['_mobile_back_nav'] : 2"></if>
				<div id='secondary_navigation'>
					<a href='{parse url="{$items['navigation'][ $this->nav_count - $this->nav_back ][1]}" base="{$items['navigation'][ $this->nav_count - $this->nav_back ][4]}" seotitle="{$items['navigation'][ $this->nav_count - $this->nav_back ][2]}" template="{$items['navigation'][ $this->nav_count - $this->nav_back ][3]}"}'>{$this->lang->words['_larr']} &nbsp;{$items['navigation'][ $this->nav_count - $this->nav_back ][0]}</a>
				</div>
			<else />
				<if test="( count( $items['navigation'] ) == 1 || $this->settings['_mobile_nav_home'] ) && ! $this->settings['_mobile_hide_nav']">
					<div id='secondary_navigation'>
						<a href='{parse url="act=idx" seotitle="false" base="public"}' class='back'>{$this->lang->words['_larr']} {$this->lang->words['home']}</a>
					</div>
				</if>
			</if>
			<if test="brandingBar:|:method_exists( $this->registry->output->getTemplate( $this->registry->getCurrentApplication() . '_global' ), 'overwriteHeader' )">
				{parse template="overwriteHeader" group="{current_app}_global" params=""}
			<else />
				{parse template="defaultHeader" group="global" params=""}
			</if>
			<div id="options-button">&raquo;</div>
			<div id='user_navigation' class='clearfix'>
				<ul class='clearfix' id='user_bar'>
					<if test="memberbox:|:!$this->memberData['member_id']">
						<a class='button secondary' href='{parse url="app=core&amp;module=global&amp;section=login" base="public"}' title='{$this->lang->words['sign_in']}'>{$this->lang->words['sign_in']}</a>&nbsp;&nbsp;&nbsp;
						<a class='button secondary' href="{parse url="app=core&amp;module=global&amp;section=register" base="public"}" title='{$this->lang->words['register']}'>{$this->lang->words['register']}</a>
					<else />
						<a class='button secondary' style='width:auto' href="{parse url="app=core&amp;module=global&amp;section=login&amp;do=logout&amp;k={$this->member->form_hash}" base="public"}">{$this->lang->words['log_out']} {$this->memberData['members_display_name']}</a>
					</if>
				</ul>
				<ul class='clearfix launcher'>
					<if test="messengerlink:|:$this->memberData['member_id'] AND $this->memberData['g_use_pm'] AND $this->memberData['members_disable_pm'] == 0">
						<li id='nav_messages'><a href='{parse url="app=members&amp;module=messaging" base="public"}' title='{$this->lang->words['your_messenger']}'><span class='icon'></span><if test="notifications:|:$this->memberData['msg_count_new']"><span class='ipsHasNotifications'>{$this->memberData['msg_count_new']}</span></if>{$this->lang->words['your_messenger']}</a></li>
					</if>
					<if test="notificationsLink:|:$this->memberData['member_id']">
						<li id='nav_notifications'><a href='{parse url="app=core&amp;module=usercp&amp;tab=core&amp;area=notificationlog&amp;clear=true" base="public"}'><span class='icon'></span><if test="notifications:|:$this->memberData['notification_cnt']"><span class='ipsHasNotifications'>{$this->memberData['notification_cnt']}</span></if>{$this->lang->words['notifications_at_the_top']}</a></li>
					</if>
					<if test="$header_items['applications']['members']['app_show']">
						<li id='nav_members'><a href='{parse url="app=members" base="public" seotitle="false"}' title='{$this->lang->words['go_to_memberlist']}'><span class='icon'></span>{$this->lang->words['tb_mlist']}</a></li>
					</if>
					<if test="hasBlog:|:ipsRegistry::$applications['blog']['app_enabled']">
						<li id='nav_blog'><a href='{parse url="app=blog" seotitle="false" base="public"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle( 'blog' ) )"}'><span class='icon'></span>{IPSLib::getAppTitle( 'blog' )}</a></li>
					</if>
					<if test="hasGallery:|:ipsRegistry::$applications['gallery']['app_enabled']">
						<li id='nav_gallery'><a href='{parse url="app=gallery" seotitle="false" base="public"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle( 'gallery' ) )"}'><span class='icon'></span>{IPSLib::getAppTitle( 'gallery' )}</a></li>
					</if>
					<li id='nav_vnc'><a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'><span class='icon'></span>{$this->lang->words['mobile_view_new_posts']}</a></li>
					<li id='nav_statuses'><a href='{parse url="app=members&amp;module=profile&amp;section=status&amp;type=all" seotitle="true" template="members_status_all" base="public"}'><span class='icon'></span>{$this->lang->words['mob_status_updates']}</a></li>
					<li id='nav_search'><a href='{parse url="app=core&amp;module=search" base="public"}' accesskey='2'><span class='icon'></span>{$this->lang->words['sj_search']}</a></li>
					<li id='nav_markread'><a href="{parse url="app=forums&amp;module=forums&amp;section=markasread&amp;marktype=all&amp;k={$this->member->form_hash}" base="public"}" title='{$this->lang->words['mark_all_as_read']}'><span class='icon'></span>{$this->lang->words['mobile_mark_board_as_read']}</a></li>
				</ul>
			</div>
			<script type="text/javascript">
				/* Prevent flash of header */
				document.getElementById('user_navigation').style.display = 'none';
			</script>
			
			<div id='content' class='clear'>
				<if test="mainpageContent:|:$html">{$html}</if>
			</div>
			
			<div id='footer' class='clear'>
				<if test="skinchanger:|:( $this->memberData['userAgentType'] != 'mobileAppLegacy' || $this->registry->output->isLargeTouchDevice() )">
					<a id='full_version' href='#'>{$this->lang->words['full_version']}</a>
				</if>
				<if test="langchooser:|:count( $footer_items['lang_chooser']['options'] ) > 1">
					<a href='#' id='show_langs'>{$footer_items['lang_chooser']['default']}</a>
					<div id='show_langs_box' style='display: none'>
						<form action="{parse url="{$this->settings['query_string_formatted']}" base="public"}" method="post">
							<fieldset>
								<input type='hidden' name='k' value='{$this->member->form_hash}' />
								<input type='hidden' name='setlanguage' value='1' />
								<input type="hidden" name="langurlbits" value="{$this->settings['query_string_safe']}&amp;cal_id={$this->request['cal_id']}" />
								<label for='newLang' class='hide'>{$this->lang->words['language_prefix']}</label>
								<select name="langid" id='newLang'>
									<foreach loop="$footer_items['lang_chooser']['options'] as $lang">
										<option value='{$lang['id']}' <if test="$lang['selected']">selected='selected'</if>>
											{$lang['title']}
										</option>
									</foreach>
								</select>
								<input type='submit' class='input_submit alt' value='{$this->lang->words['jmp_go']}' id='newLangSubmit' />
							</fieldset>
						</form>
					</div>
				</if>

				<if test="isNotMobbyApp:|:($this->memberData['userAgentKey'] == 'iphone' || $this->memberData['userAgentKey'] == 'ipodtouch') AND ! $this->member->isMobileApp">
					<div><a id='app_link' href="http://www.invisionpower.com/download/goiphone.php">{$this->lang->words['freeiphoneapp']}</a></div>
				</if>
			</div>
			<div id='task'>{$stats['task']}</div>
		</div>
		<div id='shade' style='display:none'></div>
		<!-- pre-load -->
		<div style='display:none'><img src='{style_images_url}/wait.gif' /></div>
	</body>
</html>


#23 Оффлайн   "Js"

    Знающий


  • Пользователи
  • Репутация
    28
    • Cообщений: 623
    • Город:Провинция

Отправлено 22 Июнь 2013 - 11:50

Ты вообще, что скинул?

 

Читай 1 пост.


Сообщение отредактировал YinYang: 22 Июнь 2013 - 11:52

  • 0

#24 Оффлайн   potter

    Пользователь


  • Заблокированные
  • Репутация
    0
    • Cообщений: 37
    • Форум:3.4.х

Отправлено 22 Июнь 2013 - 12:10

СSS globalTemplate



#25 Оффлайн   potter

    Пользователь


  • Заблокированные
  • Репутация
    0
    • Cообщений: 37
    • Форум:3.4.х

Отправлено 22 Июнь 2013 - 12:34

Все сделал спасибо за комбинацию Ctrl+F