diff --git a/php/chat_agent_add.php b/php/chat_agent_add.php new file mode 100644 index 0000000000000000000000000000000000000000..29c71f39680066ac1880954f8d15f039506e7978 --- /dev/null +++ b/php/chat_agent_add.php @@ -0,0 +1,108 @@ +init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_agent_edit.php b/php/chat_agent_edit.php new file mode 100644 index 0000000000000000000000000000000000000000..fde30f33fc9a4f2da098feb2e3205f9407dc4a57 --- /dev/null +++ b/php/chat_agent_edit.php @@ -0,0 +1,107 @@ +isLockingRequest() ) +{ + $pageObject->doLockingAction(); + exit(); +} + +$pageObject->init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_agent_export.php b/php/chat_agent_export.php new file mode 100644 index 0000000000000000000000000000000000000000..72828b0a50f299088586803dc84db9875084b077 --- /dev/null +++ b/php/chat_agent_export.php @@ -0,0 +1,53 @@ +init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_agent_import.php b/php/chat_agent_import.php new file mode 100644 index 0000000000000000000000000000000000000000..6811efe7d2717c07ad6f2cdb05ca5d64c45fa883 --- /dev/null +++ b/php/chat_agent_import.php @@ -0,0 +1,53 @@ +init(); + +$pageObject->process(); + +?> \ No newline at end of file diff --git a/php/chat_agent_list.php b/php/chat_agent_list.php new file mode 100644 index 0000000000000000000000000000000000000000..d977c7fc1967a59260aa171599606d9dbfbaf5bf --- /dev/null +++ b/php/chat_agent_list.php @@ -0,0 +1,163 @@ +processSaveSearch() ) + exit(); + +if( $pageObject->updateRowOrder() ) + exit(); + +if ( $pageObject->processFieldFilter() ) + exit(); + +if( $pageObject->processTotals() ) + exit(); + +if( $mode != LIST_DETAILS && $mode != MAP_DASHBOARD && $mode != LIST_DASHBOARD ) +{ + //maps +} + +unset($_SESSION["message_add"]); +unset($_SESSION["message_edit"]); + +// prepare code for build page +$pageObject->prepareForBuildPage(); + +// show page depends of mode +$pageObject->showPage(); + +?> \ No newline at end of file diff --git a/php/chat_agent_print.php b/php/chat_agent_print.php new file mode 100644 index 0000000000000000000000000000000000000000..a1e69b43148115976b22c8eb44dbb68261c559df --- /dev/null +++ b/php/chat_agent_print.php @@ -0,0 +1,46 @@ +init(); +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_agent_search.php b/php/chat_agent_search.php new file mode 100644 index 0000000000000000000000000000000000000000..fd131944204398908503ca3d0febfaef0b7a13be --- /dev/null +++ b/php/chat_agent_search.php @@ -0,0 +1,84 @@ +displaySearchControl(); + return; +} + +$pageObject->init(); +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_agent_view.php b/php/chat_agent_view.php new file mode 100644 index 0000000000000000000000000000000000000000..63f11a509dfc72bb927387b93ba226076bc3205c --- /dev/null +++ b/php/chat_agent_view.php @@ -0,0 +1,67 @@ +init(); + +$pageObject->process(); + +?> \ No newline at end of file diff --git a/php/chat_external_add.php b/php/chat_external_add.php new file mode 100644 index 0000000000000000000000000000000000000000..aae719e4588476a8120de5c1d15c5646d3e0c826 --- /dev/null +++ b/php/chat_external_add.php @@ -0,0 +1,108 @@ +init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_external_edit.php b/php/chat_external_edit.php new file mode 100644 index 0000000000000000000000000000000000000000..4e28d828264addd0f53c23c4643d71b28df606c8 --- /dev/null +++ b/php/chat_external_edit.php @@ -0,0 +1,107 @@ +isLockingRequest() ) +{ + $pageObject->doLockingAction(); + exit(); +} + +$pageObject->init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_external_export.php b/php/chat_external_export.php new file mode 100644 index 0000000000000000000000000000000000000000..1b219e341c7c82540118343a0fb715310a90e969 --- /dev/null +++ b/php/chat_external_export.php @@ -0,0 +1,53 @@ +init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_external_import.php b/php/chat_external_import.php new file mode 100644 index 0000000000000000000000000000000000000000..e728bf31bd23228b00d2d8550c3881b63b8b39c9 --- /dev/null +++ b/php/chat_external_import.php @@ -0,0 +1,53 @@ +init(); + +$pageObject->process(); + +?> \ No newline at end of file diff --git a/php/chat_external_list.php b/php/chat_external_list.php new file mode 100644 index 0000000000000000000000000000000000000000..09df1f87d3a1858f91fc657a9057e3148aa4bb9f --- /dev/null +++ b/php/chat_external_list.php @@ -0,0 +1,163 @@ +processSaveSearch() ) + exit(); + +if( $pageObject->updateRowOrder() ) + exit(); + +if ( $pageObject->processFieldFilter() ) + exit(); + +if( $pageObject->processTotals() ) + exit(); + +if( $mode != LIST_DETAILS && $mode != MAP_DASHBOARD && $mode != LIST_DASHBOARD ) +{ + //maps +} + +unset($_SESSION["message_add"]); +unset($_SESSION["message_edit"]); + +// prepare code for build page +$pageObject->prepareForBuildPage(); + +// show page depends of mode +$pageObject->showPage(); + +?> \ No newline at end of file diff --git a/php/chat_external_print.php b/php/chat_external_print.php new file mode 100644 index 0000000000000000000000000000000000000000..bdb44a8582bb98c11b53c697d767661efd79ac79 --- /dev/null +++ b/php/chat_external_print.php @@ -0,0 +1,46 @@ +init(); +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_external_search.php b/php/chat_external_search.php new file mode 100644 index 0000000000000000000000000000000000000000..252d9fa2214b0ecb358277e4f451d90969d3950b --- /dev/null +++ b/php/chat_external_search.php @@ -0,0 +1,84 @@ +displaySearchControl(); + return; +} + +$pageObject->init(); +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/chat_external_view.php b/php/chat_external_view.php new file mode 100644 index 0000000000000000000000000000000000000000..cc667573392b7b886a277abdb3d9bd8586d4dcda --- /dev/null +++ b/php/chat_external_view.php @@ -0,0 +1,67 @@ +init(); + +$pageObject->process(); + +?> \ No newline at end of file diff --git a/php/classes/charts.php b/php/classes/charts.php index a32321a7d7aea1e7ea942507c6217de8ca1ef3a0..29fb81405e301ca783202d1225c56e65b707f57a 100644 --- a/php/classes/charts.php +++ b/php/classes/charts.php @@ -394,6 +394,12 @@ class Chart return true; if("chat126_users1" == $this->chrt_array['tables'][0]) return true; + if("" == $this->chrt_array['tables'][0]) + return true; + if("chat_external" == $this->chrt_array['tables'][0]) + return true; + if("chat_agent" == $this->chrt_array['tables'][0]) + return true; return false; } diff --git a/php/classes/db.php b/php/classes/db.php index 7d7d06bfa031b0bf6f2703714eb64adf1d533912..e5007b7c3e4e019c6b8fe6078e58481747d20418 100644 --- a/php/classes/db.php +++ b/php/classes/db.php @@ -355,6 +355,8 @@ class DB if( "chats_at_localhost" == $conn->connId ) { $dalTables[$conn->connId][] = array("name" => "chat126_users1", "varname" => "chats_at_localhost__chat126_users1", "altvarname" => "chat126_users1", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); + $dalTables[$conn->connId][] = array("name" => "chat_agent", "varname" => "chats_at_localhost__chat_agent", "altvarname" => "chat_agent", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); + $dalTables[$conn->connId][] = array("name" => "chat_external", "varname" => "chats_at_localhost__chat_external", "altvarname" => "chat_external", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $dalTables[$conn->connId][] = array("name" => "chat_files", "varname" => "chats_at_localhost__chat_files", "altvarname" => "chat_files", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $dalTables[$conn->connId][] = array("name" => "chat_groups", "varname" => "chats_at_localhost__chat_groups", "altvarname" => "chat_groups", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $dalTables[$conn->connId][] = array("name" => "chat_history", "varname" => "chats_at_localhost__chat_history", "altvarname" => "chat_history", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); diff --git a/php/classes/projectsettings.php b/php/classes/projectsettings.php index 473cb72daa1bffdcf27252daf7e936bc4c04f745..9914c57687b9fcaecab7c026edf996d359d8d8ff 100644 --- a/php/classes/projectsettings.php +++ b/php/classes/projectsettings.php @@ -3594,6 +3594,12 @@ function fillProjectEntites() $projectEntitiesReverse[ "chat_timezone" ] = "chat_timezone"; $projectEntities[ "chat126_users1" ] = array( "url" => "chat126_users1", "type" => 0 ); $projectEntitiesReverse[ "chat126_users1" ] = "chat126_users1"; + $projectEntities[ "Dashboard" ] = array( "url" => "dashboard", "type" => 4 ); + $projectEntitiesReverse[ "dashboard" ] = "Dashboard"; + $projectEntities[ "chat_external" ] = array( "url" => "chat_external", "type" => 0 ); + $projectEntitiesReverse[ "chat_external" ] = "chat_external"; + $projectEntities[ "chat_agent" ] = array( "url" => "chat_agent", "type" => 0 ); + $projectEntitiesReverse[ "chat_agent" ] = "chat_agent"; } function findTable( $table ) { diff --git a/php/connections/ConnectionManager_base.php b/php/connections/ConnectionManager_base.php index 798cf7fbd643eacccde385ca1953d28d252a2428..fd4aa078d13eb648e8577631b45777d41464eb16 100644 --- a/php/connections/ConnectionManager_base.php +++ b/php/connections/ConnectionManager_base.php @@ -251,6 +251,8 @@ class ConnectionManager_Base $connectionsIds["chat_peopletype"] = "chats_at_localhost"; $connectionsIds["chat_timezone"] = "chats_at_localhost"; $connectionsIds["chat126_users1"] = "chats_at_localhost"; + $connectionsIds["chat_external"] = "chats_at_localhost"; + $connectionsIds["chat_agent"] = "chats_at_localhost"; $this->_tablesConnectionIds = &$connectionsIds; } diff --git a/php/dashboard_dashboard.php b/php/dashboard_dashboard.php new file mode 100644 index 0000000000000000000000000000000000000000..5dd45a8b2cb7453103f87e2f3ee6310d86427e60 --- /dev/null +++ b/php/dashboard_dashboard.php @@ -0,0 +1,34 @@ +init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/dashboard_search.php b/php/dashboard_search.php new file mode 100644 index 0000000000000000000000000000000000000000..d09df91eee051f13c334befcee31e2d15f077f15 --- /dev/null +++ b/php/dashboard_search.php @@ -0,0 +1,84 @@ +displaySearchControl(); + return; +} + +$pageObject->init(); +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/include/appsettings.php b/php/include/appsettings.php index 13a4c4ac7b76c854110063d35e74b9fccb44b22e..a9511761cb2d0c30fe8b9ebc5c8a45667680f3e1 100644 --- a/php/include/appsettings.php +++ b/php/include/appsettings.php @@ -790,9 +790,9 @@ $suggestAllContent = true; $strLastSQL = ""; $showCustomMarkerOnPrint = false; -$projectBuildKey = "3645_1721381610"; +$projectBuildKey = "3642_1721453069"; $wizardBuildKey = "41974"; -$projectBuildNumber = "3645"; +$projectBuildNumber = "3642"; $mlang_messages = array(); $mlang_charsets = array(); @@ -826,6 +826,9 @@ $tableCaptions["English"]["chat_groups"] = "Chat Groups"; $tableCaptions["English"]["chat_peopletype"] = "Chat Peopletype"; $tableCaptions["English"]["chat_timezone"] = "Chat Timezone"; $tableCaptions["English"]["chat126_users1"] = "Chat126 Users1"; +$tableCaptions["English"]["Dashboard"] = "Dashboard"; +$tableCaptions["English"]["chat_external"] = "Chat External"; +$tableCaptions["English"]["chat_agent"] = "Chat Agent"; $globalEvents = new class_GlobalEvents; @@ -943,12 +946,6 @@ $fieldFilterDefaultValue = ""; $fieldFilterValueShrinkPostfix = "..."; -// here goes EVENT_INIT_APP event -$dDebug=true; - -// Place event code here. -// Use "Add Action" button to add code snippets. -; // default connection link #9875 diff --git a/php/include/audit.php b/php/include/audit.php index 64190756b5b4beef51513facc5abcf0fbacbf4e4..8f79d83ac9bc2d7a0b8632ab68c1045ffca6b0a7 100644 --- a/php/include/audit.php +++ b/php/include/audit.php @@ -388,6 +388,18 @@ class AuditTrailTable { return false; } + if($table=="Dashboard") + { + return false; + } + if($table=="chat_external") + { + return false; + } + if($table=="chat_agent") + { + return false; + } } protected function insert($datetime, $ip, $user, $table, $action, $description) @@ -728,6 +740,18 @@ class AuditTrailFile { return false; } + if($table=="Dashboard") + { + return false; + } + if($table=="chat_external") + { + return false; + } + if($table=="chat_agent") + { + return false; + } } protected function getMaxLengthSubstr( $value ) diff --git a/php/include/chat_agent_settings.php b/php/include/chat_agent_settings.php new file mode 100644 index 0000000000000000000000000000000000000000..fe0c65e5b13adaf34b4289b3232a7d7096ed7f80 --- /dev/null +++ b/php/include/chat_agent_settings.php @@ -0,0 +1,998 @@ + ""); + + + + + + + + + + + + + + + + $vdata["NeedEncode"] = true; + + + $vdata["truncateText"] = true; + $vdata["NumberOfChars"] = 80; + + $fdata["ViewFormats"]["view"] = $vdata; +// End View Formats + +// Begin Edit Formats + $fdata["EditFormats"] = array(); + + $edata = array("EditFormat" => "Text field"); + + + $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text"); + $edata["weekdays"] = "[]"; + + + + + + + + $edata["IsRequired"] = true; + + + + + $edata["acceptFileTypesHtml"] = ""; + + $edata["maxNumberOfFiles"] = 1; + + + + + + $edata["HTML5InuptType"] = "text"; + + $edata["EditParams"] = ""; + + $edata["controlWidth"] = 200; + +// Begin validation + $edata["validateAs"] = array(); + $edata["validateAs"]["basicValidate"] = array(); + $edata["validateAs"]["customMessages"] = array(); + $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number"); + $edata["validateAs"]["basicValidate"][] = "IsRequired"; + + +// End validation + + + + + + + $fdata["EditFormats"]["edit"] = $edata; +// End Edit Formats + + + $fdata["isSeparate"] = false; + + + + +// the field's search options settings + $fdata["defaultSearchOption"] = "Contains"; + + // the default search options list + $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); +// the end of search options settings + + +//Filters settings + $fdata["filterTotals"] = 0; + $fdata["filterMultiSelect"] = 0; + $fdata["filterFormat"] = "Values list"; + $fdata["showCollapsed"] = false; + + $fdata["sortValueType"] = 0; + $fdata["numberOfVisibleItems"] = 10; + + $fdata["filterBy"] = 0; + + + + + +//end of Filters settings + + + $tdatachat_agent["id"] = $fdata; + $tdatachat_agent[".searchableFields"][] = "id"; +// replay +// Custom field settings + $fdata = array(); + $fdata["Index"] = 2; + $fdata["strName"] = "replay"; + $fdata["GoodName"] = "replay"; + $fdata["ownerTable"] = "chat_agent"; + $fdata["Label"] = GetFieldLabel("chat_agent","replay"); + $fdata["FieldType"] = 200; + + + + + + + $fdata["strField"] = "replay"; + + $fdata["sourceSingle"] = "replay"; + + + $fdata["isSQLExpression"] = true; + $fdata["FullName"] = "replay"; + + + + $fdata["UploadFolder"] = "files"; + +// Begin View Formats + $fdata["ViewFormats"] = array(); + + $vdata = array("ViewFormat" => ""); + + + + + + + + + + + + + + + + $vdata["NeedEncode"] = true; + + + $vdata["truncateText"] = true; + $vdata["NumberOfChars"] = 80; + + $fdata["ViewFormats"]["view"] = $vdata; +// End View Formats + +// Begin Edit Formats + $fdata["EditFormats"] = array(); + + $edata = array("EditFormat" => "Text field"); + + + $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text"); + $edata["weekdays"] = "[]"; + + + + + + + + + + + + $edata["acceptFileTypesHtml"] = ""; + + $edata["maxNumberOfFiles"] = 1; + + + + + + $edata["HTML5InuptType"] = "text"; + + $edata["EditParams"] = ""; + $edata["EditParams"].= " maxlength=50"; + + $edata["controlWidth"] = 200; + +// Begin validation + $edata["validateAs"] = array(); + $edata["validateAs"]["basicValidate"] = array(); + $edata["validateAs"]["customMessages"] = array(); + + +// End validation + + + + + + + $fdata["EditFormats"]["edit"] = $edata; +// End Edit Formats + + + $fdata["isSeparate"] = false; + + + + +// the field's search options settings + $fdata["defaultSearchOption"] = "Contains"; + + // the default search options list + $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); +// the end of search options settings + + +//Filters settings + $fdata["filterTotals"] = 0; + $fdata["filterMultiSelect"] = 0; + $fdata["filterFormat"] = "Values list"; + $fdata["showCollapsed"] = false; + + $fdata["sortValueType"] = 0; + $fdata["numberOfVisibleItems"] = 10; + + $fdata["filterBy"] = 0; + + + + + +//end of Filters settings + + + $tdatachat_agent["replay"] = $fdata; + $tdatachat_agent[".searchableFields"][] = "replay"; +// replay_fix +// Custom field settings + $fdata = array(); + $fdata["Index"] = 3; + $fdata["strName"] = "replay_fix"; + $fdata["GoodName"] = "replay_fix"; + $fdata["ownerTable"] = "chat_agent"; + $fdata["Label"] = GetFieldLabel("chat_agent","replay_fix"); + $fdata["FieldType"] = 200; + + + + + + + $fdata["strField"] = "replay_fix"; + + $fdata["sourceSingle"] = "replay_fix"; + + + $fdata["isSQLExpression"] = true; + $fdata["FullName"] = "replay_fix"; + + + + $fdata["UploadFolder"] = "files"; + +// Begin View Formats + $fdata["ViewFormats"] = array(); + + $vdata = array("ViewFormat" => ""); + + + + + + + + + + + + + + + + $vdata["NeedEncode"] = true; + + + $vdata["truncateText"] = true; + $vdata["NumberOfChars"] = 80; + + $fdata["ViewFormats"]["view"] = $vdata; +// End View Formats + +// Begin Edit Formats + $fdata["EditFormats"] = array(); + + $edata = array("EditFormat" => "Text field"); + + + $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text"); + $edata["weekdays"] = "[]"; + + + + + + + + + + + + $edata["acceptFileTypesHtml"] = ""; + + $edata["maxNumberOfFiles"] = 1; + + + + + + $edata["HTML5InuptType"] = "text"; + + $edata["EditParams"] = ""; + $edata["EditParams"].= " maxlength=50"; + + $edata["controlWidth"] = 200; + +// Begin validation + $edata["validateAs"] = array(); + $edata["validateAs"]["basicValidate"] = array(); + $edata["validateAs"]["customMessages"] = array(); + + +// End validation + + + + + + + $fdata["EditFormats"]["edit"] = $edata; +// End Edit Formats + + + $fdata["isSeparate"] = false; + + + + +// the field's search options settings + $fdata["defaultSearchOption"] = "Contains"; + + // the default search options list + $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); +// the end of search options settings + + +//Filters settings + $fdata["filterTotals"] = 0; + $fdata["filterMultiSelect"] = 0; + $fdata["filterFormat"] = "Values list"; + $fdata["showCollapsed"] = false; + + $fdata["sortValueType"] = 0; + $fdata["numberOfVisibleItems"] = 10; + + $fdata["filterBy"] = 0; + + + + + +//end of Filters settings + + + $tdatachat_agent["replay_fix"] = $fdata; + $tdatachat_agent[".searchableFields"][] = "replay_fix"; +// replay_kwick +// Custom field settings + $fdata = array(); + $fdata["Index"] = 4; + $fdata["strName"] = "replay_kwick"; + $fdata["GoodName"] = "replay_kwick"; + $fdata["ownerTable"] = "chat_agent"; + $fdata["Label"] = GetFieldLabel("chat_agent","replay_kwick"); + $fdata["FieldType"] = 200; + + + + + + + $fdata["strField"] = "replay_kwick"; + + $fdata["sourceSingle"] = "replay_kwick"; + + + $fdata["isSQLExpression"] = true; + $fdata["FullName"] = "replay_kwick"; + + + + $fdata["UploadFolder"] = "files"; + +// Begin View Formats + $fdata["ViewFormats"] = array(); + + $vdata = array("ViewFormat" => ""); + + + + + + + + + + + + + + + + $vdata["NeedEncode"] = true; + + + $vdata["truncateText"] = true; + $vdata["NumberOfChars"] = 80; + + $fdata["ViewFormats"]["view"] = $vdata; +// End View Formats + +// Begin Edit Formats + $fdata["EditFormats"] = array(); + + $edata = array("EditFormat" => "Text field"); + + + $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text"); + $edata["weekdays"] = "[]"; + + + + + + + + + + + + $edata["acceptFileTypesHtml"] = ""; + + $edata["maxNumberOfFiles"] = 1; + + + + + + $edata["HTML5InuptType"] = "text"; + + $edata["EditParams"] = ""; + $edata["EditParams"].= " maxlength=50"; + + $edata["controlWidth"] = 200; + +// Begin validation + $edata["validateAs"] = array(); + $edata["validateAs"]["basicValidate"] = array(); + $edata["validateAs"]["customMessages"] = array(); + + +// End validation + + + + + + + $fdata["EditFormats"]["edit"] = $edata; +// End Edit Formats + + + $fdata["isSeparate"] = false; + + + + +// the field's search options settings + $fdata["defaultSearchOption"] = "Contains"; + + // the default search options list + $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); +// the end of search options settings + + +//Filters settings + $fdata["filterTotals"] = 0; + $fdata["filterMultiSelect"] = 0; + $fdata["filterFormat"] = "Values list"; + $fdata["showCollapsed"] = false; + + $fdata["sortValueType"] = 0; + $fdata["numberOfVisibleItems"] = 10; + + $fdata["filterBy"] = 0; + + + + + +//end of Filters settings + + + $tdatachat_agent["replay_kwick"] = $fdata; + $tdatachat_agent[".searchableFields"][] = "replay_kwick"; + + +$tables_data["chat_agent"]=&$tdatachat_agent; +$field_labels["chat_agent"] = &$fieldLabelschat_agent; +$fieldToolTips["chat_agent"] = &$fieldToolTipschat_agent; +$placeHolders["chat_agent"] = &$placeHolderschat_agent; +$page_titles["chat_agent"] = &$pageTitleschat_agent; + + +changeTextControlsToDate( "chat_agent" ); + +// -----------------start prepare master-details data arrays ------------------------------// +// tables which are detail tables for current table (master) + +//if !@TABLE.bReportCrossTab + +$detailsTablesData["chat_agent"] = array(); +//endif + +// tables which are master tables for current table (detail) +$masterTablesData["chat_agent"] = array(); + + + +// -----------------end prepare master-details data arrays ------------------------------// + + + +require_once(getabspath("classes/sql.php")); + + + + + + + + + + + +function createSqlQuery_chat_agent() +{ +$proto0=array(); +$proto0["m_strHead"] = "SELECT"; +$proto0["m_strFieldList"] = "id, replay, replay_fix, replay_kwick"; +$proto0["m_strFrom"] = "FROM chat_agent"; +$proto0["m_strWhere"] = ""; +$proto0["m_strOrderBy"] = ""; + + ; + $proto0["cipherer"] = null; +$proto2=array(); +$proto2["m_sql"] = ""; +$proto2["m_uniontype"] = "SQLL_UNKNOWN"; + $obj = new SQLNonParsed(array( + "m_sql" => "" +)); + +$proto2["m_column"]=$obj; +$proto2["m_contained"] = array(); +$proto2["m_strCase"] = ""; +$proto2["m_havingmode"] = false; +$proto2["m_inBrackets"] = false; +$proto2["m_useAlias"] = false; +$obj = new SQLLogicalExpr($proto2); + +$proto0["m_where"] = $obj; +$proto4=array(); +$proto4["m_sql"] = ""; +$proto4["m_uniontype"] = "SQLL_UNKNOWN"; + $obj = new SQLNonParsed(array( + "m_sql" => "" +)); + +$proto4["m_column"]=$obj; +$proto4["m_contained"] = array(); +$proto4["m_strCase"] = ""; +$proto4["m_havingmode"] = false; +$proto4["m_inBrackets"] = false; +$proto4["m_useAlias"] = false; +$obj = new SQLLogicalExpr($proto4); + +$proto0["m_having"] = $obj; +$proto0["m_fieldlist"] = array(); + $proto6=array(); + $obj = new SQLField(array( + "m_strName" => "id", + "m_strTable" => "chat_agent", + "m_srcTableName" => "chat_agent" +)); + +$proto6["m_sql"] = "id"; +$proto6["m_srcTableName"] = "chat_agent"; +$proto6["m_expr"]=$obj; +$proto6["m_alias"] = ""; +$obj = new SQLFieldListItem($proto6); + +$proto0["m_fieldlist"][]=$obj; + $proto8=array(); + $obj = new SQLField(array( + "m_strName" => "replay", + "m_strTable" => "chat_agent", + "m_srcTableName" => "chat_agent" +)); + +$proto8["m_sql"] = "replay"; +$proto8["m_srcTableName"] = "chat_agent"; +$proto8["m_expr"]=$obj; +$proto8["m_alias"] = ""; +$obj = new SQLFieldListItem($proto8); + +$proto0["m_fieldlist"][]=$obj; + $proto10=array(); + $obj = new SQLField(array( + "m_strName" => "replay_fix", + "m_strTable" => "chat_agent", + "m_srcTableName" => "chat_agent" +)); + +$proto10["m_sql"] = "replay_fix"; +$proto10["m_srcTableName"] = "chat_agent"; +$proto10["m_expr"]=$obj; +$proto10["m_alias"] = ""; +$obj = new SQLFieldListItem($proto10); + +$proto0["m_fieldlist"][]=$obj; + $proto12=array(); + $obj = new SQLField(array( + "m_strName" => "replay_kwick", + "m_strTable" => "chat_agent", + "m_srcTableName" => "chat_agent" +)); + +$proto12["m_sql"] = "replay_kwick"; +$proto12["m_srcTableName"] = "chat_agent"; +$proto12["m_expr"]=$obj; +$proto12["m_alias"] = ""; +$obj = new SQLFieldListItem($proto12); + +$proto0["m_fieldlist"][]=$obj; +$proto0["m_fromlist"] = array(); + $proto14=array(); +$proto14["m_link"] = "SQLL_MAIN"; + $proto15=array(); +$proto15["m_strName"] = "chat_agent"; +$proto15["m_srcTableName"] = "chat_agent"; +$proto15["m_columns"] = array(); +$proto15["m_columns"][] = "id"; +$proto15["m_columns"][] = "replay"; +$proto15["m_columns"][] = "replay_fix"; +$proto15["m_columns"][] = "replay_kwick"; +$obj = new SQLTable($proto15); + +$proto14["m_table"] = $obj; +$proto14["m_sql"] = "chat_agent"; +$proto14["m_alias"] = ""; +$proto14["m_srcTableName"] = "chat_agent"; +$proto16=array(); +$proto16["m_sql"] = ""; +$proto16["m_uniontype"] = "SQLL_UNKNOWN"; + $obj = new SQLNonParsed(array( + "m_sql" => "" +)); + +$proto16["m_column"]=$obj; +$proto16["m_contained"] = array(); +$proto16["m_strCase"] = ""; +$proto16["m_havingmode"] = false; +$proto16["m_inBrackets"] = false; +$proto16["m_useAlias"] = false; +$obj = new SQLLogicalExpr($proto16); + +$proto14["m_joinon"] = $obj; +$obj = new SQLFromListItem($proto14); + +$proto0["m_fromlist"][]=$obj; +$proto0["m_groupby"] = array(); +$proto0["m_orderby"] = array(); +$proto0["m_srcTableName"]="chat_agent"; +$obj = new SQLQuery($proto0); + + return $obj; +} +$queryData_chat_agent = createSqlQuery_chat_agent(); + + + + ; + + + +$tdatachat_agent[".sqlquery"] = $queryData_chat_agent; + + + +$tdatachat_agent[".hasEvents"] = false; + +?> \ No newline at end of file diff --git a/php/include/chat_agent_variables.php b/php/include/chat_agent_variables.php new file mode 100644 index 0000000000000000000000000000000000000000..f867242a6439e7f4e0ec76e636d7593a352a3d6c --- /dev/null +++ b/php/include/chat_agent_variables.php @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/php/include/chat_external_settings.php b/php/include/chat_external_settings.php new file mode 100644 index 0000000000000000000000000000000000000000..81897e739b501c4de24934d618cb2f6798310e1a --- /dev/null +++ b/php/include/chat_external_settings.php @@ -0,0 +1,999 @@ + ""); + + + + + + + + + + + + + + + + $vdata["NeedEncode"] = true; + + + $vdata["truncateText"] = true; + $vdata["NumberOfChars"] = 80; + + $fdata["ViewFormats"]["view"] = $vdata; +// End View Formats + +// Begin Edit Formats + $fdata["EditFormats"] = array(); + + $edata = array("EditFormat" => "Text field"); + + + $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text"); + $edata["weekdays"] = "[]"; + + + + + + + + $edata["IsRequired"] = true; + + + + + $edata["acceptFileTypesHtml"] = ""; + + $edata["maxNumberOfFiles"] = 1; + + + + + + $edata["HTML5InuptType"] = "text"; + + $edata["EditParams"] = ""; + + $edata["controlWidth"] = 200; + +// Begin validation + $edata["validateAs"] = array(); + $edata["validateAs"]["basicValidate"] = array(); + $edata["validateAs"]["customMessages"] = array(); + $edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number"); + $edata["validateAs"]["basicValidate"][] = "IsRequired"; + + +// End validation + + + + + + + $fdata["EditFormats"]["edit"] = $edata; +// End Edit Formats + + + $fdata["isSeparate"] = false; + + + + +// the field's search options settings + $fdata["defaultSearchOption"] = "Contains"; + + // the default search options list + $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); +// the end of search options settings + + +//Filters settings + $fdata["filterTotals"] = 0; + $fdata["filterMultiSelect"] = 0; + $fdata["filterFormat"] = "Values list"; + $fdata["showCollapsed"] = false; + + $fdata["sortValueType"] = 0; + $fdata["numberOfVisibleItems"] = 10; + + $fdata["filterBy"] = 0; + + + + + +//end of Filters settings + + + $tdatachat_external["id"] = $fdata; + $tdatachat_external[".searchableFields"][] = "id"; +// logs +// Custom field settings + $fdata = array(); + $fdata["Index"] = 2; + $fdata["strName"] = "logs"; + $fdata["GoodName"] = "logs"; + $fdata["ownerTable"] = "chat_external"; + $fdata["Label"] = GetFieldLabel("chat_external","logs"); + $fdata["FieldType"] = 201; + + + + + + + $fdata["strField"] = "logs"; + + $fdata["sourceSingle"] = "logs"; + + + $fdata["isSQLExpression"] = true; + $fdata["FullName"] = "logs"; + + + + $fdata["UploadFolder"] = "files"; + +// Begin View Formats + $fdata["ViewFormats"] = array(); + + $vdata = array("ViewFormat" => ""); + + + + + + + + + + + + + + + + $vdata["NeedEncode"] = true; + + + $vdata["truncateText"] = true; + $vdata["NumberOfChars"] = 80; + + $fdata["ViewFormats"]["view"] = $vdata; +// End View Formats + +// Begin Edit Formats + $fdata["EditFormats"] = array(); + + $edata = array("EditFormat" => "Text area"); + + + $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text"); + $edata["weekdays"] = "[]"; + + + + + + + + + + + + $edata["acceptFileTypesHtml"] = ""; + + $edata["maxNumberOfFiles"] = 0; + + + + + $edata["nRows"] = 100; + $edata["nCols"] = 200; + + + + $edata["controlWidth"] = 200; + +// Begin validation + $edata["validateAs"] = array(); + $edata["validateAs"]["basicValidate"] = array(); + $edata["validateAs"]["customMessages"] = array(); + + +// End validation + + $edata["CreateThumbnail"] = true; + $edata["StrThumbnail"] = "th"; + $edata["ThumbnailSize"] = 600; + + + + + + $fdata["EditFormats"]["edit"] = $edata; +// End Edit Formats + + + $fdata["isSeparate"] = false; + + + + +// the field's search options settings + $fdata["defaultSearchOption"] = "Contains"; + + // the default search options list + $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); +// the end of search options settings + + +//Filters settings + $fdata["filterTotals"] = 0; + $fdata["filterMultiSelect"] = 0; + $fdata["filterFormat"] = "Values list"; + $fdata["showCollapsed"] = false; + + $fdata["sortValueType"] = 0; + $fdata["numberOfVisibleItems"] = 10; + + $fdata["filterBy"] = 0; + + + + + +//end of Filters settings + + + $tdatachat_external["logs"] = $fdata; + $tdatachat_external[".searchableFields"][] = "logs"; +// users +// Custom field settings + $fdata = array(); + $fdata["Index"] = 3; + $fdata["strName"] = "users"; + $fdata["GoodName"] = "users"; + $fdata["ownerTable"] = "chat_external"; + $fdata["Label"] = GetFieldLabel("chat_external","users"); + $fdata["FieldType"] = 200; + + + + + + + $fdata["strField"] = "users"; + + $fdata["sourceSingle"] = "users"; + + + $fdata["isSQLExpression"] = true; + $fdata["FullName"] = "users"; + + + + $fdata["UploadFolder"] = "files"; + +// Begin View Formats + $fdata["ViewFormats"] = array(); + + $vdata = array("ViewFormat" => ""); + + + + + + + + + + + + + + + + $vdata["NeedEncode"] = true; + + + $vdata["truncateText"] = true; + $vdata["NumberOfChars"] = 80; + + $fdata["ViewFormats"]["view"] = $vdata; +// End View Formats + +// Begin Edit Formats + $fdata["EditFormats"] = array(); + + $edata = array("EditFormat" => "Text field"); + + + $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text"); + $edata["weekdays"] = "[]"; + + + + + + + + + + + + $edata["acceptFileTypesHtml"] = ""; + + $edata["maxNumberOfFiles"] = 1; + + + + + + $edata["HTML5InuptType"] = "text"; + + $edata["EditParams"] = ""; + $edata["EditParams"].= " maxlength=50"; + + $edata["controlWidth"] = 200; + +// Begin validation + $edata["validateAs"] = array(); + $edata["validateAs"]["basicValidate"] = array(); + $edata["validateAs"]["customMessages"] = array(); + + +// End validation + + + + + + + $fdata["EditFormats"]["edit"] = $edata; +// End Edit Formats + + + $fdata["isSeparate"] = false; + + + + +// the field's search options settings + $fdata["defaultSearchOption"] = "Contains"; + + // the default search options list + $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); +// the end of search options settings + + +//Filters settings + $fdata["filterTotals"] = 0; + $fdata["filterMultiSelect"] = 0; + $fdata["filterFormat"] = "Values list"; + $fdata["showCollapsed"] = false; + + $fdata["sortValueType"] = 0; + $fdata["numberOfVisibleItems"] = 10; + + $fdata["filterBy"] = 0; + + + + + +//end of Filters settings + + + $tdatachat_external["users"] = $fdata; + $tdatachat_external[".searchableFields"][] = "users"; +// report_count +// Custom field settings + $fdata = array(); + $fdata["Index"] = 4; + $fdata["strName"] = "report_count"; + $fdata["GoodName"] = "report_count"; + $fdata["ownerTable"] = "chat_external"; + $fdata["Label"] = GetFieldLabel("chat_external","report_count"); + $fdata["FieldType"] = 200; + + + + + + + $fdata["strField"] = "report_count"; + + $fdata["sourceSingle"] = "report_count"; + + + $fdata["isSQLExpression"] = true; + $fdata["FullName"] = "report_count"; + + + + $fdata["UploadFolder"] = "files"; + +// Begin View Formats + $fdata["ViewFormats"] = array(); + + $vdata = array("ViewFormat" => ""); + + + + + + + + + + + + + + + + $vdata["NeedEncode"] = true; + + + $vdata["truncateText"] = true; + $vdata["NumberOfChars"] = 80; + + $fdata["ViewFormats"]["view"] = $vdata; +// End View Formats + +// Begin Edit Formats + $fdata["EditFormats"] = array(); + + $edata = array("EditFormat" => "Text field"); + + + $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text"); + $edata["weekdays"] = "[]"; + + + + + + + + + + + + $edata["acceptFileTypesHtml"] = ""; + + $edata["maxNumberOfFiles"] = 1; + + + + + + $edata["HTML5InuptType"] = "text"; + + $edata["EditParams"] = ""; + $edata["EditParams"].= " maxlength=50"; + + $edata["controlWidth"] = 200; + +// Begin validation + $edata["validateAs"] = array(); + $edata["validateAs"]["basicValidate"] = array(); + $edata["validateAs"]["customMessages"] = array(); + + +// End validation + + + + + + + $fdata["EditFormats"]["edit"] = $edata; +// End Edit Formats + + + $fdata["isSeparate"] = false; + + + + +// the field's search options settings + $fdata["defaultSearchOption"] = "Contains"; + + // the default search options list + $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); +// the end of search options settings + + +//Filters settings + $fdata["filterTotals"] = 0; + $fdata["filterMultiSelect"] = 0; + $fdata["filterFormat"] = "Values list"; + $fdata["showCollapsed"] = false; + + $fdata["sortValueType"] = 0; + $fdata["numberOfVisibleItems"] = 10; + + $fdata["filterBy"] = 0; + + + + + +//end of Filters settings + + + $tdatachat_external["report_count"] = $fdata; + $tdatachat_external[".searchableFields"][] = "report_count"; + + +$tables_data["chat_external"]=&$tdatachat_external; +$field_labels["chat_external"] = &$fieldLabelschat_external; +$fieldToolTips["chat_external"] = &$fieldToolTipschat_external; +$placeHolders["chat_external"] = &$placeHolderschat_external; +$page_titles["chat_external"] = &$pageTitleschat_external; + + +changeTextControlsToDate( "chat_external" ); + +// -----------------start prepare master-details data arrays ------------------------------// +// tables which are detail tables for current table (master) + +//if !@TABLE.bReportCrossTab + +$detailsTablesData["chat_external"] = array(); +//endif + +// tables which are master tables for current table (detail) +$masterTablesData["chat_external"] = array(); + + + +// -----------------end prepare master-details data arrays ------------------------------// + + + +require_once(getabspath("classes/sql.php")); + + + + + + + + + + + +function createSqlQuery_chat_external() +{ +$proto0=array(); +$proto0["m_strHead"] = "SELECT"; +$proto0["m_strFieldList"] = "id, logs, users, report_count"; +$proto0["m_strFrom"] = "FROM chat_external"; +$proto0["m_strWhere"] = ""; +$proto0["m_strOrderBy"] = ""; + + ; + $proto0["cipherer"] = null; +$proto2=array(); +$proto2["m_sql"] = ""; +$proto2["m_uniontype"] = "SQLL_UNKNOWN"; + $obj = new SQLNonParsed(array( + "m_sql" => "" +)); + +$proto2["m_column"]=$obj; +$proto2["m_contained"] = array(); +$proto2["m_strCase"] = ""; +$proto2["m_havingmode"] = false; +$proto2["m_inBrackets"] = false; +$proto2["m_useAlias"] = false; +$obj = new SQLLogicalExpr($proto2); + +$proto0["m_where"] = $obj; +$proto4=array(); +$proto4["m_sql"] = ""; +$proto4["m_uniontype"] = "SQLL_UNKNOWN"; + $obj = new SQLNonParsed(array( + "m_sql" => "" +)); + +$proto4["m_column"]=$obj; +$proto4["m_contained"] = array(); +$proto4["m_strCase"] = ""; +$proto4["m_havingmode"] = false; +$proto4["m_inBrackets"] = false; +$proto4["m_useAlias"] = false; +$obj = new SQLLogicalExpr($proto4); + +$proto0["m_having"] = $obj; +$proto0["m_fieldlist"] = array(); + $proto6=array(); + $obj = new SQLField(array( + "m_strName" => "id", + "m_strTable" => "chat_external", + "m_srcTableName" => "chat_external" +)); + +$proto6["m_sql"] = "id"; +$proto6["m_srcTableName"] = "chat_external"; +$proto6["m_expr"]=$obj; +$proto6["m_alias"] = ""; +$obj = new SQLFieldListItem($proto6); + +$proto0["m_fieldlist"][]=$obj; + $proto8=array(); + $obj = new SQLField(array( + "m_strName" => "logs", + "m_strTable" => "chat_external", + "m_srcTableName" => "chat_external" +)); + +$proto8["m_sql"] = "logs"; +$proto8["m_srcTableName"] = "chat_external"; +$proto8["m_expr"]=$obj; +$proto8["m_alias"] = ""; +$obj = new SQLFieldListItem($proto8); + +$proto0["m_fieldlist"][]=$obj; + $proto10=array(); + $obj = new SQLField(array( + "m_strName" => "users", + "m_strTable" => "chat_external", + "m_srcTableName" => "chat_external" +)); + +$proto10["m_sql"] = "users"; +$proto10["m_srcTableName"] = "chat_external"; +$proto10["m_expr"]=$obj; +$proto10["m_alias"] = ""; +$obj = new SQLFieldListItem($proto10); + +$proto0["m_fieldlist"][]=$obj; + $proto12=array(); + $obj = new SQLField(array( + "m_strName" => "report_count", + "m_strTable" => "chat_external", + "m_srcTableName" => "chat_external" +)); + +$proto12["m_sql"] = "report_count"; +$proto12["m_srcTableName"] = "chat_external"; +$proto12["m_expr"]=$obj; +$proto12["m_alias"] = ""; +$obj = new SQLFieldListItem($proto12); + +$proto0["m_fieldlist"][]=$obj; +$proto0["m_fromlist"] = array(); + $proto14=array(); +$proto14["m_link"] = "SQLL_MAIN"; + $proto15=array(); +$proto15["m_strName"] = "chat_external"; +$proto15["m_srcTableName"] = "chat_external"; +$proto15["m_columns"] = array(); +$proto15["m_columns"][] = "id"; +$proto15["m_columns"][] = "logs"; +$proto15["m_columns"][] = "users"; +$proto15["m_columns"][] = "report_count"; +$obj = new SQLTable($proto15); + +$proto14["m_table"] = $obj; +$proto14["m_sql"] = "chat_external"; +$proto14["m_alias"] = ""; +$proto14["m_srcTableName"] = "chat_external"; +$proto16=array(); +$proto16["m_sql"] = ""; +$proto16["m_uniontype"] = "SQLL_UNKNOWN"; + $obj = new SQLNonParsed(array( + "m_sql" => "" +)); + +$proto16["m_column"]=$obj; +$proto16["m_contained"] = array(); +$proto16["m_strCase"] = ""; +$proto16["m_havingmode"] = false; +$proto16["m_inBrackets"] = false; +$proto16["m_useAlias"] = false; +$obj = new SQLLogicalExpr($proto16); + +$proto14["m_joinon"] = $obj; +$obj = new SQLFromListItem($proto14); + +$proto0["m_fromlist"][]=$obj; +$proto0["m_groupby"] = array(); +$proto0["m_orderby"] = array(); +$proto0["m_srcTableName"]="chat_external"; +$obj = new SQLQuery($proto0); + + return $obj; +} +$queryData_chat_external = createSqlQuery_chat_external(); + + + + ; + + + +$tdatachat_external[".sqlquery"] = $queryData_chat_external; + + + +$tdatachat_external[".hasEvents"] = false; + +?> \ No newline at end of file diff --git a/php/include/chat_external_variables.php b/php/include/chat_external_variables.php new file mode 100644 index 0000000000000000000000000000000000000000..cfa31aabdddaf5531bdf531988d6740890ad0587 --- /dev/null +++ b/php/include/chat_external_variables.php @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/php/include/commonfunctions.php b/php/include/commonfunctions.php index b9ee97e7cd5cce5d1346e6bb9fcb9c601135f015..908f9396408b9c4ad10b8a239876f422d9cc1176 100644 --- a/php/include/commonfunctions.php +++ b/php/include/commonfunctions.php @@ -219,6 +219,12 @@ function checkTableName($shortTName ) return true; if ("chat126_users1" == $shortTName ) return true; + if ("dashboard" == $shortTName ) + return true; + if ("chat_external" == $shortTName ) + return true; + if ("chat_agent" == $shortTName ) + return true; return false; } @@ -341,6 +347,33 @@ function GetTablesList($pdfMode = false) if( $tableAvailable ) { $arr[]="chat126_users1"; } + $tableAvailable = true; + if( $checkPermissions ) { + $strPerm = GetUserPermissions("Dashboard"); + $tableAvailable = ( strpos($strPerm, "P") !== false + || $pdfMode && strpos($strPerm, "S") !== false ); + } + if( $tableAvailable ) { + $arr[]="Dashboard"; + } + $tableAvailable = true; + if( $checkPermissions ) { + $strPerm = GetUserPermissions("chat_external"); + $tableAvailable = ( strpos($strPerm, "P") !== false + || $pdfMode && strpos($strPerm, "S") !== false ); + } + if( $tableAvailable ) { + $arr[]="chat_external"; + } + $tableAvailable = true; + if( $checkPermissions ) { + $strPerm = GetUserPermissions("chat_agent"); + $tableAvailable = ( strpos($strPerm, "P") !== false + || $pdfMode && strpos($strPerm, "S") !== false ); + } + if( $tableAvailable ) { + $arr[]="chat_agent"; + } return $arr; } @@ -358,6 +391,9 @@ function GetTablesListWithoutSecurity() $arr[]="chat_peopletype"; $arr[]="chat_timezone"; $arr[]="chat126_users1"; + $arr[]="Dashboard"; + $arr[]="chat_external"; + $arr[]="chat_agent"; return $arr; } @@ -1048,6 +1084,33 @@ function GetUserPermissionsStatic( $table ) { return "ADESPI".$extraPerm; } +// default permissions + return "ADESPI".$extraPerm; + } + if( $table=="Dashboard" ) + { + if( $sUserGroup=="admin" ) + { + return "S".$extraPerm; + } +// default permissions + return "S".$extraPerm; + } + if( $table=="chat_external" ) + { + if( $sUserGroup=="admin" ) + { + return "ADESPI".$extraPerm; + } +// default permissions + return "ADESPI".$extraPerm; + } + if( $table=="chat_agent" ) + { + if( $sUserGroup=="admin" ) + { + return "ADESPI".$extraPerm; + } // default permissions return "ADESPI".$extraPerm; } diff --git a/php/include/dal.php b/php/include/dal.php index 3f8d4c65418bd8bdaca72e959ab0f8201093755e..d909553579e7e72c908e17ad1f73c94f652faf04 100644 --- a/php/include/dal.php +++ b/php/include/dal.php @@ -48,6 +48,8 @@ function DBLookup($sql) class tDAL { var $tblchats_at_localhost__chat126_users1; + var $tblchats_at_localhost__chat_agent; + var $tblchats_at_localhost__chat_external; var $tblchats_at_localhost__chat_files; var $tblchats_at_localhost__chat_groups; var $tblchats_at_localhost__chat_history; @@ -63,6 +65,8 @@ class tDAL if($this->lstTables) return; $this->lstTables[] = array("name" => "chat126_users1", "varname" => "chats_at_localhost__chat126_users1", "altvarname" => "chat126_users1", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); + $this->lstTables[] = array("name" => "chat_agent", "varname" => "chats_at_localhost__chat_agent", "altvarname" => "chat_agent", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); + $this->lstTables[] = array("name" => "chat_external", "varname" => "chats_at_localhost__chat_external", "altvarname" => "chat_external", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $this->lstTables[] = array("name" => "chat_files", "varname" => "chats_at_localhost__chat_files", "altvarname" => "chat_files", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $this->lstTables[] = array("name" => "chat_groups", "varname" => "chats_at_localhost__chat_groups", "altvarname" => "chat_groups", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $this->lstTables[] = array("name" => "chat_history", "varname" => "chats_at_localhost__chat_history", "altvarname" => "chat_history", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); diff --git a/php/include/dal/chats_at_localhost__chat_agent.php b/php/include/dal/chats_at_localhost__chat_agent.php new file mode 100644 index 0000000000000000000000000000000000000000..a7ea746830c67a7bce4b7bbc53cb8db739208746 --- /dev/null +++ b/php/include/dal/chats_at_localhost__chat_agent.php @@ -0,0 +1,10 @@ +3,"varname"=>"id", "name" => "id", "autoInc" => "1"); +$dalTablechat_agent["replay"] = array("type"=>200,"varname"=>"replay", "name" => "replay", "autoInc" => "0"); +$dalTablechat_agent["replay_fix"] = array("type"=>200,"varname"=>"replay_fix", "name" => "replay_fix", "autoInc" => "0"); +$dalTablechat_agent["replay_kwick"] = array("type"=>200,"varname"=>"replay_kwick", "name" => "replay_kwick", "autoInc" => "0"); +$dalTablechat_agent["id"]["key"]=true; + +$dal_info["chats_at_localhost__chat_agent"] = &$dalTablechat_agent; +?> \ No newline at end of file diff --git a/php/include/dal/chats_at_localhost__chat_external.php b/php/include/dal/chats_at_localhost__chat_external.php new file mode 100644 index 0000000000000000000000000000000000000000..761e0459e738babf619d329bf8c0636f70f2c88d --- /dev/null +++ b/php/include/dal/chats_at_localhost__chat_external.php @@ -0,0 +1,10 @@ +3,"varname"=>"id", "name" => "id", "autoInc" => "0"); +$dalTablechat_external["logs"] = array("type"=>201,"varname"=>"logs", "name" => "logs", "autoInc" => "0"); +$dalTablechat_external["users"] = array("type"=>200,"varname"=>"users", "name" => "users", "autoInc" => "0"); +$dalTablechat_external["report_count"] = array("type"=>200,"varname"=>"report_count", "name" => "report_count", "autoInc" => "0"); +$dalTablechat_external["id"]["key"]=true; + +$dal_info["chats_at_localhost__chat_external"] = &$dalTablechat_external; +?> \ No newline at end of file diff --git a/php/include/dashboard_settings.php b/php/include/dashboard_settings.php new file mode 100644 index 0000000000000000000000000000000000000000..3f69d5c03500cb5492d74de4e1df58c9a46b3470 --- /dev/null +++ b/php/include/dashboard_settings.php @@ -0,0 +1,62 @@ + \ No newline at end of file diff --git a/php/include/dashboard_variables.php b/php/include/dashboard_variables.php new file mode 100644 index 0000000000000000000000000000000000000000..9d962a3d6c36625c6fcdeb24216857bc3bb67f92 --- /dev/null +++ b/php/include/dashboard_variables.php @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/php/include/events.php b/php/include/events.php index 61581b7e385a7ddea934526e949550db45078b54..a596c337c6c9ca016d538ff3148408fc028b50f6 100644 --- a/php/include/events.php +++ b/php/include/events.php @@ -26,7 +26,6 @@ class class_GlobalEvents extends eventsBase $this->events["ModifyMenuItem"]=true; - // onscreen events $this->events["chats_history"] = true; $this->events["chat_users"] = true; @@ -116,36 +115,6 @@ return true; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // onscreen events function event_chats_history(&$params) { diff --git a/php/include/menunodes_main.php b/php/include/menunodes_main.php index e44faeb6128d016371cd26c88d955e2672b8746d..0cc7722365bd66c8e21c4e2a9ec776833e76a032 100644 --- a/php/include/menunodes_main.php +++ b/php/include/menunodes_main.php @@ -3,6 +3,32 @@ // create menu nodes arr $menuNodes = array(); + $menuNode = array(); + $menuNode["id"] = "3"; + $menuNode["name"] = ""; + $menuNode["href"] = "mypage.htm"; + $menuNode["type"] = "Leaf"; + $menuNode["table"] = "Dashboard"; + $menuNode["style"] = ""; + $menuNode["params"] = ""; + $menuNode["parent"] = "0"; + $menuNode["nameType"] = "Text"; + $menuNode["linkType"] = "Internal"; + $menuNode["pageType"] = strtolower("Dashboard");// + $menuNode["pageId"] = ""; + $menuNode["openType"] = "None"; + + $menuNode["icon"] = "glyphicon-leaf"; + $menuNode["iconType"] = "2"; + $menuNode["iconShow"] = "2"; + + $menuNode["color"] = ""; + + $menuNode["title"] = "Dashboard"; + + + + $menuNodes[] = $menuNode; $menuNode = array(); $menuNode["id"] = "1"; $menuNode["name"] = "Chat"; @@ -54,6 +80,58 @@ + $menuNodes[] = $menuNode; + $menuNode = array(); + $menuNode["id"] = "4"; + $menuNode["name"] = ""; + $menuNode["href"] = "mypage.htm"; + $menuNode["type"] = "Leaf"; + $menuNode["table"] = "chat_external"; + $menuNode["style"] = ""; + $menuNode["params"] = ""; + $menuNode["parent"] = "0"; + $menuNode["nameType"] = "Text"; + $menuNode["linkType"] = "Internal"; + $menuNode["pageType"] = strtolower("List");// + $menuNode["pageId"] = ""; + $menuNode["openType"] = "None"; + + $menuNode["icon"] = "glyphicon-briefcase"; + $menuNode["iconType"] = "2"; + $menuNode["iconShow"] = "2"; + + $menuNode["color"] = ""; + + $menuNode["title"] = "Chat External"; + + + + $menuNodes[] = $menuNode; + $menuNode = array(); + $menuNode["id"] = "5"; + $menuNode["name"] = ""; + $menuNode["href"] = "mypage.htm"; + $menuNode["type"] = "Leaf"; + $menuNode["table"] = "chat_agent"; + $menuNode["style"] = ""; + $menuNode["params"] = ""; + $menuNode["parent"] = "0"; + $menuNode["nameType"] = "Text"; + $menuNode["linkType"] = "Internal"; + $menuNode["pageType"] = strtolower("List");// + $menuNode["pageId"] = ""; + $menuNode["openType"] = "None"; + + $menuNode["icon"] = "glyphicon-hand-right"; + $menuNode["iconType"] = "2"; + $menuNode["iconShow"] = "2"; + + $menuNode["color"] = ""; + + $menuNode["title"] = "Chat Agent"; + + + $menuNodes[] = $menuNode; $menuNodesCache[ "main" ] = $menuNodes; ?> \ No newline at end of file diff --git a/php/include/pages/_global_menu_Chat1.php b/php/include/pages/_global_menu_Chat1.php index 31c70aa621e4918eb47ac225f36260c810d593b5..1dc857d6effa7c3d1eb2326d5c7c006440486775 100644 --- a/php/include/pages/_global_menu_Chat1.php +++ b/php/include/pages/_global_menu_Chat1.php @@ -10,7 +10,25 @@ 'linkType' => 0, 'items' => null, 'table' => 'chat_history', -'page' => 'add' ) ) ), +'page' => 'add' ), +'welcome_item1' => array( 'menutItem' => true, +'group' => false, +'linkType' => 0, +'items' => null, +'table' => 'Dashboard', +'page' => 'dashboard' ), +'welcome_item2' => array( 'menutItem' => true, +'group' => false, +'linkType' => 0, +'items' => null, +'table' => 'chat_external', +'page' => 'list' ), +'welcome_item3' => array( 'menutItem' => true, +'group' => false, +'linkType' => 0, +'items' => null, +'table' => 'chat_agent', +'page' => 'list' ) ) ), 'fields' => array( 'gridFields' => array( ), 'searchRequiredFields' => array( ), 'searchPanelFields' => array( ), @@ -21,14 +39,20 @@ 'list_options', 'loginform_login', 'username_button' ), -'grid' => array( 'welcome_item' ) ), +'grid' => array( 'welcome_item', +'welcome_item1', +'welcome_item2', +'welcome_item3' ) ), 'formXtTags' => array( 'above-grid' => array( ) ), 'itemForms' => array( 'logo' => 'supertop', 'menu' => 'supertop', 'list_options' => 'supertop', 'loginform_login' => 'supertop', 'username_button' => 'supertop', -'welcome_item' => 'grid' ), +'welcome_item' => 'grid', +'welcome_item1' => 'grid', +'welcome_item2' => 'grid', +'welcome_item3' => 'grid' ), 'itemLocations' => array( ), 'itemVisiblity' => array( 'menu' => 3, 'list_options' => 3, @@ -36,7 +60,10 @@ 'loginform_login' => 3 ) ), 'itemsByType' => array( 'logo' => array( 'logo' ), 'menu' => array( 'menu' ), -'welcome_item' => array( 'welcome_item' ), +'welcome_item' => array( 'welcome_item', +'welcome_item1', +'welcome_item2', +'welcome_item3' ), 'list_options' => array( 'list_options' ), 'username_button' => array( 'username_button' ), 'loginform_login' => array( 'loginform_login' ), @@ -87,7 +114,10 @@ array( 'cell' => 'c2' ) ), 'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), 'section' => '' ) ), 'cells' => array( 'c1' => array( 'model' => 'c1', -'items' => array( 'welcome_item' ) ) ), +'items' => array( 'welcome_item', +'welcome_item1', +'welcome_item2', +'welcome_item3' ) ) ), 'deferredItems' => array( ), 'recsPerRow' => 1 ) ), 'items' => array( 'logo' => array( 'type' => 'logo' ), @@ -111,7 +141,40 @@ array( 'cell' => 'c2' ) ), 'loginform_login' => array( 'type' => 'loginform_login', 'popup' => false ), 'userinfo_link' => array( 'type' => 'userinfo_link' ), -'logout_link' => array( 'type' => 'logout_link' ) ), +'logout_link' => array( 'type' => 'logout_link' ), +'welcome_item1' => array( 'type' => 'welcome_item', +'linkUrl' => '', +'linkTable' => 'Dashboard', +'linkPage' => 'dashboard', +'linkText' => array( 'table' => 'Dashboard', +'type' => 6 ), +'linkIcon' => array( 'glyph' => 'leaf' ), +'linkComments' => array( 'text' => 'Dashboard description', +'type' => 0 ), +'background' => '#DAA520', +'linkType' => 0 ), +'welcome_item2' => array( 'type' => 'welcome_item', +'linkUrl' => '', +'linkTable' => 'chat_external', +'linkPage' => 'list', +'linkText' => array( 'table' => 'chat_external', +'type' => 6 ), +'linkIcon' => array( 'glyph' => 'briefcase' ), +'linkComments' => array( 'text' => 'Chat External description', +'type' => 0 ), +'background' => '#CFAE83', +'linkType' => 0 ), +'welcome_item3' => array( 'type' => 'welcome_item', +'linkUrl' => '', +'linkTable' => 'chat_agent', +'linkPage' => 'list', +'linkText' => array( 'table' => 'chat_agent', +'type' => 6 ), +'linkIcon' => array( 'glyph' => 'hand-right' ), +'linkComments' => array( 'text' => 'Chat Agent description', +'type' => 0 ), +'background' => '#778899', +'linkType' => 0 ) ), 'dbProps' => array( ), 'version' => 14, 'businessTemplate' => 'Chat', diff --git a/php/include/pages/chat_agent_add.php b/php/include/pages/chat_agent_add.php new file mode 100644 index 0000000000000000000000000000000000000000..d09903d75867cac098ca9c93222064df21d2c368 --- /dev/null +++ b/php/include/pages/chat_agent_add.php @@ -0,0 +1,199 @@ + array( 'captcha' => false ), +'fields' => array( 'gridFields' => array( 'replay', +'replay_fix', +'replay_kwick' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'replay' => array( 'integrated_edit_field' ), +'replay_fix' => array( 'integrated_edit_field1' ), +'replay_kwick' => array( 'integrated_edit_field2' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'add_message' ), +'below-grid' => array( 'add_save', +'add_reset', +'add_back_list', +'add_cancel' ), +'supertop' => array( 'expand_menu_button', +'collapse_button', +'loginform_login', +'username_button' ), +'left' => array( 'logo', +'expand_button', +'menu' ), +'top' => array( 'add_header' ), +'grid' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2' ) ), +'formXtTags' => array( 'above-grid' => array( 'message_block' ) ), +'itemForms' => array( 'add_message' => 'above-grid', +'add_save' => 'below-grid', +'add_reset' => 'below-grid', +'add_back_list' => 'below-grid', +'add_cancel' => 'below-grid', +'expand_menu_button' => 'supertop', +'collapse_button' => 'supertop', +'loginform_login' => 'supertop', +'username_button' => 'supertop', +'logo' => 'left', +'expand_button' => 'left', +'menu' => 'left', +'add_header' => 'top', +'integrated_edit_field' => 'grid', +'integrated_edit_field1' => 'grid', +'integrated_edit_field2' => 'grid' ), +'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field1' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field2' => array( 'location' => 'grid', +'cellId' => 'c3' ) ), +'itemVisiblity' => array( 'expand_menu_button' => 2, +'expand_button' => 5 ) ), +'itemsByType' => array( 'add_header' => array( 'add_header' ), +'add_back_list' => array( 'add_back_list' ), +'add_cancel' => array( 'add_cancel' ), +'add_message' => array( 'add_message' ), +'add_save' => array( 'add_save' ), +'add_reset' => array( 'add_reset' ), +'logo' => array( 'logo' ), +'menu' => array( 'menu' ), +'username_button' => array( 'username_button' ), +'loginform_login' => array( 'loginform_login' ), +'userinfo_link' => array( 'userinfo_link' ), +'logout_link' => array( 'logout_link' ), +'expand_menu_button' => array( 'expand_menu_button' ), +'collapse_button' => array( 'collapse_button' ), +'integrated_edit_field' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2' ), +'expand_button' => array( 'expand_button' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2' ), +'fixedAtServer' => true, +'fixedAtClient' => false ) ), +'width' => 1, +'height' => 1 ) ) ), +'loginForm' => array( 'loginForm' => 0 ), +'page' => array( 'verticalBar' => true, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( array( 'id' => 'main', +'horizontal' => false ) ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'add', +'breadcrumb' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ) ); + $pageArray = array( 'id' => 'add', +'type' => 'add', +'layoutId' => 'leftbar', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'add-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'add_message' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'add-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'add_save', +'add_reset', +'add_back_list', +'add_cancel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'supertop' => array( 'modelId' => 'leftbar-top-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'expand_menu_button', +'collapse_button' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'loginform_login', +'username_button' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'left' => array( 'modelId' => 'leftbar-menu', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ), +'section' => '' ), +array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c0' => array( 'model' => 'c0', +'items' => array( 'logo', +'expand_button' ) ), +'c1' => array( 'model' => 'c1', +'items' => array( 'menu' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'add-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'add_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'simple-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ), +'section' => '' ) ), +'cells' => array( 'c3' => array( 'model' => 'c3', +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2' ) ) ), +'deferredItems' => array( ), +'columnCount' => 1, +'inlineLabels' => false, +'separateLabels' => false ) ), +'items' => array( 'add_header' => array( 'type' => 'add_header' ), +'add_back_list' => array( 'type' => 'add_back_list' ), +'add_cancel' => array( 'type' => 'add_cancel' ), +'add_message' => array( 'type' => 'add_message' ), +'add_save' => array( 'type' => 'add_save' ), +'add_reset' => array( 'type' => 'add_reset' ), +'logo' => array( 'type' => 'logo' ), +'menu' => array( 'type' => 'menu' ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'integrated_edit_field' => array( 'field' => 'replay', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field1' => array( 'field' => 'replay_fix', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field2' => array( 'field' => 'replay_kwick', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'expand_button' => array( 'type' => 'expand_button' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_agent_edit.php b/php/include/pages/chat_agent_edit.php new file mode 100644 index 0000000000000000000000000000000000000000..f1868696c9e443768226fc70faf2532a792cb68e --- /dev/null +++ b/php/include/pages/chat_agent_edit.php @@ -0,0 +1,210 @@ + array( 'captcha' => false ), +'fields' => array( 'gridFields' => array( 'replay', +'replay_fix', +'replay_kwick' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'updateOnEditFields' => array( ), +'fieldItems' => array( 'replay' => array( 'integrated_edit_field' ), +'replay_fix' => array( 'integrated_edit_field1' ), +'replay_kwick' => array( 'integrated_edit_field2' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => true, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'edit_message' ), +'below-grid' => array( 'edit_save', +'edit_back_list', +'edit_close', +'hamburger' ), +'supertop' => array( 'expand_menu_button', +'collapse_button', +'loginform_login', +'username_button' ), +'left' => array( 'logo', +'expand_button', +'menu' ), +'top' => array( 'edit_header' ), +'grid' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2' ) ), +'formXtTags' => array( 'above-grid' => array( 'message_block' ) ), +'itemForms' => array( 'edit_message' => 'above-grid', +'edit_save' => 'below-grid', +'edit_back_list' => 'below-grid', +'edit_close' => 'below-grid', +'hamburger' => 'below-grid', +'expand_menu_button' => 'supertop', +'collapse_button' => 'supertop', +'loginform_login' => 'supertop', +'username_button' => 'supertop', +'logo' => 'left', +'expand_button' => 'left', +'menu' => 'left', +'edit_header' => 'top', +'integrated_edit_field' => 'grid', +'integrated_edit_field1' => 'grid', +'integrated_edit_field2' => 'grid' ), +'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field1' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field2' => array( 'location' => 'grid', +'cellId' => 'c3' ) ), +'itemVisiblity' => array( 'expand_menu_button' => 2, +'expand_button' => 5 ) ), +'itemsByType' => array( 'edit_header' => array( 'edit_header' ), +'hamburger' => array( 'hamburger' ), +'edit_reset' => array( 'edit_reset' ), +'edit_message' => array( 'edit_message' ), +'edit_save' => array( 'edit_save' ), +'edit_back_list' => array( 'edit_back_list' ), +'edit_close' => array( 'edit_close' ), +'logo' => array( 'logo' ), +'menu' => array( 'menu' ), +'username_button' => array( 'username_button' ), +'loginform_login' => array( 'loginform_login' ), +'userinfo_link' => array( 'userinfo_link' ), +'logout_link' => array( 'logout_link' ), +'expand_menu_button' => array( 'expand_menu_button' ), +'collapse_button' => array( 'collapse_button' ), +'edit_view' => array( 'edit_view' ), +'integrated_edit_field' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2' ), +'expand_button' => array( 'expand_button' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2' ), +'fixedAtServer' => true, +'fixedAtClient' => false ) ), +'width' => 1, +'height' => 1 ) ) ), +'loginForm' => array( 'loginForm' => 0 ), +'page' => array( 'verticalBar' => true, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( array( 'id' => 'main', +'horizontal' => false ) ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'edit', +'breadcrumb' => false, +'nextPrev' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ), +'edit' => array( 'updateSelected' => false ) ); + $pageArray = array( 'id' => 'edit', +'type' => 'edit', +'layoutId' => 'leftbar', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'edit-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'edit_message' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'edit-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'edit_save', +'edit_back_list', +'edit_close' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'hamburger' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'supertop' => array( 'modelId' => 'leftbar-top-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'expand_menu_button', +'collapse_button' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'loginform_login', +'username_button' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'left' => array( 'modelId' => 'leftbar-menu', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ), +'section' => '' ), +array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c0' => array( 'model' => 'c0', +'items' => array( 'logo', +'expand_button' ) ), +'c1' => array( 'model' => 'c1', +'items' => array( 'menu' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'edit-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'edit_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'simple-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ), +'section' => '' ) ), +'cells' => array( 'c3' => array( 'model' => 'c3', +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2' ) ) ), +'deferredItems' => array( ), +'columnCount' => 1, +'inlineLabels' => false, +'separateLabels' => false ) ), +'items' => array( 'edit_header' => array( 'type' => 'edit_header' ), +'hamburger' => array( 'type' => 'hamburger', +'items' => array( 'edit_reset', +'edit_view' ) ), +'edit_reset' => array( 'type' => 'edit_reset' ), +'edit_message' => array( 'type' => 'edit_message' ), +'edit_save' => array( 'type' => 'edit_save' ), +'edit_back_list' => array( 'type' => 'edit_back_list' ), +'edit_close' => array( 'type' => 'edit_close' ), +'logo' => array( 'type' => 'logo' ), +'menu' => array( 'type' => 'menu' ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'edit_view' => array( 'type' => 'edit_view' ), +'integrated_edit_field' => array( 'field' => 'replay', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field1' => array( 'field' => 'replay_fix', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field2' => array( 'field' => 'replay_kwick', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'expand_button' => array( 'type' => 'expand_button' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_agent_export.php b/php/include/pages/chat_agent_export.php new file mode 100644 index 0000000000000000000000000000000000000000..58e507bdd2c0c11e44f6572d901bfb780b154f09 --- /dev/null +++ b/php/include/pages/chat_agent_export.php @@ -0,0 +1,134 @@ + array( 'id' => array( 'totalsType' => '' ), +'replay' => array( 'totalsType' => '' ), +'replay_fix' => array( 'totalsType' => '' ), +'replay_kwick' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'replay', +'replay_fix', +'replay_kwick' ), +'exportFields' => array( 'id', +'replay', +'replay_fix', +'replay_kwick' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'export_field' ), +'replay' => array( 'export_field1' ), +'replay_fix' => array( 'export_field2' ), +'replay_kwick' => array( 'export_field3' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'supertop' => array( ), +'top' => array( 'export_header' ), +'grid' => array( 'export_field', +'export_field1', +'export_field2', +'export_field3' ), +'footer' => array( 'export_export', +'export_cancel' ) ), +'formXtTags' => array( 'supertop' => array( ) ), +'itemForms' => array( 'export_header' => 'top', +'export_field' => 'grid', +'export_field1' => 'grid', +'export_field2' => 'grid', +'export_field3' => 'grid', +'export_export' => 'footer', +'export_cancel' => 'footer' ), +'itemLocations' => array( ), +'itemVisiblity' => array( ) ), +'itemsByType' => array( 'export_header' => array( 'export_header' ), +'export_export' => array( 'export_export' ), +'export_cancel' => array( 'export_cancel' ), +'export_field' => array( 'export_field', +'export_field1', +'export_field2', +'export_field3' ) ), +'cellMaps' => array( ) ), +'loginForm' => array( 'loginForm' => 3 ), +'page' => array( 'verticalBar' => false, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( ), +'calcTotalsFor' => 1 ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ), +'export' => array( 'format' => 2, +'selectFields' => false, +'delimiter' => ',', +'selectDelimiter' => false, +'exportFileTypes' => array( 'excel' => true, +'word' => true, +'csv' => true, +'xml' => false ) ) ); + $pageArray = array( 'id' => 'export', +'type' => 'export', +'layoutId' => 'first', +'disabled' => 0, +'default' => 0, +'forms' => array( 'supertop' => array( 'modelId' => 'panel-top', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'export-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'export_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'export-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'export_field', +'export_field1', +'export_field2', +'export_field3' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'footer' => array( 'modelId' => 'export-footer', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'export_export', +'export_cancel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'export_header' => array( 'type' => 'export_header' ), +'export_export' => array( 'type' => 'export_export' ), +'export_cancel' => array( 'type' => 'export_cancel' ), +'export_field' => array( 'field' => 'id', +'type' => 'export_field' ), +'export_field1' => array( 'field' => 'replay', +'type' => 'export_field' ), +'export_field2' => array( 'field' => 'replay_fix', +'type' => 'export_field' ), +'export_field3' => array( 'field' => 'replay_kwick', +'type' => 'export_field' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1, +'exportFormat' => 2, +'exportDelimiter' => ',', +'exportSelectDelimiter' => false, +'exportSelectFields' => false ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_agent_import.php b/php/include/pages/chat_agent_import.php new file mode 100644 index 0000000000000000000000000000000000000000..07c9ae6ce4d9c85982fb00644edae7bcfdf3b877 --- /dev/null +++ b/php/include/pages/chat_agent_import.php @@ -0,0 +1,95 @@ + array( 'gridFields' => array( 'id', +'replay', +'replay_fix', +'replay_kwick' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'import_field' ), +'replay' => array( 'import_field1' ), +'replay_fix' => array( 'import_field2' ), +'replay_kwick' => array( 'import_field3' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'supertop' => array( ), +'top' => array( 'import_header' ), +'grid' => array( 'import_field', +'import_field1', +'import_field2', +'import_field3' ) ), +'formXtTags' => array( 'supertop' => array( ) ), +'itemForms' => array( 'import_header' => 'top', +'import_field' => 'grid', +'import_field1' => 'grid', +'import_field2' => 'grid', +'import_field3' => 'grid' ), +'itemLocations' => array( ), +'itemVisiblity' => array( ) ), +'itemsByType' => array( 'import_header' => array( 'import_header' ), +'import_field' => array( 'import_field', +'import_field1', +'import_field2', +'import_field3' ) ), +'cellMaps' => array( ) ), +'loginForm' => array( 'loginForm' => 3 ), +'page' => array( 'verticalBar' => false, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( ), +'calcTotalsFor' => 1 ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ) ); + $pageArray = array( 'id' => 'import', +'type' => 'import', +'layoutId' => 'first', +'disabled' => 0, +'default' => 0, +'forms' => array( 'supertop' => array( 'modelId' => 'panel-top', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'import-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'import_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'import-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'import_field', +'import_field1', +'import_field2', +'import_field3' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'import_header' => array( 'type' => 'import_header' ), +'import_field' => array( 'field' => 'id', +'type' => 'import_field' ), +'import_field1' => array( 'field' => 'replay', +'type' => 'import_field' ), +'import_field2' => array( 'field' => 'replay_fix', +'type' => 'import_field' ), +'import_field3' => array( 'field' => 'replay_kwick', +'type' => 'import_field' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_agent_list.php b/php/include/pages/chat_agent_list.php new file mode 100644 index 0000000000000000000000000000000000000000..beaafafe83b3e397c215e3db43ba8e0cc4643a88 --- /dev/null +++ b/php/include/pages/chat_agent_list.php @@ -0,0 +1,562 @@ + array( 'inlineAdd' => false, +'detailsAdd' => false, +'inlineEdit' => false, +'spreadsheetMode' => false, +'addToBottom' => false, +'delete' => true, +'updateSelected' => false, +'clickSort' => true, +'sortDropdown' => false, +'showHideFields' => false, +'reorderFields' => false, +'fieldFilter' => false, +'hideNumberOfRecords' => false ), +'listSearch' => array( 'alwaysOnPanelFields' => array( ), +'searchPanel' => true, +'fixedSearchPanel' => false, +'simpleSearchOptions' => false, +'searchSaving' => false ), +'totals' => array( 'id' => array( 'totalsType' => '' ), +'replay' => array( 'totalsType' => '' ), +'replay_fix' => array( 'totalsType' => '' ), +'replay_kwick' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'replay', +'replay_fix', +'replay_kwick' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( 'id', +'replay_kwick', +'replay_fix', +'replay' ), +'filterFields' => array( ), +'inlineAddFields' => array( ), +'inlineEditFields' => array( ), +'fieldItems' => array( 'id' => array( 'simple_grid_field', +'simple_grid_field4' ), +'replay' => array( 'simple_grid_field1', +'simple_grid_field5' ), +'replay_fix' => array( 'simple_grid_field2', +'simple_grid_field6' ), +'replay_kwick' => array( 'simple_grid_field3', +'simple_grid_field7' ) ), +'hideEmptyFields' => array( ), +'fieldFilterFields' => array( ) ), +'pageLinks' => array( 'edit' => true, +'add' => true, +'view' => true, +'print' => true ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'add', +'delete', +'details_found', +'page_size', +'print_panel' ), +'below-grid' => array( 'pagination' ), +'left' => array( 'logo', +'expand_button', +'menu', +'search_panel' ), +'supertop' => array( 'expand_menu_button', +'collapse_button', +'breadcrumb', +'simple_search', +'list_options', +'loginform_login', +'username_button' ), +'top' => array( ), +'grid' => array( 'simple_grid_field4', +'simple_grid_field', +'simple_grid_field5', +'simple_grid_field1', +'simple_grid_field6', +'simple_grid_field2', +'simple_grid_field7', +'simple_grid_field3', +'grid_checkbox_head', +'grid_checkbox', +'grid_edit', +'grid_view' ) ), +'formXtTags' => array( 'above-grid' => array( 'add_link', +'deleteselected_link', +'details_found', +'recsPerPage', +'print_friendly' ), +'below-grid' => array( 'pagination' ), +'top' => array( ) ), +'itemForms' => array( 'add' => 'above-grid', +'delete' => 'above-grid', +'details_found' => 'above-grid', +'page_size' => 'above-grid', +'print_panel' => 'above-grid', +'pagination' => 'below-grid', +'logo' => 'left', +'expand_button' => 'left', +'menu' => 'left', +'search_panel' => 'left', +'expand_menu_button' => 'supertop', +'collapse_button' => 'supertop', +'breadcrumb' => 'supertop', +'simple_search' => 'supertop', +'list_options' => 'supertop', +'loginform_login' => 'supertop', +'username_button' => 'supertop', +'simple_grid_field4' => 'grid', +'simple_grid_field' => 'grid', +'simple_grid_field5' => 'grid', +'simple_grid_field1' => 'grid', +'simple_grid_field6' => 'grid', +'simple_grid_field2' => 'grid', +'simple_grid_field7' => 'grid', +'simple_grid_field3' => 'grid', +'grid_checkbox_head' => 'grid', +'grid_checkbox' => 'grid', +'grid_edit' => 'grid', +'grid_view' => 'grid' ), +'itemLocations' => array( 'simple_grid_field4' => array( 'location' => 'grid', +'cellId' => 'headcell_field' ), +'simple_grid_field' => array( 'location' => 'grid', +'cellId' => 'cell_field' ), +'simple_grid_field5' => array( 'location' => 'grid', +'cellId' => 'headcell_field1' ), +'simple_grid_field1' => array( 'location' => 'grid', +'cellId' => 'cell_field1' ), +'simple_grid_field6' => array( 'location' => 'grid', +'cellId' => 'headcell_field2' ), +'simple_grid_field2' => array( 'location' => 'grid', +'cellId' => 'cell_field2' ), +'simple_grid_field7' => array( 'location' => 'grid', +'cellId' => 'headcell_field3' ), +'simple_grid_field3' => array( 'location' => 'grid', +'cellId' => 'cell_field3' ), +'grid_checkbox_head' => array( 'location' => 'grid', +'cellId' => 'headcell_checkbox' ), +'grid_checkbox' => array( 'location' => 'grid', +'cellId' => 'cell_checkbox' ), +'grid_edit' => array( 'location' => 'grid', +'cellId' => 'cell_icons' ), +'grid_view' => array( 'location' => 'grid', +'cellId' => 'cell_icons' ) ), +'itemVisiblity' => array( 'breadcrumb' => 5, +'expand_menu_button' => 2, +'print_panel' => 5, +'expand_button' => 5 ) ), +'itemsByType' => array( 'page_size' => array( 'page_size' ), +'breadcrumb' => array( 'breadcrumb' ), +'logo' => array( 'logo' ), +'menu' => array( 'menu' ), +'simple_search' => array( 'simple_search' ), +'pagination' => array( 'pagination' ), +'details_found' => array( 'details_found' ), +'search_panel' => array( 'search_panel' ), +'list_options' => array( 'list_options' ), +'show_search_panel' => array( 'show_search_panel' ), +'hide_search_panel' => array( 'hide_search_panel' ), +'search_panel_field' => array( 'search_panel_field', +'search_panel_field1', +'search_panel_field2', +'search_panel_field3' ), +'username_button' => array( 'username_button' ), +'loginform_login' => array( 'loginform_login' ), +'userinfo_link' => array( 'userinfo_link' ), +'logout_link' => array( 'logout_link' ), +'expand_menu_button' => array( 'expand_menu_button' ), +'collapse_button' => array( 'collapse_button' ), +'add' => array( 'add' ), +'print_panel' => array( 'print_panel' ), +'print_scope' => array( 'print_scope' ), +'print_button' => array( 'print_button' ), +'print_records' => array( 'print_records' ), +'export' => array( 'export' ), +'-' => array( '-', +'-1', +'-2', +'-3' ), +'export_selected' => array( 'export_selected' ), +'import' => array( 'import' ), +'delete' => array( 'delete' ), +'delete_selected' => array( 'delete_selected' ), +'advsearch_link' => array( 'advsearch_link' ), +'grid_field' => array( 'simple_grid_field', +'simple_grid_field1', +'simple_grid_field2', +'simple_grid_field3' ), +'grid_field_label' => array( 'simple_grid_field4', +'simple_grid_field5', +'simple_grid_field6', +'simple_grid_field7' ), +'grid_checkbox' => array( 'grid_checkbox' ), +'grid_checkbox_head' => array( 'grid_checkbox_head' ), +'grid_edit' => array( 'grid_edit' ), +'grid_view' => array( 'grid_view' ), +'expand_button' => array( 'expand_button' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_icons' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_checkbox' => array( 'cols' => array( 1 ), +'rows' => array( 0 ), +'tags' => array( 'checkbox_column' ), +'items' => array( 'grid_checkbox_head' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field' => array( 'cols' => array( 2 ), +'rows' => array( 0 ), +'tags' => array( 'id_fieldheadercolumn' ), +'items' => array( 'simple_grid_field4' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field1' => array( 'cols' => array( 3 ), +'rows' => array( 0 ), +'tags' => array( 'replay_fieldheadercolumn' ), +'items' => array( 'simple_grid_field5' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field2' => array( 'cols' => array( 4 ), +'rows' => array( 0 ), +'tags' => array( 'replay_fix_fieldheadercolumn' ), +'items' => array( 'simple_grid_field6' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field3' => array( 'cols' => array( 5 ), +'rows' => array( 0 ), +'tags' => array( 'replay_kwick_fieldheadercolumn' ), +'items' => array( 'simple_grid_field7' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_icons' => array( 'cols' => array( 0 ), +'rows' => array( 1 ), +'tags' => array( 'edit_column', +'view_column' ), +'items' => array( 'grid_edit', +'grid_view' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_checkbox' => array( 'cols' => array( 1 ), +'rows' => array( 1 ), +'tags' => array( 'checkbox_column' ), +'items' => array( 'grid_checkbox' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field' => array( 'cols' => array( 2 ), +'rows' => array( 1 ), +'tags' => array( 'id_fieldcolumn' ), +'items' => array( 'simple_grid_field' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field1' => array( 'cols' => array( 3 ), +'rows' => array( 1 ), +'tags' => array( 'replay_fieldcolumn' ), +'items' => array( 'simple_grid_field1' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field2' => array( 'cols' => array( 4 ), +'rows' => array( 1 ), +'tags' => array( 'replay_fix_fieldcolumn' ), +'items' => array( 'simple_grid_field2' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field3' => array( 'cols' => array( 5 ), +'rows' => array( 1 ), +'tags' => array( 'replay_kwick_fieldcolumn' ), +'items' => array( 'simple_grid_field3' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_icons' => array( 'cols' => array( 0 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_checkbox' => array( 'cols' => array( 1 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field' => array( 'cols' => array( 2 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field1' => array( 'cols' => array( 3 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field2' => array( 'cols' => array( 4 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field3' => array( 'cols' => array( 5 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ) ), +'width' => 6, +'height' => 3 ) ) ), +'loginForm' => array( 'loginForm' => 0 ), +'page' => array( 'verticalBar' => true, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( 'details_found' => array( 'tag' => 'DISPLAYING', +'type' => 2 ) ) ), +'gridType' => 0, +'recsPerRow' => 1, +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( array( 'id' => 'main', +'horizontal' => false ) ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'list', +'breadcrumb' => true ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ), +'dataGrid' => array( 'groupFields' => array( ) ) ); + $pageArray = array( 'id' => 'list', +'type' => 'list', +'layoutId' => 'leftbar', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'list-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'add', +'delete' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'details_found', +'page_size', +'print_panel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'list-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'pagination' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'left' => array( 'modelId' => 'leftbar-menu', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ), +'section' => '' ), +array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c0' => array( 'model' => 'c0', +'items' => array( 'logo', +'expand_button' ) ), +'c1' => array( 'model' => 'c1', +'items' => array( 'menu', +'search_panel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'supertop' => array( 'modelId' => 'leftbar-top', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'expand_menu_button', +'collapse_button', +'breadcrumb' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'simple_search', +'list_options', +'loginform_login', +'username_button' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'list-sidebar-top', +'grid' => array( ), +'cells' => array( ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'horizontal-grid', +'grid' => array( array( 'section' => 'head', +'cells' => array( array( 'cell' => 'headcell_icons' ), +array( 'cell' => 'headcell_checkbox' ), +array( 'cell' => 'headcell_field' ), +array( 'cell' => 'headcell_field1' ), +array( 'cell' => 'headcell_field2' ), +array( 'cell' => 'headcell_field3' ) ) ), +array( 'section' => 'body', +'cells' => array( array( 'cell' => 'cell_icons' ), +array( 'cell' => 'cell_checkbox' ), +array( 'cell' => 'cell_field' ), +array( 'cell' => 'cell_field1' ), +array( 'cell' => 'cell_field2' ), +array( 'cell' => 'cell_field3' ) ) ), +array( 'section' => 'foot', +'cells' => array( array( 'cell' => 'footcell_icons' ), +array( 'cell' => 'footcell_checkbox' ), +array( 'cell' => 'footcell_field' ), +array( 'cell' => 'footcell_field1' ), +array( 'cell' => 'footcell_field2' ), +array( 'cell' => 'footcell_field3' ) ) ) ), +'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field4' ), +'field' => 'id', +'columnName' => 'field' ), +'cell_field' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field' ), +'field' => 'id', +'columnName' => 'field' ), +'footcell_field' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field1' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field5' ), +'field' => 'replay', +'columnName' => 'field' ), +'cell_field1' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field1' ), +'field' => 'replay', +'columnName' => 'field' ), +'footcell_field1' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field2' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field6' ), +'field' => 'replay_fix', +'columnName' => 'field' ), +'cell_field2' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field2' ), +'field' => 'replay_fix', +'columnName' => 'field' ), +'footcell_field2' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field3' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field7' ), +'field' => 'replay_kwick', +'columnName' => 'field' ), +'cell_field3' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field3' ), +'field' => 'replay_kwick', +'columnName' => 'field' ), +'footcell_field3' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_checkbox' => array( 'model' => 'headcell_checkbox', +'items' => array( 'grid_checkbox_head' ) ), +'cell_checkbox' => array( 'model' => 'cell_checkbox', +'items' => array( 'grid_checkbox' ) ), +'footcell_checkbox' => array( 'model' => 'footcell_checkbox', +'items' => array( ) ), +'headcell_icons' => array( 'model' => 'headcell_icons', +'items' => array( ) ), +'cell_icons' => array( 'model' => 'cell_icons', +'items' => array( 'grid_edit', +'grid_view' ) ), +'footcell_icons' => array( 'model' => 'footcell_icons', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'page_size' => array( 'type' => 'page_size' ), +'breadcrumb' => array( 'type' => 'breadcrumb' ), +'logo' => array( 'type' => 'logo' ), +'menu' => array( 'type' => 'menu' ), +'simple_search' => array( 'type' => 'simple_search' ), +'pagination' => array( 'type' => 'pagination' ), +'details_found' => array( 'type' => 'details_found' ), +'search_panel' => array( 'type' => 'search_panel', +'items' => array( 'search_panel_field', +'search_panel_field3', +'search_panel_field2', +'search_panel_field1' ) ), +'list_options' => array( 'type' => 'list_options', +'items' => array( 'export_selected', +'delete_selected', +'-3', +'advsearch_link', +'show_search_panel', +'hide_search_panel', +'-1', +'export', +'-2', +'import' ) ), +'show_search_panel' => array( 'type' => 'show_search_panel' ), +'hide_search_panel' => array( 'type' => 'hide_search_panel' ), +'search_panel_field' => array( 'field' => 'id', +'type' => 'search_panel_field', +'required' => false ), +'search_panel_field1' => array( 'field' => 'replay', +'type' => 'search_panel_field', +'required' => false ), +'search_panel_field2' => array( 'field' => 'replay_fix', +'type' => 'search_panel_field', +'required' => false ), +'search_panel_field3' => array( 'field' => 'replay_kwick', +'type' => 'search_panel_field', +'required' => false ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'add' => array( 'type' => 'add' ), +'print_panel' => array( 'type' => 'print_panel', +'items' => array( 'print_scope', +'print_records', +'print_button' ) ), +'print_scope' => array( 'type' => 'print_scope' ), +'print_button' => array( 'type' => 'print_button' ), +'print_records' => array( 'type' => 'print_records' ), +'export' => array( 'type' => 'export' ), +'-' => array( 'type' => '-' ), +'export_selected' => array( 'type' => 'export_selected' ), +'-1' => array( 'type' => '-' ), +'import' => array( 'type' => 'import' ), +'-2' => array( 'type' => '-' ), +'delete' => array( 'type' => 'delete' ), +'delete_selected' => array( 'type' => 'delete_selected' ), +'advsearch_link' => array( 'type' => 'advsearch_link' ), +'-3' => array( 'type' => '-' ), +'simple_grid_field' => array( 'field' => 'id', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field4' => array( 'type' => 'grid_field_label', +'field' => 'id' ), +'simple_grid_field1' => array( 'field' => 'replay', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field5' => array( 'type' => 'grid_field_label', +'field' => 'replay' ), +'simple_grid_field2' => array( 'field' => 'replay_fix', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field6' => array( 'type' => 'grid_field_label', +'field' => 'replay_fix' ), +'simple_grid_field3' => array( 'field' => 'replay_kwick', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field7' => array( 'type' => 'grid_field_label', +'field' => 'replay_kwick' ), +'grid_checkbox' => array( 'type' => 'grid_checkbox' ), +'grid_checkbox_head' => array( 'type' => 'grid_checkbox_head' ), +'grid_edit' => array( 'type' => 'grid_edit' ), +'grid_view' => array( 'type' => 'grid_view' ), +'expand_button' => array( 'type' => 'expand_button' ) ), +'dbProps' => array( ), +'spreadsheetGrid' => false, +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_agent_print.php b/php/include/pages/chat_agent_print.php new file mode 100644 index 0000000000000000000000000000000000000000..78e97870ca04a31852e723adb065503cb06f8072 --- /dev/null +++ b/php/include/pages/chat_agent_print.php @@ -0,0 +1,284 @@ + array( 'pdfView' => false ), +'totals' => array( 'id' => array( 'totalsType' => '' ), +'replay' => array( 'totalsType' => '' ), +'replay_fix' => array( 'totalsType' => '' ), +'replay_kwick' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'replay', +'replay_fix', +'replay_kwick' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'simple_grid_field', +'simple_grid_field4' ), +'replay' => array( 'simple_grid_field1', +'simple_grid_field5' ), +'replay_fix' => array( 'simple_grid_field2', +'simple_grid_field6' ), +'replay_kwick' => array( 'simple_grid_field3', +'simple_grid_field7' ) ), +'hideEmptyFields' => array( ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'print_pages' ), +'below-grid' => array( ), +'top' => array( 'print_header', +'print_subheader' ), +'grid' => array( 'simple_grid_field4', +'simple_grid_field', +'simple_grid_field5', +'simple_grid_field1', +'simple_grid_field6', +'simple_grid_field2', +'simple_grid_field7', +'simple_grid_field3' ) ), +'formXtTags' => array( 'above-grid' => array( 'print_pages' ), +'below-grid' => array( ) ), +'itemForms' => array( 'print_pages' => 'above-grid', +'print_header' => 'top', +'print_subheader' => 'top', +'simple_grid_field4' => 'grid', +'simple_grid_field' => 'grid', +'simple_grid_field5' => 'grid', +'simple_grid_field1' => 'grid', +'simple_grid_field6' => 'grid', +'simple_grid_field2' => 'grid', +'simple_grid_field7' => 'grid', +'simple_grid_field3' => 'grid' ), +'itemLocations' => array( 'simple_grid_field4' => array( 'location' => 'grid', +'cellId' => 'headcell_field' ), +'simple_grid_field' => array( 'location' => 'grid', +'cellId' => 'cell_field' ), +'simple_grid_field5' => array( 'location' => 'grid', +'cellId' => 'headcell_field1' ), +'simple_grid_field1' => array( 'location' => 'grid', +'cellId' => 'cell_field1' ), +'simple_grid_field6' => array( 'location' => 'grid', +'cellId' => 'headcell_field2' ), +'simple_grid_field2' => array( 'location' => 'grid', +'cellId' => 'cell_field2' ), +'simple_grid_field7' => array( 'location' => 'grid', +'cellId' => 'headcell_field3' ), +'simple_grid_field3' => array( 'location' => 'grid', +'cellId' => 'cell_field3' ) ), +'itemVisiblity' => array( ) ), +'itemsByType' => array( 'print_header' => array( 'print_header' ), +'print_subheader' => array( 'print_subheader' ), +'print_pages' => array( 'print_pages' ), +'grid_field' => array( 'simple_grid_field', +'simple_grid_field1', +'simple_grid_field2', +'simple_grid_field3' ), +'grid_field_label' => array( 'simple_grid_field4', +'simple_grid_field5', +'simple_grid_field6', +'simple_grid_field7' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_field' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( 'id_fieldheadercolumn' ), +'items' => array( 'simple_grid_field4' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field1' => array( 'cols' => array( 1 ), +'rows' => array( 0 ), +'tags' => array( 'replay_fieldheadercolumn' ), +'items' => array( 'simple_grid_field5' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field2' => array( 'cols' => array( 2 ), +'rows' => array( 0 ), +'tags' => array( 'replay_fix_fieldheadercolumn' ), +'items' => array( 'simple_grid_field6' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field3' => array( 'cols' => array( 3 ), +'rows' => array( 0 ), +'tags' => array( 'replay_kwick_fieldheadercolumn' ), +'items' => array( 'simple_grid_field7' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field' => array( 'cols' => array( 0 ), +'rows' => array( 1 ), +'tags' => array( 'id_fieldcolumn' ), +'items' => array( 'simple_grid_field' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field1' => array( 'cols' => array( 1 ), +'rows' => array( 1 ), +'tags' => array( 'replay_fieldcolumn' ), +'items' => array( 'simple_grid_field1' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field2' => array( 'cols' => array( 2 ), +'rows' => array( 1 ), +'tags' => array( 'replay_fix_fieldcolumn' ), +'items' => array( 'simple_grid_field2' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field3' => array( 'cols' => array( 3 ), +'rows' => array( 1 ), +'tags' => array( 'replay_kwick_fieldcolumn' ), +'items' => array( 'simple_grid_field3' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field' => array( 'cols' => array( 0 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field1' => array( 'cols' => array( 1 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field2' => array( 'cols' => array( 2 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field3' => array( 'cols' => array( 3 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ) ), +'width' => 4, +'height' => 3 ) ) ), +'loginForm' => array( 'loginForm' => 3 ), +'page' => array( 'verticalBar' => false, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( 'print_pages' => array( 'tag' => 'PRINT_PAGES', +'type' => 2 ) ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'gridType' => 0, +'recsPerRow' => 1, +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'print', +'breadcrumb' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ), +'dataGrid' => array( 'groupFields' => array( ) ) ); + $pageArray = array( 'id' => 'print', +'type' => 'print', +'layoutId' => 'basic', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'print-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'print_pages' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'print-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'print-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c2' => array( 'model' => 'c2', +'items' => array( 'print_header', +'print_subheader' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'horizontal-grid', +'grid' => array( array( 'section' => 'head', +'cells' => array( array( 'cell' => 'headcell_field' ), +array( 'cell' => 'headcell_field1' ), +array( 'cell' => 'headcell_field2' ), +array( 'cell' => 'headcell_field3' ) ) ), +array( 'section' => 'body', +'cells' => array( array( 'cell' => 'cell_field' ), +array( 'cell' => 'cell_field1' ), +array( 'cell' => 'cell_field2' ), +array( 'cell' => 'cell_field3' ) ) ), +array( 'section' => 'foot', +'cells' => array( array( 'cell' => 'footcell_field' ), +array( 'cell' => 'footcell_field1' ), +array( 'cell' => 'footcell_field2' ), +array( 'cell' => 'footcell_field3' ) ) ) ), +'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field4' ), +'field' => 'id', +'columnName' => 'field' ), +'cell_field' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field' ), +'field' => 'id', +'columnName' => 'field' ), +'footcell_field' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field1' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field5' ), +'field' => 'replay', +'columnName' => 'field' ), +'cell_field1' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field1' ), +'field' => 'replay', +'columnName' => 'field' ), +'footcell_field1' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field2' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field6' ), +'field' => 'replay_fix', +'columnName' => 'field' ), +'cell_field2' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field2' ), +'field' => 'replay_fix', +'columnName' => 'field' ), +'footcell_field2' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field3' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field7' ), +'field' => 'replay_kwick', +'columnName' => 'field' ), +'cell_field3' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field3' ), +'field' => 'replay_kwick', +'columnName' => 'field' ), +'footcell_field3' => array( 'model' => 'footcell_field', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'print_header' => array( 'type' => 'print_header' ), +'print_subheader' => array( 'type' => 'print_subheader' ), +'print_pages' => array( 'type' => 'print_pages' ), +'simple_grid_field' => array( 'field' => 'id', +'type' => 'grid_field' ), +'simple_grid_field4' => array( 'type' => 'grid_field_label', +'field' => 'id' ), +'simple_grid_field1' => array( 'field' => 'replay', +'type' => 'grid_field' ), +'simple_grid_field5' => array( 'type' => 'grid_field_label', +'field' => 'replay' ), +'simple_grid_field2' => array( 'field' => 'replay_fix', +'type' => 'grid_field' ), +'simple_grid_field6' => array( 'type' => 'grid_field_label', +'field' => 'replay_fix' ), +'simple_grid_field3' => array( 'field' => 'replay_kwick', +'type' => 'grid_field' ), +'simple_grid_field7' => array( 'type' => 'grid_field_label', +'field' => 'replay_kwick' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_agent_search.php b/php/include/pages/chat_agent_search.php new file mode 100644 index 0000000000000000000000000000000000000000..59fcea356101476857628182594cc8e6b72014fe --- /dev/null +++ b/php/include/pages/chat_agent_search.php @@ -0,0 +1,149 @@ + array( 'gridFields' => array( 'id', +'replay', +'replay_fix', +'replay_kwick' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_search_field' ), +'replay' => array( 'integrated_search_field1' ), +'replay_fix' => array( 'integrated_search_field2' ), +'replay_kwick' => array( 'integrated_search_field3' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( ), +'below-grid' => array( 'search_search', +'search_reset', +'search_back_list', +'search_cancel' ), +'top' => array( 'search_header' ), +'grid' => array( 'integrated_search_field', +'integrated_search_field1', +'integrated_search_field2', +'integrated_search_field3' ) ), +'formXtTags' => array( 'above-grid' => array( ) ), +'itemForms' => array( 'search_search' => 'below-grid', +'search_reset' => 'below-grid', +'search_back_list' => 'below-grid', +'search_cancel' => 'below-grid', +'search_header' => 'top', +'integrated_search_field' => 'grid', +'integrated_search_field1' => 'grid', +'integrated_search_field2' => 'grid', +'integrated_search_field3' => 'grid' ), +'itemLocations' => array( 'integrated_search_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_search_field1' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_search_field2' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_search_field3' => array( 'location' => 'grid', +'cellId' => 'c3' ) ), +'itemVisiblity' => array( ) ), +'itemsByType' => array( 'search_header' => array( 'search_header' ), +'search_reset' => array( 'search_reset' ), +'search_back_list' => array( 'search_back_list' ), +'search_search' => array( 'search_search' ), +'search_cancel' => array( 'search_cancel' ), +'integrated_search_field' => array( 'integrated_search_field', +'integrated_search_field1', +'integrated_search_field2', +'integrated_search_field3' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( 'integrated_search_field', +'integrated_search_field1', +'integrated_search_field2', +'integrated_search_field3' ), +'fixedAtServer' => true, +'fixedAtClient' => false ) ), +'width' => 1, +'height' => 1 ) ) ), +'loginForm' => array( 'loginForm' => 3 ), +'page' => array( 'verticalBar' => false, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'search', +'breadcrumb' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ) ); + $pageArray = array( 'id' => 'search', +'type' => 'search', +'layoutId' => 'nomenu', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'search-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1', +'colspan' => 2 ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'search-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'search_search', +'search_reset', +'search_back_list', +'search_cancel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'search-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'search_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'simple-search', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ), +'section' => '' ) ), +'cells' => array( 'c3' => array( 'model' => 'c3', +'items' => array( 'integrated_search_field', +'integrated_search_field1', +'integrated_search_field2', +'integrated_search_field3' ) ) ), +'deferredItems' => array( ), +'separateLabels' => false ) ), +'items' => array( 'search_header' => array( 'type' => 'search_header' ), +'search_reset' => array( 'type' => 'search_reset' ), +'search_back_list' => array( 'type' => 'search_back_list' ), +'search_search' => array( 'type' => 'search_search' ), +'search_cancel' => array( 'type' => 'search_cancel' ), +'integrated_search_field' => array( 'field' => 'id', +'type' => 'integrated_search_field', +'orientation' => 0, +'required' => false ), +'integrated_search_field1' => array( 'field' => 'replay', +'type' => 'integrated_search_field', +'orientation' => 0, +'required' => false ), +'integrated_search_field2' => array( 'field' => 'replay_fix', +'type' => 'integrated_search_field', +'orientation' => 0, +'required' => false ), +'integrated_search_field3' => array( 'field' => 'replay_kwick', +'type' => 'integrated_search_field', +'orientation' => 0, +'required' => false ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_agent_view.php b/php/include/pages/chat_agent_view.php new file mode 100644 index 0000000000000000000000000000000000000000..3e3474b4d8d4056d88a47f9f7e1c73d15edff63b --- /dev/null +++ b/php/include/pages/chat_agent_view.php @@ -0,0 +1,210 @@ + array( 'pdfView' => false ), +'fields' => array( 'gridFields' => array( 'id', +'replay', +'replay_fix', +'replay_kwick' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_edit_field' ), +'replay' => array( 'integrated_edit_field1' ), +'replay_fix' => array( 'integrated_edit_field2' ), +'replay_kwick' => array( 'integrated_edit_field3' ) ) ), +'pageLinks' => array( 'edit' => true, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( ), +'below-grid' => array( 'view_back_list', +'view_close', +'hamburger' ), +'supertop' => array( 'expand_menu_button', +'collapse_button', +'loginform_login', +'username_button' ), +'left' => array( 'logo', +'expand_button', +'menu' ), +'top' => array( 'view_header' ), +'grid' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ) ), +'formXtTags' => array( 'above-grid' => array( ) ), +'itemForms' => array( 'view_back_list' => 'below-grid', +'view_close' => 'below-grid', +'hamburger' => 'below-grid', +'expand_menu_button' => 'supertop', +'collapse_button' => 'supertop', +'loginform_login' => 'supertop', +'username_button' => 'supertop', +'logo' => 'left', +'expand_button' => 'left', +'menu' => 'left', +'view_header' => 'top', +'integrated_edit_field' => 'grid', +'integrated_edit_field1' => 'grid', +'integrated_edit_field2' => 'grid', +'integrated_edit_field3' => 'grid' ), +'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field1' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field2' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field3' => array( 'location' => 'grid', +'cellId' => 'c3' ) ), +'itemVisiblity' => array( 'expand_menu_button' => 2, +'expand_button' => 5 ) ), +'itemsByType' => array( 'view_header' => array( 'view_header' ), +'view_back_list' => array( 'view_back_list' ), +'view_close' => array( 'view_close' ), +'logo' => array( 'logo' ), +'menu' => array( 'menu' ), +'username_button' => array( 'username_button' ), +'loginform_login' => array( 'loginform_login' ), +'userinfo_link' => array( 'userinfo_link' ), +'logout_link' => array( 'logout_link' ), +'expand_menu_button' => array( 'expand_menu_button' ), +'collapse_button' => array( 'collapse_button' ), +'hamburger' => array( 'hamburger' ), +'view_edit' => array( 'view_edit' ), +'integrated_edit_field' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ), +'expand_button' => array( 'expand_button' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ), +'fixedAtServer' => true, +'fixedAtClient' => false ) ), +'width' => 1, +'height' => 1 ) ) ), +'loginForm' => array( 'loginForm' => 0 ), +'page' => array( 'verticalBar' => true, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( array( 'id' => 'main', +'horizontal' => false ) ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'view', +'breadcrumb' => false, +'nextPrev' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ) ); + $pageArray = array( 'id' => 'view', +'type' => 'view', +'layoutId' => 'leftbar', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'view-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1', +'colspan' => 2 ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'view-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'view_back_list', +'view_close' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'hamburger' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'supertop' => array( 'modelId' => 'leftbar-top-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'expand_menu_button', +'collapse_button' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'loginform_login', +'username_button' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'left' => array( 'modelId' => 'leftbar-menu', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ), +'section' => '' ), +array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c0' => array( 'model' => 'c0', +'items' => array( 'logo', +'expand_button' ) ), +'c1' => array( 'model' => 'c1', +'items' => array( 'menu' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'view-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'view_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'simple-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ), +'section' => '' ) ), +'cells' => array( 'c3' => array( 'model' => 'c3', +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ) ) ), +'deferredItems' => array( ), +'columnCount' => 1, +'inlineLabels' => false, +'separateLabels' => false ) ), +'items' => array( 'view_header' => array( 'type' => 'view_header' ), +'view_back_list' => array( 'type' => 'view_back_list' ), +'view_close' => array( 'type' => 'view_close' ), +'logo' => array( 'type' => 'logo' ), +'menu' => array( 'type' => 'menu' ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'hamburger' => array( 'type' => 'hamburger', +'items' => array( 'view_edit' ) ), +'view_edit' => array( 'type' => 'view_edit' ), +'integrated_edit_field' => array( 'field' => 'id', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field1' => array( 'field' => 'replay', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field2' => array( 'field' => 'replay_fix', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field3' => array( 'field' => 'replay_kwick', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'expand_button' => array( 'type' => 'expand_button' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_external_add.php b/php/include/pages/chat_external_add.php new file mode 100644 index 0000000000000000000000000000000000000000..46e0654c72f8b66feda1ba96ec2565d6469b9b40 --- /dev/null +++ b/php/include/pages/chat_external_add.php @@ -0,0 +1,211 @@ + array( 'captcha' => false ), +'fields' => array( 'gridFields' => array( 'id', +'logs', +'users', +'report_count' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_edit_field' ), +'logs' => array( 'integrated_edit_field1' ), +'users' => array( 'integrated_edit_field2' ), +'report_count' => array( 'integrated_edit_field3' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'add_message' ), +'below-grid' => array( 'add_save', +'add_reset', +'add_back_list', +'add_cancel' ), +'supertop' => array( 'expand_menu_button', +'collapse_button', +'loginform_login', +'username_button' ), +'left' => array( 'logo', +'expand_button', +'menu' ), +'top' => array( 'add_header' ), +'grid' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ) ), +'formXtTags' => array( 'above-grid' => array( 'message_block' ) ), +'itemForms' => array( 'add_message' => 'above-grid', +'add_save' => 'below-grid', +'add_reset' => 'below-grid', +'add_back_list' => 'below-grid', +'add_cancel' => 'below-grid', +'expand_menu_button' => 'supertop', +'collapse_button' => 'supertop', +'loginform_login' => 'supertop', +'username_button' => 'supertop', +'logo' => 'left', +'expand_button' => 'left', +'menu' => 'left', +'add_header' => 'top', +'integrated_edit_field' => 'grid', +'integrated_edit_field1' => 'grid', +'integrated_edit_field2' => 'grid', +'integrated_edit_field3' => 'grid' ), +'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field1' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field2' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field3' => array( 'location' => 'grid', +'cellId' => 'c3' ) ), +'itemVisiblity' => array( 'expand_menu_button' => 2, +'expand_button' => 5 ) ), +'itemsByType' => array( 'add_header' => array( 'add_header' ), +'add_back_list' => array( 'add_back_list' ), +'add_cancel' => array( 'add_cancel' ), +'add_message' => array( 'add_message' ), +'add_save' => array( 'add_save' ), +'add_reset' => array( 'add_reset' ), +'logo' => array( 'logo' ), +'menu' => array( 'menu' ), +'username_button' => array( 'username_button' ), +'loginform_login' => array( 'loginform_login' ), +'userinfo_link' => array( 'userinfo_link' ), +'logout_link' => array( 'logout_link' ), +'expand_menu_button' => array( 'expand_menu_button' ), +'collapse_button' => array( 'collapse_button' ), +'integrated_edit_field' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ), +'expand_button' => array( 'expand_button' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ), +'fixedAtServer' => true, +'fixedAtClient' => false ) ), +'width' => 1, +'height' => 1 ) ) ), +'loginForm' => array( 'loginForm' => 0 ), +'page' => array( 'verticalBar' => true, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( array( 'id' => 'main', +'horizontal' => false ) ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'add', +'breadcrumb' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ) ); + $pageArray = array( 'id' => 'add', +'type' => 'add', +'layoutId' => 'leftbar', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'add-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'add_message' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'add-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'add_save', +'add_reset', +'add_back_list', +'add_cancel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'supertop' => array( 'modelId' => 'leftbar-top-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'expand_menu_button', +'collapse_button' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'loginform_login', +'username_button' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'left' => array( 'modelId' => 'leftbar-menu', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ), +'section' => '' ), +array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c0' => array( 'model' => 'c0', +'items' => array( 'logo', +'expand_button' ) ), +'c1' => array( 'model' => 'c1', +'items' => array( 'menu' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'add-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'add_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'simple-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ), +'section' => '' ) ), +'cells' => array( 'c3' => array( 'model' => 'c3', +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ) ) ), +'deferredItems' => array( ), +'columnCount' => 1, +'inlineLabels' => false, +'separateLabels' => false ) ), +'items' => array( 'add_header' => array( 'type' => 'add_header' ), +'add_back_list' => array( 'type' => 'add_back_list' ), +'add_cancel' => array( 'type' => 'add_cancel' ), +'add_message' => array( 'type' => 'add_message' ), +'add_save' => array( 'type' => 'add_save' ), +'add_reset' => array( 'type' => 'add_reset' ), +'logo' => array( 'type' => 'logo' ), +'menu' => array( 'type' => 'menu' ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'integrated_edit_field' => array( 'field' => 'id', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field1' => array( 'field' => 'logs', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field2' => array( 'field' => 'users', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field3' => array( 'field' => 'report_count', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'expand_button' => array( 'type' => 'expand_button' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_external_edit.php b/php/include/pages/chat_external_edit.php new file mode 100644 index 0000000000000000000000000000000000000000..33553edc454c5ea973995cce60e6fa9f7c356aaf --- /dev/null +++ b/php/include/pages/chat_external_edit.php @@ -0,0 +1,222 @@ + array( 'captcha' => false ), +'fields' => array( 'gridFields' => array( 'id', +'logs', +'users', +'report_count' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'updateOnEditFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_edit_field' ), +'logs' => array( 'integrated_edit_field1' ), +'users' => array( 'integrated_edit_field2' ), +'report_count' => array( 'integrated_edit_field3' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => true, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'edit_message' ), +'below-grid' => array( 'edit_save', +'edit_back_list', +'edit_close', +'hamburger' ), +'supertop' => array( 'expand_menu_button', +'collapse_button', +'loginform_login', +'username_button' ), +'left' => array( 'logo', +'expand_button', +'menu' ), +'top' => array( 'edit_header' ), +'grid' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ) ), +'formXtTags' => array( 'above-grid' => array( 'message_block' ) ), +'itemForms' => array( 'edit_message' => 'above-grid', +'edit_save' => 'below-grid', +'edit_back_list' => 'below-grid', +'edit_close' => 'below-grid', +'hamburger' => 'below-grid', +'expand_menu_button' => 'supertop', +'collapse_button' => 'supertop', +'loginform_login' => 'supertop', +'username_button' => 'supertop', +'logo' => 'left', +'expand_button' => 'left', +'menu' => 'left', +'edit_header' => 'top', +'integrated_edit_field' => 'grid', +'integrated_edit_field1' => 'grid', +'integrated_edit_field2' => 'grid', +'integrated_edit_field3' => 'grid' ), +'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field1' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field2' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field3' => array( 'location' => 'grid', +'cellId' => 'c3' ) ), +'itemVisiblity' => array( 'expand_menu_button' => 2, +'expand_button' => 5 ) ), +'itemsByType' => array( 'edit_header' => array( 'edit_header' ), +'hamburger' => array( 'hamburger' ), +'edit_reset' => array( 'edit_reset' ), +'edit_message' => array( 'edit_message' ), +'edit_save' => array( 'edit_save' ), +'edit_back_list' => array( 'edit_back_list' ), +'edit_close' => array( 'edit_close' ), +'logo' => array( 'logo' ), +'menu' => array( 'menu' ), +'username_button' => array( 'username_button' ), +'loginform_login' => array( 'loginform_login' ), +'userinfo_link' => array( 'userinfo_link' ), +'logout_link' => array( 'logout_link' ), +'expand_menu_button' => array( 'expand_menu_button' ), +'collapse_button' => array( 'collapse_button' ), +'edit_view' => array( 'edit_view' ), +'integrated_edit_field' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ), +'expand_button' => array( 'expand_button' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ), +'fixedAtServer' => true, +'fixedAtClient' => false ) ), +'width' => 1, +'height' => 1 ) ) ), +'loginForm' => array( 'loginForm' => 0 ), +'page' => array( 'verticalBar' => true, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( array( 'id' => 'main', +'horizontal' => false ) ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'edit', +'breadcrumb' => false, +'nextPrev' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ), +'edit' => array( 'updateSelected' => false ) ); + $pageArray = array( 'id' => 'edit', +'type' => 'edit', +'layoutId' => 'leftbar', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'edit-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'edit_message' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'edit-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'edit_save', +'edit_back_list', +'edit_close' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'hamburger' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'supertop' => array( 'modelId' => 'leftbar-top-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'expand_menu_button', +'collapse_button' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'loginform_login', +'username_button' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'left' => array( 'modelId' => 'leftbar-menu', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ), +'section' => '' ), +array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c0' => array( 'model' => 'c0', +'items' => array( 'logo', +'expand_button' ) ), +'c1' => array( 'model' => 'c1', +'items' => array( 'menu' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'edit-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'edit_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'simple-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ), +'section' => '' ) ), +'cells' => array( 'c3' => array( 'model' => 'c3', +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ) ) ), +'deferredItems' => array( ), +'columnCount' => 1, +'inlineLabels' => false, +'separateLabels' => false ) ), +'items' => array( 'edit_header' => array( 'type' => 'edit_header' ), +'hamburger' => array( 'type' => 'hamburger', +'items' => array( 'edit_reset', +'edit_view' ) ), +'edit_reset' => array( 'type' => 'edit_reset' ), +'edit_message' => array( 'type' => 'edit_message' ), +'edit_save' => array( 'type' => 'edit_save' ), +'edit_back_list' => array( 'type' => 'edit_back_list' ), +'edit_close' => array( 'type' => 'edit_close' ), +'logo' => array( 'type' => 'logo' ), +'menu' => array( 'type' => 'menu' ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'edit_view' => array( 'type' => 'edit_view' ), +'integrated_edit_field' => array( 'field' => 'id', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field1' => array( 'field' => 'logs', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field2' => array( 'field' => 'users', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field3' => array( 'field' => 'report_count', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'expand_button' => array( 'type' => 'expand_button' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_external_export.php b/php/include/pages/chat_external_export.php new file mode 100644 index 0000000000000000000000000000000000000000..12f78069ff0ceae79156f70595dd0aed7f1240ac --- /dev/null +++ b/php/include/pages/chat_external_export.php @@ -0,0 +1,134 @@ + array( 'id' => array( 'totalsType' => '' ), +'logs' => array( 'totalsType' => '' ), +'users' => array( 'totalsType' => '' ), +'report_count' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'logs', +'users', +'report_count' ), +'exportFields' => array( 'id', +'logs', +'users', +'report_count' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'export_field' ), +'logs' => array( 'export_field1' ), +'users' => array( 'export_field2' ), +'report_count' => array( 'export_field3' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'supertop' => array( ), +'top' => array( 'export_header' ), +'grid' => array( 'export_field', +'export_field1', +'export_field2', +'export_field3' ), +'footer' => array( 'export_export', +'export_cancel' ) ), +'formXtTags' => array( 'supertop' => array( ) ), +'itemForms' => array( 'export_header' => 'top', +'export_field' => 'grid', +'export_field1' => 'grid', +'export_field2' => 'grid', +'export_field3' => 'grid', +'export_export' => 'footer', +'export_cancel' => 'footer' ), +'itemLocations' => array( ), +'itemVisiblity' => array( ) ), +'itemsByType' => array( 'export_header' => array( 'export_header' ), +'export_export' => array( 'export_export' ), +'export_cancel' => array( 'export_cancel' ), +'export_field' => array( 'export_field', +'export_field1', +'export_field2', +'export_field3' ) ), +'cellMaps' => array( ) ), +'loginForm' => array( 'loginForm' => 3 ), +'page' => array( 'verticalBar' => false, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( ), +'calcTotalsFor' => 1 ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ), +'export' => array( 'format' => 2, +'selectFields' => false, +'delimiter' => ',', +'selectDelimiter' => false, +'exportFileTypes' => array( 'excel' => true, +'word' => true, +'csv' => true, +'xml' => false ) ) ); + $pageArray = array( 'id' => 'export', +'type' => 'export', +'layoutId' => 'first', +'disabled' => 0, +'default' => 0, +'forms' => array( 'supertop' => array( 'modelId' => 'panel-top', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'export-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'export_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'export-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'export_field', +'export_field1', +'export_field2', +'export_field3' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'footer' => array( 'modelId' => 'export-footer', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'export_export', +'export_cancel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'export_header' => array( 'type' => 'export_header' ), +'export_export' => array( 'type' => 'export_export' ), +'export_cancel' => array( 'type' => 'export_cancel' ), +'export_field' => array( 'field' => 'id', +'type' => 'export_field' ), +'export_field1' => array( 'field' => 'logs', +'type' => 'export_field' ), +'export_field2' => array( 'field' => 'users', +'type' => 'export_field' ), +'export_field3' => array( 'field' => 'report_count', +'type' => 'export_field' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1, +'exportFormat' => 2, +'exportDelimiter' => ',', +'exportSelectDelimiter' => false, +'exportSelectFields' => false ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_external_import.php b/php/include/pages/chat_external_import.php new file mode 100644 index 0000000000000000000000000000000000000000..49a3cd8a7b87fbca21350e779a9c980cc72bcd25 --- /dev/null +++ b/php/include/pages/chat_external_import.php @@ -0,0 +1,95 @@ + array( 'gridFields' => array( 'id', +'logs', +'users', +'report_count' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'import_field' ), +'logs' => array( 'import_field1' ), +'users' => array( 'import_field2' ), +'report_count' => array( 'import_field3' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'supertop' => array( ), +'top' => array( 'import_header' ), +'grid' => array( 'import_field', +'import_field1', +'import_field2', +'import_field3' ) ), +'formXtTags' => array( 'supertop' => array( ) ), +'itemForms' => array( 'import_header' => 'top', +'import_field' => 'grid', +'import_field1' => 'grid', +'import_field2' => 'grid', +'import_field3' => 'grid' ), +'itemLocations' => array( ), +'itemVisiblity' => array( ) ), +'itemsByType' => array( 'import_header' => array( 'import_header' ), +'import_field' => array( 'import_field', +'import_field1', +'import_field2', +'import_field3' ) ), +'cellMaps' => array( ) ), +'loginForm' => array( 'loginForm' => 3 ), +'page' => array( 'verticalBar' => false, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( ), +'calcTotalsFor' => 1 ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ) ); + $pageArray = array( 'id' => 'import', +'type' => 'import', +'layoutId' => 'first', +'disabled' => 0, +'default' => 0, +'forms' => array( 'supertop' => array( 'modelId' => 'panel-top', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'import-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'import_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'import-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'import_field', +'import_field1', +'import_field2', +'import_field3' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'import_header' => array( 'type' => 'import_header' ), +'import_field' => array( 'field' => 'id', +'type' => 'import_field' ), +'import_field1' => array( 'field' => 'logs', +'type' => 'import_field' ), +'import_field2' => array( 'field' => 'users', +'type' => 'import_field' ), +'import_field3' => array( 'field' => 'report_count', +'type' => 'import_field' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_external_list.php b/php/include/pages/chat_external_list.php new file mode 100644 index 0000000000000000000000000000000000000000..094b35ad8148c36cdc48a30cefb69d3d28649497 --- /dev/null +++ b/php/include/pages/chat_external_list.php @@ -0,0 +1,562 @@ + array( 'inlineAdd' => false, +'detailsAdd' => false, +'inlineEdit' => false, +'spreadsheetMode' => false, +'addToBottom' => false, +'delete' => true, +'updateSelected' => false, +'clickSort' => true, +'sortDropdown' => false, +'showHideFields' => false, +'reorderFields' => false, +'fieldFilter' => false, +'hideNumberOfRecords' => false ), +'listSearch' => array( 'alwaysOnPanelFields' => array( ), +'searchPanel' => true, +'fixedSearchPanel' => false, +'simpleSearchOptions' => false, +'searchSaving' => false ), +'totals' => array( 'id' => array( 'totalsType' => '' ), +'logs' => array( 'totalsType' => '' ), +'users' => array( 'totalsType' => '' ), +'report_count' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'logs', +'users', +'report_count' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( 'id', +'users', +'report_count', +'logs' ), +'filterFields' => array( ), +'inlineAddFields' => array( ), +'inlineEditFields' => array( ), +'fieldItems' => array( 'id' => array( 'simple_grid_field', +'simple_grid_field4' ), +'logs' => array( 'simple_grid_field1', +'simple_grid_field5' ), +'users' => array( 'simple_grid_field2', +'simple_grid_field6' ), +'report_count' => array( 'simple_grid_field3', +'simple_grid_field7' ) ), +'hideEmptyFields' => array( ), +'fieldFilterFields' => array( ) ), +'pageLinks' => array( 'edit' => true, +'add' => true, +'view' => true, +'print' => true ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'add', +'delete', +'details_found', +'page_size', +'print_panel' ), +'below-grid' => array( 'pagination' ), +'left' => array( 'logo', +'expand_button', +'menu', +'search_panel' ), +'supertop' => array( 'expand_menu_button', +'collapse_button', +'breadcrumb', +'simple_search', +'list_options', +'loginform_login', +'username_button' ), +'top' => array( ), +'grid' => array( 'simple_grid_field4', +'simple_grid_field', +'simple_grid_field5', +'simple_grid_field1', +'simple_grid_field6', +'simple_grid_field2', +'simple_grid_field7', +'simple_grid_field3', +'grid_checkbox_head', +'grid_checkbox', +'grid_edit', +'grid_view' ) ), +'formXtTags' => array( 'above-grid' => array( 'add_link', +'deleteselected_link', +'details_found', +'recsPerPage', +'print_friendly' ), +'below-grid' => array( 'pagination' ), +'top' => array( ) ), +'itemForms' => array( 'add' => 'above-grid', +'delete' => 'above-grid', +'details_found' => 'above-grid', +'page_size' => 'above-grid', +'print_panel' => 'above-grid', +'pagination' => 'below-grid', +'logo' => 'left', +'expand_button' => 'left', +'menu' => 'left', +'search_panel' => 'left', +'expand_menu_button' => 'supertop', +'collapse_button' => 'supertop', +'breadcrumb' => 'supertop', +'simple_search' => 'supertop', +'list_options' => 'supertop', +'loginform_login' => 'supertop', +'username_button' => 'supertop', +'simple_grid_field4' => 'grid', +'simple_grid_field' => 'grid', +'simple_grid_field5' => 'grid', +'simple_grid_field1' => 'grid', +'simple_grid_field6' => 'grid', +'simple_grid_field2' => 'grid', +'simple_grid_field7' => 'grid', +'simple_grid_field3' => 'grid', +'grid_checkbox_head' => 'grid', +'grid_checkbox' => 'grid', +'grid_edit' => 'grid', +'grid_view' => 'grid' ), +'itemLocations' => array( 'simple_grid_field4' => array( 'location' => 'grid', +'cellId' => 'headcell_field' ), +'simple_grid_field' => array( 'location' => 'grid', +'cellId' => 'cell_field' ), +'simple_grid_field5' => array( 'location' => 'grid', +'cellId' => 'headcell_field1' ), +'simple_grid_field1' => array( 'location' => 'grid', +'cellId' => 'cell_field1' ), +'simple_grid_field6' => array( 'location' => 'grid', +'cellId' => 'headcell_field2' ), +'simple_grid_field2' => array( 'location' => 'grid', +'cellId' => 'cell_field2' ), +'simple_grid_field7' => array( 'location' => 'grid', +'cellId' => 'headcell_field3' ), +'simple_grid_field3' => array( 'location' => 'grid', +'cellId' => 'cell_field3' ), +'grid_checkbox_head' => array( 'location' => 'grid', +'cellId' => 'headcell_checkbox' ), +'grid_checkbox' => array( 'location' => 'grid', +'cellId' => 'cell_checkbox' ), +'grid_edit' => array( 'location' => 'grid', +'cellId' => 'cell_icons' ), +'grid_view' => array( 'location' => 'grid', +'cellId' => 'cell_icons' ) ), +'itemVisiblity' => array( 'breadcrumb' => 5, +'expand_menu_button' => 2, +'print_panel' => 5, +'expand_button' => 5 ) ), +'itemsByType' => array( 'page_size' => array( 'page_size' ), +'breadcrumb' => array( 'breadcrumb' ), +'logo' => array( 'logo' ), +'menu' => array( 'menu' ), +'simple_search' => array( 'simple_search' ), +'pagination' => array( 'pagination' ), +'details_found' => array( 'details_found' ), +'search_panel' => array( 'search_panel' ), +'list_options' => array( 'list_options' ), +'show_search_panel' => array( 'show_search_panel' ), +'hide_search_panel' => array( 'hide_search_panel' ), +'search_panel_field' => array( 'search_panel_field', +'search_panel_field1', +'search_panel_field2', +'search_panel_field3' ), +'username_button' => array( 'username_button' ), +'loginform_login' => array( 'loginform_login' ), +'userinfo_link' => array( 'userinfo_link' ), +'logout_link' => array( 'logout_link' ), +'expand_menu_button' => array( 'expand_menu_button' ), +'collapse_button' => array( 'collapse_button' ), +'add' => array( 'add' ), +'print_panel' => array( 'print_panel' ), +'print_scope' => array( 'print_scope' ), +'print_button' => array( 'print_button' ), +'print_records' => array( 'print_records' ), +'export' => array( 'export' ), +'-' => array( '-', +'-1', +'-2', +'-3' ), +'export_selected' => array( 'export_selected' ), +'import' => array( 'import' ), +'delete' => array( 'delete' ), +'delete_selected' => array( 'delete_selected' ), +'advsearch_link' => array( 'advsearch_link' ), +'grid_field' => array( 'simple_grid_field', +'simple_grid_field1', +'simple_grid_field2', +'simple_grid_field3' ), +'grid_field_label' => array( 'simple_grid_field4', +'simple_grid_field5', +'simple_grid_field6', +'simple_grid_field7' ), +'grid_checkbox' => array( 'grid_checkbox' ), +'grid_checkbox_head' => array( 'grid_checkbox_head' ), +'grid_edit' => array( 'grid_edit' ), +'grid_view' => array( 'grid_view' ), +'expand_button' => array( 'expand_button' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_icons' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_checkbox' => array( 'cols' => array( 1 ), +'rows' => array( 0 ), +'tags' => array( 'checkbox_column' ), +'items' => array( 'grid_checkbox_head' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field' => array( 'cols' => array( 2 ), +'rows' => array( 0 ), +'tags' => array( 'id_fieldheadercolumn' ), +'items' => array( 'simple_grid_field4' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field1' => array( 'cols' => array( 3 ), +'rows' => array( 0 ), +'tags' => array( 'logs_fieldheadercolumn' ), +'items' => array( 'simple_grid_field5' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field2' => array( 'cols' => array( 4 ), +'rows' => array( 0 ), +'tags' => array( 'users_fieldheadercolumn' ), +'items' => array( 'simple_grid_field6' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field3' => array( 'cols' => array( 5 ), +'rows' => array( 0 ), +'tags' => array( 'report_count_fieldheadercolumn' ), +'items' => array( 'simple_grid_field7' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_icons' => array( 'cols' => array( 0 ), +'rows' => array( 1 ), +'tags' => array( 'edit_column', +'view_column' ), +'items' => array( 'grid_edit', +'grid_view' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_checkbox' => array( 'cols' => array( 1 ), +'rows' => array( 1 ), +'tags' => array( 'checkbox_column' ), +'items' => array( 'grid_checkbox' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field' => array( 'cols' => array( 2 ), +'rows' => array( 1 ), +'tags' => array( 'id_fieldcolumn' ), +'items' => array( 'simple_grid_field' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field1' => array( 'cols' => array( 3 ), +'rows' => array( 1 ), +'tags' => array( 'logs_fieldcolumn' ), +'items' => array( 'simple_grid_field1' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field2' => array( 'cols' => array( 4 ), +'rows' => array( 1 ), +'tags' => array( 'users_fieldcolumn' ), +'items' => array( 'simple_grid_field2' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field3' => array( 'cols' => array( 5 ), +'rows' => array( 1 ), +'tags' => array( 'report_count_fieldcolumn' ), +'items' => array( 'simple_grid_field3' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_icons' => array( 'cols' => array( 0 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_checkbox' => array( 'cols' => array( 1 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field' => array( 'cols' => array( 2 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field1' => array( 'cols' => array( 3 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field2' => array( 'cols' => array( 4 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field3' => array( 'cols' => array( 5 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ) ), +'width' => 6, +'height' => 3 ) ) ), +'loginForm' => array( 'loginForm' => 0 ), +'page' => array( 'verticalBar' => true, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( 'details_found' => array( 'tag' => 'DISPLAYING', +'type' => 2 ) ) ), +'gridType' => 0, +'recsPerRow' => 1, +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( array( 'id' => 'main', +'horizontal' => false ) ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'list', +'breadcrumb' => true ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ), +'dataGrid' => array( 'groupFields' => array( ) ) ); + $pageArray = array( 'id' => 'list', +'type' => 'list', +'layoutId' => 'leftbar', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'list-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'add', +'delete' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'details_found', +'page_size', +'print_panel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'list-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'pagination' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'left' => array( 'modelId' => 'leftbar-menu', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ), +'section' => '' ), +array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c0' => array( 'model' => 'c0', +'items' => array( 'logo', +'expand_button' ) ), +'c1' => array( 'model' => 'c1', +'items' => array( 'menu', +'search_panel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'supertop' => array( 'modelId' => 'leftbar-top', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'expand_menu_button', +'collapse_button', +'breadcrumb' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'simple_search', +'list_options', +'loginform_login', +'username_button' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'list-sidebar-top', +'grid' => array( ), +'cells' => array( ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'horizontal-grid', +'grid' => array( array( 'section' => 'head', +'cells' => array( array( 'cell' => 'headcell_icons' ), +array( 'cell' => 'headcell_checkbox' ), +array( 'cell' => 'headcell_field' ), +array( 'cell' => 'headcell_field1' ), +array( 'cell' => 'headcell_field2' ), +array( 'cell' => 'headcell_field3' ) ) ), +array( 'section' => 'body', +'cells' => array( array( 'cell' => 'cell_icons' ), +array( 'cell' => 'cell_checkbox' ), +array( 'cell' => 'cell_field' ), +array( 'cell' => 'cell_field1' ), +array( 'cell' => 'cell_field2' ), +array( 'cell' => 'cell_field3' ) ) ), +array( 'section' => 'foot', +'cells' => array( array( 'cell' => 'footcell_icons' ), +array( 'cell' => 'footcell_checkbox' ), +array( 'cell' => 'footcell_field' ), +array( 'cell' => 'footcell_field1' ), +array( 'cell' => 'footcell_field2' ), +array( 'cell' => 'footcell_field3' ) ) ) ), +'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field4' ), +'field' => 'id', +'columnName' => 'field' ), +'cell_field' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field' ), +'field' => 'id', +'columnName' => 'field' ), +'footcell_field' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field1' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field5' ), +'field' => 'logs', +'columnName' => 'field' ), +'cell_field1' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field1' ), +'field' => 'logs', +'columnName' => 'field' ), +'footcell_field1' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field2' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field6' ), +'field' => 'users', +'columnName' => 'field' ), +'cell_field2' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field2' ), +'field' => 'users', +'columnName' => 'field' ), +'footcell_field2' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field3' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field7' ), +'field' => 'report_count', +'columnName' => 'field' ), +'cell_field3' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field3' ), +'field' => 'report_count', +'columnName' => 'field' ), +'footcell_field3' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_checkbox' => array( 'model' => 'headcell_checkbox', +'items' => array( 'grid_checkbox_head' ) ), +'cell_checkbox' => array( 'model' => 'cell_checkbox', +'items' => array( 'grid_checkbox' ) ), +'footcell_checkbox' => array( 'model' => 'footcell_checkbox', +'items' => array( ) ), +'headcell_icons' => array( 'model' => 'headcell_icons', +'items' => array( ) ), +'cell_icons' => array( 'model' => 'cell_icons', +'items' => array( 'grid_edit', +'grid_view' ) ), +'footcell_icons' => array( 'model' => 'footcell_icons', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'page_size' => array( 'type' => 'page_size' ), +'breadcrumb' => array( 'type' => 'breadcrumb' ), +'logo' => array( 'type' => 'logo' ), +'menu' => array( 'type' => 'menu' ), +'simple_search' => array( 'type' => 'simple_search' ), +'pagination' => array( 'type' => 'pagination' ), +'details_found' => array( 'type' => 'details_found' ), +'search_panel' => array( 'type' => 'search_panel', +'items' => array( 'search_panel_field', +'search_panel_field3', +'search_panel_field2', +'search_panel_field1' ) ), +'list_options' => array( 'type' => 'list_options', +'items' => array( 'export_selected', +'delete_selected', +'-3', +'advsearch_link', +'show_search_panel', +'hide_search_panel', +'-1', +'export', +'-2', +'import' ) ), +'show_search_panel' => array( 'type' => 'show_search_panel' ), +'hide_search_panel' => array( 'type' => 'hide_search_panel' ), +'search_panel_field' => array( 'field' => 'id', +'type' => 'search_panel_field', +'required' => false ), +'search_panel_field1' => array( 'field' => 'logs', +'type' => 'search_panel_field', +'required' => false ), +'search_panel_field2' => array( 'field' => 'report_count', +'type' => 'search_panel_field', +'required' => false ), +'search_panel_field3' => array( 'field' => 'users', +'type' => 'search_panel_field', +'required' => false ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'add' => array( 'type' => 'add' ), +'print_panel' => array( 'type' => 'print_panel', +'items' => array( 'print_scope', +'print_records', +'print_button' ) ), +'print_scope' => array( 'type' => 'print_scope' ), +'print_button' => array( 'type' => 'print_button' ), +'print_records' => array( 'type' => 'print_records' ), +'export' => array( 'type' => 'export' ), +'-' => array( 'type' => '-' ), +'export_selected' => array( 'type' => 'export_selected' ), +'-1' => array( 'type' => '-' ), +'import' => array( 'type' => 'import' ), +'-2' => array( 'type' => '-' ), +'delete' => array( 'type' => 'delete' ), +'delete_selected' => array( 'type' => 'delete_selected' ), +'advsearch_link' => array( 'type' => 'advsearch_link' ), +'-3' => array( 'type' => '-' ), +'simple_grid_field' => array( 'field' => 'id', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field4' => array( 'type' => 'grid_field_label', +'field' => 'id' ), +'simple_grid_field1' => array( 'field' => 'logs', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field5' => array( 'type' => 'grid_field_label', +'field' => 'logs' ), +'simple_grid_field2' => array( 'field' => 'users', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field6' => array( 'type' => 'grid_field_label', +'field' => 'users' ), +'simple_grid_field3' => array( 'field' => 'report_count', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field7' => array( 'type' => 'grid_field_label', +'field' => 'report_count' ), +'grid_checkbox' => array( 'type' => 'grid_checkbox' ), +'grid_checkbox_head' => array( 'type' => 'grid_checkbox_head' ), +'grid_edit' => array( 'type' => 'grid_edit' ), +'grid_view' => array( 'type' => 'grid_view' ), +'expand_button' => array( 'type' => 'expand_button' ) ), +'dbProps' => array( ), +'spreadsheetGrid' => false, +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_external_print.php b/php/include/pages/chat_external_print.php new file mode 100644 index 0000000000000000000000000000000000000000..5d9bd8e1628a20d16c2a342595f076a0988f7ca9 --- /dev/null +++ b/php/include/pages/chat_external_print.php @@ -0,0 +1,284 @@ + array( 'pdfView' => false ), +'totals' => array( 'id' => array( 'totalsType' => '' ), +'logs' => array( 'totalsType' => '' ), +'users' => array( 'totalsType' => '' ), +'report_count' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'logs', +'users', +'report_count' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'simple_grid_field', +'simple_grid_field4' ), +'logs' => array( 'simple_grid_field1', +'simple_grid_field5' ), +'users' => array( 'simple_grid_field2', +'simple_grid_field6' ), +'report_count' => array( 'simple_grid_field3', +'simple_grid_field7' ) ), +'hideEmptyFields' => array( ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( 'print_pages' ), +'below-grid' => array( ), +'top' => array( 'print_header', +'print_subheader' ), +'grid' => array( 'simple_grid_field4', +'simple_grid_field', +'simple_grid_field5', +'simple_grid_field1', +'simple_grid_field6', +'simple_grid_field2', +'simple_grid_field7', +'simple_grid_field3' ) ), +'formXtTags' => array( 'above-grid' => array( 'print_pages' ), +'below-grid' => array( ) ), +'itemForms' => array( 'print_pages' => 'above-grid', +'print_header' => 'top', +'print_subheader' => 'top', +'simple_grid_field4' => 'grid', +'simple_grid_field' => 'grid', +'simple_grid_field5' => 'grid', +'simple_grid_field1' => 'grid', +'simple_grid_field6' => 'grid', +'simple_grid_field2' => 'grid', +'simple_grid_field7' => 'grid', +'simple_grid_field3' => 'grid' ), +'itemLocations' => array( 'simple_grid_field4' => array( 'location' => 'grid', +'cellId' => 'headcell_field' ), +'simple_grid_field' => array( 'location' => 'grid', +'cellId' => 'cell_field' ), +'simple_grid_field5' => array( 'location' => 'grid', +'cellId' => 'headcell_field1' ), +'simple_grid_field1' => array( 'location' => 'grid', +'cellId' => 'cell_field1' ), +'simple_grid_field6' => array( 'location' => 'grid', +'cellId' => 'headcell_field2' ), +'simple_grid_field2' => array( 'location' => 'grid', +'cellId' => 'cell_field2' ), +'simple_grid_field7' => array( 'location' => 'grid', +'cellId' => 'headcell_field3' ), +'simple_grid_field3' => array( 'location' => 'grid', +'cellId' => 'cell_field3' ) ), +'itemVisiblity' => array( ) ), +'itemsByType' => array( 'print_header' => array( 'print_header' ), +'print_subheader' => array( 'print_subheader' ), +'print_pages' => array( 'print_pages' ), +'grid_field' => array( 'simple_grid_field', +'simple_grid_field1', +'simple_grid_field2', +'simple_grid_field3' ), +'grid_field_label' => array( 'simple_grid_field4', +'simple_grid_field5', +'simple_grid_field6', +'simple_grid_field7' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_field' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( 'id_fieldheadercolumn' ), +'items' => array( 'simple_grid_field4' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field1' => array( 'cols' => array( 1 ), +'rows' => array( 0 ), +'tags' => array( 'logs_fieldheadercolumn' ), +'items' => array( 'simple_grid_field5' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field2' => array( 'cols' => array( 2 ), +'rows' => array( 0 ), +'tags' => array( 'users_fieldheadercolumn' ), +'items' => array( 'simple_grid_field6' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field3' => array( 'cols' => array( 3 ), +'rows' => array( 0 ), +'tags' => array( 'report_count_fieldheadercolumn' ), +'items' => array( 'simple_grid_field7' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field' => array( 'cols' => array( 0 ), +'rows' => array( 1 ), +'tags' => array( 'id_fieldcolumn' ), +'items' => array( 'simple_grid_field' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field1' => array( 'cols' => array( 1 ), +'rows' => array( 1 ), +'tags' => array( 'logs_fieldcolumn' ), +'items' => array( 'simple_grid_field1' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field2' => array( 'cols' => array( 2 ), +'rows' => array( 1 ), +'tags' => array( 'users_fieldcolumn' ), +'items' => array( 'simple_grid_field2' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'cell_field3' => array( 'cols' => array( 3 ), +'rows' => array( 1 ), +'tags' => array( 'report_count_fieldcolumn' ), +'items' => array( 'simple_grid_field3' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field' => array( 'cols' => array( 0 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field1' => array( 'cols' => array( 1 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field2' => array( 'cols' => array( 2 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'footcell_field3' => array( 'cols' => array( 3 ), +'rows' => array( 2 ), +'tags' => array( ), +'items' => array( ), +'fixedAtServer' => false, +'fixedAtClient' => false ) ), +'width' => 4, +'height' => 3 ) ) ), +'loginForm' => array( 'loginForm' => 3 ), +'page' => array( 'verticalBar' => false, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( 'print_pages' => array( 'tag' => 'PRINT_PAGES', +'type' => 2 ) ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'gridType' => 0, +'recsPerRow' => 1, +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'print', +'breadcrumb' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ), +'dataGrid' => array( 'groupFields' => array( ) ) ); + $pageArray = array( 'id' => 'print', +'type' => 'print', +'layoutId' => 'basic', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'print-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'print_pages' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'print-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'print-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c2' => array( 'model' => 'c2', +'items' => array( 'print_header', +'print_subheader' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'horizontal-grid', +'grid' => array( array( 'section' => 'head', +'cells' => array( array( 'cell' => 'headcell_field' ), +array( 'cell' => 'headcell_field1' ), +array( 'cell' => 'headcell_field2' ), +array( 'cell' => 'headcell_field3' ) ) ), +array( 'section' => 'body', +'cells' => array( array( 'cell' => 'cell_field' ), +array( 'cell' => 'cell_field1' ), +array( 'cell' => 'cell_field2' ), +array( 'cell' => 'cell_field3' ) ) ), +array( 'section' => 'foot', +'cells' => array( array( 'cell' => 'footcell_field' ), +array( 'cell' => 'footcell_field1' ), +array( 'cell' => 'footcell_field2' ), +array( 'cell' => 'footcell_field3' ) ) ) ), +'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field4' ), +'field' => 'id', +'columnName' => 'field' ), +'cell_field' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field' ), +'field' => 'id', +'columnName' => 'field' ), +'footcell_field' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field1' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field5' ), +'field' => 'logs', +'columnName' => 'field' ), +'cell_field1' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field1' ), +'field' => 'logs', +'columnName' => 'field' ), +'footcell_field1' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field2' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field6' ), +'field' => 'users', +'columnName' => 'field' ), +'cell_field2' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field2' ), +'field' => 'users', +'columnName' => 'field' ), +'footcell_field2' => array( 'model' => 'footcell_field', +'items' => array( ) ), +'headcell_field3' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field7' ), +'field' => 'report_count', +'columnName' => 'field' ), +'cell_field3' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field3' ), +'field' => 'report_count', +'columnName' => 'field' ), +'footcell_field3' => array( 'model' => 'footcell_field', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'print_header' => array( 'type' => 'print_header' ), +'print_subheader' => array( 'type' => 'print_subheader' ), +'print_pages' => array( 'type' => 'print_pages' ), +'simple_grid_field' => array( 'field' => 'id', +'type' => 'grid_field' ), +'simple_grid_field4' => array( 'type' => 'grid_field_label', +'field' => 'id' ), +'simple_grid_field1' => array( 'field' => 'logs', +'type' => 'grid_field' ), +'simple_grid_field5' => array( 'type' => 'grid_field_label', +'field' => 'logs' ), +'simple_grid_field2' => array( 'field' => 'users', +'type' => 'grid_field' ), +'simple_grid_field6' => array( 'type' => 'grid_field_label', +'field' => 'users' ), +'simple_grid_field3' => array( 'field' => 'report_count', +'type' => 'grid_field' ), +'simple_grid_field7' => array( 'type' => 'grid_field_label', +'field' => 'report_count' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_external_search.php b/php/include/pages/chat_external_search.php new file mode 100644 index 0000000000000000000000000000000000000000..6238e71f516f8f90b2a4d3ca68533d9fad576783 --- /dev/null +++ b/php/include/pages/chat_external_search.php @@ -0,0 +1,149 @@ + array( 'gridFields' => array( 'id', +'logs', +'users', +'report_count' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_search_field' ), +'logs' => array( 'integrated_search_field1' ), +'users' => array( 'integrated_search_field2' ), +'report_count' => array( 'integrated_search_field3' ) ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( ), +'below-grid' => array( 'search_search', +'search_reset', +'search_back_list', +'search_cancel' ), +'top' => array( 'search_header' ), +'grid' => array( 'integrated_search_field', +'integrated_search_field1', +'integrated_search_field2', +'integrated_search_field3' ) ), +'formXtTags' => array( 'above-grid' => array( ) ), +'itemForms' => array( 'search_search' => 'below-grid', +'search_reset' => 'below-grid', +'search_back_list' => 'below-grid', +'search_cancel' => 'below-grid', +'search_header' => 'top', +'integrated_search_field' => 'grid', +'integrated_search_field1' => 'grid', +'integrated_search_field2' => 'grid', +'integrated_search_field3' => 'grid' ), +'itemLocations' => array( 'integrated_search_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_search_field1' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_search_field2' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_search_field3' => array( 'location' => 'grid', +'cellId' => 'c3' ) ), +'itemVisiblity' => array( ) ), +'itemsByType' => array( 'search_header' => array( 'search_header' ), +'search_reset' => array( 'search_reset' ), +'search_back_list' => array( 'search_back_list' ), +'search_search' => array( 'search_search' ), +'search_cancel' => array( 'search_cancel' ), +'integrated_search_field' => array( 'integrated_search_field', +'integrated_search_field1', +'integrated_search_field2', +'integrated_search_field3' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( 'integrated_search_field', +'integrated_search_field1', +'integrated_search_field2', +'integrated_search_field3' ), +'fixedAtServer' => true, +'fixedAtClient' => false ) ), +'width' => 1, +'height' => 1 ) ) ), +'loginForm' => array( 'loginForm' => 3 ), +'page' => array( 'verticalBar' => false, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'search', +'breadcrumb' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ) ); + $pageArray = array( 'id' => 'search', +'type' => 'search', +'layoutId' => 'nomenu', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'search-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1', +'colspan' => 2 ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'search-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'search_search', +'search_reset', +'search_back_list', +'search_cancel' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'search-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'search_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'simple-search', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ), +'section' => '' ) ), +'cells' => array( 'c3' => array( 'model' => 'c3', +'items' => array( 'integrated_search_field', +'integrated_search_field1', +'integrated_search_field2', +'integrated_search_field3' ) ) ), +'deferredItems' => array( ), +'separateLabels' => false ) ), +'items' => array( 'search_header' => array( 'type' => 'search_header' ), +'search_reset' => array( 'type' => 'search_reset' ), +'search_back_list' => array( 'type' => 'search_back_list' ), +'search_search' => array( 'type' => 'search_search' ), +'search_cancel' => array( 'type' => 'search_cancel' ), +'integrated_search_field' => array( 'field' => 'id', +'type' => 'integrated_search_field', +'orientation' => 0, +'required' => false ), +'integrated_search_field1' => array( 'field' => 'logs', +'type' => 'integrated_search_field', +'orientation' => 0, +'required' => false ), +'integrated_search_field2' => array( 'field' => 'users', +'type' => 'integrated_search_field', +'orientation' => 0, +'required' => false ), +'integrated_search_field3' => array( 'field' => 'report_count', +'type' => 'integrated_search_field', +'orientation' => 0, +'required' => false ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/chat_external_view.php b/php/include/pages/chat_external_view.php new file mode 100644 index 0000000000000000000000000000000000000000..c41b2a2c270ead856f63909f2f3eb253eea44fc9 --- /dev/null +++ b/php/include/pages/chat_external_view.php @@ -0,0 +1,210 @@ + array( 'pdfView' => false ), +'fields' => array( 'gridFields' => array( 'id', +'logs', +'users', +'report_count' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_edit_field' ), +'logs' => array( 'integrated_edit_field1' ), +'users' => array( 'integrated_edit_field2' ), +'report_count' => array( 'integrated_edit_field3' ) ) ), +'pageLinks' => array( 'edit' => true, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'above-grid' => array( ), +'below-grid' => array( 'view_back_list', +'view_close', +'hamburger' ), +'supertop' => array( 'expand_menu_button', +'collapse_button', +'loginform_login', +'username_button' ), +'left' => array( 'logo', +'expand_button', +'menu' ), +'top' => array( 'view_header' ), +'grid' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ) ), +'formXtTags' => array( 'above-grid' => array( ) ), +'itemForms' => array( 'view_back_list' => 'below-grid', +'view_close' => 'below-grid', +'hamburger' => 'below-grid', +'expand_menu_button' => 'supertop', +'collapse_button' => 'supertop', +'loginform_login' => 'supertop', +'username_button' => 'supertop', +'logo' => 'left', +'expand_button' => 'left', +'menu' => 'left', +'view_header' => 'top', +'integrated_edit_field' => 'grid', +'integrated_edit_field1' => 'grid', +'integrated_edit_field2' => 'grid', +'integrated_edit_field3' => 'grid' ), +'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field1' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field2' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field3' => array( 'location' => 'grid', +'cellId' => 'c3' ) ), +'itemVisiblity' => array( 'expand_menu_button' => 2, +'expand_button' => 5 ) ), +'itemsByType' => array( 'view_header' => array( 'view_header' ), +'view_back_list' => array( 'view_back_list' ), +'view_close' => array( 'view_close' ), +'logo' => array( 'logo' ), +'menu' => array( 'menu' ), +'username_button' => array( 'username_button' ), +'loginform_login' => array( 'loginform_login' ), +'userinfo_link' => array( 'userinfo_link' ), +'logout_link' => array( 'logout_link' ), +'expand_menu_button' => array( 'expand_menu_button' ), +'collapse_button' => array( 'collapse_button' ), +'hamburger' => array( 'hamburger' ), +'view_edit' => array( 'view_edit' ), +'integrated_edit_field' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ), +'expand_button' => array( 'expand_button' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ), +'fixedAtServer' => true, +'fixedAtClient' => false ) ), +'width' => 1, +'height' => 1 ) ) ), +'loginForm' => array( 'loginForm' => 0 ), +'page' => array( 'verticalBar' => true, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( array( 'id' => 'main', +'horizontal' => false ) ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'view', +'breadcrumb' => false, +'nextPrev' => false ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ) ); + $pageArray = array( 'id' => 'view', +'type' => 'view', +'layoutId' => 'leftbar', +'disabled' => 0, +'default' => 0, +'forms' => array( 'above-grid' => array( 'modelId' => 'view-above-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1', +'colspan' => 2 ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'below-grid' => array( 'modelId' => 'view-below-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'view_back_list', +'view_close' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'hamburger' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'supertop' => array( 'modelId' => 'leftbar-top-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'expand_menu_button', +'collapse_button' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'loginform_login', +'username_button' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'left' => array( 'modelId' => 'leftbar-menu', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ), +'section' => '' ), +array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c0' => array( 'model' => 'c0', +'items' => array( 'logo', +'expand_button' ) ), +'c1' => array( 'model' => 'c1', +'items' => array( 'menu' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'view-header', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'view_header' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'grid' => array( 'modelId' => 'simple-edit', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c3' ) ), +'section' => '' ) ), +'cells' => array( 'c3' => array( 'model' => 'c3', +'items' => array( 'integrated_edit_field', +'integrated_edit_field1', +'integrated_edit_field2', +'integrated_edit_field3' ) ) ), +'deferredItems' => array( ), +'columnCount' => 1, +'inlineLabels' => false, +'separateLabels' => false ) ), +'items' => array( 'view_header' => array( 'type' => 'view_header' ), +'view_back_list' => array( 'type' => 'view_back_list' ), +'view_close' => array( 'type' => 'view_close' ), +'logo' => array( 'type' => 'logo' ), +'menu' => array( 'type' => 'menu' ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'hamburger' => array( 'type' => 'hamburger', +'items' => array( 'view_edit' ) ), +'view_edit' => array( 'type' => 'view_edit' ), +'integrated_edit_field' => array( 'field' => 'id', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field1' => array( 'field' => 'logs', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field2' => array( 'field' => 'users', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'integrated_edit_field3' => array( 'field' => 'report_count', +'type' => 'integrated_edit_field', +'orientation' => 0 ), +'expand_button' => array( 'type' => 'expand_button' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/dashboard_dashboard.php b/php/include/pages/dashboard_dashboard.php new file mode 100644 index 0000000000000000000000000000000000000000..b87964aa8084211bfe2d3e962fbb3a9237835b52 --- /dev/null +++ b/php/include/pages/dashboard_dashboard.php @@ -0,0 +1,137 @@ + array( 'gridFields' => array( ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( ) ), +'pageLinks' => array( 'edit' => false, +'add' => false, +'view' => false, +'print' => false ), +'layoutHelper' => array( 'formItems' => array( 'formItems' => array( 'grid' => array( ), +'left' => array( 'logo', +'expand_button', +'menu' ), +'supertop' => array( 'expand_menu_button', +'collapse_button', +'breadcrumb', +'simple_search', +'username_button' ), +'top' => array( ) ), +'formXtTags' => array( 'grid' => array( ), +'top' => array( ) ), +'itemForms' => array( 'logo' => 'left', +'expand_button' => 'left', +'menu' => 'left', +'expand_menu_button' => 'supertop', +'collapse_button' => 'supertop', +'breadcrumb' => 'supertop', +'simple_search' => 'supertop', +'username_button' => 'supertop' ), +'itemLocations' => array( ), +'itemVisiblity' => array( 'breadcrumb' => 5, +'expand_menu_button' => 2, +'expand_button' => 5 ) ), +'itemsByType' => array( 'breadcrumb' => array( 'breadcrumb' ), +'logo' => array( 'logo' ), +'menu' => array( 'menu' ), +'simple_search' => array( 'simple_search' ), +'username_button' => array( 'username_button' ), +'userinfo_link' => array( 'userinfo_link' ), +'logout_link' => array( 'logout_link' ), +'expand_menu_button' => array( 'expand_menu_button' ), +'collapse_button' => array( 'collapse_button' ), +'expand_button' => array( 'expand_button' ) ), +'cellMaps' => array( ) ), +'loginForm' => array( 'loginForm' => 3 ), +'page' => array( 'verticalBar' => true, +'labeledButtons' => array( 'update_records' => array( ), +'print_pages' => array( ), +'register_activate_message' => array( ), +'details_found' => array( ) ), +'hasCustomButtons' => false, +'customButtons' => array( ), +'hasNotifications' => false, +'menus' => array( array( 'id' => 'main', +'horizontal' => false ) ), +'calcTotalsFor' => 1 ), +'misc' => array( 'type' => 'dashboard', +'breadcrumb' => true ), +'events' => array( 'maps' => array( ), +'mapsData' => array( ), +'buttons' => array( ) ), +'dashboard' => array( 'elements' => array( ) ), +'dashSearch' => array( 'searchFields' => array( ), +'allSearchFields' => array( ), +'googleLikeFields' => array( ) ) ); + $pageArray = array( 'id' => 'dashboard', +'type' => 'dashboard', +'layoutId' => 'leftbar', +'disabled' => 0, +'default' => 0, +'forms' => array( 'grid' => array( 'modelId' => 'dashboard-grid', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c' ) ), +'section' => '' ), +array( 'section' => '', +'cells' => array( array( 'cell' => 'c2' ), +array( 'cell' => 'c3' ) ) ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( ) ), +'c' => array( 'model' => 'c1', +'items' => array( ) ), +'c2' => array( 'model' => 'c1', +'items' => array( ) ), +'c3' => array( 'model' => 'c1', +'items' => array( ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'left' => array( 'modelId' => 'leftbar-dashboard', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c0' ) ), +'section' => '' ), +array( 'cells' => array( array( 'cell' => 'c1' ) ), +'section' => '' ) ), +'cells' => array( 'c0' => array( 'model' => 'c0', +'items' => array( 'logo', +'expand_button' ) ), +'c1' => array( 'model' => 'c1', +'items' => array( 'menu' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'supertop' => array( 'modelId' => 'leftbar-top-dashboard', +'grid' => array( array( 'cells' => array( array( 'cell' => 'c1' ), +array( 'cell' => 'c2' ) ), +'section' => '' ) ), +'cells' => array( 'c1' => array( 'model' => 'c1', +'items' => array( 'expand_menu_button', +'collapse_button', +'breadcrumb' ) ), +'c2' => array( 'model' => 'c2', +'items' => array( 'simple_search', +'username_button' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ), +'top' => array( 'modelId' => 'dashboard-top', +'grid' => array( ), +'cells' => array( ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'breadcrumb' => array( 'type' => 'breadcrumb' ), +'logo' => array( 'type' => 'logo' ), +'menu' => array( 'type' => 'menu' ), +'simple_search' => array( 'type' => 'simple_search' ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link' ) ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'expand_button' => array( 'type' => 'expand_button' ) ), +'dbProps' => array( ), +'version' => 14, +'imageItem' => array( 'type' => 'page_image' ), +'imageBgColor' => '#f2f2f2', +'controlsBgColor' => 'white', +'imagePosition' => 'right', +'listTotals' => 1 ); + ?> \ No newline at end of file diff --git a/php/include/pages/pages.json b/php/include/pages/pages.json index 247813a7d9dddddecd4673ec804a45ee16bb9637..c7375f9a0a726186f2d05d0083731b179e5f0d9f 100644 --- a/php/include/pages/pages.json +++ b/php/include/pages/pages.json @@ -1 +1 @@ -{"":{"changepwd":["changepwd_Chat1"],"changepwd_success":["changepwd_success_Chat1"],"login":["login_Chat1"],"menu":["menu_Chat1"],"userinfo":["userinfo_Chat1"]},"chat126_users1":{"search":["search"]},"chat_files":{"list":["list"],"search":["search"]},"chat_groups":{"add":["add"],"edit":["edit"],"list":["list"],"search":["search"]},"chat_history":{"add":["add"],"search":["search"]},"chat_peopletype":{"search":["search"]},"chat_settings":{"edit":["edit"],"search":["search"]},"chat_users":{"search":["search"]}} \ No newline at end of file +{"":{"changepwd":["changepwd_Chat1"],"changepwd_success":["changepwd_success_Chat1"],"login":["login_Chat1"],"menu":["menu_Chat1"],"userinfo":["userinfo_Chat1"]},"Dashboard":{"dashboard":["dashboard"]},"chat126_users1":{"search":["search"]},"chat_agent":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"chat_external":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"chat_files":{"list":["list"],"search":["search"]},"chat_groups":{"add":["add"],"edit":["edit"],"list":["list"],"search":["search"]},"chat_history":{"add":["add"],"search":["search"]},"chat_peopletype":{"search":["search"]},"chat_settings":{"edit":["edit"],"search":["search"]},"chat_users":{"search":["search"]}} \ No newline at end of file diff --git a/php/pdf/chat_agent_print.json b/php/pdf/chat_agent_print.json new file mode 100644 index 0000000000000000000000000000000000000000..f1a14bc0f179d617b03fc3b3a7a539b90f4657f3 --- /dev/null +++ b/php/pdf/chat_agent_print.json @@ -0,0 +1,618 @@ + +pdfDocument = { +{BEGIN backgroundImage} + background: { + image: {$backgroundImage}, + {BEGIN bgWidth} + imgWidth: {$bgWidth}, + imgHeight: {$bgHeight}, + {END bgWidth} + }, +{END backgroundImage} + styles: { + bodycell: { + fontSize:12, + }, + headcell: { + fontSize:12, + bold: true + }, + + + }, + defaultStyle: { + fontSize: 14, + }, + "content": [ + {BEGIN body} + {BEGIN embedded_grid_caption} + { + text: '{$jscaption chat_agent}', + }, + {END embedded_grid_caption} + {BEGIN embedded_page_title} + { + text: '{$jspagetitlelabel chat_agent print}', + }, + {END embedded_page_title} + { + {BEGIN standalone_page} + pageBreak: 'before', + standAlonePage: true, + {END standalone_page} + {BEGIN embedded_grid} + embeddedPage: true, + {END embedded_grid} + layout: { + hLineWidth: function(i, node) { return 0.1; }, + vLineWidth: function(i, node) { + return 0.1; + }, + hLineColor: function(i, node) { return 'lightgray'; }, + vLineColor: function(i, node) { return 'lightgray'; }, + }, + table: { + {BEGIN embedded_grid} + embeddedPage: true, + {END embedded_grid} + + tableForm: true, + headerRows: 1 + {BEGIN row_grid_0} + +1 + {END row_grid_0} + {BEGIN embedded_grid} -1 {END embedded_grid} , + + widths: [ + {BEGIN col_grid_0} + "%", + {END col_grid_0} + {BEGIN col_grid_1} + "%", + {END col_grid_1} + {BEGIN col_grid_2} + "%", + {END col_grid_2} + {BEGIN col_grid_3} + "%", + {END col_grid_3} + ], + heights: [ // first height for header part + "%", + {BEGIN row_grid_0} + "%", + {END row_grid_0} + {BEGIN grid_row} + {BEGIN row_grid_1} + "%", + {END row_grid_1} + {END grid_row} + {BEGIN row_grid_2} + "%", + {END row_grid_2} + ], + + body: [ + {BEGIN standalone_page} + [ + { + colSpan: {$formwidth_grid}, + border:[false, false,false,false], + stack: [ + + +{ + table: { + + + location: 'top', + + + widths: [ + "*", + ], + + + body: [ + + [ + { + cellId: 'c2', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "stack": [ + + + {"text":"{$jspagetitlelabel chat_agent print}","hidden":"{$item_hide_print_header}","fontSize":30}, + + + {"text":"{$printtabheader_text}","hidden":"{$item_hide_print_subheader}"}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + ], + + ] + } +} +, + + +{ + table: { + + + location: 'above-grid', + + + widths: [ + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + + {"text":"Page %current% of %total%","hidden":"{$item_hide_print_pages}","isHtml":true,"page_indicator":true}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + ], + + ] + } +} +, + ] + }, + ], + {END standalone_page} + + + + + {BEGIN row_grid_0} + [ + {BEGIN cellblock_grid_headcell_field} +{ + cellId: 'headcell_field', + col:0, + row:0, + fieldName: 'id', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel chat_agent id }","hidden":"{$item_hide_simple_grid_field4}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$id_align}', + + + }, + +{END cellblock_grid_headcell_field} + {BEGIN cellblock_grid_headcell_field1} +{ + cellId: 'headcell_field1', + col:0, + row:0, + fieldName: 'replay', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel chat_agent replay }","hidden":"{$item_hide_simple_grid_field5}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$replay_align}', + + + }, + +{END cellblock_grid_headcell_field1} + {BEGIN cellblock_grid_headcell_field2} +{ + cellId: 'headcell_field2', + col:0, + row:0, + fieldName: 'replay_fix', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel chat_agent replay_fix }","hidden":"{$item_hide_simple_grid_field6}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$replay_fix_align}', + + + }, + +{END cellblock_grid_headcell_field2} + {BEGIN cellblock_grid_headcell_field3} +{ + cellId: 'headcell_field3', + col:0, + row:0, + fieldName: 'replay_kwick', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel chat_agent replay_kwick }","hidden":"{$item_hide_simple_grid_field7}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$replay_kwick_align}', + + + }, + +{END cellblock_grid_headcell_field3} + ], + {END row_grid_0} + + + {BEGIN grid_row} + {BEGIN grid_record} + + {BEGIN row_grid_1} + [ + {BEGIN cellblock_grid_cell_field} +{ + cellId: 'cell_field', + col:0, + row:0, + fieldName: 'id', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$id_pdfvalue},"hidden":"{$item_hide_simple_grid_field}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$id_align}', + + + }, + +{END cellblock_grid_cell_field} + {BEGIN cellblock_grid_cell_field1} +{ + cellId: 'cell_field1', + col:0, + row:0, + fieldName: 'replay', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$replay_pdfvalue},"hidden":"{$item_hide_simple_grid_field1}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$replay_align}', + + + }, + +{END cellblock_grid_cell_field1} + {BEGIN cellblock_grid_cell_field2} +{ + cellId: 'cell_field2', + col:0, + row:0, + fieldName: 'replay_fix', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$replay_fix_pdfvalue},"hidden":"{$item_hide_simple_grid_field2}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$replay_fix_align}', + + + }, + +{END cellblock_grid_cell_field2} + {BEGIN cellblock_grid_cell_field3} +{ + cellId: 'cell_field3', + col:0, + row:0, + fieldName: 'replay_kwick', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$replay_kwick_pdfvalue},"hidden":"{$item_hide_simple_grid_field3}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$replay_kwick_align}', + + + }, + +{END cellblock_grid_cell_field3} + ], + {END row_grid_1} + + {END grid_record} + {END grid_row} + + + {BEGIN row_grid_2} + [ + {BEGIN cellblock_grid_footcell_field} +{ + cellId: 'footcell_field', + col:0, + row:0, + style: 'footcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + '', + ], + "border": [ true, true, true, true ], + "alignment": 'left', + + + }, + +{END cellblock_grid_footcell_field} + {BEGIN cellblock_grid_footcell_field1} +{ + cellId: 'footcell_field1', + col:0, + row:0, + style: 'footcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + '', + ], + "border": [ true, true, true, true ], + "alignment": 'left', + + + }, + +{END cellblock_grid_footcell_field1} + {BEGIN cellblock_grid_footcell_field2} +{ + cellId: 'footcell_field2', + col:0, + row:0, + style: 'footcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + '', + ], + "border": [ true, true, true, true ], + "alignment": 'left', + + + }, + +{END cellblock_grid_footcell_field2} + {BEGIN cellblock_grid_footcell_field3} +{ + cellId: 'footcell_field3', + col:0, + row:0, + style: 'footcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + '', + ], + "border": [ true, true, true, true ], + "alignment": 'left', + + + }, + +{END cellblock_grid_footcell_field3} + ], + {END row_grid_2} + + + ] + + } + }, + {END body} + ], + footer: [ + +{ + table: { + + + location: 'below-grid', + + + widths: [ + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + '', + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + ], + + ] + } +} + ], + }; + + +pdfFonts = {$pdfFonts}; diff --git a/php/pdf/chat_agent_view.json b/php/pdf/chat_agent_view.json new file mode 100644 index 0000000000000000000000000000000000000000..e9a4f39dc2a17425c3905451157b54780b08e418 --- /dev/null +++ b/php/pdf/chat_agent_view.json @@ -0,0 +1,273 @@ + +pdfDocument = { +{BEGIN backgroundImage} + background: { + image: {$backgroundImage}, + {BEGIN bgWidth} + imgWidth: {$bgWidth}, + imgHeight: {$bgHeight}, + {END bgWidth} + }, +{END backgroundImage} + styles: { + bodycell: { + fontSize:12, + }, + headcell: { + fontSize:12, + bold: true + }, + + + }, + defaultStyle: { + fontSize: 14, + }, + "content": [ + +{ + table: { + + + location: 'top', + + + widths: [ + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + + {"text":"{$jspagetitlelabel chat_agent view}","hidden":"{$item_hide_view_header}","fontSize":30}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + ], + + ] + } +} +, + + +{ + table: { + + + location: 'above-grid', + + + widths: [ + "*", + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + colSpan: 2, + + + + + "text": [ + + '', + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + { + cellId: 'c1', + row: 0, + col: 1, + text: '', + compensateColspan: true + }, + ], + + ] + } +} +, + + +{ + table: { + + tableForm: true, + + location: 'grid', + + + widths: [ + {BEGIN col_grid_0} + "*", + {END col_grid_0} + ], + + heights: [ + {BEGIN row_grid_0} + + "%", + {END row_grid_0} + + ], + + body: [ + + {BEGIN row_grid_0} + [ + {BEGIN cellblock_grid_c3} +{ + cellId: 'c3', + col:0, + row:0, + + + // dynamic colspan/rowspan + + + + + + + "stack": [ + + + {"hidden":"{$item_hide_integrated_edit_field}","stack":[{"text":"{$jslabel chat_agent id }","bold":true},{"text":{$id_pdfvalue}}],"margin":[0,0,0,15]}, + + + {"hidden":"{$item_hide_integrated_edit_field1}","stack":[{"text":"{$jslabel chat_agent replay }","bold":true},{"text":{$replay_pdfvalue}}],"margin":[0,0,0,15]}, + + + {"hidden":"{$item_hide_integrated_edit_field2}","stack":[{"text":"{$jslabel chat_agent replay_fix }","bold":true},{"text":{$replay_fix_pdfvalue}}],"margin":[0,0,0,15]}, + + + {"hidden":"{$item_hide_integrated_edit_field3}","stack":[{"text":"{$jslabel chat_agent replay_kwick }","bold":true},{"text":{$replay_kwick_pdfvalue}}],"margin":[0,0,0,15]}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + +{END cellblock_grid_c3} + ], + {END row_grid_0} + + ] + } +} +, + + +{ + table: { + + + location: 'below-grid', + + + widths: [ + "*", + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + + {"text":"","hidden":"{$item_hide_view_back_list}"}, + + + {"text":"","hidden":"{$item_hide_view_close}"}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + { + cellId: 'c2', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + + {"text":""}, + + ], + "border": [ false, false, false, false ], + "alignment": 'right', + + + }, + + ], + + ] + } +} +, + ] +}; + +pdfFonts = {$pdfFonts}; + \ No newline at end of file diff --git a/php/pdf/chat_external_print.json b/php/pdf/chat_external_print.json new file mode 100644 index 0000000000000000000000000000000000000000..c9e51e9138367b0c57167ea3e8585407d6c2e239 --- /dev/null +++ b/php/pdf/chat_external_print.json @@ -0,0 +1,618 @@ + +pdfDocument = { +{BEGIN backgroundImage} + background: { + image: {$backgroundImage}, + {BEGIN bgWidth} + imgWidth: {$bgWidth}, + imgHeight: {$bgHeight}, + {END bgWidth} + }, +{END backgroundImage} + styles: { + bodycell: { + fontSize:12, + }, + headcell: { + fontSize:12, + bold: true + }, + + + }, + defaultStyle: { + fontSize: 14, + }, + "content": [ + {BEGIN body} + {BEGIN embedded_grid_caption} + { + text: '{$jscaption chat_external}', + }, + {END embedded_grid_caption} + {BEGIN embedded_page_title} + { + text: '{$jspagetitlelabel chat_external print}', + }, + {END embedded_page_title} + { + {BEGIN standalone_page} + pageBreak: 'before', + standAlonePage: true, + {END standalone_page} + {BEGIN embedded_grid} + embeddedPage: true, + {END embedded_grid} + layout: { + hLineWidth: function(i, node) { return 0.1; }, + vLineWidth: function(i, node) { + return 0.1; + }, + hLineColor: function(i, node) { return 'lightgray'; }, + vLineColor: function(i, node) { return 'lightgray'; }, + }, + table: { + {BEGIN embedded_grid} + embeddedPage: true, + {END embedded_grid} + + tableForm: true, + headerRows: 1 + {BEGIN row_grid_0} + +1 + {END row_grid_0} + {BEGIN embedded_grid} -1 {END embedded_grid} , + + widths: [ + {BEGIN col_grid_0} + "%", + {END col_grid_0} + {BEGIN col_grid_1} + "%", + {END col_grid_1} + {BEGIN col_grid_2} + "%", + {END col_grid_2} + {BEGIN col_grid_3} + "%", + {END col_grid_3} + ], + heights: [ // first height for header part + "%", + {BEGIN row_grid_0} + "%", + {END row_grid_0} + {BEGIN grid_row} + {BEGIN row_grid_1} + "%", + {END row_grid_1} + {END grid_row} + {BEGIN row_grid_2} + "%", + {END row_grid_2} + ], + + body: [ + {BEGIN standalone_page} + [ + { + colSpan: {$formwidth_grid}, + border:[false, false,false,false], + stack: [ + + +{ + table: { + + + location: 'top', + + + widths: [ + "*", + ], + + + body: [ + + [ + { + cellId: 'c2', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "stack": [ + + + {"text":"{$jspagetitlelabel chat_external print}","hidden":"{$item_hide_print_header}","fontSize":30}, + + + {"text":"{$printtabheader_text}","hidden":"{$item_hide_print_subheader}"}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + ], + + ] + } +} +, + + +{ + table: { + + + location: 'above-grid', + + + widths: [ + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + + {"text":"Page %current% of %total%","hidden":"{$item_hide_print_pages}","isHtml":true,"page_indicator":true}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + ], + + ] + } +} +, + ] + }, + ], + {END standalone_page} + + + + + {BEGIN row_grid_0} + [ + {BEGIN cellblock_grid_headcell_field} +{ + cellId: 'headcell_field', + col:0, + row:0, + fieldName: 'id', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel chat_external id }","hidden":"{$item_hide_simple_grid_field4}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$id_align}', + + + }, + +{END cellblock_grid_headcell_field} + {BEGIN cellblock_grid_headcell_field1} +{ + cellId: 'headcell_field1', + col:0, + row:0, + fieldName: 'logs', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel chat_external logs }","hidden":"{$item_hide_simple_grid_field5}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$logs_align}', + + + }, + +{END cellblock_grid_headcell_field1} + {BEGIN cellblock_grid_headcell_field2} +{ + cellId: 'headcell_field2', + col:0, + row:0, + fieldName: 'users', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel chat_external users }","hidden":"{$item_hide_simple_grid_field6}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$users_align}', + + + }, + +{END cellblock_grid_headcell_field2} + {BEGIN cellblock_grid_headcell_field3} +{ + cellId: 'headcell_field3', + col:0, + row:0, + fieldName: 'report_count', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel chat_external report_count }","hidden":"{$item_hide_simple_grid_field7}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$report_count_align}', + + + }, + +{END cellblock_grid_headcell_field3} + ], + {END row_grid_0} + + + {BEGIN grid_row} + {BEGIN grid_record} + + {BEGIN row_grid_1} + [ + {BEGIN cellblock_grid_cell_field} +{ + cellId: 'cell_field', + col:0, + row:0, + fieldName: 'id', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$id_pdfvalue},"hidden":"{$item_hide_simple_grid_field}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$id_align}', + + + }, + +{END cellblock_grid_cell_field} + {BEGIN cellblock_grid_cell_field1} +{ + cellId: 'cell_field1', + col:0, + row:0, + fieldName: 'logs', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$logs_pdfvalue},"hidden":"{$item_hide_simple_grid_field1}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$logs_align}', + + + }, + +{END cellblock_grid_cell_field1} + {BEGIN cellblock_grid_cell_field2} +{ + cellId: 'cell_field2', + col:0, + row:0, + fieldName: 'users', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$users_pdfvalue},"hidden":"{$item_hide_simple_grid_field2}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$users_align}', + + + }, + +{END cellblock_grid_cell_field2} + {BEGIN cellblock_grid_cell_field3} +{ + cellId: 'cell_field3', + col:0, + row:0, + fieldName: 'report_count', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$report_count_pdfvalue},"hidden":"{$item_hide_simple_grid_field3}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$report_count_align}', + + + }, + +{END cellblock_grid_cell_field3} + ], + {END row_grid_1} + + {END grid_record} + {END grid_row} + + + {BEGIN row_grid_2} + [ + {BEGIN cellblock_grid_footcell_field} +{ + cellId: 'footcell_field', + col:0, + row:0, + style: 'footcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + '', + ], + "border": [ true, true, true, true ], + "alignment": 'left', + + + }, + +{END cellblock_grid_footcell_field} + {BEGIN cellblock_grid_footcell_field1} +{ + cellId: 'footcell_field1', + col:0, + row:0, + style: 'footcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + '', + ], + "border": [ true, true, true, true ], + "alignment": 'left', + + + }, + +{END cellblock_grid_footcell_field1} + {BEGIN cellblock_grid_footcell_field2} +{ + cellId: 'footcell_field2', + col:0, + row:0, + style: 'footcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + '', + ], + "border": [ true, true, true, true ], + "alignment": 'left', + + + }, + +{END cellblock_grid_footcell_field2} + {BEGIN cellblock_grid_footcell_field3} +{ + cellId: 'footcell_field3', + col:0, + row:0, + style: 'footcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + '', + ], + "border": [ true, true, true, true ], + "alignment": 'left', + + + }, + +{END cellblock_grid_footcell_field3} + ], + {END row_grid_2} + + + ] + + } + }, + {END body} + ], + footer: [ + +{ + table: { + + + location: 'below-grid', + + + widths: [ + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + '', + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + ], + + ] + } +} + ], + }; + + +pdfFonts = {$pdfFonts}; diff --git a/php/pdf/chat_external_view.json b/php/pdf/chat_external_view.json new file mode 100644 index 0000000000000000000000000000000000000000..39fcc816fbfe7229957b44d3c1c8d1cb2411dc1b --- /dev/null +++ b/php/pdf/chat_external_view.json @@ -0,0 +1,273 @@ + +pdfDocument = { +{BEGIN backgroundImage} + background: { + image: {$backgroundImage}, + {BEGIN bgWidth} + imgWidth: {$bgWidth}, + imgHeight: {$bgHeight}, + {END bgWidth} + }, +{END backgroundImage} + styles: { + bodycell: { + fontSize:12, + }, + headcell: { + fontSize:12, + bold: true + }, + + + }, + defaultStyle: { + fontSize: 14, + }, + "content": [ + +{ + table: { + + + location: 'top', + + + widths: [ + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + + {"text":"{$jspagetitlelabel chat_external view}","hidden":"{$item_hide_view_header}","fontSize":30}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + ], + + ] + } +} +, + + +{ + table: { + + + location: 'above-grid', + + + widths: [ + "*", + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + colSpan: 2, + + + + + "text": [ + + '', + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + { + cellId: 'c1', + row: 0, + col: 1, + text: '', + compensateColspan: true + }, + ], + + ] + } +} +, + + +{ + table: { + + tableForm: true, + + location: 'grid', + + + widths: [ + {BEGIN col_grid_0} + "*", + {END col_grid_0} + ], + + heights: [ + {BEGIN row_grid_0} + + "%", + {END row_grid_0} + + ], + + body: [ + + {BEGIN row_grid_0} + [ + {BEGIN cellblock_grid_c3} +{ + cellId: 'c3', + col:0, + row:0, + + + // dynamic colspan/rowspan + + + + + + + "stack": [ + + + {"hidden":"{$item_hide_integrated_edit_field}","stack":[{"text":"{$jslabel chat_external id }","bold":true},{"text":{$id_pdfvalue}}],"margin":[0,0,0,15]}, + + + {"hidden":"{$item_hide_integrated_edit_field1}","stack":[{"text":"{$jslabel chat_external logs }","bold":true},{"text":{$logs_pdfvalue}}],"margin":[0,0,0,15]}, + + + {"hidden":"{$item_hide_integrated_edit_field2}","stack":[{"text":"{$jslabel chat_external users }","bold":true},{"text":{$users_pdfvalue}}],"margin":[0,0,0,15]}, + + + {"hidden":"{$item_hide_integrated_edit_field3}","stack":[{"text":"{$jslabel chat_external report_count }","bold":true},{"text":{$report_count_pdfvalue}}],"margin":[0,0,0,15]}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + +{END cellblock_grid_c3} + ], + {END row_grid_0} + + ] + } +} +, + + +{ + table: { + + + location: 'below-grid', + + + widths: [ + "*", + "*", + ], + + + body: [ + + [ + { + cellId: 'c1', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + + {"text":"","hidden":"{$item_hide_view_back_list}"}, + + + {"text":"","hidden":"{$item_hide_view_close}"}, + + ], + "border": [ false, false, false, false ], + "alignment": 'left', + + + }, + + { + cellId: 'c2', + col:0, + row:0, + + + // static colspan/rowspan + + + + + "text": [ + + + {"text":""}, + + ], + "border": [ false, false, false, false ], + "alignment": 'right', + + + }, + + ], + + ] + } +} +, + ] +}; + +pdfFonts = {$pdfFonts}; + \ No newline at end of file diff --git a/php/styles/pages/_global_menu_Chat1.css b/php/styles/pages/_global_menu_Chat1.css index fe6177485e651e25ca2bf1d8a3bbc54c4ebe5465..c12201c8d853054339f4b580602e8890f3c84c36 100644 --- a/php/styles/pages/_global_menu_Chat1.css +++ b/php/styles/pages/_global_menu_Chat1.css @@ -1,6 +1,15 @@ [data-page="_global_menu_Chat1"][data-itemid="welcome_item"] > .bs-welcome-header { background-color: #CFAE83; } +[data-page="_global_menu_Chat1"][data-itemid="welcome_item1"] > .bs-welcome-header { + background-color: #DAA520; +} +[data-page="_global_menu_Chat1"][data-itemid="welcome_item2"] > .bs-welcome-header { + background-color: #CFAE83; +} +[data-page="_global_menu_Chat1"][data-itemid="welcome_item3"] > .bs-welcome-header { + background-color: #778899; +} [data-page="_global_menu_Chat1"][data-itemid="page_image_ash8f23hr"] { width: 400px; } diff --git a/php/styles/pages/chat_agent_add.css b/php/styles/pages/chat_agent_add.css new file mode 100644 index 0000000000000000000000000000000000000000..7e729bcb578c697ceafff4ee08a25afb37122457 --- /dev/null +++ b/php/styles/pages/chat_agent_add.css @@ -0,0 +1,5 @@ +[data-page="chat_agent_add"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_agent_edit.css b/php/styles/pages/chat_agent_edit.css new file mode 100644 index 0000000000000000000000000000000000000000..ef176955ed53e9955c1113410727484edf051d98 --- /dev/null +++ b/php/styles/pages/chat_agent_edit.css @@ -0,0 +1,5 @@ +[data-page="chat_agent_edit"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_agent_export.css b/php/styles/pages/chat_agent_export.css new file mode 100644 index 0000000000000000000000000000000000000000..04dd4f2ca7d7d234b04ce73c4e1502d229e903bc --- /dev/null +++ b/php/styles/pages/chat_agent_export.css @@ -0,0 +1,11 @@ +[data-cellid="footer_c1"][data-page="chat_agent_export"][data-cellid="footer_c1"][data-page="chat_agent_export"][data-cellid="footer_c1"][data-page="chat_agent_export"] { + width: 33.33333333%; +} +[data-cellid="footer_c2"][data-page="chat_agent_export"][data-cellid="footer_c2"][data-page="chat_agent_export"][data-cellid="footer_c2"][data-page="chat_agent_export"] { + width: 66.66666667%; +} +[data-page="chat_agent_export"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_agent_import.css b/php/styles/pages/chat_agent_import.css new file mode 100644 index 0000000000000000000000000000000000000000..4ad37b2f7738c1d6872d2a353671c67c6b234299 --- /dev/null +++ b/php/styles/pages/chat_agent_import.css @@ -0,0 +1,5 @@ +[data-page="chat_agent_import"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_agent_list.css b/php/styles/pages/chat_agent_list.css new file mode 100644 index 0000000000000000000000000000000000000000..6f6754deb6e26a2462cb6517470e1f4ee829f2c1 --- /dev/null +++ b/php/styles/pages/chat_agent_list.css @@ -0,0 +1,26 @@ +[data-cellid="grid_footcell_field"][data-page="chat_agent_list"][data-cellid="grid_footcell_field"][data-page="chat_agent_list"][data-cellid="grid_footcell_field"][data-page="chat_agent_list"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field1"][data-page="chat_agent_list"][data-cellid="grid_footcell_field1"][data-page="chat_agent_list"][data-cellid="grid_footcell_field1"][data-page="chat_agent_list"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field2"][data-page="chat_agent_list"][data-cellid="grid_footcell_field2"][data-page="chat_agent_list"][data-cellid="grid_footcell_field2"][data-page="chat_agent_list"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field3"][data-page="chat_agent_list"][data-cellid="grid_footcell_field3"][data-page="chat_agent_list"][data-cellid="grid_footcell_field3"][data-page="chat_agent_list"] { + white-space: nowrap; +} +[data-cellid="grid_headcell_checkbox"][data-page="chat_agent_list"][data-cellid="grid_headcell_checkbox"][data-page="chat_agent_list"][data-cellid="grid_headcell_checkbox"][data-page="chat_agent_list"] { + width: 30px; +} +[data-cellid="grid_headcell_icons"][data-page="chat_agent_list"][data-cellid="grid_headcell_icons"][data-page="chat_agent_list"][data-cellid="grid_headcell_icons"][data-page="chat_agent_list"] { + width: 30px; +} +[data-cellid="grid_cell_icons"][data-page="chat_agent_list"][data-cellid="grid_cell_icons"][data-page="chat_agent_list"][data-cellid="grid_cell_icons"][data-page="chat_agent_list"] { + white-space: nowrap; +} +[data-page="chat_agent_list"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_agent_print.css b/php/styles/pages/chat_agent_print.css new file mode 100644 index 0000000000000000000000000000000000000000..2d85806c6c564babfbbc97309cdb4c45f790e58c --- /dev/null +++ b/php/styles/pages/chat_agent_print.css @@ -0,0 +1,17 @@ +[data-cellid="grid_footcell_field"][data-page="chat_agent_print"][data-cellid="grid_footcell_field"][data-page="chat_agent_print"][data-cellid="grid_footcell_field"][data-page="chat_agent_print"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field1"][data-page="chat_agent_print"][data-cellid="grid_footcell_field1"][data-page="chat_agent_print"][data-cellid="grid_footcell_field1"][data-page="chat_agent_print"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field2"][data-page="chat_agent_print"][data-cellid="grid_footcell_field2"][data-page="chat_agent_print"][data-cellid="grid_footcell_field2"][data-page="chat_agent_print"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field3"][data-page="chat_agent_print"][data-cellid="grid_footcell_field3"][data-page="chat_agent_print"][data-cellid="grid_footcell_field3"][data-page="chat_agent_print"] { + white-space: nowrap; +} +[data-page="chat_agent_print"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_agent_search.css b/php/styles/pages/chat_agent_search.css new file mode 100644 index 0000000000000000000000000000000000000000..5757e2eb359910f948e66342efc5ca09ffe29da3 --- /dev/null +++ b/php/styles/pages/chat_agent_search.css @@ -0,0 +1,5 @@ +[data-page="chat_agent_search"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_agent_view.css b/php/styles/pages/chat_agent_view.css new file mode 100644 index 0000000000000000000000000000000000000000..72fe23dc8f2ea0c47d84ce7a6e509a89c8be59b5 --- /dev/null +++ b/php/styles/pages/chat_agent_view.css @@ -0,0 +1,5 @@ +[data-page="chat_agent_view"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_external_add.css b/php/styles/pages/chat_external_add.css new file mode 100644 index 0000000000000000000000000000000000000000..76228a5816774e1bb5abdf55cc896edf7b6f7e40 --- /dev/null +++ b/php/styles/pages/chat_external_add.css @@ -0,0 +1,5 @@ +[data-page="chat_external_add"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_external_edit.css b/php/styles/pages/chat_external_edit.css new file mode 100644 index 0000000000000000000000000000000000000000..1ec32b9c01fb63d2d2a8cf67738cd30f20b71cfd --- /dev/null +++ b/php/styles/pages/chat_external_edit.css @@ -0,0 +1,5 @@ +[data-page="chat_external_edit"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_external_export.css b/php/styles/pages/chat_external_export.css new file mode 100644 index 0000000000000000000000000000000000000000..c3feecdf8207d380b0ef1e2f68bfcfba2bb77c0e --- /dev/null +++ b/php/styles/pages/chat_external_export.css @@ -0,0 +1,11 @@ +[data-cellid="footer_c1"][data-page="chat_external_export"][data-cellid="footer_c1"][data-page="chat_external_export"][data-cellid="footer_c1"][data-page="chat_external_export"] { + width: 33.33333333%; +} +[data-cellid="footer_c2"][data-page="chat_external_export"][data-cellid="footer_c2"][data-page="chat_external_export"][data-cellid="footer_c2"][data-page="chat_external_export"] { + width: 66.66666667%; +} +[data-page="chat_external_export"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_external_import.css b/php/styles/pages/chat_external_import.css new file mode 100644 index 0000000000000000000000000000000000000000..a26d95c7c05b0da709db9c31c487d353ea23c4fc --- /dev/null +++ b/php/styles/pages/chat_external_import.css @@ -0,0 +1,5 @@ +[data-page="chat_external_import"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_external_list.css b/php/styles/pages/chat_external_list.css new file mode 100644 index 0000000000000000000000000000000000000000..3d29af12ea0878f85398d058cdc59e1f0e041d38 --- /dev/null +++ b/php/styles/pages/chat_external_list.css @@ -0,0 +1,26 @@ +[data-cellid="grid_footcell_field"][data-page="chat_external_list"][data-cellid="grid_footcell_field"][data-page="chat_external_list"][data-cellid="grid_footcell_field"][data-page="chat_external_list"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field1"][data-page="chat_external_list"][data-cellid="grid_footcell_field1"][data-page="chat_external_list"][data-cellid="grid_footcell_field1"][data-page="chat_external_list"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field2"][data-page="chat_external_list"][data-cellid="grid_footcell_field2"][data-page="chat_external_list"][data-cellid="grid_footcell_field2"][data-page="chat_external_list"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field3"][data-page="chat_external_list"][data-cellid="grid_footcell_field3"][data-page="chat_external_list"][data-cellid="grid_footcell_field3"][data-page="chat_external_list"] { + white-space: nowrap; +} +[data-cellid="grid_headcell_checkbox"][data-page="chat_external_list"][data-cellid="grid_headcell_checkbox"][data-page="chat_external_list"][data-cellid="grid_headcell_checkbox"][data-page="chat_external_list"] { + width: 30px; +} +[data-cellid="grid_headcell_icons"][data-page="chat_external_list"][data-cellid="grid_headcell_icons"][data-page="chat_external_list"][data-cellid="grid_headcell_icons"][data-page="chat_external_list"] { + width: 30px; +} +[data-cellid="grid_cell_icons"][data-page="chat_external_list"][data-cellid="grid_cell_icons"][data-page="chat_external_list"][data-cellid="grid_cell_icons"][data-page="chat_external_list"] { + white-space: nowrap; +} +[data-page="chat_external_list"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_external_print.css b/php/styles/pages/chat_external_print.css new file mode 100644 index 0000000000000000000000000000000000000000..af1f8245e060f00bdf5c2c5ddb445ed086f97ca0 --- /dev/null +++ b/php/styles/pages/chat_external_print.css @@ -0,0 +1,17 @@ +[data-cellid="grid_footcell_field"][data-page="chat_external_print"][data-cellid="grid_footcell_field"][data-page="chat_external_print"][data-cellid="grid_footcell_field"][data-page="chat_external_print"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field1"][data-page="chat_external_print"][data-cellid="grid_footcell_field1"][data-page="chat_external_print"][data-cellid="grid_footcell_field1"][data-page="chat_external_print"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field2"][data-page="chat_external_print"][data-cellid="grid_footcell_field2"][data-page="chat_external_print"][data-cellid="grid_footcell_field2"][data-page="chat_external_print"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field3"][data-page="chat_external_print"][data-cellid="grid_footcell_field3"][data-page="chat_external_print"][data-cellid="grid_footcell_field3"][data-page="chat_external_print"] { + white-space: nowrap; +} +[data-page="chat_external_print"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_external_search.css b/php/styles/pages/chat_external_search.css new file mode 100644 index 0000000000000000000000000000000000000000..6699f7ce3e80f95fc74ff572d0fdd16772b4745c --- /dev/null +++ b/php/styles/pages/chat_external_search.css @@ -0,0 +1,5 @@ +[data-page="chat_external_search"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/chat_external_view.css b/php/styles/pages/chat_external_view.css new file mode 100644 index 0000000000000000000000000000000000000000..8c4f0c9d0eb6fd746b055eac5f11b5ab41fe387b --- /dev/null +++ b/php/styles/pages/chat_external_view.css @@ -0,0 +1,5 @@ +[data-page="chat_external_view"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/dashboard_dashboard.css b/php/styles/pages/dashboard_dashboard.css new file mode 100644 index 0000000000000000000000000000000000000000..56e1c8c01f804236ad6b027e05d5707e5a3ba48e --- /dev/null +++ b/php/styles/pages/dashboard_dashboard.css @@ -0,0 +1,5 @@ +[data-page="dashboard_dashboard"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/templates/_global_menu_Chat1.htm b/php/templates/_global_menu_Chat1.htm index e96c3e83457743f7f38f96ce0c2ed3e27369aec9..2f63848fe1dc549a9bdf3fb2ca83176b93eaac98 100644 --- a/php/templates/_global_menu_Chat1.htm +++ b/php/templates/_global_menu_Chat1.htm @@ -297,6 +297,45 @@ Chats History description + + +
+ + + +
+ Dashboard description
+
+ + + +
+ + + +
+ Chat External description
+
+ + + +
+ + + +
+ Chat Agent description
+
+ diff --git a/php/templates/chat_agent_add.htm b/php/templates/chat_agent_add.htm new file mode 100644 index 0000000000000000000000000000000000000000..994a55b878ea4f49e628087200d2a65dd0aae296 --- /dev/null +++ b/php/templates/chat_agent_add.htm @@ -0,0 +1,497 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + +
+
+
+{BEGIN left_block} + + + + +
+ {BEGIN logo_block} + + {$logo} + +{END logo_block} + +
+ + + +
+ + + + + +
+ + + + + +
+ {BEGIN menuitems_main} + +{END menuitems_main} +
+ + {END left_block} +
+
+
+ {BEGIN supertop_block} + +{END supertop_block} + {$locking} +
+
+ {$header} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_agent add}

+
+
+{END top_block} +
+
+ {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + + {BEGIN message_block} + +{END message_block} {END firstAboveGridCell} +
+
+{END above-grid_block} +
+
+ {BEGIN grid_tabs} + +{END grid_tabs} + {BEGIN grid_block} + + + + + + + + + + + +{BEGIN cellblock_grid_c3} + + {END cellblock_grid_c3} + +
+
+ +{BEGIN replay_fieldblock} + + +
+ + +
+ {$replay_editcontrol}
+
+
+ {$tooltip chat_agent replay }
+
+
+ + +{END replay_fieldblock} + +{BEGIN replay_fix_fieldblock} + + +
+ + +
+ {$replay_fix_editcontrol}
+
+
+ {$tooltip chat_agent replay_fix }
+
+
+ + +{END replay_fix_fieldblock} + +{BEGIN replay_kwick_fieldblock} + + +
+ + +
+ {$replay_kwick_editcontrol}
+
+
+ {$tooltip chat_agent replay_kwick }
+
+
+ + +{END replay_kwick_fieldblock} + +
+{END grid_block} +
+
+ {BEGIN below-grid_block} +
+ +
+ +
+ + + + Save + + + + + Reset + + + {BEGIN back_button} + + + Back to list + +{END back_button} + + {BEGIN cancel_button} + + + Cancel + +{END cancel_button} +
+
+{END below-grid_block} +
+ + + + + {$footer} +
+
+
+
+
+ {END body} + + diff --git a/php/templates/chat_agent_edit.htm b/php/templates/chat_agent_edit.htm new file mode 100644 index 0000000000000000000000000000000000000000..6633083414c35835ef6344f049b58747ceec52e9 --- /dev/null +++ b/php/templates/chat_agent_edit.htm @@ -0,0 +1,519 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + +
+
+
+{BEGIN left_block} + + + + +
+ {BEGIN logo_block} + + {$logo} + +{END logo_block} + +
+ + + +
+ + + + + +
+ + + + + +
+ {BEGIN menuitems_main} + +{END menuitems_main} +
+ + {END left_block} +
+
+
+ {BEGIN supertop_block} + +{END supertop_block} + {$locking} +
+
+ {$header} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_agent edit}

+
+
+{END top_block} +
+
+ {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + + + {END firstAboveGridCell} +
+
+{END above-grid_block} +
+
+ {BEGIN grid_tabs} + +{END grid_tabs} + {BEGIN grid_block} + + + + + + + + + + + +{BEGIN cellblock_grid_c3} + + {END cellblock_grid_c3} + +
+
+ +{BEGIN replay_fieldblock} + + +
+ + +
+ {$replay_editcontrol}
+
+
+ {$tooltip chat_agent replay }
+
+
+ + +{END replay_fieldblock} + +{BEGIN replay_fix_fieldblock} + + +
+ + +
+ {$replay_fix_editcontrol}
+
+
+ {$tooltip chat_agent replay_fix }
+
+
+ + +{END replay_fix_fieldblock} + +{BEGIN replay_kwick_fieldblock} + + +
+ + +
+ {$replay_kwick_editcontrol}
+
+
+ {$tooltip chat_agent replay_kwick }
+
+
+ + +{END replay_kwick_fieldblock} + +
+{END grid_block} +
+
+ {BEGIN below-grid_block} +
+ +
+ +
+ + {BEGIN save_edit} + + + Save + +{END save_edit} + + {BEGIN back_button} + + + Back to list + +{END back_button} + + {BEGIN close_button} + + + Cancel + +{END close_button} +
+
+ + + + + + + +
+
+{END below-grid_block} +
+ + + + + {$footer} +
+
+
+
+
+ {END body} + + diff --git a/php/templates/chat_agent_export.htm b/php/templates/chat_agent_export.htm new file mode 100644 index 0000000000000000000000000000000000000000..467ed70d08fac644565a8d14650085606283c064 --- /dev/null +++ b/php/templates/chat_agent_export.htm @@ -0,0 +1,171 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + +
+ {BEGIN supertop_block} +
+ +
+ +
+
+
+{END supertop_block} +
+
+ {BEGIN top_block} +
+ + +
+ +

{$pagetitlelabel chat_agent export}

+
+{END top_block} +
+
+ {BEGIN grid_block} +
+{BEGIN range_block} +
+
+
+ Data range
+
+
+
+ +
+
+ +
+
+
+{END range_block} + +
+
+
+ Data format
+
+
+
+ +
+
+ +
+
+
+ +
+
+
+ Output format
+
+
+ +
+ {BEGIN groupExcel} + + {END groupExcel} +
+
+ +
+
+ +
+ +
+
+ +
+{END grid_block} + {BEGIN footer_block} + +{END footer_block} +
+
+ +
+ {$footer} + {END body} + + diff --git a/php/templates/chat_agent_import.htm b/php/templates/chat_agent_import.htm new file mode 100644 index 0000000000000000000000000000000000000000..5dd442aa8aa39cd0134c6537913a4802512be7f9 --- /dev/null +++ b/php/templates/chat_agent_import.htm @@ -0,0 +1,184 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + +
+ {BEGIN supertop_block} +
+ +
+ +
+
+
+{END supertop_block} +
+
+ {BEGIN top_block} +
+ + +
+ +

{$pagetitlelabel chat_agent import}

+
+{END top_block} +
+
+ +
+ Drag and drop a comma-separated (.csv) or Excel (.xlsx) file or choose an option below.
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + + + + + + + + + + + + + +
+
+ + +
+
+ + + + + + +
+
+
+
+ +
+ {$footer} + {END body} + + diff --git a/php/templates/chat_agent_list.htm b/php/templates/chat_agent_list.htm new file mode 100644 index 0000000000000000000000000000000000000000..75c494b7730527a0a49b1fd6728f1f3505cb07bb --- /dev/null +++ b/php/templates/chat_agent_list.htm @@ -0,0 +1,1131 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + +
+
+
+{BEGIN left_block} + + + + +
+ {BEGIN logo_block} + + {$logo} + +{END logo_block} + +
+ + + +
+ + + + + +
+ + + + + +
+ {BEGIN menuitems_main} + +{END menuitems_main} +
+ + + +
+ +
+ +
+
+ +
+ + + + + +
+
+ + + + {BEGIN searchCtrlBlock} +
+ {$delCtrlButt} + {$searchtype} + {$searchcontrol} + {$searchcontrol1} +
+ {END searchCtrlBlock} + {BEGIN searchCtrlBlock_id} + + +
+ + + {$delCtrlButt} + + {$searchtype_id} + {$searchcontrol_id} + {$searchcontrol1_id} +
+ {END searchCtrlBlock_id} + {BEGIN searchCtrlBlock_replay_kwick} + + +
+ + + {$delCtrlButt} + + {$searchtype_replay_kwick} + {$searchcontrol_replay_kwick} + {$searchcontrol1_replay_kwick} +
+ {END searchCtrlBlock_replay_kwick} + {BEGIN searchCtrlBlock_replay_fix} + + +
+ + + {$delCtrlButt} + + {$searchtype_replay_fix} + {$searchcontrol_replay_fix} + {$searchcontrol1_replay_fix} +
+ {END searchCtrlBlock_replay_fix} + {BEGIN searchCtrlBlock_replay} + + +
+ + + {$delCtrlButt} + + {$searchtype_replay} + {$searchcontrol_replay} + {$searchcontrol1_replay} +
+ {END searchCtrlBlock_replay} + + +
+ + +
+ +
+ + {END left_block} +
+
+
+ {BEGIN supertop_block} + +{END supertop_block} + {$locking} +
+
+ {$header} +
+ {BEGIN top_block} +
+
+{END top_block} +
+
+ {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + + {BEGIN add_link} + + + Add new + +{END add_link} + + {BEGIN deleteselected_link} + + + Delete + +{END deleteselected_link} + {END firstAboveGridCell} +
+
+ + +{$mlp_push}{$mlparam first var first_shown}{$mlparam last var last_shown}{$mlparam total var records_found}{mlang_message DISPLAYING}{$mlp_pop} + + {$recsPerPage} + + {BEGIN print_friendly} + + + + +{END print_friendly} +
+
+{END above-grid_block} +
+
+ {BEGIN grid_tabs} + +{END grid_tabs} + {BEGIN grid_block} +{BEGIN message_block} + +{END message_block} + + + {BEGIN grid_header} + + + {BEGIN cellblock_grid_headcell_icons} + + {END cellblock_grid_headcell_icons} + {BEGIN cellblock_grid_headcell_checkbox} + + {END cellblock_grid_headcell_checkbox} + {BEGIN cellblock_grid_headcell_field} + + {END cellblock_grid_headcell_field} + {BEGIN cellblock_grid_headcell_field1} + + {END cellblock_grid_headcell_field1} + {BEGIN cellblock_grid_headcell_field2} + + {END cellblock_grid_headcell_field2} + {BEGIN cellblock_grid_headcell_field3} + + {END cellblock_grid_headcell_field3} + + + {END grid_header} + + + {BEGIN grid_row} + + + {BEGIN cellblock_grid_cell_icons} + + {END cellblock_grid_cell_icons} + {BEGIN cellblock_grid_cell_checkbox} + + {END cellblock_grid_cell_checkbox} + {BEGIN cellblock_grid_cell_field} + + {END cellblock_grid_cell_field} + {BEGIN cellblock_grid_cell_field1} + + {END cellblock_grid_cell_field1} + {BEGIN cellblock_grid_cell_field2} + + {END cellblock_grid_cell_field2} + {BEGIN cellblock_grid_cell_field3} + + {END cellblock_grid_cell_field3} + + + {END grid_row} + + + + + {BEGIN cellblock_grid_footcell_icons} + + {END cellblock_grid_footcell_icons} + {BEGIN cellblock_grid_footcell_checkbox} + + {END cellblock_grid_footcell_checkbox} + {BEGIN cellblock_grid_footcell_field} + + {END cellblock_grid_footcell_field} + {BEGIN cellblock_grid_footcell_field1} + + {END cellblock_grid_footcell_field1} + {BEGIN cellblock_grid_footcell_field2} + + {END cellblock_grid_footcell_field2} + {BEGIN cellblock_grid_footcell_field3} + + {END cellblock_grid_footcell_field3} + + + +
+ + + + + + {BEGIN checkbox_column} + + + +{END checkbox_column} + + + + + {BEGIN id_fieldheadercolumn} + {BEGIN id_fieldheader} + + + {$label chat_agent id } + {$arrow_icon_id} + + + {END id_fieldheader} +{END id_fieldheadercolumn} + + + + + + {BEGIN replay_fieldheadercolumn} + {BEGIN replay_fieldheader} + + + {$label chat_agent replay } + {$arrow_icon_replay} + + + {END replay_fieldheader} +{END replay_fieldheadercolumn} + + + + + + {BEGIN replay_fix_fieldheadercolumn} + {BEGIN replay_fix_fieldheader} + + + {$label chat_agent replay_fix } + {$arrow_icon_replay_fix} + + + {END replay_fix_fieldheader} +{END replay_fix_fieldheadercolumn} + + + + + + {BEGIN replay_kwick_fieldheadercolumn} + {BEGIN replay_kwick_fieldheader} + + + {$label chat_agent replay_kwick } + {$arrow_icon_replay_kwick} + + + {END replay_kwick_fieldheader} +{END replay_kwick_fieldheadercolumn} + + +
+ + + {BEGIN edit_column} +{BEGIN edit_link} + + + + + +{END edit_link} +{END edit_column} + + {BEGIN view_column} +{BEGIN view_link} + + + + + +{END view_link} +{END view_column} + + + + + {BEGIN checkbox_column} + + + +{END checkbox_column} + + + + + {BEGIN id_fieldcolumn} + +{$id_value} + +{END id_fieldcolumn} + + + + {BEGIN replay_fieldcolumn} + +{$replay_value} + +{END replay_fieldcolumn} + + + + {BEGIN replay_fix_fieldcolumn} + +{$replay_fix_value} + +{END replay_fix_fieldcolumn} + + + + {BEGIN replay_kwick_fieldcolumn} + +{$replay_kwick_value} + +{END replay_kwick_fieldcolumn} +
+ + + + + + + + + + + + + + + + + +
+{END grid_block} +
+
+ {BEGIN below-grid_block} +
+ +
+ +
+ + {BEGIN pagination_block} + +{$pagination} + +{END pagination_block} +
+
+{END below-grid_block} +
+ + + + + {$footer} +
+
+
+
+
+ {END body} + + diff --git a/php/templates/chat_agent_print.htm b/php/templates/chat_agent_print.htm new file mode 100644 index 0000000000000000000000000000000000000000..26227fa9e7dff984752cefb14c59206c3d63126c --- /dev/null +++ b/php/templates/chat_agent_print.htm @@ -0,0 +1,392 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + + {$locking} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_agent print}

+ + {BEGIN printtabheader} + +{$printtabheader_text} + +{END printtabheader} +
+
+{END top_block} + {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + + + {$print_pages_labelprint_pages} + {END firstAboveGridCell} +
+
+{END above-grid_block} + {BEGIN grid_block} +{BEGIN message_block} + +{END message_block} + + {BEGIN grid_header} + + + {BEGIN cellblock_grid_headcell_field} + + {END cellblock_grid_headcell_field} + {BEGIN cellblock_grid_headcell_field1} + + {END cellblock_grid_headcell_field1} + {BEGIN cellblock_grid_headcell_field2} + + {END cellblock_grid_headcell_field2} + {BEGIN cellblock_grid_headcell_field3} + + {END cellblock_grid_headcell_field3} + + + {END grid_header} + + {BEGIN grid_row} + + + + {BEGIN cellblock_grid_cell_field} + + {END cellblock_grid_cell_field} + {BEGIN cellblock_grid_cell_field1} + + {END cellblock_grid_cell_field1} + {BEGIN cellblock_grid_cell_field2} + + {END cellblock_grid_cell_field2} + {BEGIN cellblock_grid_cell_field3} + + {END cellblock_grid_cell_field3} + + + + {END grid_row} + + + + {BEGIN cellblock_grid_footcell_field} + + {END cellblock_grid_footcell_field} + {BEGIN cellblock_grid_footcell_field1} + + {END cellblock_grid_footcell_field1} + {BEGIN cellblock_grid_footcell_field2} + + {END cellblock_grid_footcell_field2} + {BEGIN cellblock_grid_footcell_field3} + + {END cellblock_grid_footcell_field3} + + + +
+ + + {BEGIN id_fieldheadercolumn} + + + {$label chat_agent id } + + +{END id_fieldheadercolumn} + + + + + + {BEGIN replay_fieldheadercolumn} + + + {$label chat_agent replay } + + +{END replay_fieldheadercolumn} + + + + + + {BEGIN replay_fix_fieldheadercolumn} + + + {$label chat_agent replay_fix } + + +{END replay_fix_fieldheadercolumn} + + + + + + {BEGIN replay_kwick_fieldheadercolumn} + + + {$label chat_agent replay_kwick } + + +{END replay_kwick_fieldheadercolumn} + + +
+ + + {BEGIN id_fieldcolumn} + +{$id_value} + +{END id_fieldcolumn} + + + + {BEGIN replay_fieldcolumn} + +{$replay_value} + +{END replay_fieldcolumn} + + + + {BEGIN replay_fix_fieldcolumn} + +{$replay_fix_value} + +{END replay_fix_fieldcolumn} + + + + {BEGIN replay_kwick_fieldcolumn} + +{$replay_kwick_value} + +{END replay_kwick_fieldcolumn} +
+ + + + + + + + + + + +
+{END grid_block} + {BEGIN below-grid_block} +
+ +
+ +
+
+
+{END below-grid_block} +
+ {$footer} + {END body} + + diff --git a/php/templates/chat_agent_search.htm b/php/templates/chat_agent_search.htm new file mode 100644 index 0000000000000000000000000000000000000000..01d7f9251afd0110425fb0fb4295e0ecc8c13680 --- /dev/null +++ b/php/templates/chat_agent_search.htm @@ -0,0 +1,238 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + + {$locking} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_agent search}

+
+
+{END top_block} + {BEGIN above-grid_block} +
+ +
+ +
+
+
+{END above-grid_block} + {BEGIN grid_block} + + + + + + + + + + + +{BEGIN cellblock_grid_c3} + + {END cellblock_grid_c3} + +
+
+ +{BEGIN id_fieldblock} + +
+ + + +
+ {$searchtype_id} +
+
+ {$id_editcontrol}
+
+ {$id_editcontrol1} +
+ +
+ +{END id_fieldblock} + +{BEGIN replay_fieldblock} + +
+ + + +
+ {$searchtype_replay} +
+
+ {$replay_editcontrol}
+
+ {$replay_editcontrol1} +
+ +
+ +{END replay_fieldblock} + +{BEGIN replay_fix_fieldblock} + +
+ + + +
+ {$searchtype_replay_fix} +
+
+ {$replay_fix_editcontrol}
+
+ {$replay_fix_editcontrol1} +
+ +
+ +{END replay_fix_fieldblock} + +{BEGIN replay_kwick_fieldblock} + +
+ + + +
+ {$searchtype_replay_kwick} +
+
+ {$replay_kwick_editcontrol}
+
+ {$replay_kwick_editcontrol1} +
+ +
+ +{END replay_kwick_fieldblock} + +
+{END grid_block} + {BEGIN below-grid_block} +
+ +
+ +
+ + + + Search + + + + + Reset + + + {BEGIN back_button} + + + Back to list + +{END back_button} + + {BEGIN cancel_button} + + + Cancel + +{END cancel_button} +
+
+{END below-grid_block} +
+ {$footer} + {END body} + + diff --git a/php/templates/chat_agent_view.htm b/php/templates/chat_agent_view.htm new file mode 100644 index 0000000000000000000000000000000000000000..466005f3a010a75b5723de5b23279e447ab94766 --- /dev/null +++ b/php/templates/chat_agent_view.htm @@ -0,0 +1,503 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + +
+
+
+{BEGIN left_block} + + + + +
+ {BEGIN logo_block} + + {$logo} + +{END logo_block} + +
+ + + +
+ + + + + +
+ + + + + +
+ {BEGIN menuitems_main} + +{END menuitems_main} +
+ + {END left_block} +
+
+
+ {BEGIN supertop_block} + +{END supertop_block} + {$locking} +
+
+ {$header} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_agent view}

+
+
+{END top_block} +
+
+ {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + {END firstAboveGridCell} +
+
+{END above-grid_block} +
+
+ {BEGIN grid_tabs} + +{END grid_tabs} + {BEGIN grid_block} + + + + + + + + + + + +{BEGIN cellblock_grid_c3} + + {END cellblock_grid_c3} + +
+
+ +{BEGIN id_fieldblock} + + +
+ + + +
+ {$id_value}
+ + +
+ + +{END id_fieldblock} + +{BEGIN replay_fieldblock} + + +
+ + + +
+ {$replay_value}
+ + +
+ + +{END replay_fieldblock} + +{BEGIN replay_fix_fieldblock} + + +
+ + + +
+ {$replay_fix_value}
+ + +
+ + +{END replay_fix_fieldblock} + +{BEGIN replay_kwick_fieldblock} + + +
+ + + +
+ {$replay_kwick_value}
+ + +
+ + +{END replay_kwick_fieldblock} + +
+{END grid_block} +
+
+ {BEGIN below-grid_block} +
+ +
+ +
+ + {BEGIN back_button} + + + Back to list + +{END back_button} + + {BEGIN close_button} + + + Close window + +{END close_button} +
+
+ + + + + + + +
+
+{END below-grid_block} +
+ + + + + {$footer} +
+
+
+
+
+ {END body} + + diff --git a/php/templates/chat_external_add.htm b/php/templates/chat_external_add.htm new file mode 100644 index 0000000000000000000000000000000000000000..6594bd93d6c3e091e9b59918c748cfa025ddb7fb --- /dev/null +++ b/php/templates/chat_external_add.htm @@ -0,0 +1,519 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + +
+
+
+{BEGIN left_block} + + + + +
+ {BEGIN logo_block} + + {$logo} + +{END logo_block} + +
+ + + +
+ + + + + +
+ + + + + +
+ {BEGIN menuitems_main} + +{END menuitems_main} +
+ + {END left_block} +
+
+
+ {BEGIN supertop_block} + +{END supertop_block} + {$locking} +
+
+ {$header} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_external add}

+
+
+{END top_block} +
+
+ {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + + {BEGIN message_block} + +{END message_block} {END firstAboveGridCell} +
+
+{END above-grid_block} +
+
+ {BEGIN grid_tabs} + +{END grid_tabs} + {BEGIN grid_block} + + + + + + + + + + + +{BEGIN cellblock_grid_c3} + + {END cellblock_grid_c3} + +
+
+ +{BEGIN id_fieldblock} + + +
+ + +
+ {$id_editcontrol}
+
+
+ {$tooltip chat_external id }
+
+
+ + +{END id_fieldblock} + +{BEGIN logs_fieldblock} + + +
+ + +
+ {$logs_editcontrol}
+
+
+ {$tooltip chat_external logs }
+
+
+ + +{END logs_fieldblock} + +{BEGIN users_fieldblock} + + +
+ + +
+ {$users_editcontrol}
+
+
+ {$tooltip chat_external users }
+
+
+ + +{END users_fieldblock} + +{BEGIN report_count_fieldblock} + + +
+ + +
+ {$report_count_editcontrol}
+
+
+ {$tooltip chat_external report_count }
+
+
+ + +{END report_count_fieldblock} + +
+{END grid_block} +
+
+ {BEGIN below-grid_block} +
+ +
+ +
+ + + + Save + + + + + Reset + + + {BEGIN back_button} + + + Back to list + +{END back_button} + + {BEGIN cancel_button} + + + Cancel + +{END cancel_button} +
+
+{END below-grid_block} +
+ + + + + {$footer} +
+
+
+
+
+ {END body} + + diff --git a/php/templates/chat_external_edit.htm b/php/templates/chat_external_edit.htm new file mode 100644 index 0000000000000000000000000000000000000000..776ba5ad3f63930793a7495c6b1fc0f6aba7872c --- /dev/null +++ b/php/templates/chat_external_edit.htm @@ -0,0 +1,541 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + +
+
+
+{BEGIN left_block} + + + + +
+ {BEGIN logo_block} + + {$logo} + +{END logo_block} + +
+ + + +
+ + + + + +
+ + + + + +
+ {BEGIN menuitems_main} + +{END menuitems_main} +
+ + {END left_block} +
+
+
+ {BEGIN supertop_block} + +{END supertop_block} + {$locking} +
+
+ {$header} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_external edit}

+
+
+{END top_block} +
+
+ {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + + + {END firstAboveGridCell} +
+
+{END above-grid_block} +
+
+ {BEGIN grid_tabs} + +{END grid_tabs} + {BEGIN grid_block} + + + + + + + + + + + +{BEGIN cellblock_grid_c3} + + {END cellblock_grid_c3} + +
+
+ +{BEGIN id_fieldblock} + + +
+ + +
+ {$id_editcontrol}
+
+
+ {$tooltip chat_external id }
+
+
+ + +{END id_fieldblock} + +{BEGIN logs_fieldblock} + + +
+ + +
+ {$logs_editcontrol}
+
+
+ {$tooltip chat_external logs }
+
+
+ + +{END logs_fieldblock} + +{BEGIN users_fieldblock} + + +
+ + +
+ {$users_editcontrol}
+
+
+ {$tooltip chat_external users }
+
+
+ + +{END users_fieldblock} + +{BEGIN report_count_fieldblock} + + +
+ + +
+ {$report_count_editcontrol}
+
+
+ {$tooltip chat_external report_count }
+
+
+ + +{END report_count_fieldblock} + +
+{END grid_block} +
+
+ {BEGIN below-grid_block} +
+ +
+ +
+ + {BEGIN save_edit} + + + Save + +{END save_edit} + + {BEGIN back_button} + + + Back to list + +{END back_button} + + {BEGIN close_button} + + + Cancel + +{END close_button} +
+
+ + + + + + + +
+
+{END below-grid_block} +
+ + + + + {$footer} +
+
+
+
+
+ {END body} + + diff --git a/php/templates/chat_external_export.htm b/php/templates/chat_external_export.htm new file mode 100644 index 0000000000000000000000000000000000000000..b1c544248a5fa0650355b2bca20eecf46b1dadbe --- /dev/null +++ b/php/templates/chat_external_export.htm @@ -0,0 +1,171 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + +
+ {BEGIN supertop_block} +
+ +
+ +
+
+
+{END supertop_block} +
+
+ {BEGIN top_block} +
+ + +
+ +

{$pagetitlelabel chat_external export}

+
+{END top_block} +
+
+ {BEGIN grid_block} +
+{BEGIN range_block} +
+
+
+ Data range
+
+
+
+ +
+
+ +
+
+
+{END range_block} + +
+
+
+ Data format
+
+
+
+ +
+
+ +
+
+
+ +
+
+
+ Output format
+
+
+ +
+ {BEGIN groupExcel} + + {END groupExcel} +
+
+ +
+
+ +
+ +
+
+ +
+{END grid_block} + {BEGIN footer_block} + +{END footer_block} +
+
+ +
+ {$footer} + {END body} + + diff --git a/php/templates/chat_external_import.htm b/php/templates/chat_external_import.htm new file mode 100644 index 0000000000000000000000000000000000000000..a9dbd288aa8ff38a96755781725c6f5e657a02db --- /dev/null +++ b/php/templates/chat_external_import.htm @@ -0,0 +1,184 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + +
+ {BEGIN supertop_block} +
+ +
+ +
+
+
+{END supertop_block} +
+
+ {BEGIN top_block} +
+ + +
+ +

{$pagetitlelabel chat_external import}

+
+{END top_block} +
+
+ +
+ Drag and drop a comma-separated (.csv) or Excel (.xlsx) file or choose an option below.
+ + +
+ + +
+ +
+ + + +
+ +
+
+ + + + + + + + + + + + + + +
+
+ + +
+
+ + + + + + +
+
+
+
+ +
+ {$footer} + {END body} + + diff --git a/php/templates/chat_external_list.htm b/php/templates/chat_external_list.htm new file mode 100644 index 0000000000000000000000000000000000000000..6f69bf2c5ec0c9e6996f479482645d54f9d01ccc --- /dev/null +++ b/php/templates/chat_external_list.htm @@ -0,0 +1,1131 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + +
+
+
+{BEGIN left_block} + + + + +
+ {BEGIN logo_block} + + {$logo} + +{END logo_block} + +
+ + + +
+ + + + + +
+ + + + + +
+ {BEGIN menuitems_main} + +{END menuitems_main} +
+ + + +
+ +
+ +
+
+ +
+ + + + + +
+
+ + + + {BEGIN searchCtrlBlock} +
+ {$delCtrlButt} + {$searchtype} + {$searchcontrol} + {$searchcontrol1} +
+ {END searchCtrlBlock} + {BEGIN searchCtrlBlock_id} + + +
+ + + {$delCtrlButt} + + {$searchtype_id} + {$searchcontrol_id} + {$searchcontrol1_id} +
+ {END searchCtrlBlock_id} + {BEGIN searchCtrlBlock_users} + + +
+ + + {$delCtrlButt} + + {$searchtype_users} + {$searchcontrol_users} + {$searchcontrol1_users} +
+ {END searchCtrlBlock_users} + {BEGIN searchCtrlBlock_report_count} + + +
+ + + {$delCtrlButt} + + {$searchtype_report_count} + {$searchcontrol_report_count} + {$searchcontrol1_report_count} +
+ {END searchCtrlBlock_report_count} + {BEGIN searchCtrlBlock_logs} + + +
+ + + {$delCtrlButt} + + {$searchtype_logs} + {$searchcontrol_logs} + {$searchcontrol1_logs} +
+ {END searchCtrlBlock_logs} + + +
+ + +
+ +
+ + {END left_block} +
+
+
+ {BEGIN supertop_block} + +{END supertop_block} + {$locking} +
+
+ {$header} +
+ {BEGIN top_block} +
+
+{END top_block} +
+
+ {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + + {BEGIN add_link} + + + Add new + +{END add_link} + + {BEGIN deleteselected_link} + + + Delete + +{END deleteselected_link} + {END firstAboveGridCell} +
+
+ + +{$mlp_push}{$mlparam first var first_shown}{$mlparam last var last_shown}{$mlparam total var records_found}{mlang_message DISPLAYING}{$mlp_pop} + + {$recsPerPage} + + {BEGIN print_friendly} + + + + +{END print_friendly} +
+
+{END above-grid_block} +
+
+ {BEGIN grid_tabs} + +{END grid_tabs} + {BEGIN grid_block} +{BEGIN message_block} + +{END message_block} + + + {BEGIN grid_header} + + + {BEGIN cellblock_grid_headcell_icons} + + {END cellblock_grid_headcell_icons} + {BEGIN cellblock_grid_headcell_checkbox} + + {END cellblock_grid_headcell_checkbox} + {BEGIN cellblock_grid_headcell_field} + + {END cellblock_grid_headcell_field} + {BEGIN cellblock_grid_headcell_field1} + + {END cellblock_grid_headcell_field1} + {BEGIN cellblock_grid_headcell_field2} + + {END cellblock_grid_headcell_field2} + {BEGIN cellblock_grid_headcell_field3} + + {END cellblock_grid_headcell_field3} + + + {END grid_header} + + + {BEGIN grid_row} + + + {BEGIN cellblock_grid_cell_icons} + + {END cellblock_grid_cell_icons} + {BEGIN cellblock_grid_cell_checkbox} + + {END cellblock_grid_cell_checkbox} + {BEGIN cellblock_grid_cell_field} + + {END cellblock_grid_cell_field} + {BEGIN cellblock_grid_cell_field1} + + {END cellblock_grid_cell_field1} + {BEGIN cellblock_grid_cell_field2} + + {END cellblock_grid_cell_field2} + {BEGIN cellblock_grid_cell_field3} + + {END cellblock_grid_cell_field3} + + + {END grid_row} + + + + + {BEGIN cellblock_grid_footcell_icons} + + {END cellblock_grid_footcell_icons} + {BEGIN cellblock_grid_footcell_checkbox} + + {END cellblock_grid_footcell_checkbox} + {BEGIN cellblock_grid_footcell_field} + + {END cellblock_grid_footcell_field} + {BEGIN cellblock_grid_footcell_field1} + + {END cellblock_grid_footcell_field1} + {BEGIN cellblock_grid_footcell_field2} + + {END cellblock_grid_footcell_field2} + {BEGIN cellblock_grid_footcell_field3} + + {END cellblock_grid_footcell_field3} + + + +
+ + + + + + {BEGIN checkbox_column} + + + +{END checkbox_column} + + + + + {BEGIN id_fieldheadercolumn} + {BEGIN id_fieldheader} + + + {$label chat_external id } + {$arrow_icon_id} + + + {END id_fieldheader} +{END id_fieldheadercolumn} + + + + + + {BEGIN logs_fieldheadercolumn} + {BEGIN logs_fieldheader} + + + {$label chat_external logs } + {$arrow_icon_logs} + + + {END logs_fieldheader} +{END logs_fieldheadercolumn} + + + + + + {BEGIN users_fieldheadercolumn} + {BEGIN users_fieldheader} + + + {$label chat_external users } + {$arrow_icon_users} + + + {END users_fieldheader} +{END users_fieldheadercolumn} + + + + + + {BEGIN report_count_fieldheadercolumn} + {BEGIN report_count_fieldheader} + + + {$label chat_external report_count } + {$arrow_icon_report_count} + + + {END report_count_fieldheader} +{END report_count_fieldheadercolumn} + + +
+ + + {BEGIN edit_column} +{BEGIN edit_link} + + + + + +{END edit_link} +{END edit_column} + + {BEGIN view_column} +{BEGIN view_link} + + + + + +{END view_link} +{END view_column} + + + + + {BEGIN checkbox_column} + + + +{END checkbox_column} + + + + + {BEGIN id_fieldcolumn} + +{$id_value} + +{END id_fieldcolumn} + + + + {BEGIN logs_fieldcolumn} + +{$logs_value} + +{END logs_fieldcolumn} + + + + {BEGIN users_fieldcolumn} + +{$users_value} + +{END users_fieldcolumn} + + + + {BEGIN report_count_fieldcolumn} + +{$report_count_value} + +{END report_count_fieldcolumn} +
+ + + + + + + + + + + + + + + + + +
+{END grid_block} +
+
+ {BEGIN below-grid_block} +
+ +
+ +
+ + {BEGIN pagination_block} + +{$pagination} + +{END pagination_block} +
+
+{END below-grid_block} +
+ + + + + {$footer} +
+
+
+
+
+ {END body} + + diff --git a/php/templates/chat_external_print.htm b/php/templates/chat_external_print.htm new file mode 100644 index 0000000000000000000000000000000000000000..a8cfcc27993c022bbe7f98f05c2fe8db0802b959 --- /dev/null +++ b/php/templates/chat_external_print.htm @@ -0,0 +1,392 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + + {$locking} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_external print}

+ + {BEGIN printtabheader} + +{$printtabheader_text} + +{END printtabheader} +
+
+{END top_block} + {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + + + {$print_pages_labelprint_pages} + {END firstAboveGridCell} +
+
+{END above-grid_block} + {BEGIN grid_block} +{BEGIN message_block} + +{END message_block} + + {BEGIN grid_header} + + + {BEGIN cellblock_grid_headcell_field} + + {END cellblock_grid_headcell_field} + {BEGIN cellblock_grid_headcell_field1} + + {END cellblock_grid_headcell_field1} + {BEGIN cellblock_grid_headcell_field2} + + {END cellblock_grid_headcell_field2} + {BEGIN cellblock_grid_headcell_field3} + + {END cellblock_grid_headcell_field3} + + + {END grid_header} + + {BEGIN grid_row} + + + + {BEGIN cellblock_grid_cell_field} + + {END cellblock_grid_cell_field} + {BEGIN cellblock_grid_cell_field1} + + {END cellblock_grid_cell_field1} + {BEGIN cellblock_grid_cell_field2} + + {END cellblock_grid_cell_field2} + {BEGIN cellblock_grid_cell_field3} + + {END cellblock_grid_cell_field3} + + + + {END grid_row} + + + + {BEGIN cellblock_grid_footcell_field} + + {END cellblock_grid_footcell_field} + {BEGIN cellblock_grid_footcell_field1} + + {END cellblock_grid_footcell_field1} + {BEGIN cellblock_grid_footcell_field2} + + {END cellblock_grid_footcell_field2} + {BEGIN cellblock_grid_footcell_field3} + + {END cellblock_grid_footcell_field3} + + + +
+ + + {BEGIN id_fieldheadercolumn} + + + {$label chat_external id } + + +{END id_fieldheadercolumn} + + + + + + {BEGIN logs_fieldheadercolumn} + + + {$label chat_external logs } + + +{END logs_fieldheadercolumn} + + + + + + {BEGIN users_fieldheadercolumn} + + + {$label chat_external users } + + +{END users_fieldheadercolumn} + + + + + + {BEGIN report_count_fieldheadercolumn} + + + {$label chat_external report_count } + + +{END report_count_fieldheadercolumn} + + +
+ + + {BEGIN id_fieldcolumn} + +{$id_value} + +{END id_fieldcolumn} + + + + {BEGIN logs_fieldcolumn} + +{$logs_value} + +{END logs_fieldcolumn} + + + + {BEGIN users_fieldcolumn} + +{$users_value} + +{END users_fieldcolumn} + + + + {BEGIN report_count_fieldcolumn} + +{$report_count_value} + +{END report_count_fieldcolumn} +
+ + + + + + + + + + + +
+{END grid_block} + {BEGIN below-grid_block} +
+ +
+ +
+
+
+{END below-grid_block} +
+ {$footer} + {END body} + + diff --git a/php/templates/chat_external_search.htm b/php/templates/chat_external_search.htm new file mode 100644 index 0000000000000000000000000000000000000000..b16eefb3febd4177be7281e3887fc734ec41434c --- /dev/null +++ b/php/templates/chat_external_search.htm @@ -0,0 +1,238 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + + {$locking} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_external search}

+
+
+{END top_block} + {BEGIN above-grid_block} +
+ +
+ +
+
+
+{END above-grid_block} + {BEGIN grid_block} + + + + + + + + + + + +{BEGIN cellblock_grid_c3} + + {END cellblock_grid_c3} + +
+
+ +{BEGIN id_fieldblock} + +
+ + + +
+ {$searchtype_id} +
+
+ {$id_editcontrol}
+
+ {$id_editcontrol1} +
+ +
+ +{END id_fieldblock} + +{BEGIN logs_fieldblock} + +
+ + + +
+ {$searchtype_logs} +
+
+ {$logs_editcontrol}
+
+ {$logs_editcontrol1} +
+ +
+ +{END logs_fieldblock} + +{BEGIN users_fieldblock} + +
+ + + +
+ {$searchtype_users} +
+
+ {$users_editcontrol}
+
+ {$users_editcontrol1} +
+ +
+ +{END users_fieldblock} + +{BEGIN report_count_fieldblock} + +
+ + + +
+ {$searchtype_report_count} +
+
+ {$report_count_editcontrol}
+
+ {$report_count_editcontrol1} +
+ +
+ +{END report_count_fieldblock} + +
+{END grid_block} + {BEGIN below-grid_block} +
+ +
+ +
+ + + + Search + + + + + Reset + + + {BEGIN back_button} + + + Back to list + +{END back_button} + + {BEGIN cancel_button} + + + Cancel + +{END cancel_button} +
+
+{END below-grid_block} +
+ {$footer} + {END body} + + diff --git a/php/templates/chat_external_view.htm b/php/templates/chat_external_view.htm new file mode 100644 index 0000000000000000000000000000000000000000..aede5596f9cf405bce12ee9afc7592239439c598 --- /dev/null +++ b/php/templates/chat_external_view.htm @@ -0,0 +1,503 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + +
+
+
+{BEGIN left_block} + + + + +
+ {BEGIN logo_block} + + {$logo} + +{END logo_block} + +
+ + + +
+ + + + + +
+ + + + + +
+ {BEGIN menuitems_main} + +{END menuitems_main} +
+ + {END left_block} +
+
+
+ {BEGIN supertop_block} + +{END supertop_block} + {$locking} +
+
+ {$header} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel chat_external view}

+
+
+{END top_block} +
+
+ {BEGIN above-grid_block} +
+ +
+ +
+ {BEGIN firstAboveGridCell} + {END firstAboveGridCell} +
+
+{END above-grid_block} +
+
+ {BEGIN grid_tabs} + +{END grid_tabs} + {BEGIN grid_block} + + + + + + + + + + + +{BEGIN cellblock_grid_c3} + + {END cellblock_grid_c3} + +
+
+ +{BEGIN id_fieldblock} + + +
+ + + +
+ {$id_value}
+ + +
+ + +{END id_fieldblock} + +{BEGIN logs_fieldblock} + + +
+ + + +
+ {$logs_value}
+ + +
+ + +{END logs_fieldblock} + +{BEGIN users_fieldblock} + + +
+ + + +
+ {$users_value}
+ + +
+ + +{END users_fieldblock} + +{BEGIN report_count_fieldblock} + + +
+ + + +
+ {$report_count_value}
+ + +
+ + +{END report_count_fieldblock} + +
+{END grid_block} +
+
+ {BEGIN below-grid_block} +
+ +
+ +
+ + {BEGIN back_button} + + + Back to list + +{END back_button} + + {BEGIN close_button} + + + Close window + +{END close_button} +
+
+ + + + + + + +
+
+{END below-grid_block} +
+ + + + + {$footer} +
+
+
+
+
+ {END body} + + diff --git a/php/templates/dashboard_dashboard.htm b/php/templates/dashboard_dashboard.htm new file mode 100644 index 0000000000000000000000000000000000000000..3985adc0c69619366c5db51fb3fd7dbc3c8b84ba --- /dev/null +++ b/php/templates/dashboard_dashboard.htm @@ -0,0 +1,388 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + +
+
+
+{BEGIN left_block} + + + + +
+ {BEGIN logo_block} + + {$logo} + +{END logo_block} + +
+ + + +
+ + + + + +
+ + + + + +
+ {BEGIN menuitems_main} + +{END menuitems_main} +
+ + {END left_block} +
+
+
+ {BEGIN supertop_block} + +{END supertop_block} + {$locking} +
+
+ {$header} +
+ {BEGIN top_block} +
+
+{END top_block} +
+
+
+
+ {BEGIN grid_tabs} + +{END grid_tabs} + {BEGIN grid_block} + + + + + + + + + + + + + + +
+ +
+ +
+{END grid_block} + + + + + + + + +
+
+
+ + + + + {$footer} +
+
+
+
+
+ {END body} + +