Minor layout corrections (fixing the section main_content)

skala
Julio Montoya 13 years ago
parent 1fd6950574
commit 45c4107222
  1. 5
      main/admin/resume_session.php
  2. 5
      main/template/default/layout/layout_1_col.tpl
  3. 6
      main/template/default/layout/layout_2_col.tpl
  4. 2
      main/template/default/layout/show_footer.tpl
  5. 2
      main/template/default/layout/show_header.tpl

@ -112,8 +112,8 @@ switch($action) {
}
break;
}
Display::display_header($tool_name);
if (!empty($_GET['warn'])) {
Display::display_warning_message(urldecode($_GET['warn']));
}
@ -122,7 +122,7 @@ if (!empty($message)) {
echo $message;
}
echo Display::tag('h1', Display::return_icon('session.png', get_lang('Session')).' '.$session['name']);
echo Display::page_subheader(Display::return_icon('session.png', get_lang('Session')).' '.$session['name']);
?>
<!-- General properties -->
<table class="data_table" width="100%">
@ -167,7 +167,6 @@ echo Display::tag('h1', Display::return_icon('session.png', get_lang('Session'))
?>
</td>
</tr>
<!-- show nb_days_before and nb_days_after only if they are different from 0 -->
<tr>
<td>

@ -17,10 +17,13 @@
<div class="span12">
<section id="main_content">
{include file="default/layout/page_body.tpl"}
{if !empty($content)}
<section id="main_content">
{$content}
&nbsp;
</section>
{/if}
</div>
{* Plugin bottom *}

@ -33,10 +33,14 @@
{* ?? *}
{$sniff_notification}
<section id="main_content">
{include file="default/layout/page_body.tpl"}
{if !empty($content)}
<section id="main_content">
{$content}
&nbsp;
</section>
{/if}
{* Announcements *}
{if !empty($announcements_page_block)}

@ -3,8 +3,8 @@
for backward compatibility we suppose that the default layout is one column which means using a div with class span12
*}
{if $show_header}
</section>
</div>
</section>
{/if}
{* Plugin bottom *}

@ -10,6 +10,6 @@
</div>
{/if}
<div class="span12">
<section id="main_content">
{include file="default/layout/page_body.tpl"}
<section id="main_content">
{/if}
Loading…
Cancel
Save