Removing white space and a <style> tag

skala
Julio Montoya 14 years ago
parent f58e66d3c8
commit 2590dfd1c1
  1. 10
      main/template/default/layout/head.tpl
  2. 7
      main/template/default/layout/layout_1_col.tpl
  3. 8
      main/template/default/layout/layout_2_col.tpl
  4. 2
      main/template/default/layout/main.tpl
  5. 14
      main/template/default/layout/topbar.tpl

@ -3,20 +3,22 @@
<link href="http://www.chamilo.org/team.php" rel="Author" /> <link href="http://www.chamilo.org/team.php" rel="Author" />
<link href="http://www.chamilo.org" rel="Copyright" /> <link href="http://www.chamilo.org" rel="Copyright" />
<!-- <link rel="top" href="{$_p.web_main}index.php" title="" /> {* This fires some HTML5 errors *}
<!-- <link rel="top" href="{$_p.web_main}index.php" title="" />
<link rel="courses" href="{$_p.web_main}auth/courses.php" title="{"OtherCourses"|get_lang}"/> <link rel="courses" href="{$_p.web_main}auth/courses.php" title="{"OtherCourses"|get_lang}"/>
<link rel="profil" href="{$_p.web_main}auth/profile.php" title="{"ModifyProfile"|get_lang}"/> --> <link rel="profil" href="{$_p.web_main}auth/profile.php" title="{"ModifyProfile"|get_lang}"/> -->
<meta name="Generator" content="{$_s.software_name} {$_s.system_version|substr:0:1}" /> <meta name="Generator" content="{$_s.software_name} {$_s.system_version|substr:0:1}" />
{* Use the latest engine in ie8/ie9 use google chrome engine if available *} {* Use the latest engine in ie8/ie9 or use google chrome engine if available *}
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <!--[if ie]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
{* Improve usability in portal devices*} {* Improve usability in portal devices*}
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>{$title_string}</title> <title>{$title_string}</title>
<style type="text/css" media="screen, projection"> <style type="text/css" media="screen">
/*<![CDATA[*/ /*<![CDATA[*/
{$css_style} {$css_style}
/*]]>*/ /*]]>*/

@ -1,10 +1,9 @@
{extends file="default/layout/main.tpl"} {extends file="default/layout/main.tpl"}
{* Header *} {* Header *}
{block name="header"} {block name="header"}
{if $show_header} {if $show_header}
{include file="default/layout/main_header.tpl"} {include file="default/layout/main_header.tpl"}
{/if} {/if}
{/block} {/block}
{* 1 column *} {* 1 column *}

@ -1,9 +1,9 @@
{extends file="default/layout/main.tpl"} {extends file="default/layout/main.tpl"}
{* Header *}
{block name=header} {block name=header}
{if $show_header == 1 } {if $show_header == 1 }
{include file="default/layout/main_header.tpl"} {include file="default/layout/main_header.tpl"}
{/if} {/if}
{/block} {/block}
{block name=body} {block name=body}

@ -1,5 +1,3 @@
{* header *}
{block name="header"}{/block} {block name="header"}{/block}
{* body *} {* body *}

@ -1,10 +1,5 @@
<!-- Topbar --> <!-- Topbar -->
{if $show_toolbar == 1} {if $show_toolbar == 1}
<style>
.subnav-fixed {
top:44px;
}
</style>
<div id="topbar" class="navbar navbar-fixed-top"> <div id="topbar" class="navbar navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -82,13 +77,4 @@
</div><!-- /navbar-inner --> </div><!-- /navbar-inner -->
</div><!-- /navbar --> </div><!-- /navbar -->
<div id="topbar_push"></div> <div id="topbar_push"></div>
{else}
<style>
body {
padding-top: 0px;
}
.subnav-fixed {
top:-2px;
}
</style>
{/if} {/if}
Loading…
Cancel
Save