mirror of
https://github.com/Mibew/mibew.git
synced 2024-11-16 00:54:12 +03:00
Add notification about cron to operator/history.php
This commit is contained in:
parent
8914f01b3b
commit
67de68b28b
@ -114,6 +114,7 @@ confirm.take.yes=Yes. I'm sure
|
||||
content.blocked=Here you can block malicious visitors.
|
||||
content.history=Search the dialogs history.
|
||||
content.logoff=Log out of the system.
|
||||
cron.check.setup=Enshure that cron was set up correctly or run it <a href="{0}">manually</a>.
|
||||
data.saved=Changes saved
|
||||
demo.chat.question=There are so many browsers to choose from. Which ones do you recommend?
|
||||
demo.chat.welcome=Hello. How may I help you?
|
||||
|
@ -114,6 +114,7 @@ confirm.take.yes=
|
||||
content.blocked=Здесь можно защищаться от спама и вредных посетителей.
|
||||
content.history=Поиск по истории диалогов.
|
||||
content.logoff=Покинуть систему.
|
||||
cron.check.setup=Убедитесь, что cron настроен правильно или запустите его <a href="{0}">вручную</a>.
|
||||
data.saved=Изменения сохранены
|
||||
demo.chat.question=Посоветуйте мне, пожалуйста, хороший браузер?
|
||||
demo.chat.welcome=Здравствуйте! Чем я могу Вам помочь?
|
||||
|
@ -20,6 +20,7 @@ require_once('../libs/operator.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/userinfo.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once('../libs/cron.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -91,6 +92,7 @@ if ($query !== false) {
|
||||
|
||||
$page['formtype'] = $searchType;
|
||||
$page['forminsystemmessages'] = $searchInSystemMessages;
|
||||
$page['cron_path'] = cron_get_uri(Settings::get('cron_key'));
|
||||
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
|
@ -21,6 +21,9 @@ $page['menuid'] = "history";
|
||||
|
||||
function tpl_content() { global $page, $webimroot;
|
||||
?>
|
||||
<?php if (! $page['pagination.items']) { ?>
|
||||
<div id="formmessage"><?php echo getlocal2("cron.check.setup", array($page['cron_path'])) ?></div>
|
||||
<?php } ?>
|
||||
|
||||
<?php echo getlocal("page_search.intro") ?>
|
||||
<br />
|
||||
|
Loading…
Reference in New Issue
Block a user