From 12d50c4c6a8fa959f67158e47315c50cbd5cd044 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 27 Jan 2024 21:48:00 +0700 Subject: [PATCH] Updated --- index.php | 3 ++- styles/templates/default/index.tpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 2f130c0a..c25b4b92 100644 --- a/index.php +++ b/index.php @@ -313,6 +313,7 @@ $template->assign_vars(array( 'U_SEARCH_SELF_BY_MY' => "search.php?uid={$userdata['user_id']}&o=1", 'U_SEARCH_LATEST' => "search.php?search_id=latest", 'U_SEARCH_UNANSWERED' => "search.php?search_id=unanswered", + 'U_ATOM_FEED' => is_file($bb_cfg['atom']['path'] . '/f/0.atom') ? make_url($bb_cfg['atom']['url'] . '/f/0.atom') : false, 'SHOW_LAST_TOPIC' => $show_last_topic, )); @@ -434,4 +435,4 @@ define('SHOW_ONLINE', $show_online_users); if (isset($_GET['map'])) $template->assign_vars(array('PAGE_TITLE' => $lang['FORUM_MAP'])); -print_page('index.tpl'); \ No newline at end of file +print_page('index.tpl'); diff --git a/styles/templates/default/index.tpl b/styles/templates/default/index.tpl index 9390d550..523c39e4 100644 --- a/styles/templates/default/index.tpl +++ b/styles/templates/default/index.tpl @@ -14,7 +14,7 @@
{L_SEARCH_LATEST} · {L_SEARCH_SELF} {OPEN_MENU_IMG_ALT} · - {FEED_IMG} {L_LATEST_RELEASES} · + {FEED_IMG} {L_LATEST_RELEASES} · {FEED_IMG} {L_FORUM_MAP}