Ignore:
Timestamp:
Jan 19, 2016, 5:25:11 PM (9 years ago)
Author:
chronos
Message:
  • Added: Responsive web layout. Two column layout is switched for single column for devices with smaller display.
  • Modified: All four boxes at front page made as oveflowing defined height.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/FrontPage/FrontPage.php

    r850 r854  
    8181
    8282    $Output .= ''.
    83       '<table class="Home"><tr><td colspan="2">'.$this->ShowWelcome().
    84       '</td></tr>';
    85     $Output .= '<tr><td colspan="3"><h3><a href="'.$this->System->Link('/download/').'">'.T('Download files').'</a></h3></td></tr>';
     83      '<div class="Home">'.$this->ShowWelcome().
     84      '</div>';
     85    $Output .= '<div><h3><a href="'.$this->System->Link('/download/').'">'.T('Download files').'</a></h3></div>';
    8686
    87     $Output .= '<tr>'.
    88       '<td class="news-box">'.$this->System->ModuleManager->Modules['News']->ShowBox().'</td>'.
    89       '<td class="SideBox">'.$this->System->ModuleManager->Modules['ShoutBox']->ShowBox().'</td>'.
    90       '</tr></table>'.
    91       '<table class="Home"><tr>'.
    92       '<td class="news-box">'.$this->System->ModuleManager->Modules['Forum']->ShowBox().'</td>'.
    93       '<td class="SideBox">'.$this->System->ModuleManager->Modules['Translation']->ShowBox().'</td>'.
    94       '</tr></table>';
     87    $Output .=
     88      '<div class="box-left">'.$this->System->ModuleManager->Modules['News']->ShowBox().'</div>'.
     89      '<div class="box-right">'.$this->System->ModuleManager->Modules['ShoutBox']->ShowBox().'</div>'.
     90      '<div class="box-left">'.$this->System->ModuleManager->Modules['Forum']->ShowBox().'</div>'.
     91      '<div class="box-right">'.$this->System->ModuleManager->Modules['Translation']->ShowBox().'</div>';
    9592     return($Output);
    9693  }
Note: See TracChangeset for help on using the changeset viewer.