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" 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="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}" />
{* Use the latest engine in ie8/ie9 use google chrome engine if available *}
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
{* Use the latest engine in ie8/ie9 or use google chrome engine if available *}
<!--[if ie]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->
{* Improve usability in portal devices*}
<meta name="viewport" content="width=device-width">
<title>{$title_string}</title>
<style type="text/css" media="screen, projection">
<style type="text/css" media="screen">
/*<![CDATA[*/
{$css_style}
/*]]>*/

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

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

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

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