Minor layout corrections (fixing the section main_content)

skala
Julio Montoya 14 years ago
parent 1fd6950574
commit 45c4107222
  1. 5
      main/admin/resume_session.php
  2. 9
      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; break;
} }
Display::display_header($tool_name); Display::display_header($tool_name);
if (!empty($_GET['warn'])) { if (!empty($_GET['warn'])) {
Display::display_warning_message(urldecode($_GET['warn'])); Display::display_warning_message(urldecode($_GET['warn']));
} }
@ -122,7 +122,7 @@ if (!empty($message)) {
echo $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 --> <!-- General properties -->
<table class="data_table" width="100%"> <table class="data_table" width="100%">
@ -167,7 +167,6 @@ echo Display::tag('h1', Display::return_icon('session.png', get_lang('Session'))
?> ?>
</td> </td>
</tr> </tr>
<!-- show nb_days_before and nb_days_after only if they are different from 0 --> <!-- show nb_days_before and nb_days_after only if they are different from 0 -->
<tr> <tr>
<td> <td>

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

@ -33,10 +33,14 @@
{* ?? *} {* ?? *}
{$sniff_notification} {$sniff_notification}
<section id="main_content">
{include file="default/layout/page_body.tpl"} {include file="default/layout/page_body.tpl"}
{if !empty($content)}
<section id="main_content">
{$content} {$content}
&nbsp;
</section> </section>
{/if}
{* Announcements *} {* Announcements *}
{if !empty($announcements_page_block)} {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 for backward compatibility we suppose that the default layout is one column which means using a div with class span12
*} *}
{if $show_header} {if $show_header}
</section>
</div> </div>
</section>
{/if} {/if}
{* Plugin bottom *} {* Plugin bottom *}

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