From 466cc31f45cfb3dab0de5b5094d02150754d5b79 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 12 Mar 2013 21:03:50 +0000 Subject: [PATCH] Update headers --- src/messenger/webim/install/dbinfo.php | 2 +- src/messenger/webim/install/dbperform.php | 2 +- src/messenger/webim/libs/canned.php | 24 ++++++-------- src/messenger/webim/libs/chat.php | 2 +- src/messenger/webim/libs/common.php | 2 +- src/messenger/webim/libs/config.php | 2 +- src/messenger/webim/libs/groups.php | 2 +- src/messenger/webim/libs/invitation.php | 26 +++++++-------- src/messenger/webim/libs/notify.php | 2 +- src/messenger/webim/libs/operator.php | 2 +- .../webim/libs/operator_settings.php | 2 +- src/messenger/webim/libs/request.php | 26 +++++++-------- src/messenger/webim/libs/settings.php | 2 +- src/messenger/webim/libs/statistics.php | 32 ++++++++----------- src/messenger/webim/libs/styles.php | 32 ++++++++----------- src/messenger/webim/libs/track.php | 26 +++++++-------- src/messenger/webim/operator/avatar.php | 2 +- src/messenger/webim/operator/ban.php | 2 +- src/messenger/webim/operator/blocked.php | 2 +- src/messenger/webim/operator/canned.php | 2 +- src/messenger/webim/operator/cannededit.php | 2 +- src/messenger/webim/operator/features.php | 2 +- src/messenger/webim/operator/group.php | 2 +- src/messenger/webim/operator/groupmembers.php | 2 +- src/messenger/webim/operator/groups.php | 2 +- src/messenger/webim/operator/history.php | 2 +- .../webim/operator/invitationstate.php | 26 +++++++-------- .../webim/operator/invitationthemes.php | 30 ++++++++--------- src/messenger/webim/operator/invite.php | 26 +++++++-------- src/messenger/webim/operator/operator.php | 2 +- src/messenger/webim/operator/operators.php | 2 +- src/messenger/webim/operator/opgroups.php | 2 +- src/messenger/webim/operator/performance.php | 2 +- src/messenger/webim/operator/permissions.php | 2 +- src/messenger/webim/operator/resetpwd.php | 2 +- src/messenger/webim/operator/restore.php | 2 +- src/messenger/webim/operator/settings.php | 2 +- src/messenger/webim/operator/statistics.php | 2 +- .../webim/operator/threadprocessor.php | 2 +- src/messenger/webim/operator/tracked.php | 24 ++++++-------- src/messenger/webim/operator/translate.php | 2 +- src/messenger/webim/operator/update.php | 2 +- src/messenger/webim/operator/userhistory.php | 2 +- src/messenger/webim/request.php | 25 ++++++--------- src/messenger/webim/view/agent.php | 2 +- src/messenger/webim/view/agents.php | 2 +- src/messenger/webim/view/avatar.php | 2 +- src/messenger/webim/view/canned.php | 2 +- src/messenger/webim/view/cannededit.php | 2 +- src/messenger/webim/view/features.php | 2 +- .../webim/view/invitation_themes.php | 30 ++++++++--------- src/messenger/webim/view/invite.php | 24 ++++++-------- src/messenger/webim/view/performance.php | 2 +- src/messenger/webim/view/permissions.php | 2 +- src/messenger/webim/view/settings.php | 2 +- src/messenger/webim/view/tracked.php | 24 ++++++-------- src/messenger/webim/view/translate.php | 2 +- 57 files changed, 202 insertions(+), 259 deletions(-) diff --git a/src/messenger/webim/install/dbinfo.php b/src/messenger/webim/install/dbinfo.php index 00a456f4..ee4ac0b6 100644 --- a/src/messenger/webim/install/dbinfo.php +++ b/src/messenger/webim/install/dbinfo.php @@ -291,4 +291,4 @@ function get_indexes($tablename, $link) } } -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/install/dbperform.php b/src/messenger/webim/install/dbperform.php index 26b1addc..598bcd8e 100644 --- a/src/messenger/webim/install/dbperform.php +++ b/src/messenger/webim/install/dbperform.php @@ -232,4 +232,4 @@ if ($act == "silentcreateall") { mysql_close($link); header("Location: $webimroot/install/index.php"); exit; -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/canned.php b/src/messenger/webim/libs/canned.php index 9fe57037..309adc06 100644 --- a/src/messenger/webim/libs/canned.php +++ b/src/messenger/webim/libs/canned.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/common.php b/src/messenger/webim/libs/common.php index fecf2a77..e9482607 100644 --- a/src/messenger/webim/libs/common.php +++ b/src/messenger/webim/libs/common.php @@ -805,4 +805,4 @@ function setcsrftoken() } } -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/config.php b/src/messenger/webim/libs/config.php index c8d326d4..ccbb670f 100644 --- a/src/messenger/webim/libs/config.php +++ b/src/messenger/webim/libs/config.php @@ -51,4 +51,4 @@ $mail_encoding = "utf-8"; $home_locale = "en"; /* native name will be used in this locale */ $default_locale = "en"; /* if user does not provide known lang */ -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/groups.php b/src/messenger/webim/libs/groups.php index d8445f5c..1762b440 100644 --- a/src/messenger/webim/libs/groups.php +++ b/src/messenger/webim/libs/groups.php @@ -94,4 +94,4 @@ function get_top_level_group($group) return is_null($group['parent'])?$group:group_by_id($group['parent']); } -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/invitation.php b/src/messenger/webim/libs/invitation.php index d5a1fd9e..1c7b1ece 100644 --- a/src/messenger/webim/libs/invitation.php +++ b/src/messenger/webim/libs/invitation.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/notify.php b/src/messenger/webim/libs/notify.php index c65489b6..48e400d3 100644 --- a/src/messenger/webim/libs/notify.php +++ b/src/messenger/webim/libs/notify.php @@ -31,4 +31,4 @@ function webim_mail($toaddr, $reply_to, $subject, $body, $link) @mail($toaddr, $real_subject, wordwrap(myiconv($webim_encoding, $mail_encoding, $body), 70), $headers); } -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/operator.php b/src/messenger/webim/libs/operator.php index 2294db21..262ff428 100755 --- a/src/messenger/webim/libs/operator.php +++ b/src/messenger/webim/libs/operator.php @@ -577,4 +577,4 @@ function get_operator_groupids($operatorid) return $result; } -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/operator_settings.php b/src/messenger/webim/libs/operator_settings.php index d2682999..60fcf2f6 100644 --- a/src/messenger/webim/libs/operator_settings.php +++ b/src/messenger/webim/libs/operator_settings.php @@ -32,4 +32,4 @@ function setup_operator_settings_tabs($opId, $active) } } -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/request.php b/src/messenger/webim/libs/request.php index b4af2495..af8d582b 100644 --- a/src/messenger/webim/libs/request.php +++ b/src/messenger/webim/libs/request.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/settings.php b/src/messenger/webim/libs/settings.php index c4d52c35..79df493b 100644 --- a/src/messenger/webim/libs/settings.php +++ b/src/messenger/webim/libs/settings.php @@ -44,4 +44,4 @@ function setup_settings_tabs($active) } } -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/statistics.php b/src/messenger/webim/libs/statistics.php index 566c0176..ae72be98 100644 --- a/src/messenger/webim/libs/statistics.php +++ b/src/messenger/webim/libs/statistics.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/styles.php b/src/messenger/webim/libs/styles.php index d6dd5174..66f68f66 100644 --- a/src/messenger/webim/libs/styles.php +++ b/src/messenger/webim/libs/styles.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/libs/track.php b/src/messenger/webim/libs/track.php index fb3ca394..d7392af1 100644 --- a/src/messenger/webim/libs/track.php +++ b/src/messenger/webim/libs/track.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/avatar.php b/src/messenger/webim/operator/avatar.php index 3996c92e..d8fd9ab3 100644 --- a/src/messenger/webim/operator/avatar.php +++ b/src/messenger/webim/operator/avatar.php @@ -99,4 +99,4 @@ prepare_menu($operator); setup_operator_settings_tabs($opId, 1); start_html_output(); require('../view/avatar.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/ban.php b/src/messenger/webim/operator/ban.php index db8b5fec..0f1df186 100644 --- a/src/messenger/webim/operator/ban.php +++ b/src/messenger/webim/operator/ban.php @@ -118,4 +118,4 @@ prepare_menu($operator, false); start_html_output(); require('../view/ban.php'); exit; -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/blocked.php b/src/messenger/webim/operator/blocked.php index e97079a6..8bf373ea 100644 --- a/src/messenger/webim/operator/blocked.php +++ b/src/messenger/webim/operator/blocked.php @@ -53,4 +53,4 @@ start_html_output(); require('../view/blocked_visitors.php'); exit; -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/canned.php b/src/messenger/webim/operator/canned.php index 71c05902..13d003f7 100644 --- a/src/messenger/webim/operator/canned.php +++ b/src/messenger/webim/operator/canned.php @@ -97,4 +97,4 @@ $page['formgroup'] = $groupid; prepare_menu($operator); start_html_output(); require('../view/canned.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/cannededit.php b/src/messenger/webim/operator/cannededit.php index 2dfc81c0..9196f1b4 100644 --- a/src/messenger/webim/operator/cannededit.php +++ b/src/messenger/webim/operator/cannededit.php @@ -79,4 +79,4 @@ prepare_menu($operator, false); start_html_output(); require('../view/cannededit.php'); exit; -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/features.php b/src/messenger/webim/operator/features.php index 6a94c693..3121cecf 100644 --- a/src/messenger/webim/operator/features.php +++ b/src/messenger/webim/operator/features.php @@ -67,4 +67,4 @@ prepare_menu($operator); setup_settings_tabs(1); start_html_output(); require('../view/features.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/group.php b/src/messenger/webim/operator/group.php index 652adce2..797968c1 100644 --- a/src/messenger/webim/operator/group.php +++ b/src/messenger/webim/operator/group.php @@ -232,4 +232,4 @@ prepare_menu($operator); setup_group_settings_tabs($groupid, 0); start_html_output(); require('../view/group.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/groupmembers.php b/src/messenger/webim/operator/groupmembers.php index 12bc2a18..f0e0182d 100644 --- a/src/messenger/webim/operator/groupmembers.php +++ b/src/messenger/webim/operator/groupmembers.php @@ -89,4 +89,4 @@ prepare_menu($operator); setup_group_settings_tabs($groupid, 1); start_html_output(); require('../view/groupmembers.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/groups.php b/src/messenger/webim/operator/groups.php index acbc71b9..bf60f2d4 100644 --- a/src/messenger/webim/operator/groups.php +++ b/src/messenger/webim/operator/groups.php @@ -78,4 +78,4 @@ $page['availableDirections'] = array( prepare_menu($operator); start_html_output(); require('../view/groups.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/history.php b/src/messenger/webim/operator/history.php index 73b3896b..f2529297 100644 --- a/src/messenger/webim/operator/history.php +++ b/src/messenger/webim/operator/history.php @@ -85,4 +85,4 @@ $page['forminsystemmessages'] = $searchInSystemMessages; prepare_menu($operator); start_html_output(); require('../view/thread_search.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/invitationstate.php b/src/messenger/webim/operator/invitationstate.php index d9bfde45..7f76e5c6 100644 --- a/src/messenger/webim/operator/invitationstate.php +++ b/src/messenger/webim/operator/invitationstate.php @@ -1,22 +1,18 @@ ' . ($invitation['threadid'] ? $invitation['threadid'] : '0') . echo ''; exit; -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/invitationthemes.php b/src/messenger/webim/operator/invitationthemes.php index a8783f38..bd2f9c75 100644 --- a/src/messenger/webim/operator/invitationthemes.php +++ b/src/messenger/webim/operator/invitationthemes.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/operator.php b/src/messenger/webim/operator/operator.php index 801bc06b..c17cb260 100644 --- a/src/messenger/webim/operator/operator.php +++ b/src/messenger/webim/operator/operator.php @@ -136,4 +136,4 @@ prepare_menu($operator); setup_operator_settings_tabs($opId, 0); start_html_output(); require('../view/agent.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/operators.php b/src/messenger/webim/operator/operators.php index 4e51dd47..b28267c0 100644 --- a/src/messenger/webim/operator/operators.php +++ b/src/messenger/webim/operator/operators.php @@ -114,4 +114,4 @@ setlocale(LC_TIME, getstring("time.locale")); prepare_menu($operator); start_html_output(); require('../view/agents.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/opgroups.php b/src/messenger/webim/operator/opgroups.php index 5b8d43d1..efe9414b 100644 --- a/src/messenger/webim/operator/opgroups.php +++ b/src/messenger/webim/operator/opgroups.php @@ -83,4 +83,4 @@ prepare_menu($operator); setup_operator_settings_tabs($opId, 2); start_html_output(); require('../view/operator_groups.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/performance.php b/src/messenger/webim/operator/performance.php index 2891518e..8557a460 100644 --- a/src/messenger/webim/operator/performance.php +++ b/src/messenger/webim/operator/performance.php @@ -127,4 +127,4 @@ prepare_menu($operator); setup_settings_tabs(2); start_html_output(); require('../view/performance.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/permissions.php b/src/messenger/webim/operator/permissions.php index 5c297051..ee57c9d2 100644 --- a/src/messenger/webim/operator/permissions.php +++ b/src/messenger/webim/operator/permissions.php @@ -86,4 +86,4 @@ prepare_menu($operator); setup_operator_settings_tabs($opId, 3); start_html_output(); require('../view/permissions.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/resetpwd.php b/src/messenger/webim/operator/resetpwd.php index f68f5eaa..fe1c5d55 100644 --- a/src/messenger/webim/operator/resetpwd.php +++ b/src/messenger/webim/operator/resetpwd.php @@ -65,4 +65,4 @@ $page['token'] = $token; $page['isdone'] = false; start_html_output(); require('../view/resetpwd.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/restore.php b/src/messenger/webim/operator/restore.php index 3c6ab769..b96f197c 100644 --- a/src/messenger/webim/operator/restore.php +++ b/src/messenger/webim/operator/restore.php @@ -60,4 +60,4 @@ $page['localeLinks'] = get_locale_links("$webimroot/operator/restore.php"); $page['isdone'] = false; start_html_output(); require('../view/restore.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/settings.php b/src/messenger/webim/operator/settings.php index 34b5805b..f644c14a 100644 --- a/src/messenger/webim/operator/settings.php +++ b/src/messenger/webim/operator/settings.php @@ -113,4 +113,4 @@ prepare_menu($operator); setup_settings_tabs(0); start_html_output(); require('../view/settings.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/statistics.php b/src/messenger/webim/operator/statistics.php index 4fbd37eb..356b24e8 100644 --- a/src/messenger/webim/operator/statistics.php +++ b/src/messenger/webim/operator/statistics.php @@ -100,4 +100,4 @@ prepare_menu($operator); setup_statistics_tabs($activetab); start_html_output(); require('../view/statistics.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/threadprocessor.php b/src/messenger/webim/operator/threadprocessor.php index 9cfb89ad..820c7a76 100644 --- a/src/messenger/webim/operator/threadprocessor.php +++ b/src/messenger/webim/operator/threadprocessor.php @@ -51,4 +51,4 @@ if (isset($_GET['threadid'])) { prepare_menu($operator, false); start_html_output(); require('../view/thread_log.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/tracked.php b/src/messenger/webim/operator/tracked.php index 9d5f3e64..716d2c14 100644 --- a/src/messenger/webim/operator/tracked.php +++ b/src/messenger/webim/operator/tracked.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/update.php b/src/messenger/webim/operator/update.php index 8a83d34b..8f777669 100644 --- a/src/messenger/webim/operator/update.php +++ b/src/messenger/webim/operator/update.php @@ -286,4 +286,4 @@ echo ''; notify_operator_alive($operator['operatorid'], $status); exit; -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/operator/userhistory.php b/src/messenger/webim/operator/userhistory.php index 6e6149a8..0f85b749 100644 --- a/src/messenger/webim/operator/userhistory.php +++ b/src/messenger/webim/operator/userhistory.php @@ -58,4 +58,4 @@ prepare_menu($operator); setup_pagination($found, 6); start_html_output(); require('../view/userhistory.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/request.php b/src/messenger/webim/request.php index cfdd6950..ecf2b4b1 100644 --- a/src/messenger/webim/request.php +++ b/src/messenger/webim/request.php @@ -1,23 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/view/agents.php b/src/messenger/webim/view/agents.php index db17f7e4..da070507 100644 --- a/src/messenger/webim/view/agents.php +++ b/src/messenger/webim/view/agents.php @@ -136,4 +136,4 @@ $('a.removelink').click(function(){ } /* content */ require_once('inc_main.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/view/avatar.php b/src/messenger/webim/view/avatar.php index 2a3841ad..cafe10b9 100644 --- a/src/messenger/webim/view/avatar.php +++ b/src/messenger/webim/view/avatar.php @@ -94,4 +94,4 @@ require_once('inc_errors.php'); } /* content */ require_once('inc_main.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/view/canned.php b/src/messenger/webim/view/canned.php index ec14d6b2..d6d30a9c 100644 --- a/src/messenger/webim/view/canned.php +++ b/src/messenger/webim/view/canned.php @@ -120,4 +120,4 @@ if( $page['pagination.items'] ) { } /* content */ require_once('inc_main.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/view/cannededit.php b/src/messenger/webim/view/cannededit.php index 2e941460..9e572ea0 100644 --- a/src/messenger/webim/view/cannededit.php +++ b/src/messenger/webim/view/cannededit.php @@ -77,4 +77,4 @@ require_once('inc_errors.php'); } /* content */ require_once('inc_main.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/view/features.php b/src/messenger/webim/view/features.php index 54966241..2b7ba080 100644 --- a/src/messenger/webim/view/features.php +++ b/src/messenger/webim/view/features.php @@ -238,4 +238,4 @@ require_once('inc_errors.php'); } /* content */ require_once('inc_main.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/view/invitation_themes.php b/src/messenger/webim/view/invitation_themes.php index 4097d36a..4dd65e35 100644 --- a/src/messenger/webim/view/invitation_themes.php +++ b/src/messenger/webim/view/invitation_themes.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file diff --git a/src/messenger/webim/view/permissions.php b/src/messenger/webim/view/permissions.php index 23f9f8f3..954bf845 100644 --- a/src/messenger/webim/view/permissions.php +++ b/src/messenger/webim/view/permissions.php @@ -64,4 +64,4 @@ require_once('inc_errors.php'); } /* content */ require_once('inc_main.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/view/settings.php b/src/messenger/webim/view/settings.php index 2d1a1eb2..fbefd0a9 100644 --- a/src/messenger/webim/view/settings.php +++ b/src/messenger/webim/view/settings.php @@ -160,4 +160,4 @@ require_once('inc_errors.php'); } /* content */ require_once('inc_main.php'); -?> +?> \ No newline at end of file diff --git a/src/messenger/webim/view/tracked.php b/src/messenger/webim/view/tracked.php index f68b66ec..d9ceb7f6 100644 --- a/src/messenger/webim/view/tracked.php +++ b/src/messenger/webim/view/tracked.php @@ -1,22 +1,18 @@ +?> \ No newline at end of file