diff --git a/php/public/admin_rights_list.php b/php/public/admin_rights_list.php index 7f9c1b137661952319ed017989346fc87a9264d4..9009ede06914aabf426c49a61a509dc19323c2f8 100644 --- a/php/public/admin_rights_list.php +++ b/php/public/admin_rights_list.php @@ -183,6 +183,23 @@ if( pageEnabled($table, 'print') || pageEnabled($table, 'rprint') || pageEnabled $pageMask[$table] = $mask; $tables[$table] = array("chat_external", " " . "Chat External"); +$table = "agett_prompt"; +$mask=""; +if( pageEnabled($table, 'add') || pageEnabled($table, 'inline_add') ) + $mask .= "A"; +if( pageEnabled($table, 'edit') || pageEnabled($table, 'inline_edit') ) + $mask .= "E"; +if( pageEnabled($table, 'delete') ) + $mask .= "D"; +if( pageEnabled($table, 'import') ) + $mask .= "I"; +if( pageEnabled($table, 'view') || pageEnabled($table, 'list') || pageEnabled($table, 'chart') || pageEnabled($table, 'report') || pageEnabled($table, 'dashboard') ) + $mask .= "S"; +if( pageEnabled($table, 'print') || pageEnabled($table, 'rprint') || pageEnabled($table, 'export') ) + $mask .= "P"; + +$pageMask[$table] = $mask; +$tables[$table] = array("agett_prompt", " " . "Agett Prompt"); if ( pageEnabled(GLOBAL_PAGES, 'menu') ) $pageMask[GLOBAL_PAGES] = "S"; diff --git a/php/public/agett_prompt_add.php b/php/public/agett_prompt_add.php new file mode 100644 index 0000000000000000000000000000000000000000..d67b90ac263b0eb08fec74999aa9de912d8ea246 --- /dev/null +++ b/php/public/agett_prompt_add.php @@ -0,0 +1,108 @@ +init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/public/agett_prompt_edit.php b/php/public/agett_prompt_edit.php new file mode 100644 index 0000000000000000000000000000000000000000..01ac05052faa5274c14fe8c1a294a1ec965e6af9 --- /dev/null +++ b/php/public/agett_prompt_edit.php @@ -0,0 +1,107 @@ +isLockingRequest() ) +{ + $pageObject->doLockingAction(); + exit(); +} + +$pageObject->init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/public/agett_prompt_export.php b/php/public/agett_prompt_export.php new file mode 100644 index 0000000000000000000000000000000000000000..497182536bdf26977a2b7f9cfadc22f05a8bbe31 --- /dev/null +++ b/php/public/agett_prompt_export.php @@ -0,0 +1,53 @@ +init(); + +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/public/agett_prompt_import.php b/php/public/agett_prompt_import.php new file mode 100644 index 0000000000000000000000000000000000000000..a847acb9dc4c065bbb1cdb10567646e2a6168861 --- /dev/null +++ b/php/public/agett_prompt_import.php @@ -0,0 +1,53 @@ +init(); + +$pageObject->process(); + +?> \ No newline at end of file diff --git a/php/public/agett_prompt_list.php b/php/public/agett_prompt_list.php new file mode 100644 index 0000000000000000000000000000000000000000..3619ab08457dfd7b24584f179510786294e7c979 --- /dev/null +++ b/php/public/agett_prompt_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/public/agett_prompt_print.php b/php/public/agett_prompt_print.php new file mode 100644 index 0000000000000000000000000000000000000000..ea56f192c385b7eebdf5da28173590c4427512f4 --- /dev/null +++ b/php/public/agett_prompt_print.php @@ -0,0 +1,46 @@ +init(); +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/public/agett_prompt_search.php b/php/public/agett_prompt_search.php new file mode 100644 index 0000000000000000000000000000000000000000..f5d38eb34d17f428b7cb9fba3bc668e0a1ffac0b --- /dev/null +++ b/php/public/agett_prompt_search.php @@ -0,0 +1,95 @@ +displaySearchControl(); + return; +} + +$pageObject->init(); +$pageObject->process(); +?> \ No newline at end of file diff --git a/php/public/agett_prompt_view.php b/php/public/agett_prompt_view.php new file mode 100644 index 0000000000000000000000000000000000000000..3b557f3dc139d49155ac85b73084e869278ee429 --- /dev/null +++ b/php/public/agett_prompt_view.php @@ -0,0 +1,67 @@ +init(); + +$pageObject->process(); + +?> \ No newline at end of file diff --git a/php/public/classes/charts.php b/php/public/classes/charts.php index ed4e7032d19156fc552f2cfb08a3e8347ec94bcd..f014c9e9026ef6cd3b114610898f18e8fb7a6bab 100644 --- a/php/public/classes/charts.php +++ b/php/public/classes/charts.php @@ -404,6 +404,8 @@ class Chart return true; if("chat_external" == $this->chrt_array['tables'][0]) return true; + if("agett_prompt" == $this->chrt_array['tables'][0]) + return true; return false; } diff --git a/php/public/classes/crosstable_webreport.php b/php/public/classes/crosstable_webreport.php index 1cbf2780976a5c7c5bde9f068741d99496edd7c5..44504183878b09ba6d558513ff91e0a24759e0c3 100644 --- a/php/public/classes/crosstable_webreport.php +++ b/php/public/classes/crosstable_webreport.php @@ -1407,6 +1407,8 @@ class CrossTableWebReport $isDB = true; if("chat_external" == $this->xml_array['tables'][0]) $isDB = true; + if("agett_prompt" == $this->xml_array['tables'][0]) + $isDB = true; return $isDB; } diff --git a/php/public/classes/db.php b/php/public/classes/db.php index d64d64582c2ce72d7dabf4cd6de8e33619a74422..d4c8c91fa632201e5ae5c657402bc8bacbf00e2a 100644 --- a/php/public/classes/db.php +++ b/php/public/classes/db.php @@ -359,6 +359,7 @@ class DB $dalTables[$conn->connId][] = array("name" => "_DIA_DA_COLOR", "varname" => "chats_at_localhost___DIA_DA_COLOR", "altvarname" => "_DIA_DA_COLOR", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $dalTables[$conn->connId][] = array("name" => "_DIA_DA_CUT", "varname" => "chats_at_localhost___DIA_DA_CUT", "altvarname" => "_DIA_DA_CUT", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $dalTables[$conn->connId][] = array("name" => "_DIA_DA_FLUO", "varname" => "chats_at_localhost___DIA_DA_FLUO", "altvarname" => "_DIA_DA_FLUO", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); + $dalTables[$conn->connId][] = array("name" => "agett_prompt", "varname" => "chats_at_localhost__agett_prompt", "altvarname" => "agett_prompt", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $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" => "Chat2uggroups", "varname" => "chats_at_localhost__Chat2uggroups", "altvarname" => "Chat2uggroups", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $dalTables[$conn->connId][] = array("name" => "Chat2ugmembers", "varname" => "chats_at_localhost__Chat2ugmembers", "altvarname" => "Chat2ugmembers", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); diff --git a/php/public/classes/projectsettings.php b/php/public/classes/projectsettings.php index e60e65b5eec2df19bb67072555c4ec19c221fdc0..a3e9fefae1a9356572a5484d3f55a4190b567e3e 100644 --- a/php/public/classes/projectsettings.php +++ b/php/public/classes/projectsettings.php @@ -3604,6 +3604,8 @@ function fillProjectEntites() $projectEntitiesReverse[ "chat_agent" ] = "chat_agent"; $projectEntities[ "chat_external" ] = array( "url" => "chat_external", "type" => 0 ); $projectEntitiesReverse[ "chat_external" ] = "chat_external"; + $projectEntities[ "agett_prompt" ] = array( "url" => "agett_prompt", "type" => 0 ); + $projectEntitiesReverse[ "agett_prompt" ] = "agett_prompt"; } function findTable( $table ) { diff --git a/php/public/connections/ConnectionManager_base.php b/php/public/connections/ConnectionManager_base.php index 7b955fba0a7ac88694db4385604f80cf73a4952e..fd73f5c19eafb60b3be33f2dd4a092bb0ec5ecd1 100644 --- a/php/public/connections/ConnectionManager_base.php +++ b/php/public/connections/ConnectionManager_base.php @@ -256,6 +256,7 @@ class ConnectionManager_Base $connectionsIds["admin_users"] = "chats_at_localhost"; $connectionsIds["chat_agent"] = "chats_at_localhost"; $connectionsIds["chat_external"] = "chats_at_localhost"; + $connectionsIds["agett_prompt"] = "chats_at_localhost"; $this->_tablesConnectionIds = &$connectionsIds; } diff --git a/php/public/include/agett_prompt_settings.php b/php/public/include/agett_prompt_settings.php new file mode 100644 index 0000000000000000000000000000000000000000..6c8362dc49f1c63ceec42ebb346a11cb5c6973f5 --- /dev/null +++ b/php/public/include/agett_prompt_settings.php @@ -0,0 +1,684 @@ + ""); + + + + + + + + + + + + + + + + $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 + + + $tdataagett_prompt["id"] = $fdata; + $tdataagett_prompt[".searchableFields"][] = "id"; +// prompt +// Custom field settings + $fdata = array(); + $fdata["Index"] = 2; + $fdata["strName"] = "prompt"; + $fdata["GoodName"] = "prompt"; + $fdata["ownerTable"] = "agett_prompt"; + $fdata["Label"] = GetFieldLabel("agett_prompt","prompt"); + $fdata["FieldType"] = 201; + + + + + + + $fdata["strField"] = "prompt"; + + $fdata["sourceSingle"] = "prompt"; + + + $fdata["isSQLExpression"] = true; + $fdata["FullName"] = "prompt"; + + + + $fdata["UploadFolder"] = "files"; + +// Begin View Formats + $fdata["ViewFormats"] = array(); + + $vdata = array("ViewFormat" => ""); + + + + + + + + + + + + + + + + $vdata["NeedEncode"] = true; + + + $vdata["truncateText"] = true; + $vdata["NumberOfChars"] = 80; + + $fdata["ViewFormats"]["view"] = $vdata; +// End View Formats + +// Begin Edit Formats + $fdata["EditFormats"] = array(); + + $edata = array("EditFormat" => "Text area"); + + + $edata["weekdayMessage"] = array("message" => "", "messageType" => "Text"); + $edata["weekdays"] = "[]"; + + + + + + + + + + + + $edata["acceptFileTypesHtml"] = ""; + + $edata["maxNumberOfFiles"] = 0; + + + + + $edata["nRows"] = 100; + $edata["nCols"] = 200; + + + + $edata["controlWidth"] = 200; + +// Begin validation + $edata["validateAs"] = array(); + $edata["validateAs"]["basicValidate"] = array(); + $edata["validateAs"]["customMessages"] = array(); + + +// End validation + + $edata["CreateThumbnail"] = true; + $edata["StrThumbnail"] = "th"; + $edata["ThumbnailSize"] = 600; + + + + + + $fdata["EditFormats"]["edit"] = $edata; +// End Edit Formats + + + $fdata["isSeparate"] = false; + + + + +// the field's search options settings + $fdata["defaultSearchOption"] = "Contains"; + + // the default search options list + $fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY); +// the end of search options settings + + +//Filters settings + $fdata["filterTotals"] = 0; + $fdata["filterMultiSelect"] = 0; + $fdata["filterFormat"] = "Values list"; + $fdata["showCollapsed"] = false; + + $fdata["sortValueType"] = 0; + $fdata["numberOfVisibleItems"] = 10; + + $fdata["filterBy"] = 0; + + + + + +//end of Filters settings + + + $tdataagett_prompt["prompt"] = $fdata; + $tdataagett_prompt[".searchableFields"][] = "prompt"; + + +$tables_data["agett_prompt"]=&$tdataagett_prompt; +$field_labels["agett_prompt"] = &$fieldLabelsagett_prompt; +$fieldToolTips["agett_prompt"] = &$fieldToolTipsagett_prompt; +$placeHolders["agett_prompt"] = &$placeHoldersagett_prompt; +$page_titles["agett_prompt"] = &$pageTitlesagett_prompt; + + +changeTextControlsToDate( "agett_prompt" ); + +// -----------------start prepare master-details data arrays ------------------------------// +// tables which are detail tables for current table (master) + +//if !@TABLE.bReportCrossTab + +$detailsTablesData["agett_prompt"] = array(); +//endif + +// tables which are master tables for current table (detail) +$masterTablesData["agett_prompt"] = array(); + + + +// -----------------end prepare master-details data arrays ------------------------------// + + + +require_once(getabspath("classes/sql.php")); + + + + + + + + + + + +function createSqlQuery_agett_prompt() +{ +$proto0=array(); +$proto0["m_strHead"] = "SELECT"; +$proto0["m_strFieldList"] = "id, prompt"; +$proto0["m_strFrom"] = "FROM agett_prompt"; +$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" => "agett_prompt", + "m_srcTableName" => "agett_prompt" +)); + +$proto6["m_sql"] = "id"; +$proto6["m_srcTableName"] = "agett_prompt"; +$proto6["m_expr"]=$obj; +$proto6["m_alias"] = ""; +$obj = new SQLFieldListItem($proto6); + +$proto0["m_fieldlist"][]=$obj; + $proto8=array(); + $obj = new SQLField(array( + "m_strName" => "prompt", + "m_strTable" => "agett_prompt", + "m_srcTableName" => "agett_prompt" +)); + +$proto8["m_sql"] = "prompt"; +$proto8["m_srcTableName"] = "agett_prompt"; +$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"] = "agett_prompt"; +$proto11["m_srcTableName"] = "agett_prompt"; +$proto11["m_columns"] = array(); +$proto11["m_columns"][] = "id"; +$proto11["m_columns"][] = "prompt"; +$obj = new SQLTable($proto11); + +$proto10["m_table"] = $obj; +$proto10["m_sql"] = "agett_prompt"; +$proto10["m_alias"] = ""; +$proto10["m_srcTableName"] = "agett_prompt"; +$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"]="agett_prompt"; +$obj = new SQLQuery($proto0); + + return $obj; +} +$queryData_agett_prompt = createSqlQuery_agett_prompt(); + + + + ; + + + +$tdataagett_prompt[".sqlquery"] = $queryData_agett_prompt; + + + +$tdataagett_prompt[".hasEvents"] = false; + +?> \ No newline at end of file diff --git a/php/public/include/agett_prompt_variables.php b/php/public/include/agett_prompt_variables.php new file mode 100644 index 0000000000000000000000000000000000000000..05188a2fe46e00b51faf3565fb9e7bfbf3d1378f --- /dev/null +++ b/php/public/include/agett_prompt_variables.php @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/php/public/include/appsettings.php b/php/public/include/appsettings.php index 79e3137e2d41cf828aeb0721b73a0fba7fb6925b..51142a0922413c58eb8a8524237f9aec8dfaa729 100644 --- a/php/public/include/appsettings.php +++ b/php/public/include/appsettings.php @@ -792,9 +792,9 @@ $suggestAllContent = true; $strLastSQL = ""; $showCustomMarkerOnPrint = false; -$projectBuildKey = "3652_1721575288"; +$projectBuildKey = "3653_1721575288"; $wizardBuildKey = "41974"; -$projectBuildNumber = "3652"; +$projectBuildNumber = "3653"; $mlang_messages = array(); $mlang_charsets = array(); @@ -833,6 +833,7 @@ $tableCaptions["English"]["admin_members"] = "Admin Members"; $tableCaptions["English"]["admin_users"] = "Admin Users"; $tableCaptions["English"]["chat_agent"] = "Chat Agent"; $tableCaptions["English"]["chat_external"] = "Chat External"; +$tableCaptions["English"]["agett_prompt"] = "Agett Prompt"; $globalEvents = new class_GlobalEvents; diff --git a/php/public/include/audit.php b/php/public/include/audit.php index d09156fd07cad26ddabde0d42d2f17865180a94e..afe1a219e80fc1f858d4a5dee32ea62f5f4a3021 100644 --- a/php/public/include/audit.php +++ b/php/public/include/audit.php @@ -408,6 +408,10 @@ class AuditTrailTable { return false; } + if($table=="agett_prompt") + { + return false; + } } protected function insert($datetime, $ip, $user, $table, $action, $description) @@ -768,6 +772,10 @@ class AuditTrailFile { return false; } + if($table=="agett_prompt") + { + return false; + } } protected function getMaxLengthSubstr( $value ) diff --git a/php/public/include/commonfunctions.php b/php/public/include/commonfunctions.php index e60622e19e60c964783cff24093c18b05869ec93..39d01b0285fb5481d8f1d764584ce6e8945ec66f 100644 --- a/php/public/include/commonfunctions.php +++ b/php/public/include/commonfunctions.php @@ -229,6 +229,8 @@ function checkTableName($shortTName ) return true; if ("chat_external" == $shortTName ) return true; + if ("agett_prompt" == $shortTName ) + return true; return false; } @@ -396,6 +398,15 @@ function GetTablesList($pdfMode = false) if( $tableAvailable ) { $arr[]="chat_external"; } + $tableAvailable = true; + if( $checkPermissions ) { + $strPerm = GetUserPermissions("agett_prompt"); + $tableAvailable = ( strpos($strPerm, "P") !== false + || $pdfMode && strpos($strPerm, "S") !== false ); + } + if( $tableAvailable ) { + $arr[]="agett_prompt"; + } return $arr; } @@ -418,6 +429,7 @@ function GetTablesListWithoutSecurity() $arr[]="admin_users"; $arr[]="chat_agent"; $arr[]="chat_external"; + $arr[]="agett_prompt"; return $arr; } @@ -1159,6 +1171,15 @@ function GetUserPermissionsStatic( $table ) { return "ADESPI".$extraPerm; } +// default permissions + return "ADESPI".$extraPerm; + } + if( $table=="agett_prompt" ) + { + if( $sUserGroup=="admin" ) + { + return "ADESPI".$extraPerm; + } // default permissions return "ADESPI".$extraPerm; } diff --git a/php/public/include/dal.php b/php/public/include/dal.php index e71396c68e394e279e8bf616398dfea93e86a063..133a249e96fd134e1c088725983d829c21fcab1b 100644 --- a/php/public/include/dal.php +++ b/php/public/include/dal.php @@ -52,6 +52,7 @@ class tDAL var $tblchats_at_localhost___DIA_DA_COLOR; var $tblchats_at_localhost___DIA_DA_CUT; var $tblchats_at_localhost___DIA_DA_FLUO; + var $tblchats_at_localhost__agett_prompt; var $tblchats_at_localhost__chat126_users1; var $tblchats_at_localhost__Chat2uggroups; var $tblchats_at_localhost__Chat2ugmembers; @@ -88,6 +89,7 @@ class tDAL $this->lstTables[] = array("name" => "_DIA_DA_COLOR", "varname" => "chats_at_localhost___DIA_DA_COLOR", "altvarname" => "_DIA_DA_COLOR", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $this->lstTables[] = array("name" => "_DIA_DA_CUT", "varname" => "chats_at_localhost___DIA_DA_CUT", "altvarname" => "_DIA_DA_CUT", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $this->lstTables[] = array("name" => "_DIA_DA_FLUO", "varname" => "chats_at_localhost___DIA_DA_FLUO", "altvarname" => "_DIA_DA_FLUO", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); + $this->lstTables[] = array("name" => "agett_prompt", "varname" => "chats_at_localhost__agett_prompt", "altvarname" => "agett_prompt", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $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" => "Chat2uggroups", "varname" => "chats_at_localhost__Chat2uggroups", "altvarname" => "Chat2uggroups", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); $this->lstTables[] = array("name" => "Chat2ugmembers", "varname" => "chats_at_localhost__Chat2ugmembers", "altvarname" => "Chat2ugmembers", "connId" => "chats_at_localhost", "schema" => "", "connName" => "chats at localhost"); diff --git a/php/public/include/dal/chats_at_localhost__agett_prompt.php b/php/public/include/dal/chats_at_localhost__agett_prompt.php new file mode 100644 index 0000000000000000000000000000000000000000..9d640b4a496dc04fb50d0695f6e9f476925e007d --- /dev/null +++ b/php/public/include/dal/chats_at_localhost__agett_prompt.php @@ -0,0 +1,8 @@ +3,"varname"=>"id", "name" => "id", "autoInc" => "1"); +$dalTableagett_prompt["prompt"] = array("type"=>201,"varname"=>"prompt", "name" => "prompt", "autoInc" => "0"); +$dalTableagett_prompt["id"]["key"]=true; + +$dal_info["chats_at_localhost__agett_prompt"] = &$dalTableagett_prompt; +?> \ No newline at end of file diff --git a/php/public/include/menunodes_main.php b/php/public/include/menunodes_main.php index cc9881d2de457e6377a3638c2ab06ae534bdee65..a280a27ad9cdd6ed140fbec9cf0f73fba5ce111b 100644 --- a/php/public/include/menunodes_main.php +++ b/php/public/include/menunodes_main.php @@ -132,6 +132,32 @@ + $menuNodes[] = $menuNode; + $menuNode = array(); + $menuNode["id"] = "7"; + $menuNode["name"] = ""; + $menuNode["href"] = "mypage.htm"; + $menuNode["type"] = "Leaf"; + $menuNode["table"] = "agett_prompt"; + $menuNode["style"] = ""; + $menuNode["params"] = ""; + $menuNode["parent"] = "0"; + $menuNode["nameType"] = "Text"; + $menuNode["linkType"] = "Internal"; + $menuNode["pageType"] = strtolower("List");// + $menuNode["pageId"] = ""; + $menuNode["openType"] = "None"; + + $menuNode["icon"] = "glyphicon-hand-right"; + $menuNode["iconType"] = "2"; + $menuNode["iconShow"] = "2"; + + $menuNode["color"] = ""; + + $menuNode["title"] = "Agett Prompt"; + + + $menuNodes[] = $menuNode; $menuNodesCache[ "main" ] = $menuNodes; ?> \ No newline at end of file diff --git a/php/public/include/pages/_global_menu_Chat1.php b/php/public/include/pages/_global_menu_Chat1.php index fc9e5d6323420d68c01df4e342da6ed3828ebbc4..64264133062a0bc87fb22f25f4d16e757063d96d 100644 --- a/php/public/include/pages/_global_menu_Chat1.php +++ b/php/public/include/pages/_global_menu_Chat1.php @@ -28,6 +28,12 @@ 'linkType' => 0, 'items' => null, 'table' => 'chat_external', +'page' => 'list' ), +'welcome_item1' => array( 'menutItem' => true, +'group' => false, +'linkType' => 0, +'items' => null, +'table' => 'agett_prompt', 'page' => 'list' ) ) ), 'fields' => array( 'gridFields' => array( ), 'searchRequiredFields' => array( ), @@ -42,7 +48,8 @@ 'grid' => array( 'welcome_item', 'welcome_item2', 'welcome_item3', -'welcome_item4' ) ), +'welcome_item4', +'welcome_item1' ) ), 'formXtTags' => array( 'above-grid' => array( ) ), 'itemForms' => array( 'logo' => 'supertop', 'menu' => 'supertop', @@ -52,7 +59,8 @@ 'welcome_item' => 'grid', 'welcome_item2' => 'grid', 'welcome_item3' => 'grid', -'welcome_item4' => 'grid' ), +'welcome_item4' => 'grid', +'welcome_item1' => 'grid' ), 'itemLocations' => array( ), 'itemVisiblity' => array( 'menu' => 3, 'list_options' => 3, @@ -61,6 +69,7 @@ 'itemsByType' => array( 'logo' => array( 'logo' ), 'menu' => array( 'menu' ), 'welcome_item' => array( 'welcome_item', +'welcome_item1', 'welcome_item2', 'welcome_item3', 'welcome_item4' ), @@ -118,7 +127,8 @@ array( 'cell' => 'c2' ) ), 'items' => array( 'welcome_item', 'welcome_item2', 'welcome_item3', -'welcome_item4' ) ) ), +'welcome_item4', +'welcome_item1' ) ) ), 'deferredItems' => array( ), 'recsPerRow' => 1 ) ), 'items' => array( 'logo' => array( 'type' => 'logo' ), @@ -144,6 +154,17 @@ array( 'cell' => 'c2' ) ), 'popup' => false ), 'userinfo_link' => array( 'type' => 'userinfo_link' ), 'logout_link' => array( 'type' => 'logout_link' ), +'welcome_item1' => array( 'type' => 'welcome_item', +'linkUrl' => '', +'linkTable' => 'agett_prompt', +'linkPage' => 'list', +'linkText' => array( 'table' => 'agett_prompt', +'type' => 6 ), +'linkIcon' => array( 'glyph' => 'hand-right' ), +'linkComments' => array( 'text' => 'Agett Prompt description', +'type' => 0 ), +'background' => '#DAA520', +'linkType' => 0 ), 'welcome_item2' => array( 'type' => 'welcome_item', 'linkUrl' => '', 'linkTable' => '{04AFFBE6-86C0-47b0-ADD3-BA7FA19CA6FC}', diff --git a/php/public/include/pages/agett_prompt_add.php b/php/public/include/pages/agett_prompt_add.php new file mode 100644 index 0000000000000000000000000000000000000000..f0be7c74d770413b8509051637f6fb2ab92fdc6f --- /dev/null +++ b/php/public/include/pages/agett_prompt_add.php @@ -0,0 +1,178 @@ + array( 'captcha' => false ), +'fields' => array( 'gridFields' => array( 'prompt' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'prompt' => 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' ), +'adminarea_link' => array( 'adminarea_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', +'adminarea_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'adminarea_link' => array( 'type' => 'adminarea_link' ), +'expand_menu_button' => array( 'type' => 'expand_menu_button' ), +'collapse_button' => array( 'type' => 'collapse_button' ), +'integrated_edit_field' => array( 'field' => 'prompt', +'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/public/include/pages/agett_prompt_edit.php b/php/public/include/pages/agett_prompt_edit.php new file mode 100644 index 0000000000000000000000000000000000000000..39adebaccd8af74329c5a2280ee27b5157452b0e --- /dev/null +++ b/php/public/include/pages/agett_prompt_edit.php @@ -0,0 +1,189 @@ + array( 'captcha' => false ), +'fields' => array( 'gridFields' => array( 'prompt' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'updateOnEditFields' => array( ), +'fieldItems' => array( 'prompt' => 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' ), +'adminarea_link' => array( 'adminarea_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', +'adminarea_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'adminarea_link' => array( 'type' => 'adminarea_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' => 'prompt', +'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/public/include/pages/agett_prompt_export.php b/php/public/include/pages/agett_prompt_export.php new file mode 100644 index 0000000000000000000000000000000000000000..831f943e6d8e78a5363b6e0c79f958049ade7d70 --- /dev/null +++ b/php/public/include/pages/agett_prompt_export.php @@ -0,0 +1,114 @@ + array( 'id' => array( 'totalsType' => '' ), +'prompt' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'prompt' ), +'exportFields' => array( 'id', +'prompt' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'export_field' ), +'prompt' => 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' => 'prompt', +'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/public/include/pages/agett_prompt_import.php b/php/public/include/pages/agett_prompt_import.php new file mode 100644 index 0000000000000000000000000000000000000000..023a16738b48fb27073315164fd858285c3af9c0 --- /dev/null +++ b/php/public/include/pages/agett_prompt_import.php @@ -0,0 +1,79 @@ + array( 'gridFields' => array( 'id', +'prompt' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'import_field' ), +'prompt' => 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' => 'prompt', +'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/public/include/pages/agett_prompt_list.php b/php/public/include/pages/agett_prompt_list.php new file mode 100644 index 0000000000000000000000000000000000000000..03625480961d99e99afe572cae63491470aa522b --- /dev/null +++ b/php/public/include/pages/agett_prompt_list.php @@ -0,0 +1,451 @@ + 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' => '' ), +'prompt' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'prompt' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( 'id', +'prompt' ), +'filterFields' => array( ), +'inlineAddFields' => array( ), +'inlineEditFields' => array( ), +'fieldItems' => array( 'id' => array( 'simple_grid_field', +'simple_grid_field2' ), +'prompt' => 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' ), +'adminarea_link' => array( 'adminarea_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( 'prompt_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( 'prompt_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' => 'prompt', +'columnName' => 'field' ), +'cell_field1' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field1' ), +'field' => 'prompt', +'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' => 'prompt', +'type' => 'search_panel_field', +'required' => false ), +'username_button' => array( 'type' => 'username_button', +'items' => array( 'userinfo_link', +'logout_link', +'adminarea_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'adminarea_link' => array( 'type' => 'adminarea_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' => 'prompt', +'type' => 'grid_field', +'inlineAdd' => false, +'inlineEdit' => false ), +'simple_grid_field3' => array( 'type' => 'grid_field_label', +'field' => 'prompt' ), +'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/public/include/pages/agett_prompt_print.php b/php/public/include/pages/agett_prompt_print.php new file mode 100644 index 0000000000000000000000000000000000000000..f32fbbfb6dfd5e71b8ef9757879e524d00095e70 --- /dev/null +++ b/php/public/include/pages/agett_prompt_print.php @@ -0,0 +1,186 @@ + array( 'pdfView' => false ), +'totals' => array( 'id' => array( 'totalsType' => '' ), +'prompt' => array( 'totalsType' => '' ) ), +'fields' => array( 'gridFields' => array( 'id', +'prompt' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'simple_grid_field', +'simple_grid_field2' ), +'prompt' => 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( 'prompt_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( 'prompt_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' => 'prompt', +'columnName' => 'field' ), +'cell_field1' => array( 'model' => 'cell_field', +'items' => array( 'simple_grid_field1' ), +'field' => 'prompt', +'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' => 'prompt', +'type' => 'grid_field' ), +'simple_grid_field3' => array( 'type' => 'grid_field_label', +'field' => 'prompt' ) ), +'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/public/include/pages/agett_prompt_search.php b/php/public/include/pages/agett_prompt_search.php new file mode 100644 index 0000000000000000000000000000000000000000..5661dde92524111d04b006f7dc59fb722d904db9 --- /dev/null +++ b/php/public/include/pages/agett_prompt_search.php @@ -0,0 +1,123 @@ + array( 'gridFields' => array( 'id', +'prompt' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_search_field' ), +'prompt' => 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' => 'prompt', +'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/public/include/pages/agett_prompt_view.php b/php/public/include/pages/agett_prompt_view.php new file mode 100644 index 0000000000000000000000000000000000000000..0e1882053849df0f0641341da1f0e9ca6168ac63 --- /dev/null +++ b/php/public/include/pages/agett_prompt_view.php @@ -0,0 +1,189 @@ + array( 'pdfView' => false ), +'fields' => array( 'gridFields' => array( 'id', +'prompt' ), +'searchRequiredFields' => array( ), +'searchPanelFields' => array( ), +'fieldItems' => array( 'id' => array( 'integrated_edit_field' ), +'prompt' => 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' ), +'adminarea_link' => array( 'adminarea_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', +'adminarea_link' ) ), +'loginform_login' => array( 'type' => 'loginform_login', +'popup' => false ), +'userinfo_link' => array( 'type' => 'userinfo_link' ), +'logout_link' => array( 'type' => 'logout_link' ), +'adminarea_link' => array( 'type' => 'adminarea_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' => 'prompt', +'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/public/include/pages/pages.json b/php/public/include/pages/pages.json index 2d3a3c23ec2158f20777d341399e21f3ad436c1d..b7d83393293bb58dc4089b6aa4f1e95760bed22b 100644 --- a/php/public/include/pages/pages.json +++ b/php/public/include/pages/pages.json @@ -1 +1 @@ -{"":{"admin_members_list":["admin_members_list"],"admin_rights_list":["admin_rights_list"],"changepwd":["changepwd_Chat1"],"changepwd_success":["changepwd_success_Chat1"],"login":["login_Chat1"],"menu":["menu_Chat1"],"userinfo":["userinfo_Chat1"]},"admin_members":{"search":["search"]},"admin_users":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"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 +{"":{"admin_members_list":["admin_members_list"],"admin_rights_list":["admin_rights_list"],"changepwd":["changepwd_Chat1"],"changepwd_success":["changepwd_success_Chat1"],"login":["login_Chat1"],"menu":["menu_Chat1"],"userinfo":["userinfo_Chat1"]},"admin_members":{"search":["search"]},"admin_users":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"agett_prompt":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"chat126_users1":{"search":["search"]},"chat_agent":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"chat_external":{"add":["add"],"delete":[],"edit":["edit"],"export":["export"],"import":["import"],"list":["list"],"print":["print"],"search":["search"],"view":["view"]},"chat_files":{"list":["list"],"search":["search"]},"chat_groups":{"add":["add"],"edit":["edit"],"list":["list"],"search":["search"]},"chat_history":{"add":["add"],"search":["search"]},"chat_peopletype":{"search":["search"]},"chat_settings":{"edit":["edit"],"search":["search"]},"chat_users":{"search":["search"]}} \ No newline at end of file diff --git a/php/public/include/reportfunctions.php b/php/public/include/reportfunctions.php index 596ce540a6da66142f2e38723a008d7b5ee294ca..ea3ff2b56a3fdf68de3f4b988044b15b8773f8ad 100644 --- a/php/public/include/reportfunctions.php +++ b/php/public/include/reportfunctions.php @@ -378,6 +378,10 @@ function testAdvSearch($table) { return 1; } + if($table=="agett_prompt") + { + return 1; + } } elseif(is_wr_db()) { @@ -683,6 +687,10 @@ function getCaptionTable($table) { return "Chat External"; } + if($table=="agett_prompt") + { + return "Agett Prompt"; + } return $table; } @@ -1701,6 +1709,18 @@ function GetTablesListReport() && $value!="admin_members" && $value!="webreports" && $value!="webreport_style" && $value!="webreport_settings" && $value!="webreport_admin" && $value!="webreport_sql") $arr[]="chat_external"; } + if( Security::permissionsAvailable() ) { + $strPerm = GetUserPermissions("agett_prompt"); + $securityFlag = strpos($strPerm, "P") !== false || strpos($strPerm, "S") !== false; + } + if($securityFlag) + { + $value="agett_prompt"; + if(substr($value,-6)!="_audit" && substr($value,-8)!="_locking" && substr($value,-9)!="_ugrights" && substr($value,-9)!="_uggroups" + && substr($value,-10)!="_ugmembers" && $value!="admin_rights" && $value!="admin_users" + && $value!="admin_members" && $value!="webreports" && $value!="webreport_style" && $value!="webreport_settings" && $value!="webreport_admin" && $value!="webreport_sql") + $arr[]="agett_prompt"; + } return $arr; } diff --git a/php/public/pdf/agett_prompt_print.json b/php/public/pdf/agett_prompt_print.json new file mode 100644 index 0000000000000000000000000000000000000000..91820070ea943abed97010ed145d179543a2312e --- /dev/null +++ b/php/public/pdf/agett_prompt_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 agett_prompt}', + }, + {END embedded_grid_caption} + {BEGIN embedded_page_title} + { + text: '{$jspagetitlelabel agett_prompt 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 agett_prompt 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 agett_prompt 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: 'prompt', + style: 'headcell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":"{$jslabel agett_prompt prompt }","hidden":"{$item_hide_simple_grid_field3}","bold":true}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$prompt_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: 'prompt', + style: 'bodycell', + + + // dynamic colspan/rowspan + + + + + + + "text": [ + + + {"text":{$prompt_pdfvalue},"hidden":"{$item_hide_simple_grid_field1}"}, + + ], + "border": [ true, true, true, true ], + "alignment": '{$prompt_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/public/pdf/agett_prompt_view.json b/php/public/pdf/agett_prompt_view.json new file mode 100644 index 0000000000000000000000000000000000000000..a5159cf12b894860d7313d641957eb8a17e61da9 --- /dev/null +++ b/php/public/pdf/agett_prompt_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 agett_prompt 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 agett_prompt id }","bold":true},{"text":{$id_pdfvalue}}],"margin":[0,0,0,15]}, + + + {"hidden":"{$item_hide_integrated_edit_field1}","stack":[{"text":"{$jslabel agett_prompt prompt }","bold":true},{"text":{$prompt_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/public/styles/pages/_global_menu_Chat1.css b/php/public/styles/pages/_global_menu_Chat1.css index 3a8ad5521a2769aa3338664603e54c5c9cdcf0d0..d384310715bb6b3810cbbafcd3e4d9dfb7497f2c 100644 --- a/php/public/styles/pages/_global_menu_Chat1.css +++ b/php/public/styles/pages/_global_menu_Chat1.css @@ -1,6 +1,9 @@ [data-page="_global_menu_Chat1"][data-itemid="welcome_item"] > .bs-welcome-header { background-color: #CFAE83; } +[data-page="_global_menu_Chat1"][data-itemid="welcome_item1"] > .bs-welcome-header { + background-color: #DAA520; +} [data-page="_global_menu_Chat1"][data-itemid="welcome_item3"] > .bs-welcome-header { background-color: #E67349; } diff --git a/php/public/styles/pages/agett_prompt_add.css b/php/public/styles/pages/agett_prompt_add.css new file mode 100644 index 0000000000000000000000000000000000000000..e5d7ddf98b291fd4de9d5fdf7f156404a04df6bd --- /dev/null +++ b/php/public/styles/pages/agett_prompt_add.css @@ -0,0 +1,5 @@ +[data-page="agett_prompt_add"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/public/styles/pages/agett_prompt_edit.css b/php/public/styles/pages/agett_prompt_edit.css new file mode 100644 index 0000000000000000000000000000000000000000..70eb73b7fb7237ef7100958941ba78d0c8a87ea6 --- /dev/null +++ b/php/public/styles/pages/agett_prompt_edit.css @@ -0,0 +1,5 @@ +[data-page="agett_prompt_edit"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/public/styles/pages/agett_prompt_export.css b/php/public/styles/pages/agett_prompt_export.css new file mode 100644 index 0000000000000000000000000000000000000000..e56bae7f91b7b381953fb1ad33ae271436ef9b61 --- /dev/null +++ b/php/public/styles/pages/agett_prompt_export.css @@ -0,0 +1,11 @@ +[data-cellid="footer_c1"][data-page="agett_prompt_export"][data-cellid="footer_c1"][data-page="agett_prompt_export"][data-cellid="footer_c1"][data-page="agett_prompt_export"] { + width: 33.33333333%; +} +[data-cellid="footer_c2"][data-page="agett_prompt_export"][data-cellid="footer_c2"][data-page="agett_prompt_export"][data-cellid="footer_c2"][data-page="agett_prompt_export"] { + width: 66.66666667%; +} +[data-page="agett_prompt_export"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/public/styles/pages/agett_prompt_import.css b/php/public/styles/pages/agett_prompt_import.css new file mode 100644 index 0000000000000000000000000000000000000000..f213a4d41e13b5b012127e06f405710b638e2069 --- /dev/null +++ b/php/public/styles/pages/agett_prompt_import.css @@ -0,0 +1,5 @@ +[data-page="agett_prompt_import"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/public/styles/pages/agett_prompt_list.css b/php/public/styles/pages/agett_prompt_list.css new file mode 100644 index 0000000000000000000000000000000000000000..78e99415a1a3c3dd2dc149f064b2cb72e9a570e8 --- /dev/null +++ b/php/public/styles/pages/agett_prompt_list.css @@ -0,0 +1,20 @@ +[data-cellid="grid_footcell_field"][data-page="agett_prompt_list"][data-cellid="grid_footcell_field"][data-page="agett_prompt_list"][data-cellid="grid_footcell_field"][data-page="agett_prompt_list"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field1"][data-page="agett_prompt_list"][data-cellid="grid_footcell_field1"][data-page="agett_prompt_list"][data-cellid="grid_footcell_field1"][data-page="agett_prompt_list"] { + white-space: nowrap; +} +[data-cellid="grid_headcell_checkbox"][data-page="agett_prompt_list"][data-cellid="grid_headcell_checkbox"][data-page="agett_prompt_list"][data-cellid="grid_headcell_checkbox"][data-page="agett_prompt_list"] { + width: 30px; +} +[data-cellid="grid_headcell_icons"][data-page="agett_prompt_list"][data-cellid="grid_headcell_icons"][data-page="agett_prompt_list"][data-cellid="grid_headcell_icons"][data-page="agett_prompt_list"] { + width: 30px; +} +[data-cellid="grid_cell_icons"][data-page="agett_prompt_list"][data-cellid="grid_cell_icons"][data-page="agett_prompt_list"][data-cellid="grid_cell_icons"][data-page="agett_prompt_list"] { + white-space: nowrap; +} +[data-page="agett_prompt_list"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/public/styles/pages/agett_prompt_print.css b/php/public/styles/pages/agett_prompt_print.css new file mode 100644 index 0000000000000000000000000000000000000000..1fb3a0c323fd28aa68a5ef3c3b4020107266bb19 --- /dev/null +++ b/php/public/styles/pages/agett_prompt_print.css @@ -0,0 +1,11 @@ +[data-cellid="grid_footcell_field"][data-page="agett_prompt_print"][data-cellid="grid_footcell_field"][data-page="agett_prompt_print"][data-cellid="grid_footcell_field"][data-page="agett_prompt_print"] { + white-space: nowrap; +} +[data-cellid="grid_footcell_field1"][data-page="agett_prompt_print"][data-cellid="grid_footcell_field1"][data-page="agett_prompt_print"][data-cellid="grid_footcell_field1"][data-page="agett_prompt_print"] { + white-space: nowrap; +} +[data-page="agett_prompt_print"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/public/styles/pages/agett_prompt_search.css b/php/public/styles/pages/agett_prompt_search.css new file mode 100644 index 0000000000000000000000000000000000000000..8b8baf54ea2fbfdc6bc2f5836229250e189b29ca --- /dev/null +++ b/php/public/styles/pages/agett_prompt_search.css @@ -0,0 +1,5 @@ +[data-page="agett_prompt_search"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/public/styles/pages/agett_prompt_view.css b/php/public/styles/pages/agett_prompt_view.css new file mode 100644 index 0000000000000000000000000000000000000000..2b70bfdfde37dae32ac7281e5f8d3bcb64fed8c6 --- /dev/null +++ b/php/public/styles/pages/agett_prompt_view.css @@ -0,0 +1,5 @@ +[data-page="agett_prompt_view"][data-itemid="page_image_ash8f23hr"] { + width: 400px; +} + + diff --git a/php/public/templates/_global_menu_Chat1.htm b/php/public/templates/_global_menu_Chat1.htm index 5cc952b3462c0546361e32191202e6fbf29fefcc..03303c3fdda38fe421c1cdbb5ae7e1bd9281a5ed 100644 --- a/php/public/templates/_global_menu_Chat1.htm +++ b/php/public/templates/_global_menu_Chat1.htm @@ -344,6 +344,19 @@ Chat External description + + +
+ + + +
+ Agett Prompt description
+
+ diff --git a/php/public/templates/agett_prompt_add.htm b/php/public/templates/agett_prompt_add.htm new file mode 100644 index 0000000000000000000000000000000000000000..e271d25027536f22211af2bb469dc9ede684039d --- /dev/null +++ b/php/public/templates/agett_prompt_add.htm @@ -0,0 +1,462 @@ + + + + + + {$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 agett_prompt 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 prompt_fieldblock} + + +
+ + +
+ {$prompt_editcontrol}
+
+
+ {$tooltip agett_prompt prompt }
+
+
+ + +{END prompt_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/public/templates/agett_prompt_edit.htm b/php/public/templates/agett_prompt_edit.htm new file mode 100644 index 0000000000000000000000000000000000000000..07890afdbc5bf23cb14198565befd6539e675302 --- /dev/null +++ b/php/public/templates/agett_prompt_edit.htm @@ -0,0 +1,484 @@ + + + + + + {$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 agett_prompt 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 prompt_fieldblock} + + +
+ + +
+ {$prompt_editcontrol}
+
+
+ {$tooltip agett_prompt prompt }
+
+
+ + +{END prompt_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/public/templates/agett_prompt_export.htm b/php/public/templates/agett_prompt_export.htm new file mode 100644 index 0000000000000000000000000000000000000000..4f24881f762d12e7ddca44b1d54136d720a0c042 --- /dev/null +++ b/php/public/templates/agett_prompt_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 agett_prompt 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/public/templates/agett_prompt_import.htm b/php/public/templates/agett_prompt_import.htm new file mode 100644 index 0000000000000000000000000000000000000000..e649e0b008be261f393fd0e086431a20589b96f7 --- /dev/null +++ b/php/public/templates/agett_prompt_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 agett_prompt 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/public/templates/agett_prompt_list.htm b/php/public/templates/agett_prompt_list.htm new file mode 100644 index 0000000000000000000000000000000000000000..26f5711c1afb7ccbdfafc1dd45cb419428b5c1b0 --- /dev/null +++ b/php/public/templates/agett_prompt_list.htm @@ -0,0 +1,967 @@ + + + + + + {$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_prompt} + + +
+ + + {$delCtrlButt} + + {$searchtype_prompt} + {$searchcontrol_prompt} + {$searchcontrol1_prompt} +
+ {END searchCtrlBlock_prompt} + + +
+ + +
+ +
+ + {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 agett_prompt id } + {$arrow_icon_id} + + + {END id_fieldheader} +{END id_fieldheadercolumn} + + + + + + {BEGIN prompt_fieldheadercolumn} + {BEGIN prompt_fieldheader} + + + {$label agett_prompt prompt } + {$arrow_icon_prompt} + + + {END prompt_fieldheader} +{END prompt_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 prompt_fieldcolumn} + +{$prompt_value} + +{END prompt_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/public/templates/agett_prompt_print.htm b/php/public/templates/agett_prompt_print.htm new file mode 100644 index 0000000000000000000000000000000000000000..8f7101d62eb3231748ed86afc6f7c506e481ec42 --- /dev/null +++ b/php/public/templates/agett_prompt_print.htm @@ -0,0 +1,260 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + + {$locking} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel agett_prompt 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 agett_prompt id } + + +{END id_fieldheadercolumn} + + + + + + {BEGIN prompt_fieldheadercolumn} + + + {$label agett_prompt prompt } + + +{END prompt_fieldheadercolumn} + + +
+ + + {BEGIN id_fieldcolumn} + +{$id_value} + +{END id_fieldcolumn} + + + + {BEGIN prompt_fieldcolumn} + +{$prompt_value} + +{END prompt_fieldcolumn} +
+ + + + + +
+{END grid_block} + {BEGIN below-grid_block} +
+ +
+ +
+
+
+{END below-grid_block} +
+ {$footer} + {END body} + + diff --git a/php/public/templates/agett_prompt_search.htm b/php/public/templates/agett_prompt_search.htm new file mode 100644 index 0000000000000000000000000000000000000000..528d218ecc9e3c509992f77a133a1f4be3c7c51f --- /dev/null +++ b/php/public/templates/agett_prompt_search.htm @@ -0,0 +1,194 @@ + + + + + + {$pagetitle} + + + + {BEGIN rtlCSS} + + {END rtlCSS} + {BEGIN styleCSSFiles} + + {END styleCSSFiles} + + + + + {BEGIN body} + {$header} + + {$locking} +
+ {BEGIN top_block} +
+ +
+ +
+ +

{$pagetitlelabel agett_prompt 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 prompt_fieldblock} + +
+ + + +
+ {$searchtype_prompt} +
+
+ {$prompt_editcontrol}
+
+ {$prompt_editcontrol1} +
+ +
+ +{END prompt_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/public/templates/agett_prompt_view.htm b/php/public/templates/agett_prompt_view.htm new file mode 100644 index 0000000000000000000000000000000000000000..fda644d6cd58597afee6eda5175c1986146fc105 --- /dev/null +++ b/php/public/templates/agett_prompt_view.htm @@ -0,0 +1,473 @@ + + + + + + {$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 agett_prompt 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 prompt_fieldblock} + + +
+ + + +
+ {$prompt_value}
+ + +
+ + +{END prompt_fieldblock} + +
+{END grid_block} +
+
+ {BEGIN below-grid_block} +
+ +
+ +
+ + {BEGIN back_button} + + + Back to list + +{END back_button} + + {BEGIN close_button} + + + Close window + +{END close_button} +
+
+ + + + + + + +
+
+{END below-grid_block} +
+ + + + + {$footer} +
+
+
+
+
+ {END body} + + diff --git a/php/public/ug_group.php b/php/public/ug_group.php index 118ab6091a2a7e4411c7e1ce1c4fe74c54919765..e87578cdac27ea8ddc0f59940028e6782c7fa986 100644 --- a/php/public/ug_group.php +++ b/php/public/ug_group.php @@ -28,6 +28,7 @@ $nonAdminTablesArr[] = "chat_timezone"; $nonAdminTablesArr[] = "chat126_users1"; $nonAdminTablesArr[] = "chat_agent"; $nonAdminTablesArr[] = "chat_external"; +$nonAdminTablesArr[] = "agett_prompt"; $ug_connection = $cman->getForUserGroups();