Delete links to fluxbb.org

This commit is contained in:
Visman 2023-01-03 15:01:17 +07:00
parent 2988181b0f
commit 0e3e6725b4
5 changed files with 10 additions and 25 deletions

View File

@ -22,23 +22,8 @@ require PUN_ROOT.'lang/'.$admin_language.'/admin_index.php';
$action = $_GET['action'] ?? null;
// Check for upgrade
if ($action === 'check_upgrade')
{
if (!ini_get('allow_url_fopen'))
message($lang_admin_index['fopen disabled message']);
$latest_version = trim(@file_get_contents('https://fluxbb.org/latest_version'));
if (empty($latest_version))
message($lang_admin_index['Upgrade check failed message']);
if (version_compare($pun_config['o_cur_version'], $latest_version, '>='))
message($lang_admin_index['Running latest version message']);
else
message(sprintf($lang_admin_index['New version available message'], '<a href="https://fluxbb.org/">FluxBB.org</a>'));
}
// Remove install.php
else if ($action === 'remove_install_file')
if ($action === 'remove_install_file')
{
$deleted = @unlink(PUN_ROOT.'install.php');
@ -89,7 +74,7 @@ generate_admin_menu('index');
<dl>
<dt><?php echo $lang_admin_index['FluxBB version label'] ?></dt>
<dd>
<?php printf($lang_admin_index['FluxBB version data']."\n", $pun_config['o_cur_version'].'.'.$pun_config['o_cur_ver_revision'], '<a href="https://fluxbb.org/forums/viewtopic.php?id=4941">'.$lang_admin_index['Check for upgrade'].'</a>') ?> - <a href="https://github.com/MioVisman/FluxBB_by_Visman">GitHub</a>
<?php printf($lang_admin_index['FluxBB version data']."\n", $pun_config['o_cur_version'].'.'.$pun_config['o_cur_ver_revision']) ?>
</dd>
<dt><?php echo $lang_admin_index['Server statistics label'] ?></dt>
<dd>
@ -97,7 +82,7 @@ generate_admin_menu('index');
</dd>
<dt><?php echo $lang_admin_index['Support label'] ?></dt>
<dd>
<a href="https://fluxbb.org/forums/index.php"><?php echo $lang_admin_index['Forum label'] ?></a> - <a href="https://fluxbb.org/community/irc.html"><?php echo $lang_admin_index['IRC label'] ?></a>
<a href="https://github.com/MioVisman/FluxBB_by_Visman">GitHub</a>
</dd>
</dl>
</div>

View File

@ -136,7 +136,7 @@ else if ($footer_style == 'viewtopic')
}
?>
<p id="poweredby"><?php printf($lang_common['Powered by'], '<a href="https://fluxbb.org/">FluxBB</a>'.(($pun_config['o_show_version'] == '1') ? ' '.$pun_config['o_cur_version'] : '')) ?></p>
<p id="poweredby"><?php printf($lang_common['Powered by'], 'FluxBB'.(($pun_config['o_show_version'] == '1') ? ' '.$pun_config['o_cur_version'] : '')) ?></p>
</div>
<div class="clearer"></div>
</div>

View File

@ -28,7 +28,7 @@ $lang_admin_index = array(
'About head' => 'About FluxBB',
'FluxBB version label' => 'FluxBB version',
'Check for upgrade' => 'Check for upgrade',
'FluxBB version data' => 'v%s - %s',
'FluxBB version data' => 'v %s',
'Server statistics label' => 'Server statistics',
'View server statistics' => 'View server statistics',
'Support label' => 'Support',

View File

@ -28,7 +28,7 @@ $lang_admin_index = array(
'Delete install file' => 'Удалить',
'FluxBB version label' => 'Версия FluxBB',
'Check for upgrade' => 'Искать обновления',
'FluxBB version data' => 'v%s - %s',
'FluxBB version data' => 'v %s',
'Server statistics label' => 'Статистика сервера',
'View server statistics' => 'Смотреть статистику сервера',
'Support label' => 'Саппорт',

View File

@ -20,8 +20,8 @@ of the other forums have whilst not sacrificing essential functionality or usabi
## Links
* Homepage: https://fluxbb.org
* Documentation: https://fluxbb.org/docs/v1.5
* Community: https://fluxbb.org/forums/, https://fluxbb.qb7.ru/forum/ (русское)
* Resources: https://fluxbb.org/resources/
* Homepage: https_://fluxbb.org
* Documentation: https_://fluxbb.org/docs/v1.5
* Community: https_://fluxbb.org/forums/, https://fluxbb.qb7.ru/forum/ (русское)
* Resources: https_://fluxbb.org/resources/
* Development: https://github.com/MioVisman/FluxBB_by_Visman