mirror of
https://github.com/Mibew/mibew.git
synced 2025-03-03 18:38:31 +03:00
Secure file paths (use dirname everywhere)
This commit is contained in:
parent
d73922358f
commit
8be55e86d7
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('libs/init.php');
|
||||
require_once('libs/chat.php');
|
||||
require_once('libs/operator.php');
|
||||
require_once('libs/groups.php');
|
||||
require_once('libs/classes/thread.php');
|
||||
require_once(dirname(__FILE__).'/libs/init.php');
|
||||
require_once(dirname(__FILE__).'/libs/chat.php');
|
||||
require_once(dirname(__FILE__).'/libs/operator.php');
|
||||
require_once(dirname(__FILE__).'/libs/groups.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/thread.php');
|
||||
|
||||
$referer = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : "";
|
||||
if($referer && isset($_SESSION['threadid'])) {
|
||||
|
@ -15,6 +15,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('b.php');
|
||||
require_once(dirname(__FILE__).'/b.php');
|
||||
exit;
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('libs/init.php');
|
||||
require_once('libs/captcha.php');
|
||||
require_once(dirname(__FILE__).'/libs/init.php');
|
||||
require_once(dirname(__FILE__).'/libs/captcha.php');
|
||||
|
||||
$captchaCode = gen_captcha();
|
||||
$_SESSION["mibew_captcha"] = $captchaCode;
|
||||
|
@ -15,15 +15,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('libs/init.php');
|
||||
require_once('libs/chat.php');
|
||||
require_once('libs/operator.php');
|
||||
require_once('libs/groups.php');
|
||||
require_once('libs/expand.php');
|
||||
require_once('libs/captcha.php');
|
||||
require_once('libs/invitation.php');
|
||||
require_once('libs/track.php');
|
||||
require_once('libs/classes/thread.php');
|
||||
require_once(dirname(__FILE__).'/libs/init.php');
|
||||
require_once(dirname(__FILE__).'/libs/chat.php');
|
||||
require_once(dirname(__FILE__).'/libs/operator.php');
|
||||
require_once(dirname(__FILE__).'/libs/groups.php');
|
||||
require_once(dirname(__FILE__).'/libs/expand.php');
|
||||
require_once(dirname(__FILE__).'/libs/captcha.php');
|
||||
require_once(dirname(__FILE__).'/libs/invitation.php');
|
||||
require_once(dirname(__FILE__).'/libs/track.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/thread.php');
|
||||
|
||||
if(Settings::get('enablessl') == "1" && Settings::get('forcessl') == "1") {
|
||||
if(!is_secure_request()) {
|
||||
@ -44,7 +44,7 @@ if (get_remote_level($_SERVER['HTTP_USER_AGENT']) == 'old') {
|
||||
$page = array_merge_recursive(
|
||||
setup_logo()
|
||||
);
|
||||
expand("styles/dialogs", getchatstyle(), "nochat.tpl");
|
||||
expand(dirname(__FILE__).'/styles/dialogs', getchatstyle(), "nochat.tpl");
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -63,7 +63,7 @@ if (verifyparam("act", "/^(invitation)$/", "default") == 'invitation'
|
||||
// Build js application options
|
||||
$page['invitationOptions'] = json_encode($page['invitation']);
|
||||
// Expand page
|
||||
expand("styles/dialogs", getchatstyle(), "chat.tpl");
|
||||
expand(dirname(__FILE__).'/styles/dialogs', getchatstyle(), "chat.tpl");
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -129,7 +129,7 @@ if( !isset($_GET['token']) || !isset($_GET['thread']) ) {
|
||||
)
|
||||
);
|
||||
$page['leaveMessageOptions'] = json_encode($page['leaveMessage']);
|
||||
expand("styles/dialogs", getchatstyle(), "chat.tpl");
|
||||
expand(dirname(__FILE__).'/styles/dialogs', getchatstyle(), "chat.tpl");
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -158,7 +158,7 @@ if( !isset($_GET['token']) || !isset($_GET['thread']) ) {
|
||||
setup_survey($visitor['name'], $email, $groupid, $info, $referrer)
|
||||
);
|
||||
$page['surveyOptions'] = json_encode($page['survey']);
|
||||
expand("styles/dialogs", getchatstyle(), "chat.tpl");
|
||||
expand(dirname(__FILE__).'/styles/dialogs', getchatstyle(), "chat.tpl");
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -184,12 +184,12 @@ $page = setup_chatview_for_user($thread);
|
||||
|
||||
$pparam = verifyparam( "act", "/^(mailthread)$/", "default");
|
||||
if( $pparam == "mailthread" ) {
|
||||
expand("styles/dialogs", getchatstyle(), "mail.tpl");
|
||||
expand(dirname(__FILE__).'/styles/dialogs', getchatstyle(), "mail.tpl");
|
||||
} else {
|
||||
// Build js application options
|
||||
$page['chatOptions'] = json_encode($page['chat']);
|
||||
// Expand page
|
||||
expand("styles/dialogs", getchatstyle(), "chat.tpl");
|
||||
expand(dirname(__FILE__).'/styles/dialogs', getchatstyle(), "chat.tpl");
|
||||
}
|
||||
|
||||
?>
|
@ -16,11 +16,11 @@
|
||||
*/
|
||||
|
||||
// Initialize librariess
|
||||
require_once('libs/init.php');
|
||||
require_once('libs/classes/thread.php');
|
||||
require_once('libs/track.php');
|
||||
require_once('libs/statistics.php');
|
||||
require_once('libs/cron.php');
|
||||
require_once(dirname(__FILE__).'/libs/init.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/thread.php');
|
||||
require_once(dirname(__FILE__).'/libs/track.php');
|
||||
require_once(dirname(__FILE__).'/libs/statistics.php');
|
||||
require_once(dirname(__FILE__).'/libs/cron.php');
|
||||
|
||||
$cron_key = empty($_GET['cron_key']) ? '' : $_GET['cron_key'];
|
||||
|
||||
|
@ -295,7 +295,7 @@ function show_install_err($text)
|
||||
);
|
||||
$errors = array($text);
|
||||
start_html_output();
|
||||
require('../view/install_err.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/install_err.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
|
@ -17,18 +17,18 @@
|
||||
|
||||
session_start();
|
||||
|
||||
require_once('../libs/config.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/config.php');
|
||||
|
||||
// Include some classes
|
||||
require_once('../libs/classes/plugin_manager.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/plugin_manager.php');
|
||||
|
||||
// Include common functions
|
||||
require_once('../libs/common/constants.php');
|
||||
require_once('../libs/common/locale.php');
|
||||
require_once('../libs/common/misc.php');
|
||||
require_once('../libs/common/response.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/common/constants.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/common/locale.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/common/misc.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/common/response.php');
|
||||
// Include database structure
|
||||
require_once('dbinfo.php');
|
||||
require_once(dirname(__FILE__).'/dbinfo.php');
|
||||
|
||||
function runsql($query, $link)
|
||||
{
|
||||
|
@ -17,19 +17,19 @@
|
||||
|
||||
session_start();
|
||||
|
||||
require_once('../libs/config.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/config.php');
|
||||
|
||||
// Include some classes
|
||||
require_once('../libs/classes/plugin_manager.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/plugin_manager.php');
|
||||
|
||||
// Include common functions
|
||||
require_once('../libs/common/constants.php');
|
||||
require_once('../libs/common/locale.php');
|
||||
require_once('../libs/common/misc.php');
|
||||
require_once('../libs/common/response.php');
|
||||
require_once('../libs/common/string.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/common/constants.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/common/locale.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/common/misc.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/common/response.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/common/string.php');
|
||||
// Include database structure
|
||||
require_once('dbinfo.php');
|
||||
require_once(dirname(__FILE__).'/dbinfo.php');
|
||||
|
||||
$page = array(
|
||||
'version' => $version,
|
||||
@ -367,5 +367,5 @@ function check_status()
|
||||
check_status();
|
||||
|
||||
start_html_output();
|
||||
require('../view/install_index.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/install_index.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
|
||||
$db = Database::getInstance();
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
//require_once('mibew_api_interaction.php');
|
||||
//require_once(dirname(__FILE__).'/mibew_api_interaction.php');
|
||||
|
||||
/**
|
||||
* Implements Mibew API specification version 1.0
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/locale.php');
|
||||
require_once(dirname(__FILE__).'/locale.php');
|
||||
|
||||
function date_diff_to_text($seconds)
|
||||
{
|
||||
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/converter.php');
|
||||
require_once(dirname(__FILE__) . '/verification.php');
|
||||
require_once(dirname(__FILE__).'/converter.php');
|
||||
require_once(dirname(__FILE__).'/verification.php');
|
||||
|
||||
$locale_cookie_name = 'mibew_locale';
|
||||
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/constants.php');
|
||||
require_once(dirname(__FILE__).'/constants.php');
|
||||
|
||||
function debugexit_print($var)
|
||||
{
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/locale.php');
|
||||
require_once(dirname(__FILE__).'/locale.php');
|
||||
|
||||
/* ajax server actions use utf-8 */
|
||||
function getrawparam($name)
|
||||
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/locale.php');
|
||||
require_once(dirname(__FILE__).'/locale.php');
|
||||
|
||||
function get_popup($href, $jshref, $message, $title, $wndName, $options)
|
||||
{
|
||||
|
@ -19,29 +19,29 @@
|
||||
session_start();
|
||||
|
||||
// Include configuration file
|
||||
require_once(dirname(__FILE__) . '/config.php');
|
||||
require_once(dirname(__FILE__).'/config.php');
|
||||
|
||||
// Include system constants file
|
||||
require_once(dirname(__FILE__) . '/common/constants.php');
|
||||
require_once(dirname(__FILE__).'/common/constants.php');
|
||||
|
||||
// Include system classes
|
||||
require_once(dirname(__FILE__) . '/classes/database.php');
|
||||
require_once(dirname(__FILE__) . '/classes/settings.php');
|
||||
require_once(dirname(__FILE__) . '/classes/event_dispatcher.php');
|
||||
require_once(dirname(__FILE__) . '/classes/plugin_manager.php');
|
||||
require_once(dirname(__FILE__) . '/classes/plugin.php');
|
||||
require_once(dirname(__FILE__).'/classes/database.php');
|
||||
require_once(dirname(__FILE__).'/classes/settings.php');
|
||||
require_once(dirname(__FILE__).'/classes/event_dispatcher.php');
|
||||
require_once(dirname(__FILE__).'/classes/plugin_manager.php');
|
||||
require_once(dirname(__FILE__).'/classes/plugin.php');
|
||||
|
||||
// Include common libs
|
||||
require_once(dirname(__FILE__) . '/common/configurations.php');
|
||||
require_once(dirname(__FILE__) . '/common/csrf.php');
|
||||
require_once(dirname(__FILE__) . '/common/datetime.php');
|
||||
require_once(dirname(__FILE__) . '/common/forms.php');
|
||||
require_once(dirname(__FILE__) . '/common/verification.php');
|
||||
require_once(dirname(__FILE__) . '/common/locale.php');
|
||||
require_once(dirname(__FILE__) . '/common/misc.php');
|
||||
require_once(dirname(__FILE__) . '/common/request.php');
|
||||
require_once(dirname(__FILE__) . '/common/response.php');
|
||||
require_once(dirname(__FILE__) . '/common/string.php');
|
||||
require_once(dirname(__FILE__).'/common/configurations.php');
|
||||
require_once(dirname(__FILE__).'/common/csrf.php');
|
||||
require_once(dirname(__FILE__).'/common/datetime.php');
|
||||
require_once(dirname(__FILE__).'/common/forms.php');
|
||||
require_once(dirname(__FILE__).'/common/verification.php');
|
||||
require_once(dirname(__FILE__).'/common/locale.php');
|
||||
require_once(dirname(__FILE__).'/common/misc.php');
|
||||
require_once(dirname(__FILE__).'/common/request.php');
|
||||
require_once(dirname(__FILE__).'/common/response.php');
|
||||
require_once(dirname(__FILE__).'/common/string.php');
|
||||
|
||||
|
||||
// Initialize the database
|
||||
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('libs/init.php');
|
||||
require_once(dirname(__FILE__).'/libs/init.php');
|
||||
|
||||
start_html_output();
|
||||
require('view/license.php');
|
||||
require(dirname(__FILE__).'/view/license.php');
|
||||
?>
|
@ -15,12 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('libs/init.php');
|
||||
require_once('libs/chat.php');
|
||||
require_once('libs/expand.php');
|
||||
require_once('libs/groups.php');
|
||||
require_once('libs/notify.php');
|
||||
require_once('libs/classes/thread.php');
|
||||
require_once(dirname(__FILE__).'/libs/init.php');
|
||||
require_once(dirname(__FILE__).'/libs/chat.php');
|
||||
require_once(dirname(__FILE__).'/libs/expand.php');
|
||||
require_once(dirname(__FILE__).'/libs/groups.php');
|
||||
require_once(dirname(__FILE__).'/libs/notify.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/thread.php');
|
||||
|
||||
$errors = array();
|
||||
$page = array();
|
||||
@ -51,7 +51,7 @@ if( count($errors) > 0 ) {
|
||||
$page,
|
||||
setup_logo($group)
|
||||
);
|
||||
expand("styles/dialogs", getchatstyle(), "mail.tpl");
|
||||
expand(dirname(__FILE__).'/styles/dialogs', getchatstyle(), "mail.tpl");
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -74,6 +74,6 @@ $page = array_merge_recursive(
|
||||
$page,
|
||||
setup_logo($group)
|
||||
);
|
||||
expand("styles/dialogs", getchatstyle(), "mailsent.tpl");
|
||||
expand(dirname(__FILE__).'/styles/dialogs', getchatstyle(), "mailsent.tpl");
|
||||
exit;
|
||||
?>
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/canned.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once('../libs/expand.php');
|
||||
require_once('../libs/classes/thread.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/canned.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/expand.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/thread.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -47,7 +47,7 @@ if (!isset($_GET['token'])) {
|
||||
if ($remote_level != "ajaxed") {
|
||||
$errors = array(getlocal("thread.error.old_browser"));
|
||||
start_html_output();
|
||||
expand("../styles/dialogs", getchatstyle(), "error.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "error.tpl");
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -55,7 +55,7 @@ if (!isset($_GET['token'])) {
|
||||
if (!$thread || !isset($thread->lastToken)) {
|
||||
$errors = array(getlocal("thread.error.wrong_thread"));
|
||||
start_html_output();
|
||||
expand("../styles/dialogs", getchatstyle(), "error.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "error.tpl");
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -67,7 +67,7 @@ if (!isset($_GET['token'])) {
|
||||
if (!is_capable(CAN_TAKEOVER, $operator)) {
|
||||
$errors = array(getlocal("thread.error.cannot_take_over"));
|
||||
start_html_output();
|
||||
expand("../styles/dialogs", getchatstyle(), "error.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "error.tpl");
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -78,7 +78,7 @@ if (!isset($_GET['token'])) {
|
||||
'link' => $_SERVER['PHP_SELF'] . "?thread=$threadid&force=true"
|
||||
);
|
||||
start_html_output();
|
||||
require('../view/confirm.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/confirm.php');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -87,13 +87,13 @@ if (!isset($_GET['token'])) {
|
||||
if(! $thread->take($operator)){
|
||||
$errors = array(getlocal("thread.error.cannot_take"));
|
||||
start_html_output();
|
||||
expand("../styles/dialogs", getchatstyle(), "error.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "error.tpl");
|
||||
exit;
|
||||
}
|
||||
} else if (!is_capable(CAN_VIEWTHREADS, $operator)) {
|
||||
$errors = array(getlocal("thread.error.cannot_view"));
|
||||
start_html_output();
|
||||
expand("../styles/dialogs", getchatstyle(), "error.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "error.tpl");
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -112,7 +112,7 @@ if (!$thread) {
|
||||
if ($thread->agentId != $operator['operatorid'] && !is_capable(CAN_VIEWTHREADS, $operator)) {
|
||||
$errors = array("Cannot view threads");
|
||||
start_html_output();
|
||||
expand("../styles/dialogs", getchatstyle(), "error.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "error.tpl");
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -126,12 +126,12 @@ start_html_output();
|
||||
$pparam = verifyparam("act", "/^(redirect)$/", "default");
|
||||
if ($pparam == "redirect") {
|
||||
setup_redirect_links($threadid, $operator, $token);
|
||||
expand("../styles/dialogs", getchatstyle(), "redirect.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "redirect.tpl");
|
||||
} else {
|
||||
// Build js application options
|
||||
$page['chatOptions'] = json_encode($page['chat']);
|
||||
// Expand page
|
||||
expand("../styles/dialogs", getchatstyle(), "chat.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "chat.tpl");
|
||||
}
|
||||
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
|
||||
$operator = check_login(false);
|
||||
|
||||
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/operator_settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator_settings.php');
|
||||
|
||||
$operator = check_login();
|
||||
csrfchecktoken();
|
||||
@ -97,5 +97,5 @@ $page['canmodify'] = $canmodify ? "1" : "";
|
||||
prepare_menu($operator);
|
||||
setup_operator_settings_tabs($opId, 1);
|
||||
start_html_output();
|
||||
require('../view/avatar.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/avatar.php');
|
||||
?>
|
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once('../libs/classes/thread.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/thread.php');
|
||||
|
||||
$operator = check_login();
|
||||
$page = array('banId' => '');
|
||||
@ -130,6 +130,6 @@ if (isset($_POST['address'])) {
|
||||
|
||||
prepare_menu($operator, false);
|
||||
start_html_output();
|
||||
require('../view/ban.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/ban.php');
|
||||
exit;
|
||||
?>
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
|
||||
$operator = check_login();
|
||||
$page = array();
|
||||
@ -53,6 +53,6 @@ setup_pagination($blockedList);
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
|
||||
require('../view/blocked_visitors.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/blocked_visitors.php');
|
||||
exit;
|
||||
?>
|
@ -15,12 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/canned.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/settings.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/canned.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -95,5 +95,5 @@ $page['formgroup'] = $groupid;
|
||||
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
require('../view/canned.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/canned.php');
|
||||
?>
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/canned.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/canned.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
|
||||
$operator = check_login();
|
||||
csrfchecktoken();
|
||||
@ -65,7 +65,7 @@ if (isset($_POST['message']) && isset($_POST['title'])) {
|
||||
$page['saved'] = true;
|
||||
prepare_menu($operator, false);
|
||||
start_html_output();
|
||||
require('../view/cannededit.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/cannededit.php');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -76,6 +76,6 @@ $page['formtitle'] = topage($title);
|
||||
$page['formmessage'] = topage($message);
|
||||
prepare_menu($operator, false);
|
||||
start_html_output();
|
||||
require('../view/cannededit.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/cannededit.php');
|
||||
exit;
|
||||
?>
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/settings.php');
|
||||
|
||||
$operator = check_login();
|
||||
csrfchecktoken();
|
||||
@ -65,5 +65,5 @@ foreach ($options as $opt) {
|
||||
prepare_menu($operator);
|
||||
setup_settings_tabs(1);
|
||||
start_html_output();
|
||||
require('../view/features.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/features.php');
|
||||
?>
|
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once('../libs/getcode.php');
|
||||
require_once('../libs/styles.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/getcode.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/styles.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -96,5 +96,5 @@ $page['operator_code'] = $operator_code;
|
||||
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
require('../view/gen_button.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/gen_button.php');
|
||||
?>
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -246,5 +246,5 @@ $page['availableParentGroups'] = get_available_parent_groups($groupid);
|
||||
prepare_menu($operator);
|
||||
setup_group_settings_tabs($groupid, 0);
|
||||
start_html_output();
|
||||
require('../view/group.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/group.php');
|
||||
?>
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -89,5 +89,5 @@ $page['stored'] = isset($_GET['stored']);
|
||||
prepare_menu($operator);
|
||||
setup_group_settings_tabs($groupid, 1);
|
||||
start_html_output();
|
||||
require('../view/groupmembers.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/groupmembers.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -72,5 +72,5 @@ $page['availableDirections'] = array(
|
||||
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
require('../view/groups.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/groups.php');
|
||||
?>
|
@ -15,12 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
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');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/userinfo.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/cron.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -99,5 +99,5 @@ $page['forminsystemmessages'] = $searchInSystemMessages;
|
||||
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
require('../view/thread_search.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/thread_search.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -37,5 +37,5 @@ $page = array(
|
||||
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
require('../view/menu.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/menu.php');
|
||||
?>
|
@ -15,15 +15,15 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/invitation.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/classes/mibew_api.php');
|
||||
require_once('../libs/classes/mibew_api_interaction.php');
|
||||
require_once('../libs/classes/mibew_api_invite_interaction.php');
|
||||
require_once('../libs/classes/mibew_api_execution_context.php');
|
||||
require_once('../libs/classes/client_side_processor.php');
|
||||
require_once('../libs/classes/invite_processor.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/invitation.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/mibew_api.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/mibew_api_interaction.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/mibew_api_invite_interaction.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/mibew_api_execution_context.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/client_side_processor.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/invite_processor.php');
|
||||
|
||||
$processor = InviteProcessor::getInstance();
|
||||
$processor->receiveRequest($_POST['data']);
|
||||
|
@ -15,13 +15,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once('../libs/expand.php');
|
||||
require_once('../libs/settings.php');
|
||||
require_once('../libs/styles.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/expand.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/styles.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -40,5 +40,5 @@ $page['operatorName'] = (empty($operator['vclocalname'])?$operator['vccommonname
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
setup_settings_tabs(4);
|
||||
require('../view/invitation_themes.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/invitation_themes.php');
|
||||
?>
|
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/invitation.php');
|
||||
require_once('../libs/track.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/classes/thread.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/invitation.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/track.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/thread.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
|
||||
$errors = array();
|
||||
$page = array('formisRemember' => true, 'version' => $version);
|
||||
@ -54,5 +54,5 @@ if (isset($_POST['login']) && isset($_POST['password'])) {
|
||||
|
||||
$page['localeLinks'] = get_locale_links("$mibewroot/operator/login.php");
|
||||
start_html_output();
|
||||
require('../view/login.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/login.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
|
||||
logout_operator();
|
||||
|
||||
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/operator_settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator_settings.php');
|
||||
|
||||
$operator = check_login();
|
||||
csrfchecktoken();
|
||||
@ -154,5 +154,5 @@ $page['needChangePassword'] = check_password_hash($operator['vclogin'], '', $ope
|
||||
prepare_menu($operator);
|
||||
setup_operator_settings_tabs($opId, 0);
|
||||
start_html_output();
|
||||
require('../view/agent.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/agent.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -112,5 +112,5 @@ setlocale(LC_TIME, getstring("time.locale"));
|
||||
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
require('../view/agents.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/agents.php');
|
||||
?>
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/operator_settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator_settings.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -85,5 +85,5 @@ $page['stored'] = isset($_GET['stored']);
|
||||
prepare_menu($operator);
|
||||
setup_operator_settings_tabs($opId, 2);
|
||||
start_html_output();
|
||||
require('../view/operator_groups.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/operator_groups.php');
|
||||
?>
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/settings.php');
|
||||
|
||||
$operator = check_login();
|
||||
csrfchecktoken();
|
||||
@ -124,5 +124,5 @@ $page['stored'] = isset($_GET['stored']);
|
||||
prepare_menu($operator);
|
||||
setup_settings_tabs(2);
|
||||
start_html_output();
|
||||
require('../view/performance.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/performance.php');
|
||||
?>
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/operator_settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator_settings.php');
|
||||
|
||||
$operator = check_login();
|
||||
csrfchecktoken();
|
||||
@ -75,5 +75,5 @@ $page['stored'] = isset($_GET['stored']);
|
||||
prepare_menu($operator);
|
||||
setup_operator_settings_tabs($opId, 3);
|
||||
start_html_output();
|
||||
require('../view/permissions.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/permissions.php');
|
||||
?>
|
@ -15,12 +15,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/expand.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once('../libs/classes/thread.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/expand.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/thread.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -111,9 +111,9 @@ $page = array_merge_recursive(
|
||||
setup_logo()
|
||||
);
|
||||
if (count($errors) > 0) {
|
||||
expand("../styles/dialogs", getchatstyle(), "error.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "error.tpl");
|
||||
} else {
|
||||
expand("../styles/dialogs", getchatstyle(), "redirected.tpl");
|
||||
expand(dirname(dirname(__FILE__)).'/styles/dialogs', getchatstyle(), "redirected.tpl");
|
||||
}
|
||||
|
||||
?>
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/settings.php');
|
||||
|
||||
$errors = array();
|
||||
$page = array('version' => $version, 'showform' => true);
|
||||
@ -57,7 +57,7 @@ if (count($errors) == 0 && isset($_POST['password'])) {
|
||||
|
||||
$page['loginname'] = $operator['vclogin'];
|
||||
start_html_output();
|
||||
require('../view/resetpwd.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/resetpwd.php');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -66,5 +66,5 @@ $page['id'] = $opId;
|
||||
$page['token'] = $token;
|
||||
$page['isdone'] = false;
|
||||
start_html_output();
|
||||
require('../view/resetpwd.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/resetpwd.php');
|
||||
?>
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/settings.php');
|
||||
require_once('../libs/notify.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/notify.php');
|
||||
|
||||
$errors = array();
|
||||
$page = array('version' => $version);
|
||||
@ -55,7 +55,7 @@ if (isset($_POST['loginoremail'])) {
|
||||
mibew_mail($email, $email, getstring("restore.mailsubj"), getstring2("restore.mailtext", array(get_operator_name($torestore), $href)));
|
||||
|
||||
$page['isdone'] = true;
|
||||
require('../view/restore.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/restore.php');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -65,5 +65,5 @@ $page['formloginoremail'] = topage($loginoremail);
|
||||
$page['localeLinks'] = get_locale_links("$mibewroot/operator/restore.php");
|
||||
$page['isdone'] = false;
|
||||
start_html_output();
|
||||
require('../view/restore.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/restore.php');
|
||||
?>
|
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/settings.php');
|
||||
require_once('../libs/styles.php');
|
||||
require_once('../libs/cron.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/styles.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/cron.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -120,6 +120,6 @@ if (Settings::get('enabletracking')) {
|
||||
prepare_menu($operator);
|
||||
setup_settings_tabs(0);
|
||||
start_html_output();
|
||||
require('../view/settings.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/settings.php');
|
||||
|
||||
?>
|
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/statistics.php');
|
||||
require_once('../libs/cron.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/statistics.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/cron.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -174,5 +174,5 @@ $page['showresults'] = count($errors) == 0;
|
||||
prepare_menu($operator);
|
||||
setup_statistics_tabs($activetab);
|
||||
start_html_output();
|
||||
require('../view/statistics.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/statistics.php');
|
||||
?>
|
@ -15,14 +15,14 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once('../libs/expand.php');
|
||||
require_once('../libs/settings.php');
|
||||
require_once('../libs/styles.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/expand.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/styles.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -53,5 +53,5 @@ $page['screenshotsList'] = $screenshots;
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
setup_settings_tabs(3);
|
||||
require('../view/themes.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/themes.php');
|
||||
?>
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/userinfo.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/userinfo.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -58,5 +58,5 @@ if (isset($_GET['threadid'])) {
|
||||
|
||||
prepare_menu($operator, false);
|
||||
start_html_output();
|
||||
require('../view/thread_log.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/thread_log.php');
|
||||
?>
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/track.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/track.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -57,5 +57,5 @@ foreach ($path as $k => $v) {
|
||||
'link' => htmlspecialchars($v) );
|
||||
}
|
||||
start_html_output();
|
||||
require('../view/tracked.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/tracked.php');
|
||||
?>
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
|
||||
function compare_localization_by_l1($a, $b)
|
||||
{
|
||||
@ -154,7 +154,7 @@ if ($stringid) {
|
||||
$page['saved'] = true;
|
||||
prepare_menu($operator, false);
|
||||
start_html_output();
|
||||
require('../view/translate.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/translate.php');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
@ -166,7 +166,7 @@ if ($stringid) {
|
||||
$page['formtranslation'] = $translation;
|
||||
prepare_menu($operator, false);
|
||||
start_html_output();
|
||||
require('../view/translate.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/translate.php');
|
||||
exit;
|
||||
}
|
||||
|
||||
@ -227,5 +227,5 @@ $page['showOptions'] = array(
|
||||
$page['formshow'] = $show;
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
require('../view/translatelist.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/translatelist.php');
|
||||
?>
|
@ -15,20 +15,20 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/userinfo.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once('../libs/invitation.php');
|
||||
require_once('../libs/track.php');
|
||||
require_once('../libs/classes/thread.php');
|
||||
require_once('../libs/classes/mibew_api.php');
|
||||
require_once('../libs/classes/mibew_api_interaction.php');
|
||||
require_once('../libs/classes/mibew_api_users_interaction.php');
|
||||
require_once('../libs/classes/mibew_api_execution_context.php');
|
||||
require_once('../libs/classes/client_side_processor.php');
|
||||
require_once('../libs/classes/users_processor.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/userinfo.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/invitation.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/track.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/thread.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/mibew_api.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/mibew_api_interaction.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/mibew_api_users_interaction.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/mibew_api_execution_context.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/client_side_processor.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/classes/users_processor.php');
|
||||
|
||||
$processor = UsersProcessor::getInstance();
|
||||
$processor->receiveRequest($_POST['data']);
|
||||
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/settings.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/settings.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -43,5 +43,5 @@ foreach ($default_extensions as $ext) {
|
||||
prepare_menu($operator);
|
||||
setup_settings_tabs(3);
|
||||
start_html_output();
|
||||
require('../view/updates.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/updates.php');
|
||||
?>
|
@ -15,11 +15,11 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/chat.php');
|
||||
require_once('../libs/userinfo.php');
|
||||
require_once('../libs/pagination.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/chat.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/userinfo.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/pagination.php');
|
||||
|
||||
$operator = check_login();
|
||||
|
||||
@ -63,5 +63,5 @@ foreach ($page['pagination.items'] as $key => $item) {
|
||||
$page['pagination.items'][$key] = Thread::createFromDbInfo($item);
|
||||
}
|
||||
start_html_output();
|
||||
require('../view/userhistory.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/userhistory.php');
|
||||
?>
|
@ -15,9 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('../libs/init.php');
|
||||
require_once('../libs/operator.php');
|
||||
require_once('../libs/groups.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/init.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/operator.php');
|
||||
require_once(dirname(dirname(__FILE__)).'/libs/groups.php');
|
||||
|
||||
$operator = check_login();
|
||||
force_password($operator);
|
||||
@ -57,5 +57,5 @@ $page = array_merge($page, get_plugins_data('users'));
|
||||
|
||||
prepare_menu($operator);
|
||||
start_html_output();
|
||||
require('../view/pending_users.php');
|
||||
require(dirname(dirname(__FILE__)).'/view/pending_users.php');
|
||||
?>
|
@ -15,20 +15,20 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('libs/init.php');
|
||||
require_once('libs/chat.php');
|
||||
require_once('libs/operator.php');
|
||||
require_once('libs/invitation.php');
|
||||
require_once('libs/groups.php');
|
||||
require_once('libs/captcha.php');
|
||||
require_once('libs/notify.php');
|
||||
require_once('libs/classes/thread.php');
|
||||
require_once('libs/classes/mibew_api.php');
|
||||
require_once('libs/classes/mibew_api_interaction.php');
|
||||
require_once('libs/classes/mibew_api_chat_interaction.php');
|
||||
require_once('libs/classes/mibew_api_execution_context.php');
|
||||
require_once('libs/classes/client_side_processor.php');
|
||||
require_once('libs/classes/thread_processor.php');
|
||||
require_once(dirname(__FILE__).'/libs/init.php');
|
||||
require_once(dirname(__FILE__).'/libs/chat.php');
|
||||
require_once(dirname(__FILE__).'/libs/operator.php');
|
||||
require_once(dirname(__FILE__).'/libs/invitation.php');
|
||||
require_once(dirname(__FILE__).'/libs/groups.php');
|
||||
require_once(dirname(__FILE__).'/libs/captcha.php');
|
||||
require_once(dirname(__FILE__).'/libs/notify.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/thread.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/mibew_api.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/mibew_api_interaction.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/mibew_api_chat_interaction.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/mibew_api_execution_context.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/client_side_processor.php');
|
||||
require_once(dirname(__FILE__).'/libs/classes/thread_processor.php');
|
||||
|
||||
$processor = ThreadProcessor::getInstance();
|
||||
$processor->receiveRequest($_POST['data']);
|
||||
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("page_agent.title");
|
||||
$page['menuid'] = $page['opid'] == $page['currentopid'] ? "profile" : "operators";
|
||||
@ -33,7 +33,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
<?php if( $page['needChangePassword'] ) { ?>
|
||||
<div id="formmessage"><?php echo getlocal("error.no_password") ?></div>
|
||||
@ -134,5 +134,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("page_agents.title");
|
||||
$page['menuid'] = "operators";
|
||||
|
||||
@ -32,7 +32,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<form name="agentsForm" method="get" action="<?php echo $mibewroot ?>/operator/operators.php">
|
||||
@ -135,5 +135,5 @@ $('a.removelink').click(function(){
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("page_avatar.title");
|
||||
$page['menuid'] = $page['opid'] == $page['currentopid'] ? "profile" : "operators";
|
||||
@ -28,7 +28,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<form name="avatarForm" method="post" action="<?php echo $mibewroot ?>/operator/avatar.php" enctype="multipart/form-data">
|
||||
@ -93,5 +93,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -32,7 +32,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br/>
|
||||
<br/>
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
|
||||
@ -94,5 +94,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("page_bans.title");
|
||||
$page['menuid'] = "blocked";
|
||||
|
||||
@ -32,7 +32,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<div class="tabletool">
|
||||
@ -119,5 +119,5 @@ $('a.removelink').click(function(){
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("canned.title");
|
||||
$page['menuid'] = "canned";
|
||||
|
||||
@ -26,7 +26,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<form name="cannedForm" method="get" action="<?php echo $mibewroot ?>/operator/canned.php">
|
||||
@ -119,5 +119,5 @@ if( $page['pagination.items'] ) {
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -36,7 +36,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br/>
|
||||
<br/>
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<form name="cannedForm" method="post" action="<?php echo $mibewroot ?>/operator/cannededit.php">
|
||||
@ -76,5 +76,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -54,5 +54,5 @@ function tpl_content() { global $page, $mibewroot;
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("settings.title");
|
||||
$page['menuid'] = "settings";
|
||||
@ -74,7 +74,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
<?php if( $page['stored'] ) { ?>
|
||||
<div id="formmessage"><?php echo getlocal("features.saved") ?></div>
|
||||
@ -237,5 +237,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("page.gen_button.title");
|
||||
$page['menuid'] = "getcode";
|
||||
|
||||
@ -26,7 +26,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<form name="buttonCodeForm" method="get" action="<?php echo $mibewroot ?>/operator/getcode.php">
|
||||
@ -131,5 +131,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
function tpl_header() { global $page, $mibewroot;
|
||||
?>
|
||||
@ -56,7 +56,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
<?php if( $page['stored'] ) { ?>
|
||||
<div id="formmessage"><?php echo getlocal("data.saved") ?></div>
|
||||
@ -189,5 +189,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("page.groupmembers.title");
|
||||
$page['menuid'] = "groups";
|
||||
@ -28,7 +28,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
<?php if( $page['stored'] ) { ?>
|
||||
<div id="formmessage"><?php echo getlocal("data.saved") ?></div>
|
||||
@ -64,5 +64,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("page.groups.title");
|
||||
$page['menuid'] = "groups";
|
||||
|
||||
@ -32,7 +32,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<form name="groupsForm" method="get" action="<?php echo $mibewroot ?>/operator/groups.php">
|
||||
@ -152,5 +152,5 @@ $('a.removelink').click(function(){
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -23,12 +23,12 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
?>
|
||||
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
<?php echo getlocal("install.err.back") ?>
|
||||
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('../view/inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
if(isset($page) && isset($page['localeLinks'])) {
|
||||
require_once('inc_locales.php');
|
||||
require_once(dirname(__FILE__).'/inc_locales.php');
|
||||
}
|
||||
$page['title'] = getlocal("install.title");
|
||||
$page['fixedwrap'] = true;
|
||||
@ -49,7 +49,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br/>
|
||||
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<?php if( $page['done'] ) { ?>
|
||||
@ -82,5 +82,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('../view/inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("page.preview.title");
|
||||
$page['menuid'] = "settings";
|
||||
@ -67,5 +67,5 @@ function tpl_content() { global $page, $mibewroot;
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -43,5 +43,5 @@ limitations under the License.</p>
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
if(isset($page) && isset($page['localeLinks'])) {
|
||||
require_once('inc_locales.php');
|
||||
require_once(dirname(__FILE__).'/inc_locales.php');
|
||||
}
|
||||
$page['title'] = getlocal("page_login.title");
|
||||
$page['headertitle'] = getlocal("app.title");
|
||||
@ -42,7 +42,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<?php echo getlocal("page_login.intro") ?><br/><br/>
|
||||
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<div class="field">
|
||||
@ -87,5 +87,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("topMenu.admin");
|
||||
$page['menuid'] = "main";
|
||||
|
||||
@ -188,5 +188,5 @@ $menuItemsCount = 2;
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("operator.groups.title");
|
||||
$page['menuid'] = $page['opid'] == $page['currentopid'] ? "profile" : "operators";
|
||||
@ -28,7 +28,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
<?php if( $page['stored'] ) { ?>
|
||||
<div id="formmessage"><?php echo getlocal("data.saved") ?></div>
|
||||
@ -66,5 +66,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("clients.title");
|
||||
$page['menuid'] = "users";
|
||||
|
||||
@ -160,5 +160,5 @@ function tpl_content() { global $page, $mibewroot;
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("settings.title");
|
||||
$page['menuid'] = "settings";
|
||||
@ -28,7 +28,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
<?php if( $page['stored'] ) { ?>
|
||||
<div id="formmessage"><?php echo getlocal("settings.saved") ?></div>
|
||||
@ -151,5 +151,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("permissions.title");
|
||||
$page['menuid'] = $page['opid'] == $page['currentopid'] ? "profile" : "operators";
|
||||
@ -28,7 +28,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
<?php if( $page['stored'] ) { ?>
|
||||
<div id="formmessage"><?php echo getlocal("data.saved") ?></div>
|
||||
@ -63,5 +63,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
if(isset($page) && isset($page['localeLinks'])) {
|
||||
require_once('inc_locales.php');
|
||||
require_once(dirname(__FILE__).'/inc_locales.php');
|
||||
}
|
||||
$page['title'] = getlocal("resetpwd.title");
|
||||
$page['headertitle'] = getlocal("app.title");
|
||||
@ -60,7 +60,7 @@ function tpl_content() {
|
||||
<?php echo getlocal("resetpwd.intro") ?><br/><br/>
|
||||
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<?php if($page['showform']) { ?>
|
||||
@ -106,5 +106,5 @@ require_once('inc_errors.php');
|
||||
}
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
if(isset($page) && isset($page['localeLinks'])) {
|
||||
require_once('inc_locales.php');
|
||||
require_once(dirname(__FILE__).'/inc_locales.php');
|
||||
}
|
||||
$page['title'] = getlocal("restore.title");
|
||||
$page['headertitle'] = getlocal("app.title");
|
||||
@ -57,7 +57,7 @@ function tpl_content() {
|
||||
<?php echo getlocal("restore.intro") ?><br/><br/>
|
||||
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<div class="field">
|
||||
@ -92,5 +92,5 @@ require_once('inc_errors.php');
|
||||
}
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("settings.title");
|
||||
$page['menuid'] = "settings";
|
||||
@ -28,7 +28,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
<?php if( $page['stored'] ) { ?>
|
||||
<div id="formmessage"><?php echo getlocal("settings.saved") ?></div>
|
||||
@ -168,5 +168,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_tabbar.php");
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
|
||||
$page['title'] = getlocal("statistics.title");
|
||||
$page['menuid'] = "statistics";
|
||||
@ -28,7 +28,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br />
|
||||
<br />
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<form name="statisticsForm" method="get" action="<?php echo $mibewroot ?>/operator/statistics.php">
|
||||
@ -266,5 +266,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,8 +15,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once("inc_tabbar.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
require_once(dirname(__FILE__).'/inc_tabbar.php');
|
||||
|
||||
$page['title'] = getlocal("page.preview.title");
|
||||
$page['menuid'] = "settings";
|
||||
@ -59,5 +59,5 @@ function tpl_content() { global $page, $mibewroot;
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -120,5 +120,5 @@ $chatthread = $page['thread_info']['thread'];
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("page_analysis.search.title");
|
||||
$page['menuid'] = "history";
|
||||
|
||||
@ -129,5 +129,5 @@ if( $page['pagination.items'] ) {
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -81,5 +81,5 @@ if(count($page['history']) > 0) {
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -36,7 +36,7 @@ function tpl_content() { global $page, $mibewroot, $errors;
|
||||
<br/>
|
||||
<br/>
|
||||
<?php
|
||||
require_once('inc_errors.php');
|
||||
require_once(dirname(__FILE__).'/inc_errors.php');
|
||||
?>
|
||||
|
||||
<form name="translateForm" method="post" action="<?php echo $mibewroot ?>/operator/translate.php">
|
||||
@ -73,5 +73,5 @@ require_once('inc_errors.php');
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("page.translate.title");
|
||||
$page['menuid'] = "translate";
|
||||
|
||||
@ -123,5 +123,5 @@ if( $page['pagination.items'] ) {
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once("inc_menu.php");
|
||||
require_once(dirname(__FILE__).'/inc_menu.php');
|
||||
$page['title'] = getlocal("updates.title");
|
||||
$page['menuid'] = "updates";
|
||||
|
||||
@ -66,5 +66,5 @@ function tpl_content() { global $page, $mibewroot;
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -83,5 +83,5 @@ if( $page['pagination.items'] ) {
|
||||
<?php
|
||||
} /* content */
|
||||
|
||||
require_once('inc_main.php');
|
||||
require_once(dirname(__FILE__).'/inc_main.php');
|
||||
?>
|
@ -15,10 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
require_once('libs/init.php');
|
||||
require_once('libs/invitation.php');
|
||||
require_once('libs/operator.php');
|
||||
require_once('libs/track.php');
|
||||
require_once(dirname(__FILE__).'/libs/init.php');
|
||||
require_once(dirname(__FILE__).'/libs/invitation.php');
|
||||
require_once(dirname(__FILE__).'/libs/operator.php');
|
||||
require_once(dirname(__FILE__).'/libs/track.php');
|
||||
|
||||
$operator = array();
|
||||
$response = array();
|
||||
|
Loading…
Reference in New Issue
Block a user