Merged small whois online block into whois online module
This commit is contained in:
@@ -137,6 +137,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar
|
|||||||
<change>Allow duplicate inclusion of module if it's in a different column type</change>
|
<change>Allow duplicate inclusion of module if it's in a different column type</change>
|
||||||
<change>Fixed incorrect arrow directions when using rtl language (ACP)</change>
|
<change>Fixed incorrect arrow directions when using rtl language (ACP)</change>
|
||||||
<change>Disabled poll module for the side columns</change>
|
<change>Disabled poll module for the side columns</change>
|
||||||
|
<change>Merged small whois online block into whois online module</change>
|
||||||
</changelog>
|
</changelog>
|
||||||
<changelog lang="de">
|
<changelog lang="de">
|
||||||
<change>Deutsche Sprachvariablen mit englischen ersetzt</change>
|
<change>Deutsche Sprachvariablen mit englischen ersetzt</change>
|
||||||
@@ -166,6 +167,7 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar
|
|||||||
<change>Doppelte Einbindung von Modulen erlaubt, falls sie in einem anderen Spaltentyp hinzugefügt werden</change>
|
<change>Doppelte Einbindung von Modulen erlaubt, falls sie in einem anderen Spaltentyp hinzugefügt werden</change>
|
||||||
<change>Falsche Pfeilrichtungen bei RTL Sprachen korrigiert (Admin-Bereich)</change>
|
<change>Falsche Pfeilrichtungen bei RTL Sprachen korrigiert (Admin-Bereich)</change>
|
||||||
<change>Umfrage Modul in den seitlichen Spalten deaktiviert</change>
|
<change>Umfrage Modul in den seitlichen Spalten deaktiviert</change>
|
||||||
|
<change>Kleinen "Wer ist online?" Block in das "Wer ist online?" Modul eingefügt</change>
|
||||||
</changelog>
|
</changelog>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ class portal_whois_online_module
|
|||||||
* right 8
|
* right 8
|
||||||
* bottom 16
|
* bottom 16
|
||||||
*/
|
*/
|
||||||
public $columns = 21;
|
public $columns = 31;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default modulename
|
* Default modulename
|
||||||
@@ -39,7 +39,7 @@ class portal_whois_online_module
|
|||||||
* Default module-image:
|
* Default module-image:
|
||||||
* file must be in "{T_THEME_PATH}/images/portal/"
|
* file must be in "{T_THEME_PATH}/images/portal/"
|
||||||
*/
|
*/
|
||||||
public $image_src = '';
|
public $image_src = 'portal_friends.png';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* module-language file
|
* module-language file
|
||||||
@@ -104,6 +104,15 @@ class portal_whois_online_module
|
|||||||
|
|
||||||
return 'whois_online_center.html';
|
return 'whois_online_center.html';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function get_template_side($module_id)
|
||||||
|
{
|
||||||
|
global $config, $template, $user, $auth, $db, $phpbb_root_path, $phpEx;
|
||||||
|
|
||||||
|
// No legend on the side so just return the template file
|
||||||
|
|
||||||
|
return 'whois_online_side.html';
|
||||||
|
}
|
||||||
|
|
||||||
public function get_template_acp($module_id)
|
public function get_template_acp($module_id)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF --><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$LR_BLOCK_H_R}
|
||||||
|
<p style="font-size: 90%; margin: 0 5px 0 5px;">{TOTAL_USERS_ONLINE}<br /> <br />{LOGGED_IN_USER_LIST}</p>
|
||||||
|
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF --><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$LR_BLOCK_H_R}
|
||||||
|
<table class="tablebg" cellspacing="1" width="100%">
|
||||||
|
<tr>
|
||||||
|
<td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE}<br /><br />{LOGGED_IN_USER_LIST}</span></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
|
||||||
Reference in New Issue
Block a user