Merge pull request #25 from marc1706/master
Removed number in latest bots title
This commit is contained in:
@@ -34,8 +34,6 @@ if (empty($lang) || !is_array($lang))
|
|||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'LATEST_BOTS' => 'Letzte Bots',
|
'LATEST_BOTS' => 'Letzte Bots',
|
||||||
'LAST_VISITED_BOTS' => 'Die letzten Bots',
|
'LAST_VISITED_BOTS' => 'Die letzten Bots',
|
||||||
'LAST_VISITED_BOTS_CNT' => 'Die letzten %s Bots',
|
|
||||||
'LAST_VISITED_BOT' => 'Der letzte Bot',
|
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_BOTS_SETTINGS' => 'Einstellungen für Bot-Besuche',
|
'ACP_PORTAL_BOTS_SETTINGS' => 'Einstellungen für Bot-Besuche',
|
||||||
|
|||||||
@@ -34,8 +34,6 @@ if (empty($lang) || !is_array($lang))
|
|||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'LATEST_BOTS' => 'Latest Bots',
|
'LATEST_BOTS' => 'Latest Bots',
|
||||||
'LAST_VISITED_BOTS' => 'Last visited bots',
|
'LAST_VISITED_BOTS' => 'Last visited bots',
|
||||||
'LAST_VISITED_BOTS_CNT' => 'Last %s visited bots',
|
|
||||||
'LAST_VISITED_BOT' => 'Last visited bot',
|
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_BOTS_SETTINGS' => 'Visiting bots settings',
|
'ACP_PORTAL_BOTS_SETTINGS' => 'Visiting bots settings',
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ class portal_latest_bots_module
|
|||||||
/**
|
/**
|
||||||
* hide module name in ACP configuration page
|
* hide module name in ACP configuration page
|
||||||
*/
|
*/
|
||||||
public $hide_name = true;
|
public $hide_name = false;
|
||||||
|
|
||||||
|
|
||||||
public function get_template_side($module_id)
|
public function get_template_side($module_id)
|
||||||
@@ -77,27 +77,6 @@ class portal_latest_bots_module
|
|||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
if($config['board3_last_visited_bots_number_' . $module_id] != 0)
|
|
||||||
{
|
|
||||||
if($config['board3_last_visited_bots_number_' . $module_id] == 1)
|
|
||||||
{
|
|
||||||
$last_visited_bots = $user->lang['LAST_VISITED_BOT'];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$last_visited_bots = sprintf($user->lang['LAST_VISITED_BOTS_CNT'], $config['board3_last_visited_bots_number_' . $module_id]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
$last_visited_bots = $user->lang['LAST_VISITED_BOTS'];
|
|
||||||
}
|
|
||||||
|
|
||||||
// Assign specific vars
|
|
||||||
$template->assign_vars(array(
|
|
||||||
'LAST_VISITED_BOTS' => $last_visited_bots,
|
|
||||||
));
|
|
||||||
|
|
||||||
if($show_module)
|
if($show_module)
|
||||||
{
|
{
|
||||||
return 'latest_bots_side.html';
|
return 'latest_bots_side.html';
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{LAST_VISITED_BOTS}{$LR_BLOCK_H_R}
|
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
|
||||||
<!-- BEGIN last_visited_bots -->
|
<!-- BEGIN last_visited_bots -->
|
||||||
<span class="genmed">{last_visited_bots.BOT_NAME}</span> <br /> <span class="gensmall">{last_visited_bots.LAST_VISIT_DATE}</span>
|
<span class="genmed">{last_visited_bots.BOT_NAME}</span> <br /> <span class="gensmall">{last_visited_bots.LAST_VISIT_DATE}</span>
|
||||||
<!-- IF not last_visited_bots.S_LAST_ROW --><hr /><!-- ENDIF -->
|
<!-- IF not last_visited_bots.S_LAST_ROW --><hr /><!-- ENDIF -->
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{LAST_VISITED_BOTS}{$LR_BLOCK_H_R}
|
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
|
||||||
<table class="tablebg" cellspacing="1" width="100%">
|
<table class="tablebg" cellspacing="1" width="100%">
|
||||||
<tr class="row1">
|
<tr class="row1">
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
Reference in New Issue
Block a user