diff --git a/php/classes/charts.php b/php/classes/charts.php index 29fb81405e301ca783202d1225c56e65b707f57a..7751fd9952a9e376ffbc5eaf40912a4902c3c5d3 100644 --- a/php/classes/charts.php +++ b/php/classes/charts.php @@ -394,11 +394,7 @@ 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]) + if("Eoc" == $this->chrt_array['tables'][0]) return true; return false; } diff --git a/php/classes/db.php b/php/classes/db.php index e5007b7c3e4e019c6b8fe6078e58481747d20418..56579cce0602c4b7e888a2cc8a07c4f15c7fe444 100644 --- a/php/classes/db.php +++ b/php/classes/db.php @@ -355,8 +355,6 @@ 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"); @@ -364,6 +362,7 @@ class DB $dalTables[$conn->connId][] = array("name" => "chat_settings", "varname" => "chats_at_localhost__chat_settings", "altvarname" => "chat_settings", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $dalTables[$conn->connId][] = array("name" => "chat_timezone", "varname" => "chats_at_localhost__chat_timezone", "altvarname" => "chat_timezone", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $dalTables[$conn->connId][] = array("name" => "chat_users", "varname" => "chats_at_localhost__chat_users", "altvarname" => "chat_users", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); + $dalTables[$conn->connId][] = array("name" => "Eoc", "varname" => "chats_at_localhost__Eoc", "altvarname" => "Eoc", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); } } diff --git a/php/classes/projectsettings.php b/php/classes/projectsettings.php index 9914c57687b9fcaecab7c026edf996d359d8d8ff..adc3e1ad58841bd591af62c78398ae83fc2778c8 100644 --- a/php/classes/projectsettings.php +++ b/php/classes/projectsettings.php @@ -3594,12 +3594,8 @@ 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"; + $projectEntities[ "Eoc" ] = array( "url" => "eoc", "type" => 0 ); + $projectEntitiesReverse[ "eoc" ] = "Eoc"; } function findTable( $table ) { diff --git a/php/connections/ConnectionManager_base.php b/php/connections/ConnectionManager_base.php index fd4aa078d13eb648e8577631b45777d41464eb16..5df2d5b4451261e23fdd830885a4b20e7cbb2a71 100644 --- a/php/connections/ConnectionManager_base.php +++ b/php/connections/ConnectionManager_base.php @@ -251,8 +251,7 @@ 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"; + $connectionsIds["Eoc"] = "chats_at_localhost"; $this->_tablesConnectionIds = &$connectionsIds; } diff --git a/php/eoc_add.php b/php/eoc_add.php new file mode 100644 index 0000000000000000000000000000000000000000..bf3c553afed01dc5a5ccb71c1fd9c522c22018c1 --- /dev/null +++ b/php/eoc_add.php @@ -0,0 +1,108 @@ +init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/eoc_edit.php b/php/eoc_edit.php new file mode 100644 index 0000000000000000000000000000000000000000..6e950cd1a193e363ab988ee848115534c7651090 --- /dev/null +++ b/php/eoc_edit.php @@ -0,0 +1,107 @@ +isLockingRequest() ) +{ + $pageObject->doLockingAction(); + exit(); +} + +$pageObject->init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/eoc_export.php b/php/eoc_export.php new file mode 100644 index 0000000000000000000000000000000000000000..9ae6526044ed010e0508dd3f31efc05359e937c7 --- /dev/null +++ b/php/eoc_export.php @@ -0,0 +1,53 @@ +init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/eoc_import.php b/php/eoc_import.php new file mode 100644 index 0000000000000000000000000000000000000000..317236ceddfc46c4953dc3d117f1cf60aeefe677 --- /dev/null +++ b/php/eoc_import.php @@ -0,0 +1,53 @@ +init(); + +$pageObject->process(); + +?> \ No newline at end of file diff --git a/php/eoc_list.php b/php/eoc_list.php new file mode 100644 index 0000000000000000000000000000000000000000..27034d4daef93d9a67ceec55bbfea298876b61e6 --- /dev/null +++ b/php/eoc_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/eoc_print.php b/php/eoc_print.php new file mode 100644 index 0000000000000000000000000000000000000000..900f4de562b7a3241c18c989742272982d46c7ee --- /dev/null +++ b/php/eoc_print.php @@ -0,0 +1,46 @@ +init(); +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/eoc_search.php b/php/eoc_search.php new file mode 100644 index 0000000000000000000000000000000000000000..6c1a5e40d6be341fb6532d8c925469bd5fc8e548 --- /dev/null +++ b/php/eoc_search.php @@ -0,0 +1,84 @@ +displaySearchControl(); + return; +} + +$pageObject->init(); +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/eoc_view.php b/php/eoc_view.php new file mode 100644 index 0000000000000000000000000000000000000000..bc6de4ee0c60e2c7070af21709decfe656456bd3 --- /dev/null +++ b/php/eoc_view.php @@ -0,0 +1,67 @@ +init(); + +$pageObject->process(); + +?> \ No newline at end of file diff --git a/php/include/appsettings.php b/php/include/appsettings.php index 418181948a211f7938bb7b5518849abbaab5a92b..288d94f6a272f2961bd521e975ae2acbf8d19987 100644 --- a/php/include/appsettings.php +++ b/php/include/appsettings.php @@ -790,9 +790,9 @@ $suggestAllContent = true; $strLastSQL = ""; $showCustomMarkerOnPrint = false; -$projectBuildKey = "3643_1721453069"; +$projectBuildKey = "3641_1721285067"; $wizardBuildKey = "41974"; -$projectBuildNumber = "3643"; +$projectBuildNumber = "3641"; $mlang_messages = array(); $mlang_charsets = array(); @@ -826,9 +826,7 @@ $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"; +$tableCaptions["English"]["Eoc"] = "Eoc"; $globalEvents = new class_GlobalEvents; diff --git a/php/include/audit.php b/php/include/audit.php index 8f79d83ac9bc2d7a0b8632ab68c1045ffca6b0a7..7530e439a4abc358bacd15df0355fa33e8e6fc81 100644 --- a/php/include/audit.php +++ b/php/include/audit.php @@ -388,15 +388,7 @@ class AuditTrailTable { return false; } - if($table=="Dashboard") - { - return false; - } - if($table=="chat_external") - { - return false; - } - if($table=="chat_agent") + if($table=="Eoc") { return false; } @@ -740,15 +732,7 @@ class AuditTrailFile { return false; } - if($table=="Dashboard") - { - return false; - } - if($table=="chat_external") - { - return false; - } - if($table=="chat_agent") + if($table=="Eoc") { return false; } diff --git a/php/include/chat_files_settings.php b/php/include/chat_files_settings.php index 56ad9c804d56ca6402e77b76da7b820959fa02ca..be38b0847d36d1101ac7966acc53250196a91458 100644 --- a/php/include/chat_files_settings.php +++ b/php/include/chat_files_settings.php @@ -187,7 +187,7 @@ $tdatachat_files[".strOrderBy"] = $tstrOrderBy; $tdatachat_files[".orderindexes"] = array(); -$tdatachat_files[".sqlHead"] = "SELECT id, messageid, files"; +$tdatachat_files[".sqlHead"] = "SELECT id, messageid, files"; $tdatachat_files[".sqlFrom"] = "FROM chat_files"; $tdatachat_files[".sqlWhereExpr"] = ""; $tdatachat_files[".sqlTail"] = ""; @@ -696,7 +696,7 @@ function createSqlQuery_chat_files() { $proto0=array(); $proto0["m_strHead"] = "SELECT"; -$proto0["m_strFieldList"] = "id, messageid, files"; +$proto0["m_strFieldList"] = "id, messageid, files"; $proto0["m_strFrom"] = "FROM chat_files"; $proto0["m_strWhere"] = ""; $proto0["m_strOrderBy"] = ""; diff --git a/php/include/chat_groups_settings.php b/php/include/chat_groups_settings.php index 78f25127082e630eb545a54a10ff8d1abe5f87a0..12d770928826d96512ecd81cf84b7a475d258dbe 100644 --- a/php/include/chat_groups_settings.php +++ b/php/include/chat_groups_settings.php @@ -195,7 +195,7 @@ $tdatachat_groups[".strOrderBy"] = $tstrOrderBy; $tdatachat_groups[".orderindexes"] = array(); -$tdatachat_groups[".sqlHead"] = "SELECT id, groupname, targetid, grouptype, ownerid"; +$tdatachat_groups[".sqlHead"] = "SELECT id, groupname, targetid, grouptype, ownerid"; $tdatachat_groups[".sqlFrom"] = "FROM chat_groups"; $tdatachat_groups[".sqlWhereExpr"] = ""; $tdatachat_groups[".sqlTail"] = ""; @@ -1024,7 +1024,7 @@ function createSqlQuery_chat_groups() { $proto0=array(); $proto0["m_strHead"] = "SELECT"; -$proto0["m_strFieldList"] = "id, groupname, targetid, grouptype, ownerid"; +$proto0["m_strFieldList"] = "id, groupname, targetid, grouptype, ownerid"; $proto0["m_strFrom"] = "FROM chat_groups"; $proto0["m_strWhere"] = ""; $proto0["m_strOrderBy"] = ""; diff --git a/php/include/chat_history_settings.php b/php/include/chat_history_settings.php index 1a780a31b6026f8874597d172f14c885a942267e..87a41e638673ff2429bf739208dad20661449c2d 100644 --- a/php/include/chat_history_settings.php +++ b/php/include/chat_history_settings.php @@ -219,7 +219,7 @@ $tdatachat_history[".strOrderBy"] = $tstrOrderBy; $tdatachat_history[".orderindexes"] = array(); -$tdatachat_history[".sqlHead"] = "SELECT id, messages, ownerid, created, isread, targetid, tmp_file, status, status_created, soundRecord, isVideo"; +$tdatachat_history[".sqlHead"] = "SELECT id, messages, ownerid, created, isread, targetid, tmp_file, status, status_created, soundRecord, isVideo"; $tdatachat_history[".sqlFrom"] = "FROM chat_history"; $tdatachat_history[".sqlWhereExpr"] = ""; $tdatachat_history[".sqlTail"] = ""; @@ -1853,7 +1853,7 @@ function createSqlQuery_chat_history() { $proto0=array(); $proto0["m_strHead"] = "SELECT"; -$proto0["m_strFieldList"] = "id, messages, ownerid, created, isread, targetid, tmp_file, status, status_created, soundRecord, isVideo"; +$proto0["m_strFieldList"] = "id, messages, ownerid, created, isread, targetid, tmp_file, status, status_created, soundRecord, isVideo"; $proto0["m_strFrom"] = "FROM chat_history"; $proto0["m_strWhere"] = ""; $proto0["m_strOrderBy"] = ""; diff --git a/php/include/chat_peopletype_settings.php b/php/include/chat_peopletype_settings.php index 995bd33efc3da971146ed4be0039dad753724953..288ac529d0b50e9cef86cff6b4c0194efd60b0d6 100644 --- a/php/include/chat_peopletype_settings.php +++ b/php/include/chat_peopletype_settings.php @@ -183,7 +183,7 @@ $tdatachat_peopletype[".strOrderBy"] = $tstrOrderBy; $tdatachat_peopletype[".orderindexes"] = array(); -$tdatachat_peopletype[".sqlHead"] = "SELECT id, name"; +$tdatachat_peopletype[".sqlHead"] = "SELECT id, name"; $tdatachat_peopletype[".sqlFrom"] = "FROM chat_peopletype"; $tdatachat_peopletype[".sqlWhereExpr"] = ""; $tdatachat_peopletype[".sqlTail"] = ""; @@ -556,7 +556,7 @@ function createSqlQuery_chat_peopletype() { $proto0=array(); $proto0["m_strHead"] = "SELECT"; -$proto0["m_strFieldList"] = "id, name"; +$proto0["m_strFieldList"] = "id, name"; $proto0["m_strFrom"] = "FROM chat_peopletype"; $proto0["m_strWhere"] = ""; $proto0["m_strOrderBy"] = ""; diff --git a/php/include/chat_settings_settings.php b/php/include/chat_settings_settings.php index cad7a9c544cdd56cff06fcff6c17b45f84e22cb6..9fdcfec816429cb485b7f9de3898e1d55d4fa64a 100644 --- a/php/include/chat_settings_settings.php +++ b/php/include/chat_settings_settings.php @@ -278,7 +278,7 @@ $tdatachat_settings[".strOrderBy"] = $tstrOrderBy; $tdatachat_settings[".orderindexes"] = array(); -$tdatachat_settings[".sqlHead"] = "SELECT id, timeperiod, findusers, soundpath, soundenable, videoenable, provider, RC_ClientID, RC_ClientSecret, RC_Account, RC_Password, Z_APIKey, Z_APISecret, saveInCloud, Z_Token, timezone, RC_APIServerURL, MS_ClientID, MS_ClientSecret, MS_TenantID, G_ClientID, G_ClientSecret, G_APIKey, WB_ClientID, WB_ClientSecret"; +$tdatachat_settings[".sqlHead"] = "SELECT id, timeperiod, findusers, soundpath, soundenable, videoenable, provider, RC_ClientID, RC_ClientSecret, RC_Account, RC_Password, Z_APIKey, Z_APISecret, saveInCloud, Z_Token, timezone, RC_APIServerURL, MS_ClientID, MS_ClientSecret, MS_TenantID, G_ClientID, G_ClientSecret, G_APIKey, WB_ClientID, WB_ClientSecret"; $tdatachat_settings[".sqlFrom"] = "FROM chat_settings"; $tdatachat_settings[".sqlWhereExpr"] = ""; $tdatachat_settings[".sqlTail"] = ""; @@ -3878,7 +3878,7 @@ function createSqlQuery_chat_settings() { $proto0=array(); $proto0["m_strHead"] = "SELECT"; -$proto0["m_strFieldList"] = "id, timeperiod, findusers, soundpath, soundenable, videoenable, provider, RC_ClientID, RC_ClientSecret, RC_Account, RC_Password, Z_APIKey, Z_APISecret, saveInCloud, Z_Token, timezone, RC_APIServerURL, MS_ClientID, MS_ClientSecret, MS_TenantID, G_ClientID, G_ClientSecret, G_APIKey, WB_ClientID, WB_ClientSecret"; +$proto0["m_strFieldList"] = "id, timeperiod, findusers, soundpath, soundenable, videoenable, provider, RC_ClientID, RC_ClientSecret, RC_Account, RC_Password, Z_APIKey, Z_APISecret, saveInCloud, Z_Token, timezone, RC_APIServerURL, MS_ClientID, MS_ClientSecret, MS_TenantID, G_ClientID, G_ClientSecret, G_APIKey, WB_ClientID, WB_ClientSecret"; $proto0["m_strFrom"] = "FROM chat_settings"; $proto0["m_strWhere"] = ""; $proto0["m_strOrderBy"] = ""; diff --git a/php/include/chat_timezone_settings.php b/php/include/chat_timezone_settings.php index 0648a6dca8a3b9011022510e17a57ea93eb9f2b9..063247581d50f83c09ea3f2d4b2cfdab4d2fa200 100644 --- a/php/include/chat_timezone_settings.php +++ b/php/include/chat_timezone_settings.php @@ -199,7 +199,7 @@ $tdatachat_timezone[".strOrderBy"] = $tstrOrderBy; $tdatachat_timezone[".orderindexes"] = array(); -$tdatachat_timezone[".sqlHead"] = "SELECT id, zoom, name, rc, `order`, dotnet"; +$tdatachat_timezone[".sqlHead"] = "SELECT id, zoom, name, rc, `order`, dotnet"; $tdatachat_timezone[".sqlFrom"] = "FROM chat_timezone"; $tdatachat_timezone[".sqlWhereExpr"] = ""; $tdatachat_timezone[".sqlTail"] = ""; @@ -1128,7 +1128,7 @@ function createSqlQuery_chat_timezone() { $proto0=array(); $proto0["m_strHead"] = "SELECT"; -$proto0["m_strFieldList"] = "id, zoom, name, rc, `order`, dotnet"; +$proto0["m_strFieldList"] = "id, zoom, name, rc, `order`, dotnet"; $proto0["m_strFrom"] = "FROM chat_timezone"; $proto0["m_strWhere"] = ""; $proto0["m_strOrderBy"] = ""; diff --git a/php/include/chat_users_settings.php b/php/include/chat_users_settings.php index 5f6b82adb4947023dce809c071320135a91eb659..c765a4b1214d36e85474b9a6cd5ebc820cf3a900 100644 --- a/php/include/chat_users_settings.php +++ b/php/include/chat_users_settings.php @@ -194,7 +194,7 @@ $tdatachat_users[".strOrderBy"] = $tstrOrderBy; $tdatachat_users[".orderindexes"] = array(); -$tdatachat_users[".sqlHead"] = "SELECT id, userid, lastaccess, isTyping, userpic"; +$tdatachat_users[".sqlHead"] = "SELECT id, userid, lastaccess, isTyping, userpic"; $tdatachat_users[".sqlFrom"] = "FROM chat_users"; $tdatachat_users[".sqlWhereExpr"] = ""; $tdatachat_users[".sqlTail"] = ""; @@ -992,7 +992,7 @@ function createSqlQuery_chat_users() { $proto0=array(); $proto0["m_strHead"] = "SELECT"; -$proto0["m_strFieldList"] = "id, userid, lastaccess, isTyping, userpic"; +$proto0["m_strFieldList"] = "id, userid, lastaccess, isTyping, userpic"; $proto0["m_strFrom"] = "FROM chat_users"; $proto0["m_strWhere"] = ""; $proto0["m_strOrderBy"] = ""; diff --git a/php/include/commonfunctions.php b/php/include/commonfunctions.php index 908f9396408b9c4ad10b8a239876f422d9cc1176..f36ff17ff3757f7eccb3875c7e7a86ec8ffef637 100644 --- a/php/include/commonfunctions.php +++ b/php/include/commonfunctions.php @@ -219,11 +219,7 @@ 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 ) + if ("eoc" == $shortTName ) return true; return false; } @@ -349,30 +345,12 @@ function GetTablesList($pdfMode = false) } $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"); + $strPerm = GetUserPermissions("Eoc"); $tableAvailable = ( strpos($strPerm, "P") !== false || $pdfMode && strpos($strPerm, "S") !== false ); } if( $tableAvailable ) { - $arr[]="chat_agent"; + $arr[]="Eoc"; } return $arr; } @@ -391,9 +369,7 @@ function GetTablesListWithoutSecurity() $arr[]="chat_peopletype"; $arr[]="chat_timezone"; $arr[]="chat126_users1"; - $arr[]="Dashboard"; - $arr[]="chat_external"; - $arr[]="chat_agent"; + $arr[]="Eoc"; return $arr; } @@ -1087,25 +1063,7 @@ function GetUserPermissionsStatic( $table ) // 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( $table=="Eoc" ) { if( $sUserGroup=="admin" ) { diff --git a/php/include/dal.php b/php/include/dal.php index d909553579e7e72c908e17ad1f73c94f652faf04..467e9f1a010246805e997f2731e0e249814ed364 100644 --- a/php/include/dal.php +++ b/php/include/dal.php @@ -48,8 +48,6 @@ 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; @@ -57,6 +55,7 @@ class tDAL var $tblchats_at_localhost__chat_settings; var $tblchats_at_localhost__chat_timezone; var $tblchats_at_localhost__chat_users; + var $tblchats_at_localhost__Eoc; var $lstTables; var $Table = array(); @@ -65,8 +64,6 @@ 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"); @@ -74,6 +71,7 @@ class tDAL $this->lstTables[] = array("name" => "chat_settings", "varname" => "chats_at_localhost__chat_settings", "altvarname" => "chat_settings", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $this->lstTables[] = array("name" => "chat_timezone", "varname" => "chats_at_localhost__chat_timezone", "altvarname" => "chat_timezone", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $this->lstTables[] = array("name" => "chat_users", "varname" => "chats_at_localhost__chat_users", "altvarname" => "chat_users", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); + $this->lstTables[] = array("name" => "Eoc", "varname" => "chats_at_localhost__Eoc", "altvarname" => "Eoc", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); } /** diff --git a/php/include/dal/chats_at_localhost__Eoc.php b/php/include/dal/chats_at_localhost__Eoc.php new file mode 100644 index 0000000000000000000000000000000000000000..433ea2599a249f11b862785464dc811396933908 --- /dev/null +++ b/php/include/dal/chats_at_localhost__Eoc.php @@ -0,0 +1,8 @@ +3,"varname"=>"id", "name" => "id", "autoInc" => "1"); +$dalTableEoc["name"] = array("type"=>200,"varname"=>"name", "name" => "name", "autoInc" => "0"); +$dalTableEoc["id"]["key"]=true; + +$dal_info["chats_at_localhost__Eoc"] = &$dalTableEoc; +?> \ No newline at end of file diff --git a/php/include/eoc_settings.php b/php/include/eoc_settings.php new file mode 100644 index 0000000000000000000000000000000000000000..add2c8d8b4227c13ad875b9533da99bfccc58f62 --- /dev/null +++ b/php/include/eoc_settings.php @@ -0,0 +1,682 @@ + ""); + + + + + + + + + + + + + + + + $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 + + + $tdataeoc["id"] = $fdata; + $tdataeoc[".searchableFields"][] = "id"; +// name +// Custom field settings + $fdata = array(); + $fdata["Index"] = 2; + $fdata["strName"] = "name"; + $fdata["GoodName"] = "name"; + $fdata["ownerTable"] = "Eoc"; + $fdata["Label"] = GetFieldLabel("Eoc","name"); + $fdata["FieldType"] = 200; + + + + + + + $fdata["strField"] = "name"; + + $fdata["sourceSingle"] = "name"; + + + $fdata["isSQLExpression"] = true; + $fdata["FullName"] = "name"; + + + + $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 + + + $tdataeoc["name"] = $fdata; + $tdataeoc[".searchableFields"][] = "name"; + + +$tables_data["Eoc"]=&$tdataeoc; +$field_labels["Eoc"] = &$fieldLabelseoc; +$fieldToolTips["Eoc"] = &$fieldToolTipseoc; +$placeHolders["Eoc"] = &$placeHolderseoc; +$page_titles["Eoc"] = &$pageTitleseoc; + + +changeTextControlsToDate( "Eoc" ); + +// -----------------start prepare master-details data arrays ------------------------------// +// tables which are detail tables for current table (master) + +//if !@TABLE.bReportCrossTab + +$detailsTablesData["Eoc"] = array(); +//endif + +// tables which are master tables for current table (detail) +$masterTablesData["Eoc"] = array(); + + + +// -----------------end prepare master-details data arrays ------------------------------// + + + +require_once(getabspath("classes/sql.php")); + + + + + + + + + + + +function createSqlQuery_eoc() +{ +$proto0=array(); +$proto0["m_strHead"] = "SELECT"; +$proto0["m_strFieldList"] = "id, name"; +$proto0["m_strFrom"] = "FROM Eoc"; +$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" => "Eoc", + "m_srcTableName" => "Eoc" +)); + +$proto6["m_sql"] = "id"; +$proto6["m_srcTableName"] = "Eoc"; +$proto6["m_expr"]=$obj; +$proto6["m_alias"] = ""; +$obj = new SQLFieldListItem($proto6); + +$proto0["m_fieldlist"][]=$obj; + $proto8=array(); + $obj = new SQLField(array( + "m_strName" => "name", + "m_strTable" => "Eoc", + "m_srcTableName" => "Eoc" +)); + +$proto8["m_sql"] = "name"; +$proto8["m_srcTableName"] = "Eoc"; +$proto8["m_expr"]=$obj; +$proto8["m_alias"] = ""; +$obj = new SQLFieldListItem($proto8); + +$proto0["m_fieldlist"][]=$obj; +$proto0["m_fromlist"] = array(); + $proto10=array(); +$proto10["m_link"] = "SQLL_MAIN"; + $proto11=array(); +$proto11["m_strName"] = "Eoc"; +$proto11["m_srcTableName"] = "Eoc"; +$proto11["m_columns"] = array(); +$proto11["m_columns"][] = "id"; +$proto11["m_columns"][] = "name"; +$obj = new SQLTable($proto11); + +$proto10["m_table"] = $obj; +$proto10["m_sql"] = "Eoc"; +$proto10["m_alias"] = ""; +$proto10["m_srcTableName"] = "Eoc"; +$proto12=array(); +$proto12["m_sql"] = ""; +$proto12["m_uniontype"] = "SQLL_UNKNOWN"; + $obj = new SQLNonParsed(array( + "m_sql" => "" +)); + +$proto12["m_column"]=$obj; +$proto12["m_contained"] = array(); +$proto12["m_strCase"] = ""; +$proto12["m_havingmode"] = false; +$proto12["m_inBrackets"] = false; +$proto12["m_useAlias"] = false; +$obj = new SQLLogicalExpr($proto12); + +$proto10["m_joinon"] = $obj; +$obj = new SQLFromListItem($proto10); + +$proto0["m_fromlist"][]=$obj; +$proto0["m_groupby"] = array(); +$proto0["m_orderby"] = array(); +$proto0["m_srcTableName"]="Eoc"; +$obj = new SQLQuery($proto0); + + return $obj; +} +$queryData_eoc = createSqlQuery_eoc(); + + + + ; + + + +$tdataeoc[".sqlquery"] = $queryData_eoc; + + + +$tdataeoc[".hasEvents"] = false; + +?> \ No newline at end of file diff --git a/php/include/eoc_variables.php b/php/include/eoc_variables.php new file mode 100644 index 0000000000000000000000000000000000000000..1568323fe1df03e20ed6fdc974d0aff1770c31aa --- /dev/null +++ b/php/include/eoc_variables.php @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/php/include/header.php b/php/include/header.php new file mode 100644 index 0000000000000000000000000000000000000000..d551fed6dd2f1245ce7cd7725d9ad68b82dc6c0f --- /dev/null +++ b/php/include/header.php @@ -0,0 +1,139 @@ + \ No newline at end of file diff --git a/php/include/menunodes_main.php b/php/include/menunodes_main.php index 0cc7722365bd66c8e21c4e2a9ec776833e76a032..0eb53066e51e9f77eeb2e67299392290c3060bd5 100644 --- a/php/include/menunodes_main.php +++ b/php/include/menunodes_main.php @@ -3,32 +3,6 @@ // 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"; @@ -82,37 +56,11 @@ $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["id"] = "3"; $menuNode["name"] = ""; $menuNode["href"] = "mypage.htm"; $menuNode["type"] = "Leaf"; - $menuNode["table"] = "chat_agent"; + $menuNode["table"] = "Eoc"; $menuNode["style"] = ""; $menuNode["params"] = ""; $menuNode["parent"] = "0"; @@ -122,13 +70,13 @@ $menuNode["pageId"] = ""; $menuNode["openType"] = "None"; - $menuNode["icon"] = "glyphicon-hand-right"; + $menuNode["icon"] = "glyphicon-calendar"; $menuNode["iconType"] = "2"; $menuNode["iconShow"] = "2"; $menuNode["color"] = ""; - $menuNode["title"] = "Chat Agent"; + $menuNode["title"] = "Eoc"; diff --git a/php/include/pages/_global_menu_Chat1.php b/php/include/pages/_global_menu_Chat1.php index 1dc857d6effa7c3d1eb2326d5c7c006440486775..9ef61d385aadb1296d92dac88cdcd2cfca6c6f35 100644 --- a/php/include/pages/_global_menu_Chat1.php +++ b/php/include/pages/_global_menu_Chat1.php @@ -15,19 +15,7 @@ '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', +'table' => 'Eoc', 'page' => 'list' ) ) ), 'fields' => array( 'gridFields' => array( ), 'searchRequiredFields' => array( ), @@ -40,9 +28,7 @@ 'loginform_login', 'username_button' ), 'grid' => array( 'welcome_item', -'welcome_item1', -'welcome_item2', -'welcome_item3' ) ), +'welcome_item1' ) ), 'formXtTags' => array( 'above-grid' => array( ) ), 'itemForms' => array( 'logo' => 'supertop', 'menu' => 'supertop', @@ -50,9 +36,7 @@ 'loginform_login' => 'supertop', 'username_button' => 'supertop', 'welcome_item' => 'grid', -'welcome_item1' => 'grid', -'welcome_item2' => 'grid', -'welcome_item3' => 'grid' ), +'welcome_item1' => 'grid' ), 'itemLocations' => array( ), 'itemVisiblity' => array( 'menu' => 3, 'list_options' => 3, @@ -61,9 +45,7 @@ 'itemsByType' => array( 'logo' => array( 'logo' ), 'menu' => array( 'menu' ), 'welcome_item' => array( 'welcome_item', -'welcome_item1', -'welcome_item2', -'welcome_item3' ), +'welcome_item1' ), 'list_options' => array( 'list_options' ), 'username_button' => array( 'username_button' ), 'loginform_login' => array( 'loginform_login' ), @@ -115,9 +97,7 @@ array( 'cell' => 'c2' ) ), 'section' => '' ) ), 'cells' => array( 'c1' => array( 'model' => 'c1', 'items' => array( 'welcome_item', -'welcome_item1', -'welcome_item2', -'welcome_item3' ) ) ), +'welcome_item1' ) ) ), 'deferredItems' => array( ), 'recsPerRow' => 1 ) ), 'items' => array( 'logo' => array( 'type' => 'logo' ), @@ -144,36 +124,14 @@ array( 'cell' => 'c2' ) ), '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', +'linkTable' => 'Eoc', 'linkPage' => 'list', -'linkText' => array( 'table' => 'chat_agent', +'linkText' => array( 'table' => 'Eoc', 'type' => 6 ), -'linkIcon' => array( 'glyph' => 'hand-right' ), -'linkComments' => array( 'text' => 'Chat Agent description', +'linkIcon' => array( 'glyph' => 'calendar' ), +'linkComments' => array( 'text' => 'Eoc description', 'type' => 0 ), -'background' => '#778899', +'background' => '#008B8B', 'linkType' => 0 ) ), 'dbProps' => array( ), 'version' => 14, diff --git a/php/include/pages/eoc_add.php b/php/include/pages/eoc_add.php new file mode 100644 index 0000000000000000000000000000000000000000..adcee5a8afe6c6080ca615430a93d1f43d3469f1 --- /dev/null +++ b/php/include/pages/eoc_add.php @@ -0,0 +1,175 @@ + array( 'captcha' => false ), +'fields' => array( 'gridFields' => array( 'name' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'name' => array( 'integrated_edit_field' ) ) ), +'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' ) ), +'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' ), +'itemLocations' => array( 'integrated_edit_field' => 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' ), +'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' ), +'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' ) ) ), +'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' => 'name', +'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/eoc_edit.php b/php/include/pages/eoc_edit.php new file mode 100644 index 0000000000000000000000000000000000000000..4c38f43c180ef49f8ecadd1ce4725e182394ffb5 --- /dev/null +++ b/php/include/pages/eoc_edit.php @@ -0,0 +1,186 @@ + array( 'captcha' => false ), +'fields' => array( 'gridFields' => array( 'name' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'updateOnEditFields' => array( ), +'fieldItems' => array( 'name' => array( 'integrated_edit_field' ) ) ), +'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' ) ), +'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' ), +'itemLocations' => array( 'integrated_edit_field' => 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' ), +'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' ), +'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' ) ) ), +'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' => 'name', +'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/eoc_export.php b/php/include/pages/eoc_export.php new file mode 100644 index 0000000000000000000000000000000000000000..9489462b56cb93e7962c91a5ba87564f6ffbe7d2 --- /dev/null +++ b/php/include/pages/eoc_export.php @@ -0,0 +1,114 @@ + array( 'id' => array( 'totalsType' => '' ), +'name' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'name' ), +'exportFields' => array( 'id', +'name' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'export_field' ), +'name' => array( 'export_field1' ) ) ), +'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' ), +'footer' => array( 'export_export', +'export_cancel' ) ), +'formXtTags' => array( 'supertop' => array( ) ), +'itemForms' => array( 'export_header' => 'top', +'export_field' => 'grid', +'export_field1' => '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' ) ), +'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' ) ) ), +'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' => 'name', +'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/eoc_import.php b/php/include/pages/eoc_import.php new file mode 100644 index 0000000000000000000000000000000000000000..265f646152631921b31dfb34bf95d6d322846401 --- /dev/null +++ b/php/include/pages/eoc_import.php @@ -0,0 +1,79 @@ + array( 'gridFields' => array( 'id', +'name' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'import_field' ), +'name' => array( 'import_field1' ) ) ), +'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' ) ), +'formXtTags' => array( 'supertop' => array( ) ), +'itemForms' => array( 'import_header' => 'top', +'import_field' => 'grid', +'import_field1' => 'grid' ), +'itemLocations' => array( ), +'itemVisiblity' => array( ) ), +'itemsByType' => array( 'import_header' => array( 'import_header' ), +'import_field' => array( 'import_field', +'import_field1' ) ), +'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' ) ) ), +'deferredItems' => array( ), +'recsPerRow' => 1 ) ), +'items' => array( 'import_header' => array( 'type' => 'import_header' ), +'import_field' => array( 'field' => 'id', +'type' => 'import_field' ), +'import_field1' => array( 'field' => 'name', +'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/eoc_list.php b/php/include/pages/eoc_list.php new file mode 100644 index 0000000000000000000000000000000000000000..61d96c509b84ed5eace6da10957c1898c6d76376 --- /dev/null +++ b/php/include/pages/eoc_list.php @@ -0,0 +1,448 @@ + 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' => '' ), +'name' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'name' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( 'id', +'name' ), +'filterFields' => array( ), +'inlineAddFields' => array( ), +'inlineEditFields' => array( ), +'fieldItems' => array( 'id' => array( 'simple_grid_field', +'simple_grid_field2' ), +'name' => array( 'simple_grid_field1', +'simple_grid_field3' ) ), +'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_field2', +'simple_grid_field', +'simple_grid_field3', +'simple_grid_field1', +'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_field2' => 'grid', +'simple_grid_field' => 'grid', +'simple_grid_field3' => 'grid', +'simple_grid_field1' => 'grid', +'grid_checkbox_head' => 'grid', +'grid_checkbox' => 'grid', +'grid_edit' => 'grid', +'grid_view' => 'grid' ), +'itemLocations' => array( 'simple_grid_field2' => array( 'location' => 'grid', +'cellId' => 'headcell_field' ), +'simple_grid_field' => array( 'location' => 'grid', +'cellId' => 'cell_field' ), +'simple_grid_field3' => array( 'location' => 'grid', +'cellId' => 'headcell_field1' ), +'simple_grid_field1' => array( 'location' => 'grid', +'cellId' => 'cell_field1' ), +'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' ), +'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' ), +'grid_field_label' => array( 'simple_grid_field2', +'simple_grid_field3' ), +'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_field2' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field1' => array( 'cols' => array( 3 ), +'rows' => array( 0 ), +'tags' => array( 'name_fieldheadercolumn' ), +'items' => array( 'simple_grid_field3' ), +'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( 'name_fieldcolumn' ), +'items' => array( 'simple_grid_field1' ), +'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 ) ), +'width' => 4, +'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( 'section' => 'body', +'cells' => array( array( 'cell' => 'cell_icons' ), +array( 'cell' => 'cell_checkbox' ), +array( 'cell' => 'cell_field' ), +array( 'cell' => 'cell_field1' ) ) ), +array( 'section' => 'foot', +'cells' => array( array( 'cell' => 'footcell_icons' ), +array( 'cell' => 'footcell_checkbox' ), +array( 'cell' => 'footcell_field' ), +array( 'cell' => 'footcell_field1' ) ) ) ), +'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field2' ), +'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_field3' ), +'field' => 'name', +'columnName' => 'field' ), +'cell_field1' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field1' ), +'field' => 'name', +'columnName' => 'field' ), +'footcell_field1' => 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_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' => 'name', +'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_field2' => array( 'type' => 'grid_field_label', +'field' => 'id' ), +'simple_grid_field1' => array( 'field' => 'name', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field3' => array( 'type' => 'grid_field_label', +'field' => 'name' ), +'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/eoc_print.php b/php/include/pages/eoc_print.php new file mode 100644 index 0000000000000000000000000000000000000000..a52def937a73d56b21e85db6bad2e2e3968993ac --- /dev/null +++ b/php/include/pages/eoc_print.php @@ -0,0 +1,186 @@ + array( 'pdfView' => false ), +'totals' => array( 'id' => array( 'totalsType' => '' ), +'name' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'name' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'simple_grid_field', +'simple_grid_field2' ), +'name' => array( 'simple_grid_field1', +'simple_grid_field3' ) ), +'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_field2', +'simple_grid_field', +'simple_grid_field3', +'simple_grid_field1' ) ), +'formXtTags' => array( 'above-grid' => array( 'print_pages' ), +'below-grid' => array( ) ), +'itemForms' => array( 'print_pages' => 'above-grid', +'print_header' => 'top', +'print_subheader' => 'top', +'simple_grid_field2' => 'grid', +'simple_grid_field' => 'grid', +'simple_grid_field3' => 'grid', +'simple_grid_field1' => 'grid' ), +'itemLocations' => array( 'simple_grid_field2' => array( 'location' => 'grid', +'cellId' => 'headcell_field' ), +'simple_grid_field' => array( 'location' => 'grid', +'cellId' => 'cell_field' ), +'simple_grid_field3' => array( 'location' => 'grid', +'cellId' => 'headcell_field1' ), +'simple_grid_field1' => array( 'location' => 'grid', +'cellId' => 'cell_field1' ) ), +'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' ), +'grid_field_label' => array( 'simple_grid_field2', +'simple_grid_field3' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'headcell_field' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( 'id_fieldheadercolumn' ), +'items' => array( 'simple_grid_field2' ), +'fixedAtServer' => false, +'fixedAtClient' => false ), +'headcell_field1' => array( 'cols' => array( 1 ), +'rows' => array( 0 ), +'tags' => array( 'name_fieldheadercolumn' ), +'items' => array( 'simple_grid_field3' ), +'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( 'name_fieldcolumn' ), +'items' => array( 'simple_grid_field1' ), +'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 ) ), +'width' => 2, +'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( 'section' => 'body', +'cells' => array( array( 'cell' => 'cell_field' ), +array( 'cell' => 'cell_field1' ) ) ), +array( 'section' => 'foot', +'cells' => array( array( 'cell' => 'footcell_field' ), +array( 'cell' => 'footcell_field1' ) ) ) ), +'cells' => array( 'headcell_field' => array( 'model' => 'headcell_field', +'items' => array( 'simple_grid_field2' ), +'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_field3' ), +'field' => 'name', +'columnName' => 'field' ), +'cell_field1' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field1' ), +'field' => 'name', +'columnName' => 'field' ), +'footcell_field1' => 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_field2' => array( 'type' => 'grid_field_label', +'field' => 'id' ), +'simple_grid_field1' => array( 'field' => 'name', +'type' => 'grid_field' ), +'simple_grid_field3' => array( 'type' => 'grid_field_label', +'field' => 'name' ) ), +'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/eoc_search.php b/php/include/pages/eoc_search.php new file mode 100644 index 0000000000000000000000000000000000000000..c9c58c68256157a709e5b854b0970806c58903d4 --- /dev/null +++ b/php/include/pages/eoc_search.php @@ -0,0 +1,123 @@ + array( 'gridFields' => array( 'id', +'name' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_search_field' ), +'name' => array( 'integrated_search_field1' ) ) ), +'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' ) ), +'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' ), +'itemLocations' => array( 'integrated_search_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_search_field1' => 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' ) ), +'cellMaps' => array( 'grid' => array( 'cells' => array( 'c3' => array( 'cols' => array( 0 ), +'rows' => array( 0 ), +'tags' => array( ), +'items' => array( 'integrated_search_field', +'integrated_search_field1' ), +'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' ) ) ), +'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' => 'name', +'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/eoc_view.php b/php/include/pages/eoc_view.php new file mode 100644 index 0000000000000000000000000000000000000000..f0007e7be927bfdd0c60f784198a3ec93477c750 --- /dev/null +++ b/php/include/pages/eoc_view.php @@ -0,0 +1,186 @@ + array( 'pdfView' => false ), +'fields' => array( 'gridFields' => array( 'id', +'name' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_edit_field' ), +'name' => array( 'integrated_edit_field1' ) ) ), +'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' ) ), +'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' ), +'itemLocations' => array( 'integrated_edit_field' => array( 'location' => 'grid', +'cellId' => 'c3' ), +'integrated_edit_field1' => 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' ), +'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' ), +'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' ) ) ), +'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' => 'name', +'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/pages.json b/php/include/pages/pages.json index c7375f9a0a726186f2d05d0083731b179e5f0d9f..b4b38784142da668e90864566c1975e7005bf823 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"]},"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 +{"":{"changepwd":["changepwd_Chat1"],"changepwd_success":["changepwd_success_Chat1"],"login":["login_Chat1"],"menu":["menu_Chat1"],"userinfo":["userinfo_Chat1"]},"Eoc":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"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 diff --git a/php/pdf/eoc_print.json b/php/pdf/eoc_print.json new file mode 100644 index 0000000000000000000000000000000000000000..2964960958a4f337faaeefef967b5650d3c81fd6 --- /dev/null +++ b/php/pdf/eoc_print.json @@ -0,0 +1,444 @@ + +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 Eoc}', + }, + {END embedded_grid_caption} + {BEGIN embedded_page_title} + { + text: '{$jspagetitlelabel Eoc 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} + ], + 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 Eoc 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 Eoc id }","hidden":"{$item_hide_simple_grid_field2}","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: 'name', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel Eoc name }","hidden":"{$item_hide_simple_grid_field3}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$name_align}', + + + }, + +{END cellblock_grid_headcell_field1} + ], + {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: 'name', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$name_pdfvalue},"hidden":"{$item_hide_simple_grid_field1}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$name_align}', + + + }, + +{END cellblock_grid_cell_field1} + ], + {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} + ], + {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/eoc_view.json b/php/pdf/eoc_view.json new file mode 100644 index 0000000000000000000000000000000000000000..2739e234f17912db390ae924c14e5aa5a868ff92 --- /dev/null +++ b/php/pdf/eoc_view.json @@ -0,0 +1,267 @@ + +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 Eoc 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 Eoc id }","bold":true},{"text":{$id_pdfvalue}}],"margin":[0,0,0,15]}, + + + {"hidden":"{$item_hide_integrated_edit_field1}","stack":[{"text":"{$jslabel Eoc name }","bold":true},{"text":{$name_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 c12201c8d853054339f4b580602e8890f3c84c36..0e00d667c216be23ceb4428e12e52bf12b1a1f99 100644 --- a/php/styles/pages/_global_menu_Chat1.css +++ b/php/styles/pages/_global_menu_Chat1.css @@ -2,13 +2,7 @@ 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; + background-color: #008B8B; } [data-page="_global_menu_Chat1"][data-itemid="page_image_ash8f23hr"] { width: 400px; diff --git a/php/styles/pages/eoc_add.css b/php/styles/pages/eoc_add.css new file mode 100644 index 0000000000000000000000000000000000000000..f04c8775e89c1af93d48c43c64552ce4bbf01eff --- /dev/null +++ b/php/styles/pages/eoc_add.css @@ -0,0 +1,5 @@ +[data-page="eoc_add"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/eoc_edit.css b/php/styles/pages/eoc_edit.css new file mode 100644 index 0000000000000000000000000000000000000000..590f031e01b636bcbc803f6f0142e18a427f767e --- /dev/null +++ b/php/styles/pages/eoc_edit.css @@ -0,0 +1,5 @@ +[data-page="eoc_edit"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/eoc_export.css b/php/styles/pages/eoc_export.css new file mode 100644 index 0000000000000000000000000000000000000000..cacb7708222df4e4f5159450cb53c60a44d1ddd0 --- /dev/null +++ b/php/styles/pages/eoc_export.css @@ -0,0 +1,11 @@ +[data-cellid="footer_c1"][data-page="eoc_export"][data-cellid="footer_c1"][data-page="eoc_export"][data-cellid="footer_c1"][data-page="eoc_export"] { + width: 33.33333333%; +} +[data-cellid="footer_c2"][data-page="eoc_export"][data-cellid="footer_c2"][data-page="eoc_export"][data-cellid="footer_c2"][data-page="eoc_export"] { + width: 66.66666667%; +} +[data-page="eoc_export"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/eoc_import.css b/php/styles/pages/eoc_import.css new file mode 100644 index 0000000000000000000000000000000000000000..419bebbd972a43b6975b7226ad938d8192e2c35e --- /dev/null +++ b/php/styles/pages/eoc_import.css @@ -0,0 +1,5 @@ +[data-page="eoc_import"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/eoc_list.css b/php/styles/pages/eoc_list.css new file mode 100644 index 0000000000000000000000000000000000000000..3d1f85eaf8c1744f897106207a51d6a41110ba43 --- /dev/null +++ b/php/styles/pages/eoc_list.css @@ -0,0 +1,20 @@ +[data-cellid="grid_footcell_field"][data-page="eoc_list"][data-cellid="grid_footcell_field"][data-page="eoc_list"][data-cellid="grid_footcell_field"][data-page="eoc_list"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field1"][data-page="eoc_list"][data-cellid="grid_footcell_field1"][data-page="eoc_list"][data-cellid="grid_footcell_field1"][data-page="eoc_list"] { + white-space: nowrap; +} +[data-cellid="grid_headcell_checkbox"][data-page="eoc_list"][data-cellid="grid_headcell_checkbox"][data-page="eoc_list"][data-cellid="grid_headcell_checkbox"][data-page="eoc_list"] { + width: 30px; +} +[data-cellid="grid_headcell_icons"][data-page="eoc_list"][data-cellid="grid_headcell_icons"][data-page="eoc_list"][data-cellid="grid_headcell_icons"][data-page="eoc_list"] { + width: 30px; +} +[data-cellid="grid_cell_icons"][data-page="eoc_list"][data-cellid="grid_cell_icons"][data-page="eoc_list"][data-cellid="grid_cell_icons"][data-page="eoc_list"] { + white-space: nowrap; +} +[data-page="eoc_list"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/eoc_print.css b/php/styles/pages/eoc_print.css new file mode 100644 index 0000000000000000000000000000000000000000..1599847e8e09f1398d43a9d3746840db942cc4d6 --- /dev/null +++ b/php/styles/pages/eoc_print.css @@ -0,0 +1,11 @@ +[data-cellid="grid_footcell_field"][data-page="eoc_print"][data-cellid="grid_footcell_field"][data-page="eoc_print"][data-cellid="grid_footcell_field"][data-page="eoc_print"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field1"][data-page="eoc_print"][data-cellid="grid_footcell_field1"][data-page="eoc_print"][data-cellid="grid_footcell_field1"][data-page="eoc_print"] { + white-space: nowrap; +} +[data-page="eoc_print"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/eoc_search.css b/php/styles/pages/eoc_search.css new file mode 100644 index 0000000000000000000000000000000000000000..e6a83944cdb52c86bc65c5a4f65ba1612b98b325 --- /dev/null +++ b/php/styles/pages/eoc_search.css @@ -0,0 +1,5 @@ +[data-page="eoc_search"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/styles/pages/eoc_view.css b/php/styles/pages/eoc_view.css new file mode 100644 index 0000000000000000000000000000000000000000..05fa0333598088b22d16dee50f87f21efe2ddb5e --- /dev/null +++ b/php/styles/pages/eoc_view.css @@ -0,0 +1,5 @@ +[data-page="eoc_view"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/templates/_global_menu_Chat1.htm b/php/templates/_global_menu_Chat1.htm index 2f63848fe1dc549a9bdf3fb2ca83176b93eaac98..80355455c3582deb0b7941208a3ae1b9fd10d6f3 100644 --- a/php/templates/_global_menu_Chat1.htm +++ b/php/templates/_global_menu_Chat1.htm @@ -299,41 +299,15 @@ -
+
- Dashboard description
-
- - - -
- - - -
- Chat External description
-
- - - -
- - - -
- Chat Agent description
+ Eoc description
diff --git a/php/templates/eoc_add.htm b/php/templates/eoc_add.htm new file mode 100644 index 0000000000000000000000000000000000000000..4390d5c11b6bf60fdfd881abf2d528a3f28adc83 --- /dev/null +++ b/php/templates/eoc_add.htm @@ -0,0 +1,454 @@ + + + + + + {$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 Eoc 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 name_fieldblock} + + +
+ + +
+ {$name_editcontrol}
+
+
+ {$tooltip Eoc name }
+
+
+ + +{END name_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/eoc_edit.htm b/php/templates/eoc_edit.htm new file mode 100644 index 0000000000000000000000000000000000000000..1f58755e4814e519048f4a94a546dfd5cb39677d --- /dev/null +++ b/php/templates/eoc_edit.htm @@ -0,0 +1,476 @@ + + + + + + {$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 Eoc 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 name_fieldblock} + + +
+ + +
+ {$name_editcontrol}
+
+
+ {$tooltip Eoc name }
+
+
+ + +{END name_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/eoc_export.htm b/php/templates/eoc_export.htm new file mode 100644 index 0000000000000000000000000000000000000000..880946a7d5174cf0dbe0edb060623e70b28fb1b3 --- /dev/null +++ b/php/templates/eoc_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 Eoc 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/eoc_import.htm b/php/templates/eoc_import.htm new file mode 100644 index 0000000000000000000000000000000000000000..b9f7218a87cfa6b9aa3fee5355c16c84a23eabba --- /dev/null +++ b/php/templates/eoc_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 Eoc 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/eoc_list.htm b/php/templates/eoc_list.htm new file mode 100644 index 0000000000000000000000000000000000000000..3dc54d3e18c97c088ba203c7c4426c027746c956 --- /dev/null +++ b/php/templates/eoc_list.htm @@ -0,0 +1,959 @@ + + + + + + {$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_name} + + +
+ + + {$delCtrlButt} + + {$searchtype_name} + {$searchcontrol_name} + {$searchcontrol1_name} +
+ {END searchCtrlBlock_name} + + +
+ + +
+ +
+ + {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} + + + {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} + + + {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 checkbox_column} + + + +{END checkbox_column} + + + + + {BEGIN id_fieldheadercolumn} + {BEGIN id_fieldheader} + + + {$label Eoc id } + {$arrow_icon_id} + + + {END id_fieldheader} +{END id_fieldheadercolumn} + + + + + + {BEGIN name_fieldheadercolumn} + {BEGIN name_fieldheader} + + + {$label Eoc name } + {$arrow_icon_name} + + + {END name_fieldheader} +{END name_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 name_fieldcolumn} + +{$name_value} + +{END name_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/eoc_print.htm b/php/templates/eoc_print.htm new file mode 100644 index 0000000000000000000000000000000000000000..3194ceca7109eeb82cfaec9b152d28e4a02fa862 --- /dev/null +++ b/php/templates/eoc_print.htm @@ -0,0 +1,260 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + + {$locking} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel Eoc 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} + + + {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} + + + + {END grid_row} + + + + {BEGIN cellblock_grid_footcell_field} + + {END cellblock_grid_footcell_field} + {BEGIN cellblock_grid_footcell_field1} + + {END cellblock_grid_footcell_field1} + + + +
+ + + {BEGIN id_fieldheadercolumn} + + + {$label Eoc id } + + +{END id_fieldheadercolumn} + + + + + + {BEGIN name_fieldheadercolumn} + + + {$label Eoc name } + + +{END name_fieldheadercolumn} + + +
+ + + {BEGIN id_fieldcolumn} + +{$id_value} + +{END id_fieldcolumn} + + + + {BEGIN name_fieldcolumn} + +{$name_value} + +{END name_fieldcolumn} +
+ + + + + +
+{END grid_block} + {BEGIN below-grid_block} +
+ +
+ +
+
+
+{END below-grid_block} +
+ {$footer} + {END body} + + diff --git a/php/templates/eoc_search.htm b/php/templates/eoc_search.htm new file mode 100644 index 0000000000000000000000000000000000000000..2bb9d014fd8c3e7daefe4f94f4d7ed3e07a573eb --- /dev/null +++ b/php/templates/eoc_search.htm @@ -0,0 +1,194 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + + {$locking} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel Eoc 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 name_fieldblock} + +
+ + + +
+ {$searchtype_name} +
+
+ {$name_editcontrol}
+
+ {$name_editcontrol1} +
+ +
+ +{END name_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/eoc_view.htm b/php/templates/eoc_view.htm new file mode 100644 index 0000000000000000000000000000000000000000..89d34e65107acea1aef410e1e5b5072b25fb5b92 --- /dev/null +++ b/php/templates/eoc_view.htm @@ -0,0 +1,465 @@ + + + + + + {$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 Eoc 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 name_fieldblock} + + +
+ + + +
+ {$name_value}
+ + +
+ + +{END name_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} + +