Changeset 854 for trunk/Modules/ShoutBox


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/ShoutBox/ShoutBox.php

    r851 r854  
    3030
    3131    if($this->System->User->Licence(LICENCE_USER))
    32       $Output .= ' <a href="'.$this->System->Link('/shoutbox/?a=add').'">'.T('Add').'</a>';
    33     $Output .= '<div class="box"><table>';
     32      $Output .= '<a href="'.$this->System->Link('/shoutbox/?a=add').'">'.T('Add').'</a>';
     33    $Output .= '<div class="box"><div class="shoutbox"><table>';
    3434    $DbResult = $this->Database->query('SELECT * FROM `ShoutBox` ORDER BY `ID` DESC LIMIT 30');
    3535    while($Line = $DbResult->fetch_assoc())
    3636      $Output .= '<tr><td><strong>'.$Line['UserName'].'</strong>: '.MakeActiveLinks($Line['Text']).'</td></tr>';
    37     $Output .= '</table></div>';
     37    $Output .= '</table></div></div>';
    3838    return($Output);
    3939  }
Note: See TracChangeset for help on using the changeset viewer.