Jump to content

Recommended Posts

Posted

Nu pot adauga meniuri...am cautat in: globalTemplate - foreach si am adaugat (am gasit citeva posturi cu asemenea problema si am adaugat "scriptul: lor dar fara rost...tot aceleasi sunt: Forums/members/chat) si cum as putea modifica link-ul unde sa duca aceste butoane...cind apas pe forum ma duce in alta parte...?

Posted
<!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 || $this->settings['fbc_appid']"> 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>
		<!--<meta http-equiv="X-UA-Compatible" content="IE=7" />-->
		<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="{$this->registry->output->encodeMetaTagContent( str_replace( ' - ' . $this->settings['board_name'], '', $header_items['title'] ) )}"/>
		<meta property="og:site_name" content="{$this->registry->output->encodeMetaTagContent( $this->settings['board_name'] )}"/>
		<meta property="og:image" content="{$this->settings['meta_imagesrc']}"/>
		<meta property="og:type" content="article" />
		{parse template="includeMeta" group="global" params="$metaTags"}
		{parse template="includeVars" group="global" params""}
		{parse template="includeJS" group="global" params="$jsModules"}
		{parse template="includeCSS" group="global" params="$css"}

		{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="notificationsCount:|:$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="hasMemberList:|:$header_items['applications']['members']['app_show']">
						<li id='nav_members'><a href='{parse url="{$header_items['applications']['members']['app_link']}" seotitle="{$header_items['applications']['members']['app_seotitle']}" template="{$header_items['applications']['members']['app_template']}" base="{$header_items['applications']['members']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('members') )"}'><span class='icon'></span>{IPSLib::getAppTitle('members')}</a></li>
					</if>
					<if test="hasForums:|:$header_items['applications']['forums']['app_show']">
						<li id='nav_forums'><a href='{parse url="{$header_items['applications']['forums']['app_link']}" seotitle="{$header_items['applications']['forums']['app_seotitle']}" template="{$header_items['applications']['forums']['app_template']}" base="{$header_items['applications']['forums']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('forums') )"}'><span class='icon'></span>{IPSLib::getAppTitle('forums')}</a></li>
					</if>
					<if test="hasBlog:|:$header_items['applications']['blog']['app_show']">
						<li id='nav_blog'><a href='{parse url="{$header_items['applications']['blog']['app_link']}" seotitle="{$header_items['applications']['blog']['app_seotitle']}" template="{$header_items['applications']['blog']['app_template']}" base="{$header_items['applications']['blog']['app_base']}"}' 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:|:$header_items['applications']['gallery']['app_show']">
						<li id='nav_gallery'><a href='{parse url="{$header_items['applications']['gallery']['app_link']}" seotitle="{$header_items['applications']['gallery']['app_seotitle']}" template="{$header_items['applications']['gallery']['app_template']}" base="{$header_items['applications']['gallery']['app_base']}"}' title='{parse expression="sprintf( $this->lang->words['go_to_prefix'], IPSLib::getAppTitle('gallery') )"}'><span class='icon'></span>{IPSLib::getAppTitle('gallery')}</a></li>
					</if>
					<if test="hasNexus:|:$header_items['applications']['nexus']['app_show']">
						<li id='nav_nexus_store'><a href='{parse url="app=nexus&amp;module=payments&amp;section=store" base="public" seotitle="store" seotemplate="app=nexus"}'><span class='icon'></span>{$this->lang->words['mobile_nexus_store']}</a></li>
						<li id='nav_nexus_ca'><a href='{parse url="app=nexus&amp;module=clients" base="public"}'><span class='icon'></span>{$this->lang->words['mobile_nexus_clients']}</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="&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>

			</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>
		
		<if test="vigLinkEnabled:|:$this->settings['viglink_enabled'] and ( !$this->settings['viglink_groups'] or IPSMember::isInGroup( $this->memberData, explode( ',', $this->settings['viglink_groups'] ) ) )">
			<script type="text/javascript">
			  var vglnk = { api_url: '//api.viglink.com/api',
			                key: '{$this->settings['viglink_api_key']}'<if test="$this->settings['viglink_subid']">,
			                sub_id: '{$this->settings['sub_id']}'
			                </if>
			              };
			
			  (function(d, t) {
			    var s = d.createElement(t); s.type = 'text/javascript'; s.async = true;
			    s.src = ('https:' == document.location.protocol ? vglnk.api_url :
			             '//cdn.viglink.com/api') + '/vglnk.js';
			    var r = d.getElementsByTagName(t)[0]; r.parentNode.insertBefore(s, r);
			  }(document, 'script'));
			</script>
		</if>
	
	</body>
</html>

 

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.