diff --git a/upload/admin/admin_sitemap.php b/upload/admin/admin_sitemap.php index 61cb44790..4eda8d0f5 100644 --- a/upload/admin/admin_sitemap.php +++ b/upload/admin/admin_sitemap.php @@ -41,8 +41,8 @@ else } } -$s_mess = 'Файл индекса создан '.bb_date($new['sitemap_time'], $bb_cfg['post_date_format']).' доступен по адресу: '.make_url('/sitemap/sitemap.xml').''; -$message = (@file_exists(BB_ROOT. "/sitemap/sitemap.xml")) ? $s_mess : 'Файл индекса не создан'; +$s_mess = 'Файл sitemap создан: '.bb_date($new['sitemap_time'], $bb_cfg['post_date_format']).' и доступен по адресу: '.make_url('/sitemap/sitemap.xml').''; +$message = (@file_exists(BB_ROOT. "/sitemap/sitemap.xml")) ? $s_mess : 'Файл sitemap еще не создан'; $template->assign_vars(array( 'STATIC_SITEMAP' => $new['static_sitemap'], diff --git a/upload/ajax/sitemap.php b/upload/ajax/sitemap.php index 1a6c3a0d6..4837a3757 100644 --- a/upload/ajax/sitemap.php +++ b/upload/ajax/sitemap.php @@ -14,9 +14,9 @@ switch ($mode) $map->create(); if (@file_exists(BB_ROOT. "/sitemap/sitemap.xml")) { - $html .= 'Файл индекса создан '.bb_date(TIMENOW, $bb_cfg['post_date_format']).' доступен по адресу: '.make_url('/sitemap/sitemap.xml').''; + $html .= 'Файл sitemap создан: '.bb_date(TIMENOW, $bb_cfg['post_date_format']).' и доступен по адресу: '.make_url('/sitemap/sitemap.xml').''; } else { - $html .= 'Файл индекса не создан'; + $html .= 'Файл sitemap еще не создан'; } break; diff --git a/upload/templates/admin/admin_sitemap.tpl b/upload/templates/admin/admin_sitemap.tpl index 45910616a..fa6a4f8d3 100644 --- a/upload/templates/admin/admin_sitemap.tpl +++ b/upload/templates/admin/admin_sitemap.tpl @@ -73,32 +73,45 @@ ajax.callback.sitemap = function(data) { } -