Guest User

globalTemplate - Kargho

a guest
Jan 29th, 2018
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 5.00 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="{expression="\IPS\Member::loggedIn()->language()->bcp47()"}" dir="{{if member.language()->isrtl}}rtl{{else}}ltr{{endif}}">
  3.     <head>
  4.         <title>{expression="output.getTitle( $title )"}</title>
  5.         {{if settings.ipbseo_ga_enabled}}
  6.             {setting="ipseo_ga"}
  7.         {{endif}}
  8.         <!--[if lt IE 9]>
  9.             {{foreach \IPS\Theme::i()->css( 'extra/ie8.css', 'core' ) as $css}}<link rel="stylesheet" type="text/css" href="{$css}">{{endforeach}}
  10.             <script src="{url="applications/core/interface/html5shiv/html5shiv.js" base="none" protocol="\IPS\Http\Url::PROTOCOL_RELATIVE"}"></script>
  11.         <![endif]-->
  12.         {template="includeMeta" app="core" group="global" location="global" params=""}
  13.         {template="includeCSS" app="core" group="global" location="global" params=""}
  14.         {template="includeJS" if="theme.js_include != 'footer'" app="core" group="global" location="global" params=""}
  15.         {template="favico" app="core" group="global" location="front" params=""}
  16.     </head>
  17.     <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']}'>
  18.         <a href='#elContent' class='ipsHide' title='{lang="jump_to_content_desc"}' accesskey='m'>{lang="jump_to_content"}</a>
  19.         {template="offlineMessage" if="!settings.site_online && \IPS\Member::loggedIn()->group['g_access_offline']" app="core" group="global" params=""}
  20.         <div id='ipsLayout_header' class='ipsClearfix'>
  21.             {template="updateWarning" app="core" group="global" params=""}
  22.             {template="lkeyWarning" app="core" group="global" location="global" params=""}
  23.             {{if !in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}{template="mobileNavBar" app="core" group="global" params=""}{{endif}}
  24.             <header>
  25.                 <div class='ipsLayout_container'>
  26.                     {template="logo" app="core" group="global" params=""}
  27.                     {{if !in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}{template="userBar" app="core" group="global" params=""}{{endif}}
  28.                 </div>
  29.             </header>
  30.             {template="navBar" app="core" group="global" params=""}
  31.         </div>
  32.         <main id='ipsLayout_body' class='ipsLayout_container'>
  33.             <div id='ipsLayout_contentArea'>
  34.                 <div id='ipsLayout_contentWrapper'>
  35.                     {template="breadcrumb" app="core" group="global" params="'top'"}
  36.                     {template="sidebar" if="theme.sidebar_position == 'left'" app="core" group="global" params="'left'"}
  37.                     <div id='ipsLayout_mainArea'>
  38.                         <a id='elContent'></a>
  39.                         {advertisement="ad_global_header"}
  40.                         {template="acknowledgeWarning" if="\IPS\Member::loggedIn()->members_bitoptions['unacknowledged_warnings']" params="\IPS\Member::loggedIn()->warnings( 1, FALSE )" group="global" app="core"}
  41.                         {{if !in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses ) and !member.members_bitoptions['profile_completion_dismissed'] and $nextStep = member.nextProfileStep()}}
  42.                             {template="profileNextStep" group="global" app="core" params="$nextStep, true"}
  43.                         {{endif}}
  44.                         {template="widgetContainer" group="global" app="core" params="'header', 'horizontal'"}
  45.                         {$html|raw}
  46.                         {template="widgetContainer" group="global" app="core" params="'footer', 'horizontal'"}
  47.                     </div>
  48.                     {template="sidebar" if="theme.sidebar_position == 'right'" app="core" group="global" params="'right'"}
  49.                     {template="breadcrumb" app="core" group="global" params="'bottom'"}
  50.                 </div>
  51.             </div>
  52.             {template="inlineMessage" if="member.msg_show_notification and $conversation = \IPS\core\Messenger\Conversation::latestUnreadConversation()" app="core" group="global" params="$conversation->comments( 1, 0, 'date', 'desc' )"}
  53.         </main>
  54.         <footer id='ipsLayout_footer' class='ipsClearfix'>
  55.             <div class='ipsLayout_container'>
  56.                 {advertisement="ad_global_footer"}
  57.                 {template="footer" app="core" group="global" params=""}
  58.             </div>
  59.         </footer>
  60.         {{if !in_array('ipsLayout_minimal', \IPS\Output::i()->bodyClasses )}}{template="mobileNavigation" if="theme.responsive" app="core" group="global" params=""}{{endif}}
  61.         {template="includeJS" if="theme.js_include == 'footer'" app="core" group="global" location="global" params=""}
  62.         {template="viglink" if="settings.viglink_enabled" app="core" group="global" params=""}
  63.         {template="metaTagEditor" if="isset( $_SESSION['live_meta_tags'] ) and $_SESSION['live_meta_tags'] and member.isAdmin()" app="core" group="global" params=""}
  64.         {template="guestTermsBar" if="!\IPS\Member::loggedIn()->member_id and \IPS\Settings::i()->guest_terms_bar" app="core" group="global" params="base64_encode( \IPS\Settings::i()->base_url )"}
  65.         <!--ipsQueryLog-->
  66.         <!--ipsCachingLog-->
  67.         {expression="output.endBodyCode" raw="true"}
  68.     </body>
  69. </html>
Add Comment
Please, Sign In to add comment