Merged small whois online block into whois online module
This commit is contained in:
@@ -28,7 +28,7 @@ class portal_whois_online_module
|
||||
* right 8
|
||||
* bottom 16
|
||||
*/
|
||||
public $columns = 21;
|
||||
public $columns = 31;
|
||||
|
||||
/**
|
||||
* Default modulename
|
||||
@@ -39,7 +39,7 @@ class portal_whois_online_module
|
||||
* Default module-image:
|
||||
* file must be in "{T_THEME_PATH}/images/portal/"
|
||||
*/
|
||||
public $image_src = '';
|
||||
public $image_src = 'portal_friends.png';
|
||||
|
||||
/**
|
||||
* module-language file
|
||||
@@ -104,6 +104,15 @@ class portal_whois_online_module
|
||||
|
||||
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)
|
||||
{
|
||||
|
||||
@@ -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