Changeset 854 for trunk/Modules
- Timestamp:
- Jan 19, 2016, 5:25:11 PM (9 years ago)
- Location:
- trunk/Modules
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Forum/Forum.php
r852 r854 44 44 $Count = 20; 45 45 $Output = '<strong><a href="'.$this->System->Link('/forum/').'">'.T('Last forum posts').':</a></strong>'; 46 $Output .= '<div class="box">'; 46 47 47 48 $Query = 'SELECT `ForumText`.`Text`, `ForumText`.`Date`, `User`.`Name` AS `UserName`, '. … … 60 61 '</tr>'; 61 62 } 62 $Output .= '</table> ';63 $Output .= '</table></div>'; 63 64 return($Output); 64 65 } -
trunk/Modules/FrontPage/FrontPage.php
r850 r854 81 81 82 82 $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>'; 86 86 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>'; 95 92 return($Output); 96 93 } -
trunk/Modules/News/News.php
r850 r854 29 29 function ShowBox() 30 30 { 31 $Count = 6;31 $Count = 10; 32 32 $Output = '<strong><a href="'.$this->System->Link('/news/').'">'.T('News').':</a></strong>'. 33 '<div class=" NewsBox">';33 '<div class="box"><div class="NewsBox">'; 34 34 $DbResult = $this->Database->query('SELECT `News`.`Time`, `User`.`Name`, `News`.`Text`,`News`.`Title`, `News`.`Id` '. 35 35 ' FROM `News` JOIN `User` ON `User`.`ID` = `News`.`User` ORDER BY `Time` DESC LIMIT '.$Count); … … 37 37 { 38 38 $Output .= '<h4><a href="'.$this->System->Link('/news/?a=item&i='.$DbRow['Id']).'">'.$DbRow['Title'].'</a> ('.HumanDate($DbRow['Time']).')</h4>'. 39 ' 39 '<div>'.$DbRow['Text'].' ('.$DbRow['Name'].')</div>'; 40 40 } 41 $Output .= '</div> ';41 $Output .= '</div></div>'; 42 42 return($Output); 43 43 } -
trunk/Modules/ShoutBox/ShoutBox.php
r851 r854 30 30 31 31 if($this->System->User->Licence(LICENCE_USER)) 32 $Output .= ' 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>'; 34 34 $DbResult = $this->Database->query('SELECT * FROM `ShoutBox` ORDER BY `ID` DESC LIMIT 30'); 35 35 while($Line = $DbResult->fetch_assoc()) 36 36 $Output .= '<tr><td><strong>'.$Line['UserName'].'</strong>: '.MakeActiveLinks($Line['Text']).'</td></tr>'; 37 $Output .= '</table></div> ';37 $Output .= '</table></div></div>'; 38 38 return($Output); 39 39 } -
trunk/Modules/Translation/Translation.php
r850 r854 99 99 $Count = 40; 100 100 $Output = '<strong>'.T('Last translated').':</strong>'; 101 $Output .= '<div class="box">'; 101 102 102 103 $GroupListQuery = 'SELECT `Group`.* FROM `Group`'; … … 131 132 $Output .= '</table>'; 132 133 } 134 $Output .= '</div>'; 133 135 return($Output); 134 136 }
Note:
See TracChangeset
for help on using the changeset viewer.