0 Membros e 1 Visitante estão a ver este tópico.
); // By default do the basic settings. $_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic'; $context['sub_action'] = $_REQUEST['sa'];
'emptyboards' => 'ModifyEmptyBoards',
); // Default to core (I assume) $_REQUEST['sa'] = isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) ? $_REQUEST['sa'] : 'basic';
'karma' => array( 'title' => $txt['smf293'], 'href' => $scripturl . '?action=featuresettings;sa=karma;sesc=' . $context['session_id'], 'is_last' => true, ),
'emptyboards' => array( 'title' => $txt['EmptyBoards'], 'href' => $scripturl . '?action=featuresettings;sa=emptyboards;sesc=' . $context['session_id'], ),
?>
// Empty Boards Notifications v1.0 - Created by Sindorffunction ModifyEmptyBoards(){ global $txt, $scripturl, $context, $settings, $sc; $config_vars = array( array('check', 'EnableEmptyBoards'), array('check', 'EnableLinkMode'), array('check', 'EnableMessageIndex'), ); if (isset($_GET['save'])) { saveDBSettings($config_vars); redirectexit('action=featuresettings;sa=emptyboards'); } $context['post_url'] = $scripturl . '?action=featuresettings2;save;sa=emptyboards'; $context['settings_title'] = $txt['EmptyBoards']; prepareDBSettingContext($config_vars);}
if (!empty($board['last_post']['id'])) echo ' <b>', $txt[22], '</b> ', $txt[525], ' ', $board['last_post']['member']['link'] , '<br /> ', $txt['smf88'], ' ', $board['last_post']['link'], '<br /> ', $txt[30], ' ', $board['last_post']['time'];
//Empty Boards Notifications v1.0 - Created by Sindorf - START elseif ($modSettings['EnableEmptyBoards'] == 1 && $modSettings['EnableLinkMode'] == 0) echo '<b>', $txt['boardindex_empty_message'], '</b>'; elseif ($modSettings['EnableEmptyBoards'] == 1 && $modSettings['EnableLinkMode'] == 1) echo '<a href="', $scripturl, '?action=post;board=', $board['id'], '.0"><b>', $txt['boardindex_empty_message'], '</b></a>'; //Empty Boards Notifications v1.0 - Created by Sindorf - END
// No topics.... just say, "sorry bub". else echo ' <td class="catbg3" width="100%" colspan="7"><b>', $txt[151], '</b></td>';
//Empty Boards Notifications v1.0 - Created by Sindorf - START elseif ($modSettings['EnableEmptyBoards'] == 1 && $modSettings['EnableMessageIndex'] == 1) echo ' <td class="catbg3" width="100%" colspan="7"><b>', $txt[151], '</b></td></tr><tr> <td class="windowbg" width="100%" height="60" valign="middle" align="center"><b>',$txt['messageindex_empty_message'], '</b></td>'; //Empty Boards Notifications v1.0 - Created by Sindorf - END
//Empty Boards Notifications v1.0 - Created by Sindorf translate by candidosa2 Update smfpt.net//Admin - Text Strings$txt['EmptyBoards'] = 'Quadro vazio de Notificações';$txt['EnableLinkMode'] = 'Activar Link Modo do quadro Index';$txt['EnableEmptyBoards'] = 'Quadro vazio de Notificaçõess';$txt['EnableMessageIndex'] = 'Activar quadro Vazio de Notificação nas Mensagem Index';//Forum - Text Strings can be found in index.portuguese_pt.php
//Empty Boards Notifications v1.0 - Created by Sindorf translate by candidosa2 Update smfpt.net//Admin - Text Strings$txt['EmptyBoards'] = 'Quadro vazio de Notificações';$txt['EnableLinkMode'] = 'Activar Link Modo do quadro Index';$txt['EnableEmptyBoards'] = 'Quadro vazio de Notificaçõess';$txt['EnableMessageIndex'] = 'Activar quadro Vazio de Notificação nas Mensagem Index';//Forum - Text Strings can be found in index.portuguese_brazilian.php