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. 11
      main/template/default/layout/layout_1_col.tpl
  3. 10
      main/template/default/layout/layout_2_col.tpl
  4. 2
      main/template/default/layout/show_footer.tpl
  5. 4
      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>

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

@ -31,12 +31,16 @@
{/if}
{* ?? *}
{$sniff_notification}
{$sniff_notification}
{include file="default/layout/page_body.tpl"}
<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 *}

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