Jump to content

IPS news

  • 1
  • 1
Check this article

Apps and Hooks (IPS)

  • 13
  • 1
Check this article

Code topics


Johny

Recommended Posts

<!DOCTYPE html>
<html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
	<head>
		<title>{expression="output.getTitle( $title )"}</title>
		{{if settings.ipbseo_ga_enabled}}
			{setting="ipseo_ga"}
		{{endif}}
		<!--[if lt IE 9]>
			{{foreach \IPS\Theme::i()->css( 'extra/ie8.css', 'core' ) as $css}}<link rel="stylesheet" type="text/css" href="{$css}">{{endforeach}}
		    <script src="{url="applications/core/interface/html5shiv/html5shiv.js" base="none" protocol="\IPS\Http\Url::PROTOCOL_RELATIVE"}"></script>
		<![endif]-->
		{template="includeMeta" app="core" group="global" location="global" params=""}
		{template="includeCSS" app="core" group="global" location="global" params=""}
		{template="includeJS" if="theme.js_include != 'footer'" app="core" group="global" location="global" params=""}
		{template="favico" app="core" group="global" location="front" params=""}
	</head>
	<body class='ipsApp ipsApp_front {{if isset( \IPS\Request::i()->cookie['hasJS'] )}}ipsJS_has{{else}}ipsJS_none{{endif}} ipsClearfix{{foreach output.bodyClasses as $class}} {$class}{{endforeach}}' {{if output.globalControllers}}data-controller='{expression="implode( ',', output.globalControllers )"}'{{endif}} {{if isset( output.inlineMessage )}}data-message="{expression="output.inlineMessage"}"{{endif}} data-pageApp='{$location['app']}' data-pageLocation='front' data-pageModule='{$location['module']}' data-pageController='{$location['controller']}' {{if isset( \IPS\Request::i()->id )}}data-pageID='{expression="(int) \IPS\Request::i()->id"}'{{endif}}>
		<a href='#elContent' class='ipsHide' title='{lang="jump_to_content_desc"}' accesskey='m'>{lang="jump_to_content"}</a>
		<div id='ipsLayout_header' class='ipsClearfix'>
			{template="updateWarning" app="core" group="global" params=""}
			{{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}{template="mobileNavBar" app="core" group="global" params=""}{{endif}}
			<header>
				<div class='ipsLayout_container'>
					{template="logo" app="core" group="global" params=""}
					{{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}{template="userBar" app="core" group="global" params=""}{{endif}}
				</div>
			</header>
			{template="navBar" app="core" group="global" params=""}
		</div>
		<main id='ipsLayout_body' class='ipsLayout_container'>
			<div id='ipsLayout_contentArea'>
				<div id='ipsLayout_contentWrapper'>
					{template="breadcrumb" app="core" group="global" params="'top'"}
					{template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
					<div id='ipsLayout_mainArea'>
						<a id='elContent'></a>
						{advertisement="ad_global_header"}
						{template="acknowledgeWarning" if="\IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']" params="\IPS\Member::loggedIn()->warnings( 1, FALSE )" group="global" app="core"}
						{{if !\in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses ) and !member.members_bitoptions['profile_completion_dismissed'] and $nextStep = member.nextProfileStep()}}
							{template="profileNextStep" group="global" app="core" params="$nextStep, true"}
						{{endif}}
						{template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"}
						{$html|raw}
						{template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"}
					</div>
					{template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}
					{template="breadcrumb" app="core" group="global" params="'bottom'"}
				</div>
			</div>
			{template="inlineMessage" if="member.msg_show_notification and $message = \IPS\core\Messenger\Conversation::latestUnreadMessage()" app="core" group="global" params="$message"}
		</main>
      </body>
</html>

 

@-webkit-viewport { width: device-width; }
@-moz-viewport { width: device-width; }
@-ms-viewport { width: device-width; }
@-o-viewport { width: device-width; }
@viewport { width: device-width; }

*, .ipsApp input[type="search"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
	min-height: 100%;
	position: relative;
}

body {
	{{if !theme.body_font || theme.body_font == 'default'}}
		font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	{{else}}
		font-family: "{theme="body_font"}", "Helvetica Neue", Helvetica, Arial, sans-serif;
	{{endif}}
	font-size: 13px;
	line-height: 18px;
	color: {theme="text_color"};
	height: 100%;
	background-color: {theme="page_background"};
	margin: 0;
}

span.ipsEmoji, div.ipsEmoji {
	font-weight: normal;
	font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols";
}
img.ipsEmoji {
	height: 1.25em;
	width: 1.25em;
	margin: 0 .05em 0 .1em;
	vertical-align: -0.1em;
}

main {
	display: block;
}

.ipsLayout_noBackground {
	background: none;
}

	body.ipsNoScroll {
		overflow: hidden;
	}

a {
	color: {theme="link"};
	text-decoration: none;
}

	a:hover {
		color: {theme="link_hover"};
	}

	a:active, a:focus, a:hover {
		outline: 0 !important;
	}

img {
	vertical-align: middle;
}

.ipsApp fieldset {
	border: 0;
}

/* RTL flip FontAwesome arrows */
html[dir="rtl"] i.fa[class$="-right"],
html[dir="rtl"] i.fa[class$="-left"],
html[dir="rtl"] i.fa[class$="-reply"],
html[dir="rtl"] i.fa[class$="-forward"],
html[dir="rtl"] i.fa[class$="-backward"] {
	transform: scaleX(-1);
	filter: FlipH;
}

/* HEADER & MAIN NAV */
#elSiteTitle {
	color: #fff;
	font-size: 28px;
	line-height: 58px;
	text-decoration: none;
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
}

#elLogo img {
	max-width: 100%;
}

#elMobileNav {
	background: {theme="main_nav"};
	position: relative;
}

 

  • Like 7
  • Super! 2
  • HaHa 1
Link to comment
Share on other sites

  • Recently Browsing   0 members

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