update
Browse files- php/public/admin_rights_list.php +0 -51
- php/public/classes/charts.php +0 -6
- php/public/classes/crosstable_webreport.php +0 -6
- php/public/classes/projectsettings.php +0 -6
- php/public/connections/ConnectionManager_base.php +0 -3
- php/public/include/appsettings.php +2 -5
- php/public/include/audit.php +0 -24
- php/public/include/chat_history_settings.php +193 -193
- php/public/include/commonfunctions.php +0 -63
- php/public/include/menunodes_main.php +0 -78
- php/public/include/pages/_global_menu_Chat1.php +4 -60
- php/public/include/pages/pages.json +1 -1
- php/public/include/reportfunctions.php +0 -60
- php/public/styles/pages/_global_menu_Chat1.css +0 -9
- php/public/templates/_global_menu_Chat1.htm +0 -30
- php/public/ug_group.php +0 -3
php/public/admin_rights_list.php
CHANGED
@@ -183,57 +183,6 @@ if( pageEnabled($table, 'print') || pageEnabled($table, 'rprint') || pageEnabled
|
|
183 |
|
184 |
$pageMask[$table] = $mask;
|
185 |
$tables[$table] = array("chat_external", " " . "Chat External");
|
186 |
-
$table = "mst_quality";
|
187 |
-
$mask="";
|
188 |
-
if( pageEnabled($table, 'add') || pageEnabled($table, 'inline_add') )
|
189 |
-
$mask .= "A";
|
190 |
-
if( pageEnabled($table, 'edit') || pageEnabled($table, 'inline_edit') )
|
191 |
-
$mask .= "E";
|
192 |
-
if( pageEnabled($table, 'delete') )
|
193 |
-
$mask .= "D";
|
194 |
-
if( pageEnabled($table, 'import') )
|
195 |
-
$mask .= "I";
|
196 |
-
if( pageEnabled($table, 'view') || pageEnabled($table, 'list') || pageEnabled($table, 'chart') || pageEnabled($table, 'report') || pageEnabled($table, 'dashboard') )
|
197 |
-
$mask .= "S";
|
198 |
-
if( pageEnabled($table, 'print') || pageEnabled($table, 'rprint') || pageEnabled($table, 'export') )
|
199 |
-
$mask .= "P";
|
200 |
-
|
201 |
-
$pageMask[$table] = $mask;
|
202 |
-
$tables[$table] = array("mst_quality", " " . "Mst Quality");
|
203 |
-
$table = "mst_producing_area";
|
204 |
-
$mask="";
|
205 |
-
if( pageEnabled($table, 'add') || pageEnabled($table, 'inline_add') )
|
206 |
-
$mask .= "A";
|
207 |
-
if( pageEnabled($table, 'edit') || pageEnabled($table, 'inline_edit') )
|
208 |
-
$mask .= "E";
|
209 |
-
if( pageEnabled($table, 'delete') )
|
210 |
-
$mask .= "D";
|
211 |
-
if( pageEnabled($table, 'import') )
|
212 |
-
$mask .= "I";
|
213 |
-
if( pageEnabled($table, 'view') || pageEnabled($table, 'list') || pageEnabled($table, 'chart') || pageEnabled($table, 'report') || pageEnabled($table, 'dashboard') )
|
214 |
-
$mask .= "S";
|
215 |
-
if( pageEnabled($table, 'print') || pageEnabled($table, 'rprint') || pageEnabled($table, 'export') )
|
216 |
-
$mask .= "P";
|
217 |
-
|
218 |
-
$pageMask[$table] = $mask;
|
219 |
-
$tables[$table] = array("mst_producing_area", " " . "Mst Producing Area");
|
220 |
-
$table = "mst_processing";
|
221 |
-
$mask="";
|
222 |
-
if( pageEnabled($table, 'add') || pageEnabled($table, 'inline_add') )
|
223 |
-
$mask .= "A";
|
224 |
-
if( pageEnabled($table, 'edit') || pageEnabled($table, 'inline_edit') )
|
225 |
-
$mask .= "E";
|
226 |
-
if( pageEnabled($table, 'delete') )
|
227 |
-
$mask .= "D";
|
228 |
-
if( pageEnabled($table, 'import') )
|
229 |
-
$mask .= "I";
|
230 |
-
if( pageEnabled($table, 'view') || pageEnabled($table, 'list') || pageEnabled($table, 'chart') || pageEnabled($table, 'report') || pageEnabled($table, 'dashboard') )
|
231 |
-
$mask .= "S";
|
232 |
-
if( pageEnabled($table, 'print') || pageEnabled($table, 'rprint') || pageEnabled($table, 'export') )
|
233 |
-
$mask .= "P";
|
234 |
-
|
235 |
-
$pageMask[$table] = $mask;
|
236 |
-
$tables[$table] = array("mst_processing", " " . "Mst Processing");
|
237 |
|
238 |
if ( pageEnabled(GLOBAL_PAGES, 'menu') )
|
239 |
$pageMask[GLOBAL_PAGES] = "S";
|
|
|
183 |
|
184 |
$pageMask[$table] = $mask;
|
185 |
$tables[$table] = array("chat_external", " " . "Chat External");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
|
187 |
if ( pageEnabled(GLOBAL_PAGES, 'menu') )
|
188 |
$pageMask[GLOBAL_PAGES] = "S";
|
php/public/classes/charts.php
CHANGED
@@ -404,12 +404,6 @@ class Chart
|
|
404 |
return true;
|
405 |
if("chat_external" == $this->chrt_array['tables'][0])
|
406 |
return true;
|
407 |
-
if("mst_quality" == $this->chrt_array['tables'][0])
|
408 |
-
return true;
|
409 |
-
if("mst_producing_area" == $this->chrt_array['tables'][0])
|
410 |
-
return true;
|
411 |
-
if("mst_processing" == $this->chrt_array['tables'][0])
|
412 |
-
return true;
|
413 |
return false;
|
414 |
}
|
415 |
|
|
|
404 |
return true;
|
405 |
if("chat_external" == $this->chrt_array['tables'][0])
|
406 |
return true;
|
|
|
|
|
|
|
|
|
|
|
|
|
407 |
return false;
|
408 |
}
|
409 |
|
php/public/classes/crosstable_webreport.php
CHANGED
@@ -1407,12 +1407,6 @@ class CrossTableWebReport
|
|
1407 |
$isDB = true;
|
1408 |
if("chat_external" == $this->xml_array['tables'][0])
|
1409 |
$isDB = true;
|
1410 |
-
if("mst_quality" == $this->xml_array['tables'][0])
|
1411 |
-
$isDB = true;
|
1412 |
-
if("mst_producing_area" == $this->xml_array['tables'][0])
|
1413 |
-
$isDB = true;
|
1414 |
-
if("mst_processing" == $this->xml_array['tables'][0])
|
1415 |
-
$isDB = true;
|
1416 |
return $isDB;
|
1417 |
}
|
1418 |
|
|
|
1407 |
$isDB = true;
|
1408 |
if("chat_external" == $this->xml_array['tables'][0])
|
1409 |
$isDB = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
1410 |
return $isDB;
|
1411 |
}
|
1412 |
|
php/public/classes/projectsettings.php
CHANGED
@@ -3604,12 +3604,6 @@ function fillProjectEntites()
|
|
3604 |
$projectEntitiesReverse[ "chat_agent" ] = "chat_agent";
|
3605 |
$projectEntities[ "chat_external" ] = array( "url" => "chat_external", "type" => 0 );
|
3606 |
$projectEntitiesReverse[ "chat_external" ] = "chat_external";
|
3607 |
-
$projectEntities[ "mst_quality" ] = array( "url" => "mst_quality", "type" => 0 );
|
3608 |
-
$projectEntitiesReverse[ "mst_quality" ] = "mst_quality";
|
3609 |
-
$projectEntities[ "mst_producing_area" ] = array( "url" => "mst_producing_area", "type" => 0 );
|
3610 |
-
$projectEntitiesReverse[ "mst_producing_area" ] = "mst_producing_area";
|
3611 |
-
$projectEntities[ "mst_processing" ] = array( "url" => "mst_processing", "type" => 0 );
|
3612 |
-
$projectEntitiesReverse[ "mst_processing" ] = "mst_processing";
|
3613 |
}
|
3614 |
|
3615 |
function findTable( $table ) {
|
|
|
3604 |
$projectEntitiesReverse[ "chat_agent" ] = "chat_agent";
|
3605 |
$projectEntities[ "chat_external" ] = array( "url" => "chat_external", "type" => 0 );
|
3606 |
$projectEntitiesReverse[ "chat_external" ] = "chat_external";
|
|
|
|
|
|
|
|
|
|
|
|
|
3607 |
}
|
3608 |
|
3609 |
function findTable( $table ) {
|
php/public/connections/ConnectionManager_base.php
CHANGED
@@ -256,9 +256,6 @@ class ConnectionManager_Base
|
|
256 |
$connectionsIds["admin_users"] = "chats_at_localhost";
|
257 |
$connectionsIds["chat_agent"] = "chats_at_localhost";
|
258 |
$connectionsIds["chat_external"] = "chats_at_localhost";
|
259 |
-
$connectionsIds["mst_quality"] = "chats_at_localhost";
|
260 |
-
$connectionsIds["mst_producing_area"] = "chats_at_localhost";
|
261 |
-
$connectionsIds["mst_processing"] = "chats_at_localhost";
|
262 |
|
263 |
$this->_tablesConnectionIds = &$connectionsIds;
|
264 |
}
|
|
|
256 |
$connectionsIds["admin_users"] = "chats_at_localhost";
|
257 |
$connectionsIds["chat_agent"] = "chats_at_localhost";
|
258 |
$connectionsIds["chat_external"] = "chats_at_localhost";
|
|
|
|
|
|
|
259 |
|
260 |
$this->_tablesConnectionIds = &$connectionsIds;
|
261 |
}
|
php/public/include/appsettings.php
CHANGED
@@ -792,9 +792,9 @@ $suggestAllContent = true;
|
|
792 |
$strLastSQL = "";
|
793 |
$showCustomMarkerOnPrint = false;
|
794 |
|
795 |
-
$projectBuildKey = "
|
796 |
$wizardBuildKey = "41974";
|
797 |
-
$projectBuildNumber = "
|
798 |
|
799 |
$mlang_messages = array();
|
800 |
$mlang_charsets = array();
|
@@ -833,9 +833,6 @@ $tableCaptions["English"]["admin_members"] = "Admin Members";
|
|
833 |
$tableCaptions["English"]["admin_users"] = "Admin Users";
|
834 |
$tableCaptions["English"]["chat_agent"] = "Chat Agent";
|
835 |
$tableCaptions["English"]["chat_external"] = "Chat External";
|
836 |
-
$tableCaptions["English"]["mst_quality"] = "Mst Quality";
|
837 |
-
$tableCaptions["English"]["mst_producing_area"] = "Mst Producing Area";
|
838 |
-
$tableCaptions["English"]["mst_processing"] = "Mst Processing";
|
839 |
|
840 |
|
841 |
$globalEvents = new class_GlobalEvents;
|
|
|
792 |
$strLastSQL = "";
|
793 |
$showCustomMarkerOnPrint = false;
|
794 |
|
795 |
+
$projectBuildKey = "3652_1721575288";
|
796 |
$wizardBuildKey = "41974";
|
797 |
+
$projectBuildNumber = "3652";
|
798 |
|
799 |
$mlang_messages = array();
|
800 |
$mlang_charsets = array();
|
|
|
833 |
$tableCaptions["English"]["admin_users"] = "Admin Users";
|
834 |
$tableCaptions["English"]["chat_agent"] = "Chat Agent";
|
835 |
$tableCaptions["English"]["chat_external"] = "Chat External";
|
|
|
|
|
|
|
836 |
|
837 |
|
838 |
$globalEvents = new class_GlobalEvents;
|
php/public/include/audit.php
CHANGED
@@ -408,18 +408,6 @@ class AuditTrailTable
|
|
408 |
{
|
409 |
return false;
|
410 |
}
|
411 |
-
if($table=="mst_quality")
|
412 |
-
{
|
413 |
-
return false;
|
414 |
-
}
|
415 |
-
if($table=="mst_producing_area")
|
416 |
-
{
|
417 |
-
return false;
|
418 |
-
}
|
419 |
-
if($table=="mst_processing")
|
420 |
-
{
|
421 |
-
return false;
|
422 |
-
}
|
423 |
}
|
424 |
|
425 |
protected function insert($datetime, $ip, $user, $table, $action, $description)
|
@@ -780,18 +768,6 @@ class AuditTrailFile
|
|
780 |
{
|
781 |
return false;
|
782 |
}
|
783 |
-
if($table=="mst_quality")
|
784 |
-
{
|
785 |
-
return false;
|
786 |
-
}
|
787 |
-
if($table=="mst_producing_area")
|
788 |
-
{
|
789 |
-
return false;
|
790 |
-
}
|
791 |
-
if($table=="mst_processing")
|
792 |
-
{
|
793 |
-
return false;
|
794 |
-
}
|
795 |
}
|
796 |
|
797 |
protected function getMaxLengthSubstr( $value )
|
|
|
408 |
{
|
409 |
return false;
|
410 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
411 |
}
|
412 |
|
413 |
protected function insert($datetime, $ip, $user, $table, $action, $description)
|
|
|
768 |
{
|
769 |
return false;
|
770 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
771 |
}
|
772 |
|
773 |
protected function getMaxLengthSubstr( $value )
|
php/public/include/chat_history_settings.php
CHANGED
@@ -177,16 +177,16 @@ $tdatachat_history[".filterFields"] = array();
|
|
177 |
$tdatachat_history[".requiredSearchFields"] = array();
|
178 |
|
179 |
$tdatachat_history[".googleLikeFields"] = array();
|
|
|
180 |
$tdatachat_history[".googleLikeFields"][] = "id";
|
|
|
|
|
181 |
$tdatachat_history[".googleLikeFields"][] = "messages";
|
182 |
$tdatachat_history[".googleLikeFields"][] = "ownerid";
|
183 |
-
$tdatachat_history[".googleLikeFields"][] = "created";
|
184 |
-
$tdatachat_history[".googleLikeFields"][] = "isread";
|
185 |
-
$tdatachat_history[".googleLikeFields"][] = "targetid";
|
186 |
-
$tdatachat_history[".googleLikeFields"][] = "tmp_file";
|
187 |
$tdatachat_history[".googleLikeFields"][] = "status";
|
188 |
$tdatachat_history[".googleLikeFields"][] = "status_created";
|
189 |
-
$tdatachat_history[".googleLikeFields"][] = "
|
|
|
190 |
|
191 |
|
192 |
|
@@ -219,7 +219,7 @@ $tdatachat_history[".strOrderBy"] = $tstrOrderBy;
|
|
219 |
$tdatachat_history[".orderindexes"] = array();
|
220 |
|
221 |
|
222 |
-
$tdatachat_history[".sqlHead"] = "SELECT
|
223 |
$tdatachat_history[".sqlFrom"] = "FROM chat_history";
|
224 |
$tdatachat_history[".sqlWhereExpr"] = "";
|
225 |
$tdatachat_history[".sqlTail"] = "";
|
@@ -267,29 +267,28 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
267 |
|
268 |
|
269 |
|
270 |
-
//
|
271 |
// Custom field settings
|
272 |
$fdata = array();
|
273 |
$fdata["Index"] = 1;
|
274 |
-
$fdata["strName"] = "
|
275 |
-
$fdata["GoodName"] = "
|
276 |
$fdata["ownerTable"] = "chat_history";
|
277 |
-
$fdata["Label"] = GetFieldLabel("chat_history","
|
278 |
-
$fdata["FieldType"] =
|
279 |
|
280 |
|
281 |
-
|
282 |
-
|
283 |
|
284 |
|
285 |
|
286 |
-
$fdata["strField"] = "
|
287 |
|
288 |
-
$fdata["sourceSingle"] = "
|
289 |
|
290 |
|
291 |
$fdata["isSQLExpression"] = true;
|
292 |
-
$fdata["FullName"] = "
|
293 |
|
294 |
|
295 |
|
@@ -338,8 +337,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
338 |
|
339 |
|
340 |
|
341 |
-
|
342 |
-
|
343 |
|
344 |
|
345 |
|
@@ -354,16 +352,15 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
354 |
$edata["HTML5InuptType"] = "text";
|
355 |
|
356 |
$edata["EditParams"] = "";
|
357 |
-
|
|
|
358 |
$edata["controlWidth"] = 200;
|
359 |
|
360 |
// Begin validation
|
361 |
$edata["validateAs"] = array();
|
362 |
$edata["validateAs"]["basicValidate"] = array();
|
363 |
$edata["validateAs"]["customMessages"] = array();
|
364 |
-
|
365 |
-
$edata["validateAs"]["basicValidate"][] = "IsRequired";
|
366 |
-
|
367 |
|
368 |
// End validation
|
369 |
|
@@ -382,7 +379,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
382 |
|
383 |
|
384 |
// the field's search options settings
|
385 |
-
$fdata["defaultSearchOption"] = "
|
386 |
|
387 |
// the default search options list
|
388 |
$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
|
@@ -407,30 +404,31 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
407 |
//end of Filters settings
|
408 |
|
409 |
|
410 |
-
$tdatachat_history["
|
411 |
-
$tdatachat_history[".searchableFields"][] = "
|
412 |
-
//
|
413 |
// Custom field settings
|
414 |
$fdata = array();
|
415 |
$fdata["Index"] = 2;
|
416 |
-
$fdata["strName"] = "
|
417 |
-
$fdata["GoodName"] = "
|
418 |
$fdata["ownerTable"] = "chat_history";
|
419 |
-
$fdata["Label"] = GetFieldLabel("chat_history","
|
420 |
-
$fdata["FieldType"] =
|
421 |
|
422 |
|
423 |
-
|
|
|
424 |
|
425 |
|
426 |
|
427 |
-
$fdata["strField"] = "
|
428 |
|
429 |
-
$fdata["sourceSingle"] = "
|
430 |
|
431 |
|
432 |
$fdata["isSQLExpression"] = true;
|
433 |
-
$fdata["FullName"] = "
|
434 |
|
435 |
|
436 |
|
@@ -467,7 +465,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
467 |
// Begin Edit Formats
|
468 |
$fdata["EditFormats"] = array();
|
469 |
|
470 |
-
$edata = array("EditFormat" => "Text
|
471 |
|
472 |
|
473 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
@@ -479,36 +477,36 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
479 |
|
480 |
|
481 |
|
482 |
-
|
|
|
483 |
|
484 |
|
485 |
|
486 |
$edata["acceptFileTypesHtml"] = "";
|
487 |
|
488 |
-
$edata["maxNumberOfFiles"] =
|
489 |
|
490 |
|
491 |
|
492 |
|
493 |
-
$edata["nRows"] = 100;
|
494 |
-
$edata["nCols"] = 200;
|
495 |
-
|
496 |
-
|
497 |
|
|
|
|
|
|
|
|
|
498 |
$edata["controlWidth"] = 200;
|
499 |
|
500 |
// Begin validation
|
501 |
$edata["validateAs"] = array();
|
502 |
$edata["validateAs"]["basicValidate"] = array();
|
503 |
$edata["validateAs"]["customMessages"] = array();
|
504 |
-
|
|
|
|
|
505 |
|
506 |
// End validation
|
507 |
|
508 |
-
|
509 |
-
$edata["StrThumbnail"] = "th";
|
510 |
-
$edata["ThumbnailSize"] = 600;
|
511 |
-
|
512 |
|
513 |
|
514 |
|
@@ -548,16 +546,16 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
548 |
//end of Filters settings
|
549 |
|
550 |
|
551 |
-
$tdatachat_history["
|
552 |
-
$tdatachat_history[".searchableFields"][] = "
|
553 |
-
//
|
554 |
// Custom field settings
|
555 |
$fdata = array();
|
556 |
$fdata["Index"] = 3;
|
557 |
-
$fdata["strName"] = "
|
558 |
-
$fdata["GoodName"] = "
|
559 |
$fdata["ownerTable"] = "chat_history";
|
560 |
-
$fdata["Label"] = GetFieldLabel("chat_history","
|
561 |
$fdata["FieldType"] = 200;
|
562 |
|
563 |
|
@@ -565,13 +563,13 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
565 |
|
566 |
|
567 |
|
568 |
-
$fdata["strField"] = "
|
569 |
|
570 |
-
$fdata["sourceSingle"] = "
|
571 |
|
572 |
|
573 |
$fdata["isSQLExpression"] = true;
|
574 |
-
$fdata["FullName"] = "
|
575 |
|
576 |
|
577 |
|
@@ -687,30 +685,30 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
687 |
//end of Filters settings
|
688 |
|
689 |
|
690 |
-
$tdatachat_history["
|
691 |
-
$tdatachat_history[".searchableFields"][] = "
|
692 |
-
//
|
693 |
// Custom field settings
|
694 |
$fdata = array();
|
695 |
$fdata["Index"] = 4;
|
696 |
-
$fdata["strName"] = "
|
697 |
-
$fdata["GoodName"] = "
|
698 |
$fdata["ownerTable"] = "chat_history";
|
699 |
-
$fdata["Label"] = GetFieldLabel("chat_history","
|
700 |
-
$fdata["FieldType"] =
|
701 |
|
702 |
|
703 |
|
704 |
|
705 |
|
706 |
|
707 |
-
$fdata["strField"] = "
|
708 |
|
709 |
-
$fdata["sourceSingle"] = "
|
710 |
|
711 |
|
712 |
$fdata["isSQLExpression"] = true;
|
713 |
-
$fdata["FullName"] = "
|
714 |
|
715 |
|
716 |
|
@@ -774,15 +772,15 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
774 |
$edata["HTML5InuptType"] = "text";
|
775 |
|
776 |
$edata["EditParams"] = "";
|
777 |
-
|
778 |
-
|
779 |
$edata["controlWidth"] = 200;
|
780 |
|
781 |
// Begin validation
|
782 |
$edata["validateAs"] = array();
|
783 |
$edata["validateAs"]["basicValidate"] = array();
|
784 |
$edata["validateAs"]["customMessages"] = array();
|
785 |
-
|
|
|
786 |
|
787 |
// End validation
|
788 |
|
@@ -801,7 +799,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
801 |
|
802 |
|
803 |
// the field's search options settings
|
804 |
-
$fdata["defaultSearchOption"] = "
|
805 |
|
806 |
// the default search options list
|
807 |
$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
|
@@ -826,16 +824,16 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
826 |
//end of Filters settings
|
827 |
|
828 |
|
829 |
-
$tdatachat_history["
|
830 |
-
$tdatachat_history[".searchableFields"][] = "
|
831 |
-
//
|
832 |
// Custom field settings
|
833 |
$fdata = array();
|
834 |
$fdata["Index"] = 5;
|
835 |
-
$fdata["strName"] = "
|
836 |
-
$fdata["GoodName"] = "
|
837 |
$fdata["ownerTable"] = "chat_history";
|
838 |
-
$fdata["Label"] = GetFieldLabel("chat_history","
|
839 |
$fdata["FieldType"] = 200;
|
840 |
|
841 |
|
@@ -843,13 +841,13 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
843 |
|
844 |
|
845 |
|
846 |
-
$fdata["strField"] = "
|
847 |
|
848 |
-
$fdata["sourceSingle"] = "
|
849 |
|
850 |
|
851 |
$fdata["isSQLExpression"] = true;
|
852 |
-
$fdata["FullName"] = "
|
853 |
|
854 |
|
855 |
|
@@ -886,7 +884,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
886 |
// Begin Edit Formats
|
887 |
$fdata["EditFormats"] = array();
|
888 |
|
889 |
-
$edata = array("EditFormat" => "Text
|
890 |
|
891 |
|
892 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
@@ -904,17 +902,16 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
904 |
|
905 |
$edata["acceptFileTypesHtml"] = "";
|
906 |
|
907 |
-
$edata["maxNumberOfFiles"] =
|
908 |
|
909 |
|
910 |
|
911 |
|
912 |
-
|
913 |
-
$edata["
|
914 |
-
|
915 |
-
$edata["EditParams"] = "";
|
916 |
-
$edata["EditParams"].= " maxlength=500";
|
917 |
|
|
|
|
|
918 |
$edata["controlWidth"] = 200;
|
919 |
|
920 |
// Begin validation
|
@@ -925,7 +922,10 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
925 |
|
926 |
// End validation
|
927 |
|
928 |
-
|
|
|
|
|
|
|
929 |
|
930 |
|
931 |
|
@@ -965,16 +965,16 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
965 |
//end of Filters settings
|
966 |
|
967 |
|
968 |
-
$tdatachat_history["
|
969 |
-
$tdatachat_history[".searchableFields"][] = "
|
970 |
-
//
|
971 |
// Custom field settings
|
972 |
$fdata = array();
|
973 |
$fdata["Index"] = 6;
|
974 |
-
$fdata["strName"] = "
|
975 |
-
$fdata["GoodName"] = "
|
976 |
$fdata["ownerTable"] = "chat_history";
|
977 |
-
$fdata["Label"] = GetFieldLabel("chat_history","
|
978 |
$fdata["FieldType"] = 200;
|
979 |
|
980 |
|
@@ -982,13 +982,13 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
982 |
|
983 |
|
984 |
|
985 |
-
$fdata["strField"] = "
|
986 |
|
987 |
-
$fdata["sourceSingle"] = "
|
988 |
|
989 |
|
990 |
$fdata["isSQLExpression"] = true;
|
991 |
-
$fdata["FullName"] = "
|
992 |
|
993 |
|
994 |
|
@@ -1104,30 +1104,30 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1104 |
//end of Filters settings
|
1105 |
|
1106 |
|
1107 |
-
$tdatachat_history["
|
1108 |
-
$tdatachat_history[".searchableFields"][] = "
|
1109 |
-
//
|
1110 |
// Custom field settings
|
1111 |
$fdata = array();
|
1112 |
$fdata["Index"] = 7;
|
1113 |
-
$fdata["strName"] = "
|
1114 |
-
$fdata["GoodName"] = "
|
1115 |
$fdata["ownerTable"] = "chat_history";
|
1116 |
-
$fdata["Label"] = GetFieldLabel("chat_history","
|
1117 |
-
$fdata["FieldType"] =
|
1118 |
|
1119 |
|
1120 |
|
1121 |
|
1122 |
|
1123 |
|
1124 |
-
$fdata["strField"] = "
|
1125 |
|
1126 |
-
$fdata["sourceSingle"] = "
|
1127 |
|
1128 |
|
1129 |
$fdata["isSQLExpression"] = true;
|
1130 |
-
$fdata["FullName"] = "
|
1131 |
|
1132 |
|
1133 |
|
@@ -1136,13 +1136,23 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1136 |
// Begin View Formats
|
1137 |
$fdata["ViewFormats"] = array();
|
1138 |
|
1139 |
-
$vdata = array("ViewFormat" => "
|
1140 |
|
1141 |
|
1142 |
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1146 |
|
1147 |
|
1148 |
|
@@ -1154,6 +1164,8 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1154 |
|
1155 |
|
1156 |
|
|
|
|
|
1157 |
|
1158 |
$vdata["truncateText"] = true;
|
1159 |
$vdata["NumberOfChars"] = 80;
|
@@ -1164,7 +1176,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1164 |
// Begin Edit Formats
|
1165 |
$fdata["EditFormats"] = array();
|
1166 |
|
1167 |
-
$edata = array("EditFormat" => "
|
1168 |
|
1169 |
|
1170 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
@@ -1172,10 +1184,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1172 |
|
1173 |
|
1174 |
|
1175 |
-
|
1176 |
-
$eventsData[] = array( "name" => "tmp_file_event", "type" => "change" );
|
1177 |
-
$edata["fieldEvents"] = $eventsData;
|
1178 |
-
|
1179 |
|
1180 |
|
1181 |
|
@@ -1185,7 +1194,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1185 |
|
1186 |
$edata["acceptFileTypesHtml"] = "";
|
1187 |
|
1188 |
-
$edata["maxNumberOfFiles"] =
|
1189 |
|
1190 |
|
1191 |
|
@@ -1218,7 +1227,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1218 |
|
1219 |
|
1220 |
// the field's search options settings
|
1221 |
-
$fdata["defaultSearchOption"] = "
|
1222 |
|
1223 |
// the default search options list
|
1224 |
$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
|
@@ -1243,9 +1252,8 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1243 |
//end of Filters settings
|
1244 |
|
1245 |
|
1246 |
-
$tdatachat_history["
|
1247 |
-
|
1248 |
-
// status
|
1249 |
// Custom field settings
|
1250 |
$fdata = array();
|
1251 |
$fdata["Index"] = 8;
|
@@ -1523,28 +1531,28 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1523 |
|
1524 |
$tdatachat_history["status_created"] = $fdata;
|
1525 |
$tdatachat_history[".searchableFields"][] = "status_created";
|
1526 |
-
//
|
1527 |
// Custom field settings
|
1528 |
$fdata = array();
|
1529 |
$fdata["Index"] = 10;
|
1530 |
-
$fdata["strName"] = "
|
1531 |
-
$fdata["GoodName"] = "
|
1532 |
$fdata["ownerTable"] = "chat_history";
|
1533 |
-
$fdata["Label"] = GetFieldLabel("chat_history","
|
1534 |
-
$fdata["FieldType"] =
|
1535 |
|
1536 |
|
1537 |
|
1538 |
|
1539 |
|
1540 |
|
1541 |
-
$fdata["strField"] = "
|
1542 |
|
1543 |
-
$fdata["sourceSingle"] = "
|
1544 |
|
1545 |
|
1546 |
$fdata["isSQLExpression"] = true;
|
1547 |
-
$fdata["FullName"] = "
|
1548 |
|
1549 |
|
1550 |
|
@@ -1553,23 +1561,11 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1553 |
// Begin View Formats
|
1554 |
$fdata["ViewFormats"] = array();
|
1555 |
|
1556 |
-
$vdata = array("ViewFormat" => "
|
1557 |
|
1558 |
|
1559 |
|
1560 |
-
|
1561 |
-
$vdata["ImageHeight"] = 400;
|
1562 |
-
|
1563 |
-
|
1564 |
-
$vdata["showGallery"] = true;
|
1565 |
-
$vdata["galleryMode"] = 2;
|
1566 |
-
$vdata["captionMode"] = 1;
|
1567 |
-
$vdata["captionField"] = "";
|
1568 |
-
|
1569 |
-
$vdata["imageBorder"] = 1;
|
1570 |
-
$vdata["imageFullWidth"] = 1;
|
1571 |
-
|
1572 |
-
|
1573 |
|
1574 |
|
1575 |
|
@@ -1593,7 +1589,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1593 |
// Begin Edit Formats
|
1594 |
$fdata["EditFormats"] = array();
|
1595 |
|
1596 |
-
$edata = array("EditFormat" => "
|
1597 |
|
1598 |
|
1599 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
@@ -1617,8 +1613,11 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1617 |
|
1618 |
|
1619 |
|
1620 |
-
|
1621 |
-
|
|
|
|
|
|
|
1622 |
$edata["controlWidth"] = 200;
|
1623 |
|
1624 |
// Begin validation
|
@@ -1644,7 +1643,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1644 |
|
1645 |
|
1646 |
// the field's search options settings
|
1647 |
-
$fdata["defaultSearchOption"] = "
|
1648 |
|
1649 |
// the default search options list
|
1650 |
$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
|
@@ -1669,29 +1668,30 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1669 |
//end of Filters settings
|
1670 |
|
1671 |
|
1672 |
-
$tdatachat_history["
|
1673 |
-
|
|
|
1674 |
// Custom field settings
|
1675 |
$fdata = array();
|
1676 |
$fdata["Index"] = 11;
|
1677 |
-
$fdata["strName"] = "
|
1678 |
-
$fdata["GoodName"] = "
|
1679 |
$fdata["ownerTable"] = "chat_history";
|
1680 |
-
$fdata["Label"] = GetFieldLabel("chat_history","
|
1681 |
-
$fdata["FieldType"] =
|
1682 |
|
1683 |
|
1684 |
|
1685 |
|
1686 |
|
1687 |
|
1688 |
-
$fdata["strField"] = "
|
1689 |
|
1690 |
-
$fdata["sourceSingle"] = "
|
1691 |
|
1692 |
|
1693 |
$fdata["isSQLExpression"] = true;
|
1694 |
-
$fdata["FullName"] = "
|
1695 |
|
1696 |
|
1697 |
|
@@ -1700,11 +1700,13 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1700 |
// Begin View Formats
|
1701 |
$fdata["ViewFormats"] = array();
|
1702 |
|
1703 |
-
$vdata = array("ViewFormat" => "");
|
1704 |
|
1705 |
|
1706 |
|
1707 |
|
|
|
|
|
1708 |
|
1709 |
|
1710 |
|
@@ -1716,8 +1718,6 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1716 |
|
1717 |
|
1718 |
|
1719 |
-
$vdata["NeedEncode"] = true;
|
1720 |
-
|
1721 |
|
1722 |
$vdata["truncateText"] = true;
|
1723 |
$vdata["NumberOfChars"] = 80;
|
@@ -1728,7 +1728,7 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1728 |
// Begin Edit Formats
|
1729 |
$fdata["EditFormats"] = array();
|
1730 |
|
1731 |
-
$edata = array("EditFormat" => "
|
1732 |
|
1733 |
|
1734 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
@@ -1736,7 +1736,10 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1736 |
|
1737 |
|
1738 |
|
1739 |
-
|
|
|
|
|
|
|
1740 |
|
1741 |
|
1742 |
|
@@ -1746,24 +1749,21 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1746 |
|
1747 |
$edata["acceptFileTypesHtml"] = "";
|
1748 |
|
1749 |
-
$edata["maxNumberOfFiles"] =
|
1750 |
|
1751 |
|
1752 |
|
1753 |
|
1754 |
|
1755 |
-
|
1756 |
-
|
1757 |
-
$edata["EditParams"] = "";
|
1758 |
-
|
1759 |
$edata["controlWidth"] = 200;
|
1760 |
|
1761 |
// Begin validation
|
1762 |
$edata["validateAs"] = array();
|
1763 |
$edata["validateAs"]["basicValidate"] = array();
|
1764 |
$edata["validateAs"]["customMessages"] = array();
|
1765 |
-
|
1766 |
-
|
1767 |
|
1768 |
// End validation
|
1769 |
|
@@ -1807,8 +1807,8 @@ $tdatachat_history[".hideMobileList"] = array();
|
|
1807 |
//end of Filters settings
|
1808 |
|
1809 |
|
1810 |
-
$tdatachat_history["
|
1811 |
-
$tdatachat_history[".searchableFields"][] = "
|
1812 |
|
1813 |
|
1814 |
$tables_data["chat_history"]=&$tdatachat_history;
|
@@ -1853,7 +1853,7 @@ function createSqlQuery_chat_history()
|
|
1853 |
{
|
1854 |
$proto0=array();
|
1855 |
$proto0["m_strHead"] = "SELECT";
|
1856 |
-
$proto0["m_strFieldList"] = "
|
1857 |
$proto0["m_strFrom"] = "FROM chat_history";
|
1858 |
$proto0["m_strWhere"] = "";
|
1859 |
$proto0["m_strOrderBy"] = "";
|
@@ -1895,12 +1895,12 @@ $proto0["m_having"] = $obj;
|
|
1895 |
$proto0["m_fieldlist"] = array();
|
1896 |
$proto6=array();
|
1897 |
$obj = new SQLField(array(
|
1898 |
-
"m_strName" => "
|
1899 |
"m_strTable" => "chat_history",
|
1900 |
"m_srcTableName" => "chat_history"
|
1901 |
));
|
1902 |
|
1903 |
-
$proto6["m_sql"] = "
|
1904 |
$proto6["m_srcTableName"] = "chat_history";
|
1905 |
$proto6["m_expr"]=$obj;
|
1906 |
$proto6["m_alias"] = "";
|
@@ -1909,12 +1909,12 @@ $obj = new SQLFieldListItem($proto6);
|
|
1909 |
$proto0["m_fieldlist"][]=$obj;
|
1910 |
$proto8=array();
|
1911 |
$obj = new SQLField(array(
|
1912 |
-
"m_strName" => "
|
1913 |
"m_strTable" => "chat_history",
|
1914 |
"m_srcTableName" => "chat_history"
|
1915 |
));
|
1916 |
|
1917 |
-
$proto8["m_sql"] = "
|
1918 |
$proto8["m_srcTableName"] = "chat_history";
|
1919 |
$proto8["m_expr"]=$obj;
|
1920 |
$proto8["m_alias"] = "";
|
@@ -1923,12 +1923,12 @@ $obj = new SQLFieldListItem($proto8);
|
|
1923 |
$proto0["m_fieldlist"][]=$obj;
|
1924 |
$proto10=array();
|
1925 |
$obj = new SQLField(array(
|
1926 |
-
"m_strName" => "
|
1927 |
"m_strTable" => "chat_history",
|
1928 |
"m_srcTableName" => "chat_history"
|
1929 |
));
|
1930 |
|
1931 |
-
$proto10["m_sql"] = "
|
1932 |
$proto10["m_srcTableName"] = "chat_history";
|
1933 |
$proto10["m_expr"]=$obj;
|
1934 |
$proto10["m_alias"] = "";
|
@@ -1937,12 +1937,12 @@ $obj = new SQLFieldListItem($proto10);
|
|
1937 |
$proto0["m_fieldlist"][]=$obj;
|
1938 |
$proto12=array();
|
1939 |
$obj = new SQLField(array(
|
1940 |
-
"m_strName" => "
|
1941 |
"m_strTable" => "chat_history",
|
1942 |
"m_srcTableName" => "chat_history"
|
1943 |
));
|
1944 |
|
1945 |
-
$proto12["m_sql"] = "
|
1946 |
$proto12["m_srcTableName"] = "chat_history";
|
1947 |
$proto12["m_expr"]=$obj;
|
1948 |
$proto12["m_alias"] = "";
|
@@ -1951,12 +1951,12 @@ $obj = new SQLFieldListItem($proto12);
|
|
1951 |
$proto0["m_fieldlist"][]=$obj;
|
1952 |
$proto14=array();
|
1953 |
$obj = new SQLField(array(
|
1954 |
-
"m_strName" => "
|
1955 |
"m_strTable" => "chat_history",
|
1956 |
"m_srcTableName" => "chat_history"
|
1957 |
));
|
1958 |
|
1959 |
-
$proto14["m_sql"] = "
|
1960 |
$proto14["m_srcTableName"] = "chat_history";
|
1961 |
$proto14["m_expr"]=$obj;
|
1962 |
$proto14["m_alias"] = "";
|
@@ -1965,12 +1965,12 @@ $obj = new SQLFieldListItem($proto14);
|
|
1965 |
$proto0["m_fieldlist"][]=$obj;
|
1966 |
$proto16=array();
|
1967 |
$obj = new SQLField(array(
|
1968 |
-
"m_strName" => "
|
1969 |
"m_strTable" => "chat_history",
|
1970 |
"m_srcTableName" => "chat_history"
|
1971 |
));
|
1972 |
|
1973 |
-
$proto16["m_sql"] = "
|
1974 |
$proto16["m_srcTableName"] = "chat_history";
|
1975 |
$proto16["m_expr"]=$obj;
|
1976 |
$proto16["m_alias"] = "";
|
@@ -1979,12 +1979,12 @@ $obj = new SQLFieldListItem($proto16);
|
|
1979 |
$proto0["m_fieldlist"][]=$obj;
|
1980 |
$proto18=array();
|
1981 |
$obj = new SQLField(array(
|
1982 |
-
"m_strName" => "
|
1983 |
"m_strTable" => "chat_history",
|
1984 |
"m_srcTableName" => "chat_history"
|
1985 |
));
|
1986 |
|
1987 |
-
$proto18["m_sql"] = "
|
1988 |
$proto18["m_srcTableName"] = "chat_history";
|
1989 |
$proto18["m_expr"]=$obj;
|
1990 |
$proto18["m_alias"] = "";
|
@@ -2021,12 +2021,12 @@ $obj = new SQLFieldListItem($proto22);
|
|
2021 |
$proto0["m_fieldlist"][]=$obj;
|
2022 |
$proto24=array();
|
2023 |
$obj = new SQLField(array(
|
2024 |
-
"m_strName" => "
|
2025 |
"m_strTable" => "chat_history",
|
2026 |
"m_srcTableName" => "chat_history"
|
2027 |
));
|
2028 |
|
2029 |
-
$proto24["m_sql"] = "
|
2030 |
$proto24["m_srcTableName"] = "chat_history";
|
2031 |
$proto24["m_expr"]=$obj;
|
2032 |
$proto24["m_alias"] = "";
|
@@ -2035,12 +2035,12 @@ $obj = new SQLFieldListItem($proto24);
|
|
2035 |
$proto0["m_fieldlist"][]=$obj;
|
2036 |
$proto26=array();
|
2037 |
$obj = new SQLField(array(
|
2038 |
-
"m_strName" => "
|
2039 |
"m_strTable" => "chat_history",
|
2040 |
"m_srcTableName" => "chat_history"
|
2041 |
));
|
2042 |
|
2043 |
-
$proto26["m_sql"] = "
|
2044 |
$proto26["m_srcTableName"] = "chat_history";
|
2045 |
$proto26["m_expr"]=$obj;
|
2046 |
$proto26["m_alias"] = "";
|
@@ -2054,17 +2054,17 @@ $proto28["m_link"] = "SQLL_MAIN";
|
|
2054 |
$proto29["m_strName"] = "chat_history";
|
2055 |
$proto29["m_srcTableName"] = "chat_history";
|
2056 |
$proto29["m_columns"] = array();
|
|
|
2057 |
$proto29["m_columns"][] = "id";
|
|
|
|
|
2058 |
$proto29["m_columns"][] = "messages";
|
2059 |
$proto29["m_columns"][] = "ownerid";
|
2060 |
-
$proto29["m_columns"][] = "
|
2061 |
-
$proto29["m_columns"][] = "isread";
|
2062 |
-
$proto29["m_columns"][] = "targetid";
|
2063 |
-
$proto29["m_columns"][] = "tmp_file";
|
2064 |
$proto29["m_columns"][] = "status";
|
2065 |
$proto29["m_columns"][] = "status_created";
|
2066 |
-
$proto29["m_columns"][] = "
|
2067 |
-
$proto29["m_columns"][] = "
|
2068 |
$obj = new SQLTable($proto29);
|
2069 |
|
2070 |
$proto28["m_table"] = $obj;
|
|
|
177 |
$tdatachat_history[".requiredSearchFields"] = array();
|
178 |
|
179 |
$tdatachat_history[".googleLikeFields"] = array();
|
180 |
+
$tdatachat_history[".googleLikeFields"][] = "created";
|
181 |
$tdatachat_history[".googleLikeFields"][] = "id";
|
182 |
+
$tdatachat_history[".googleLikeFields"][] = "isread";
|
183 |
+
$tdatachat_history[".googleLikeFields"][] = "isVideo";
|
184 |
$tdatachat_history[".googleLikeFields"][] = "messages";
|
185 |
$tdatachat_history[".googleLikeFields"][] = "ownerid";
|
|
|
|
|
|
|
|
|
186 |
$tdatachat_history[".googleLikeFields"][] = "status";
|
187 |
$tdatachat_history[".googleLikeFields"][] = "status_created";
|
188 |
+
$tdatachat_history[".googleLikeFields"][] = "targetid";
|
189 |
+
$tdatachat_history[".googleLikeFields"][] = "tmp_file";
|
190 |
|
191 |
|
192 |
|
|
|
219 |
$tdatachat_history[".orderindexes"] = array();
|
220 |
|
221 |
|
222 |
+
$tdatachat_history[".sqlHead"] = "SELECT created, id, isread, isVideo, messages, ownerid, soundRecord, status, status_created, targetid, tmp_file";
|
223 |
$tdatachat_history[".sqlFrom"] = "FROM chat_history";
|
224 |
$tdatachat_history[".sqlWhereExpr"] = "";
|
225 |
$tdatachat_history[".sqlTail"] = "";
|
|
|
267 |
|
268 |
|
269 |
|
270 |
+
// created
|
271 |
// Custom field settings
|
272 |
$fdata = array();
|
273 |
$fdata["Index"] = 1;
|
274 |
+
$fdata["strName"] = "created";
|
275 |
+
$fdata["GoodName"] = "created";
|
276 |
$fdata["ownerTable"] = "chat_history";
|
277 |
+
$fdata["Label"] = GetFieldLabel("chat_history","created");
|
278 |
+
$fdata["FieldType"] = 200;
|
279 |
|
280 |
|
281 |
+
|
|
|
282 |
|
283 |
|
284 |
|
285 |
+
$fdata["strField"] = "created";
|
286 |
|
287 |
+
$fdata["sourceSingle"] = "created";
|
288 |
|
289 |
|
290 |
$fdata["isSQLExpression"] = true;
|
291 |
+
$fdata["FullName"] = "created";
|
292 |
|
293 |
|
294 |
|
|
|
337 |
|
338 |
|
339 |
|
340 |
+
|
|
|
341 |
|
342 |
|
343 |
|
|
|
352 |
$edata["HTML5InuptType"] = "text";
|
353 |
|
354 |
$edata["EditParams"] = "";
|
355 |
+
$edata["EditParams"].= " maxlength=100";
|
356 |
+
|
357 |
$edata["controlWidth"] = 200;
|
358 |
|
359 |
// Begin validation
|
360 |
$edata["validateAs"] = array();
|
361 |
$edata["validateAs"]["basicValidate"] = array();
|
362 |
$edata["validateAs"]["customMessages"] = array();
|
363 |
+
|
|
|
|
|
364 |
|
365 |
// End validation
|
366 |
|
|
|
379 |
|
380 |
|
381 |
// the field's search options settings
|
382 |
+
$fdata["defaultSearchOption"] = "Equals";
|
383 |
|
384 |
// the default search options list
|
385 |
$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
|
|
|
404 |
//end of Filters settings
|
405 |
|
406 |
|
407 |
+
$tdatachat_history["created"] = $fdata;
|
408 |
+
$tdatachat_history[".searchableFields"][] = "created";
|
409 |
+
// id
|
410 |
// Custom field settings
|
411 |
$fdata = array();
|
412 |
$fdata["Index"] = 2;
|
413 |
+
$fdata["strName"] = "id";
|
414 |
+
$fdata["GoodName"] = "id";
|
415 |
$fdata["ownerTable"] = "chat_history";
|
416 |
+
$fdata["Label"] = GetFieldLabel("chat_history","id");
|
417 |
+
$fdata["FieldType"] = 3;
|
418 |
|
419 |
|
420 |
+
$fdata["AutoInc"] = true;
|
421 |
+
|
422 |
|
423 |
|
424 |
|
425 |
+
$fdata["strField"] = "id";
|
426 |
|
427 |
+
$fdata["sourceSingle"] = "id";
|
428 |
|
429 |
|
430 |
$fdata["isSQLExpression"] = true;
|
431 |
+
$fdata["FullName"] = "id";
|
432 |
|
433 |
|
434 |
|
|
|
465 |
// Begin Edit Formats
|
466 |
$fdata["EditFormats"] = array();
|
467 |
|
468 |
+
$edata = array("EditFormat" => "Text field");
|
469 |
|
470 |
|
471 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
|
|
477 |
|
478 |
|
479 |
|
480 |
+
$edata["IsRequired"] = true;
|
481 |
+
|
482 |
|
483 |
|
484 |
|
485 |
$edata["acceptFileTypesHtml"] = "";
|
486 |
|
487 |
+
$edata["maxNumberOfFiles"] = 1;
|
488 |
|
489 |
|
490 |
|
491 |
|
|
|
|
|
|
|
|
|
492 |
|
493 |
+
$edata["HTML5InuptType"] = "text";
|
494 |
+
|
495 |
+
$edata["EditParams"] = "";
|
496 |
+
|
497 |
$edata["controlWidth"] = 200;
|
498 |
|
499 |
// Begin validation
|
500 |
$edata["validateAs"] = array();
|
501 |
$edata["validateAs"]["basicValidate"] = array();
|
502 |
$edata["validateAs"]["customMessages"] = array();
|
503 |
+
$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
|
504 |
+
$edata["validateAs"]["basicValidate"][] = "IsRequired";
|
505 |
+
|
506 |
|
507 |
// End validation
|
508 |
|
509 |
+
|
|
|
|
|
|
|
510 |
|
511 |
|
512 |
|
|
|
546 |
//end of Filters settings
|
547 |
|
548 |
|
549 |
+
$tdatachat_history["id"] = $fdata;
|
550 |
+
$tdatachat_history[".searchableFields"][] = "id";
|
551 |
+
// isread
|
552 |
// Custom field settings
|
553 |
$fdata = array();
|
554 |
$fdata["Index"] = 3;
|
555 |
+
$fdata["strName"] = "isread";
|
556 |
+
$fdata["GoodName"] = "isread";
|
557 |
$fdata["ownerTable"] = "chat_history";
|
558 |
+
$fdata["Label"] = GetFieldLabel("chat_history","isread");
|
559 |
$fdata["FieldType"] = 200;
|
560 |
|
561 |
|
|
|
563 |
|
564 |
|
565 |
|
566 |
+
$fdata["strField"] = "isread";
|
567 |
|
568 |
+
$fdata["sourceSingle"] = "isRead";
|
569 |
|
570 |
|
571 |
$fdata["isSQLExpression"] = true;
|
572 |
+
$fdata["FullName"] = "isread";
|
573 |
|
574 |
|
575 |
|
|
|
685 |
//end of Filters settings
|
686 |
|
687 |
|
688 |
+
$tdatachat_history["isread"] = $fdata;
|
689 |
+
$tdatachat_history[".searchableFields"][] = "isread";
|
690 |
+
// isVideo
|
691 |
// Custom field settings
|
692 |
$fdata = array();
|
693 |
$fdata["Index"] = 4;
|
694 |
+
$fdata["strName"] = "isVideo";
|
695 |
+
$fdata["GoodName"] = "isVideo";
|
696 |
$fdata["ownerTable"] = "chat_history";
|
697 |
+
$fdata["Label"] = GetFieldLabel("chat_history","isVideo");
|
698 |
+
$fdata["FieldType"] = 3;
|
699 |
|
700 |
|
701 |
|
702 |
|
703 |
|
704 |
|
705 |
+
$fdata["strField"] = "isVideo";
|
706 |
|
707 |
+
$fdata["sourceSingle"] = "isVideo";
|
708 |
|
709 |
|
710 |
$fdata["isSQLExpression"] = true;
|
711 |
+
$fdata["FullName"] = "isVideo";
|
712 |
|
713 |
|
714 |
|
|
|
772 |
$edata["HTML5InuptType"] = "text";
|
773 |
|
774 |
$edata["EditParams"] = "";
|
775 |
+
|
|
|
776 |
$edata["controlWidth"] = 200;
|
777 |
|
778 |
// Begin validation
|
779 |
$edata["validateAs"] = array();
|
780 |
$edata["validateAs"]["basicValidate"] = array();
|
781 |
$edata["validateAs"]["customMessages"] = array();
|
782 |
+
$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
|
783 |
+
|
784 |
|
785 |
// End validation
|
786 |
|
|
|
799 |
|
800 |
|
801 |
// the field's search options settings
|
802 |
+
$fdata["defaultSearchOption"] = "Contains";
|
803 |
|
804 |
// the default search options list
|
805 |
$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
|
|
|
824 |
//end of Filters settings
|
825 |
|
826 |
|
827 |
+
$tdatachat_history["isVideo"] = $fdata;
|
828 |
+
$tdatachat_history[".searchableFields"][] = "isVideo";
|
829 |
+
// messages
|
830 |
// Custom field settings
|
831 |
$fdata = array();
|
832 |
$fdata["Index"] = 5;
|
833 |
+
$fdata["strName"] = "messages";
|
834 |
+
$fdata["GoodName"] = "messages";
|
835 |
$fdata["ownerTable"] = "chat_history";
|
836 |
+
$fdata["Label"] = GetFieldLabel("chat_history","messages");
|
837 |
$fdata["FieldType"] = 200;
|
838 |
|
839 |
|
|
|
841 |
|
842 |
|
843 |
|
844 |
+
$fdata["strField"] = "messages";
|
845 |
|
846 |
+
$fdata["sourceSingle"] = "messages";
|
847 |
|
848 |
|
849 |
$fdata["isSQLExpression"] = true;
|
850 |
+
$fdata["FullName"] = "messages";
|
851 |
|
852 |
|
853 |
|
|
|
884 |
// Begin Edit Formats
|
885 |
$fdata["EditFormats"] = array();
|
886 |
|
887 |
+
$edata = array("EditFormat" => "Text area");
|
888 |
|
889 |
|
890 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
|
|
902 |
|
903 |
$edata["acceptFileTypesHtml"] = "";
|
904 |
|
905 |
+
$edata["maxNumberOfFiles"] = 0;
|
906 |
|
907 |
|
908 |
|
909 |
|
910 |
+
$edata["nRows"] = 100;
|
911 |
+
$edata["nCols"] = 200;
|
|
|
|
|
|
|
912 |
|
913 |
+
|
914 |
+
|
915 |
$edata["controlWidth"] = 200;
|
916 |
|
917 |
// Begin validation
|
|
|
922 |
|
923 |
// End validation
|
924 |
|
925 |
+
$edata["CreateThumbnail"] = true;
|
926 |
+
$edata["StrThumbnail"] = "th";
|
927 |
+
$edata["ThumbnailSize"] = 600;
|
928 |
+
|
929 |
|
930 |
|
931 |
|
|
|
965 |
//end of Filters settings
|
966 |
|
967 |
|
968 |
+
$tdatachat_history["messages"] = $fdata;
|
969 |
+
$tdatachat_history[".searchableFields"][] = "messages";
|
970 |
+
// ownerid
|
971 |
// Custom field settings
|
972 |
$fdata = array();
|
973 |
$fdata["Index"] = 6;
|
974 |
+
$fdata["strName"] = "ownerid";
|
975 |
+
$fdata["GoodName"] = "ownerid";
|
976 |
$fdata["ownerTable"] = "chat_history";
|
977 |
+
$fdata["Label"] = GetFieldLabel("chat_history","ownerid");
|
978 |
$fdata["FieldType"] = 200;
|
979 |
|
980 |
|
|
|
982 |
|
983 |
|
984 |
|
985 |
+
$fdata["strField"] = "ownerid";
|
986 |
|
987 |
+
$fdata["sourceSingle"] = "ownerid";
|
988 |
|
989 |
|
990 |
$fdata["isSQLExpression"] = true;
|
991 |
+
$fdata["FullName"] = "ownerid";
|
992 |
|
993 |
|
994 |
|
|
|
1104 |
//end of Filters settings
|
1105 |
|
1106 |
|
1107 |
+
$tdatachat_history["ownerid"] = $fdata;
|
1108 |
+
$tdatachat_history[".searchableFields"][] = "ownerid";
|
1109 |
+
// soundRecord
|
1110 |
// Custom field settings
|
1111 |
$fdata = array();
|
1112 |
$fdata["Index"] = 7;
|
1113 |
+
$fdata["strName"] = "soundRecord";
|
1114 |
+
$fdata["GoodName"] = "soundRecord";
|
1115 |
$fdata["ownerTable"] = "chat_history";
|
1116 |
+
$fdata["Label"] = GetFieldLabel("chat_history","soundRecord");
|
1117 |
+
$fdata["FieldType"] = 128;
|
1118 |
|
1119 |
|
1120 |
|
1121 |
|
1122 |
|
1123 |
|
1124 |
+
$fdata["strField"] = "soundRecord";
|
1125 |
|
1126 |
+
$fdata["sourceSingle"] = "soundRecord";
|
1127 |
|
1128 |
|
1129 |
$fdata["isSQLExpression"] = true;
|
1130 |
+
$fdata["FullName"] = "soundRecord";
|
1131 |
|
1132 |
|
1133 |
|
|
|
1136 |
// Begin View Formats
|
1137 |
$fdata["ViewFormats"] = array();
|
1138 |
|
1139 |
+
$vdata = array("ViewFormat" => "Database Image");
|
1140 |
|
1141 |
|
1142 |
|
1143 |
+
$vdata["ImageWidth"] = 600;
|
1144 |
+
$vdata["ImageHeight"] = 400;
|
1145 |
+
|
1146 |
+
|
1147 |
+
$vdata["showGallery"] = true;
|
1148 |
+
$vdata["galleryMode"] = 2;
|
1149 |
+
$vdata["captionMode"] = 1;
|
1150 |
+
$vdata["captionField"] = "";
|
1151 |
+
|
1152 |
+
$vdata["imageBorder"] = 1;
|
1153 |
+
$vdata["imageFullWidth"] = 1;
|
1154 |
+
|
1155 |
+
|
1156 |
|
1157 |
|
1158 |
|
|
|
1164 |
|
1165 |
|
1166 |
|
1167 |
+
$vdata["NeedEncode"] = true;
|
1168 |
+
|
1169 |
|
1170 |
$vdata["truncateText"] = true;
|
1171 |
$vdata["NumberOfChars"] = 80;
|
|
|
1176 |
// Begin Edit Formats
|
1177 |
$fdata["EditFormats"] = array();
|
1178 |
|
1179 |
+
$edata = array("EditFormat" => "Database image");
|
1180 |
|
1181 |
|
1182 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
|
|
1184 |
|
1185 |
|
1186 |
|
1187 |
+
|
|
|
|
|
|
|
1188 |
|
1189 |
|
1190 |
|
|
|
1194 |
|
1195 |
$edata["acceptFileTypesHtml"] = "";
|
1196 |
|
1197 |
+
$edata["maxNumberOfFiles"] = 1;
|
1198 |
|
1199 |
|
1200 |
|
|
|
1227 |
|
1228 |
|
1229 |
// the field's search options settings
|
1230 |
+
$fdata["defaultSearchOption"] = "NOT Empty";
|
1231 |
|
1232 |
// the default search options list
|
1233 |
$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
|
|
|
1252 |
//end of Filters settings
|
1253 |
|
1254 |
|
1255 |
+
$tdatachat_history["soundRecord"] = $fdata;
|
1256 |
+
// status
|
|
|
1257 |
// Custom field settings
|
1258 |
$fdata = array();
|
1259 |
$fdata["Index"] = 8;
|
|
|
1531 |
|
1532 |
$tdatachat_history["status_created"] = $fdata;
|
1533 |
$tdatachat_history[".searchableFields"][] = "status_created";
|
1534 |
+
// targetid
|
1535 |
// Custom field settings
|
1536 |
$fdata = array();
|
1537 |
$fdata["Index"] = 10;
|
1538 |
+
$fdata["strName"] = "targetid";
|
1539 |
+
$fdata["GoodName"] = "targetid";
|
1540 |
$fdata["ownerTable"] = "chat_history";
|
1541 |
+
$fdata["Label"] = GetFieldLabel("chat_history","targetid");
|
1542 |
+
$fdata["FieldType"] = 200;
|
1543 |
|
1544 |
|
1545 |
|
1546 |
|
1547 |
|
1548 |
|
1549 |
+
$fdata["strField"] = "targetid";
|
1550 |
|
1551 |
+
$fdata["sourceSingle"] = "targetid";
|
1552 |
|
1553 |
|
1554 |
$fdata["isSQLExpression"] = true;
|
1555 |
+
$fdata["FullName"] = "targetid";
|
1556 |
|
1557 |
|
1558 |
|
|
|
1561 |
// Begin View Formats
|
1562 |
$fdata["ViewFormats"] = array();
|
1563 |
|
1564 |
+
$vdata = array("ViewFormat" => "");
|
1565 |
|
1566 |
|
1567 |
|
1568 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1569 |
|
1570 |
|
1571 |
|
|
|
1589 |
// Begin Edit Formats
|
1590 |
$fdata["EditFormats"] = array();
|
1591 |
|
1592 |
+
$edata = array("EditFormat" => "Text field");
|
1593 |
|
1594 |
|
1595 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
|
|
1613 |
|
1614 |
|
1615 |
|
1616 |
+
$edata["HTML5InuptType"] = "text";
|
1617 |
+
|
1618 |
+
$edata["EditParams"] = "";
|
1619 |
+
$edata["EditParams"].= " maxlength=500";
|
1620 |
+
|
1621 |
$edata["controlWidth"] = 200;
|
1622 |
|
1623 |
// Begin validation
|
|
|
1643 |
|
1644 |
|
1645 |
// the field's search options settings
|
1646 |
+
$fdata["defaultSearchOption"] = "Contains";
|
1647 |
|
1648 |
// the default search options list
|
1649 |
$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
|
|
|
1668 |
//end of Filters settings
|
1669 |
|
1670 |
|
1671 |
+
$tdatachat_history["targetid"] = $fdata;
|
1672 |
+
$tdatachat_history[".searchableFields"][] = "targetid";
|
1673 |
+
// tmp_file
|
1674 |
// Custom field settings
|
1675 |
$fdata = array();
|
1676 |
$fdata["Index"] = 11;
|
1677 |
+
$fdata["strName"] = "tmp_file";
|
1678 |
+
$fdata["GoodName"] = "tmp_file";
|
1679 |
$fdata["ownerTable"] = "chat_history";
|
1680 |
+
$fdata["Label"] = GetFieldLabel("chat_history","tmp_file");
|
1681 |
+
$fdata["FieldType"] = 200;
|
1682 |
|
1683 |
|
1684 |
|
1685 |
|
1686 |
|
1687 |
|
1688 |
+
$fdata["strField"] = "tmp_file";
|
1689 |
|
1690 |
+
$fdata["sourceSingle"] = "tmp_file";
|
1691 |
|
1692 |
|
1693 |
$fdata["isSQLExpression"] = true;
|
1694 |
+
$fdata["FullName"] = "tmp_file";
|
1695 |
|
1696 |
|
1697 |
|
|
|
1700 |
// Begin View Formats
|
1701 |
$fdata["ViewFormats"] = array();
|
1702 |
|
1703 |
+
$vdata = array("ViewFormat" => "Document Download");
|
1704 |
|
1705 |
|
1706 |
|
1707 |
|
1708 |
+
$vdata["ShowIcon"] = true;
|
1709 |
+
|
1710 |
|
1711 |
|
1712 |
|
|
|
1718 |
|
1719 |
|
1720 |
|
|
|
|
|
1721 |
|
1722 |
$vdata["truncateText"] = true;
|
1723 |
$vdata["NumberOfChars"] = 80;
|
|
|
1728 |
// Begin Edit Formats
|
1729 |
$fdata["EditFormats"] = array();
|
1730 |
|
1731 |
+
$edata = array("EditFormat" => "Document upload");
|
1732 |
|
1733 |
|
1734 |
$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
|
|
|
1736 |
|
1737 |
|
1738 |
|
1739 |
+
$eventsData = array();
|
1740 |
+
$eventsData[] = array( "name" => "tmp_file_event", "type" => "change" );
|
1741 |
+
$edata["fieldEvents"] = $eventsData;
|
1742 |
+
|
1743 |
|
1744 |
|
1745 |
|
|
|
1749 |
|
1750 |
$edata["acceptFileTypesHtml"] = "";
|
1751 |
|
1752 |
+
$edata["maxNumberOfFiles"] = 0;
|
1753 |
|
1754 |
|
1755 |
|
1756 |
|
1757 |
|
1758 |
+
|
1759 |
+
|
|
|
|
|
1760 |
$edata["controlWidth"] = 200;
|
1761 |
|
1762 |
// Begin validation
|
1763 |
$edata["validateAs"] = array();
|
1764 |
$edata["validateAs"]["basicValidate"] = array();
|
1765 |
$edata["validateAs"]["customMessages"] = array();
|
1766 |
+
|
|
|
1767 |
|
1768 |
// End validation
|
1769 |
|
|
|
1807 |
//end of Filters settings
|
1808 |
|
1809 |
|
1810 |
+
$tdatachat_history["tmp_file"] = $fdata;
|
1811 |
+
$tdatachat_history[".searchableFields"][] = "tmp_file";
|
1812 |
|
1813 |
|
1814 |
$tables_data["chat_history"]=&$tdatachat_history;
|
|
|
1853 |
{
|
1854 |
$proto0=array();
|
1855 |
$proto0["m_strHead"] = "SELECT";
|
1856 |
+
$proto0["m_strFieldList"] = "created, id, isread, isVideo, messages, ownerid, soundRecord, status, status_created, targetid, tmp_file";
|
1857 |
$proto0["m_strFrom"] = "FROM chat_history";
|
1858 |
$proto0["m_strWhere"] = "";
|
1859 |
$proto0["m_strOrderBy"] = "";
|
|
|
1895 |
$proto0["m_fieldlist"] = array();
|
1896 |
$proto6=array();
|
1897 |
$obj = new SQLField(array(
|
1898 |
+
"m_strName" => "created",
|
1899 |
"m_strTable" => "chat_history",
|
1900 |
"m_srcTableName" => "chat_history"
|
1901 |
));
|
1902 |
|
1903 |
+
$proto6["m_sql"] = "created";
|
1904 |
$proto6["m_srcTableName"] = "chat_history";
|
1905 |
$proto6["m_expr"]=$obj;
|
1906 |
$proto6["m_alias"] = "";
|
|
|
1909 |
$proto0["m_fieldlist"][]=$obj;
|
1910 |
$proto8=array();
|
1911 |
$obj = new SQLField(array(
|
1912 |
+
"m_strName" => "id",
|
1913 |
"m_strTable" => "chat_history",
|
1914 |
"m_srcTableName" => "chat_history"
|
1915 |
));
|
1916 |
|
1917 |
+
$proto8["m_sql"] = "id";
|
1918 |
$proto8["m_srcTableName"] = "chat_history";
|
1919 |
$proto8["m_expr"]=$obj;
|
1920 |
$proto8["m_alias"] = "";
|
|
|
1923 |
$proto0["m_fieldlist"][]=$obj;
|
1924 |
$proto10=array();
|
1925 |
$obj = new SQLField(array(
|
1926 |
+
"m_strName" => "isread",
|
1927 |
"m_strTable" => "chat_history",
|
1928 |
"m_srcTableName" => "chat_history"
|
1929 |
));
|
1930 |
|
1931 |
+
$proto10["m_sql"] = "isread";
|
1932 |
$proto10["m_srcTableName"] = "chat_history";
|
1933 |
$proto10["m_expr"]=$obj;
|
1934 |
$proto10["m_alias"] = "";
|
|
|
1937 |
$proto0["m_fieldlist"][]=$obj;
|
1938 |
$proto12=array();
|
1939 |
$obj = new SQLField(array(
|
1940 |
+
"m_strName" => "isVideo",
|
1941 |
"m_strTable" => "chat_history",
|
1942 |
"m_srcTableName" => "chat_history"
|
1943 |
));
|
1944 |
|
1945 |
+
$proto12["m_sql"] = "isVideo";
|
1946 |
$proto12["m_srcTableName"] = "chat_history";
|
1947 |
$proto12["m_expr"]=$obj;
|
1948 |
$proto12["m_alias"] = "";
|
|
|
1951 |
$proto0["m_fieldlist"][]=$obj;
|
1952 |
$proto14=array();
|
1953 |
$obj = new SQLField(array(
|
1954 |
+
"m_strName" => "messages",
|
1955 |
"m_strTable" => "chat_history",
|
1956 |
"m_srcTableName" => "chat_history"
|
1957 |
));
|
1958 |
|
1959 |
+
$proto14["m_sql"] = "messages";
|
1960 |
$proto14["m_srcTableName"] = "chat_history";
|
1961 |
$proto14["m_expr"]=$obj;
|
1962 |
$proto14["m_alias"] = "";
|
|
|
1965 |
$proto0["m_fieldlist"][]=$obj;
|
1966 |
$proto16=array();
|
1967 |
$obj = new SQLField(array(
|
1968 |
+
"m_strName" => "ownerid",
|
1969 |
"m_strTable" => "chat_history",
|
1970 |
"m_srcTableName" => "chat_history"
|
1971 |
));
|
1972 |
|
1973 |
+
$proto16["m_sql"] = "ownerid";
|
1974 |
$proto16["m_srcTableName"] = "chat_history";
|
1975 |
$proto16["m_expr"]=$obj;
|
1976 |
$proto16["m_alias"] = "";
|
|
|
1979 |
$proto0["m_fieldlist"][]=$obj;
|
1980 |
$proto18=array();
|
1981 |
$obj = new SQLField(array(
|
1982 |
+
"m_strName" => "soundRecord",
|
1983 |
"m_strTable" => "chat_history",
|
1984 |
"m_srcTableName" => "chat_history"
|
1985 |
));
|
1986 |
|
1987 |
+
$proto18["m_sql"] = "soundRecord";
|
1988 |
$proto18["m_srcTableName"] = "chat_history";
|
1989 |
$proto18["m_expr"]=$obj;
|
1990 |
$proto18["m_alias"] = "";
|
|
|
2021 |
$proto0["m_fieldlist"][]=$obj;
|
2022 |
$proto24=array();
|
2023 |
$obj = new SQLField(array(
|
2024 |
+
"m_strName" => "targetid",
|
2025 |
"m_strTable" => "chat_history",
|
2026 |
"m_srcTableName" => "chat_history"
|
2027 |
));
|
2028 |
|
2029 |
+
$proto24["m_sql"] = "targetid";
|
2030 |
$proto24["m_srcTableName"] = "chat_history";
|
2031 |
$proto24["m_expr"]=$obj;
|
2032 |
$proto24["m_alias"] = "";
|
|
|
2035 |
$proto0["m_fieldlist"][]=$obj;
|
2036 |
$proto26=array();
|
2037 |
$obj = new SQLField(array(
|
2038 |
+
"m_strName" => "tmp_file",
|
2039 |
"m_strTable" => "chat_history",
|
2040 |
"m_srcTableName" => "chat_history"
|
2041 |
));
|
2042 |
|
2043 |
+
$proto26["m_sql"] = "tmp_file";
|
2044 |
$proto26["m_srcTableName"] = "chat_history";
|
2045 |
$proto26["m_expr"]=$obj;
|
2046 |
$proto26["m_alias"] = "";
|
|
|
2054 |
$proto29["m_strName"] = "chat_history";
|
2055 |
$proto29["m_srcTableName"] = "chat_history";
|
2056 |
$proto29["m_columns"] = array();
|
2057 |
+
$proto29["m_columns"][] = "created";
|
2058 |
$proto29["m_columns"][] = "id";
|
2059 |
+
$proto29["m_columns"][] = "isread";
|
2060 |
+
$proto29["m_columns"][] = "isVideo";
|
2061 |
$proto29["m_columns"][] = "messages";
|
2062 |
$proto29["m_columns"][] = "ownerid";
|
2063 |
+
$proto29["m_columns"][] = "soundRecord";
|
|
|
|
|
|
|
2064 |
$proto29["m_columns"][] = "status";
|
2065 |
$proto29["m_columns"][] = "status_created";
|
2066 |
+
$proto29["m_columns"][] = "targetid";
|
2067 |
+
$proto29["m_columns"][] = "tmp_file";
|
2068 |
$obj = new SQLTable($proto29);
|
2069 |
|
2070 |
$proto28["m_table"] = $obj;
|
php/public/include/commonfunctions.php
CHANGED
@@ -229,12 +229,6 @@ function checkTableName($shortTName )
|
|
229 |
return true;
|
230 |
if ("chat_external" == $shortTName )
|
231 |
return true;
|
232 |
-
if ("mst_quality" == $shortTName )
|
233 |
-
return true;
|
234 |
-
if ("mst_producing_area" == $shortTName )
|
235 |
-
return true;
|
236 |
-
if ("mst_processing" == $shortTName )
|
237 |
-
return true;
|
238 |
return false;
|
239 |
}
|
240 |
|
@@ -402,33 +396,6 @@ function GetTablesList($pdfMode = false)
|
|
402 |
if( $tableAvailable ) {
|
403 |
$arr[]="chat_external";
|
404 |
}
|
405 |
-
$tableAvailable = true;
|
406 |
-
if( $checkPermissions ) {
|
407 |
-
$strPerm = GetUserPermissions("mst_quality");
|
408 |
-
$tableAvailable = ( strpos($strPerm, "P") !== false
|
409 |
-
|| $pdfMode && strpos($strPerm, "S") !== false );
|
410 |
-
}
|
411 |
-
if( $tableAvailable ) {
|
412 |
-
$arr[]="mst_quality";
|
413 |
-
}
|
414 |
-
$tableAvailable = true;
|
415 |
-
if( $checkPermissions ) {
|
416 |
-
$strPerm = GetUserPermissions("mst_producing_area");
|
417 |
-
$tableAvailable = ( strpos($strPerm, "P") !== false
|
418 |
-
|| $pdfMode && strpos($strPerm, "S") !== false );
|
419 |
-
}
|
420 |
-
if( $tableAvailable ) {
|
421 |
-
$arr[]="mst_producing_area";
|
422 |
-
}
|
423 |
-
$tableAvailable = true;
|
424 |
-
if( $checkPermissions ) {
|
425 |
-
$strPerm = GetUserPermissions("mst_processing");
|
426 |
-
$tableAvailable = ( strpos($strPerm, "P") !== false
|
427 |
-
|| $pdfMode && strpos($strPerm, "S") !== false );
|
428 |
-
}
|
429 |
-
if( $tableAvailable ) {
|
430 |
-
$arr[]="mst_processing";
|
431 |
-
}
|
432 |
return $arr;
|
433 |
}
|
434 |
|
@@ -451,9 +418,6 @@ function GetTablesListWithoutSecurity()
|
|
451 |
$arr[]="admin_users";
|
452 |
$arr[]="chat_agent";
|
453 |
$arr[]="chat_external";
|
454 |
-
$arr[]="mst_quality";
|
455 |
-
$arr[]="mst_producing_area";
|
456 |
-
$arr[]="mst_processing";
|
457 |
return $arr;
|
458 |
}
|
459 |
|
@@ -1195,33 +1159,6 @@ function GetUserPermissionsStatic( $table )
|
|
1195 |
{
|
1196 |
return "ADESPI".$extraPerm;
|
1197 |
}
|
1198 |
-
// default permissions
|
1199 |
-
return "ADESPI".$extraPerm;
|
1200 |
-
}
|
1201 |
-
if( $table=="mst_quality" )
|
1202 |
-
{
|
1203 |
-
if( $sUserGroup=="admin" )
|
1204 |
-
{
|
1205 |
-
return "ADESPI".$extraPerm;
|
1206 |
-
}
|
1207 |
-
// default permissions
|
1208 |
-
return "ADESPI".$extraPerm;
|
1209 |
-
}
|
1210 |
-
if( $table=="mst_producing_area" )
|
1211 |
-
{
|
1212 |
-
if( $sUserGroup=="admin" )
|
1213 |
-
{
|
1214 |
-
return "ADESPI".$extraPerm;
|
1215 |
-
}
|
1216 |
-
// default permissions
|
1217 |
-
return "ADESPI".$extraPerm;
|
1218 |
-
}
|
1219 |
-
if( $table=="mst_processing" )
|
1220 |
-
{
|
1221 |
-
if( $sUserGroup=="admin" )
|
1222 |
-
{
|
1223 |
-
return "ADESPI".$extraPerm;
|
1224 |
-
}
|
1225 |
// default permissions
|
1226 |
return "ADESPI".$extraPerm;
|
1227 |
}
|
|
|
229 |
return true;
|
230 |
if ("chat_external" == $shortTName )
|
231 |
return true;
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
return false;
|
233 |
}
|
234 |
|
|
|
396 |
if( $tableAvailable ) {
|
397 |
$arr[]="chat_external";
|
398 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
399 |
return $arr;
|
400 |
}
|
401 |
|
|
|
418 |
$arr[]="admin_users";
|
419 |
$arr[]="chat_agent";
|
420 |
$arr[]="chat_external";
|
|
|
|
|
|
|
421 |
return $arr;
|
422 |
}
|
423 |
|
|
|
1159 |
{
|
1160 |
return "ADESPI".$extraPerm;
|
1161 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1162 |
// default permissions
|
1163 |
return "ADESPI".$extraPerm;
|
1164 |
}
|
php/public/include/menunodes_main.php
CHANGED
@@ -132,84 +132,6 @@
|
|
132 |
|
133 |
|
134 |
|
135 |
-
$menuNodes[] = $menuNode;
|
136 |
-
$menuNode = array();
|
137 |
-
$menuNode["id"] = "7";
|
138 |
-
$menuNode["name"] = "";
|
139 |
-
$menuNode["href"] = "mypage.htm";
|
140 |
-
$menuNode["type"] = "Leaf";
|
141 |
-
$menuNode["table"] = "mst_quality";
|
142 |
-
$menuNode["style"] = "";
|
143 |
-
$menuNode["params"] = "";
|
144 |
-
$menuNode["parent"] = "0";
|
145 |
-
$menuNode["nameType"] = "Text";
|
146 |
-
$menuNode["linkType"] = "Internal";
|
147 |
-
$menuNode["pageType"] = strtolower("List");//
|
148 |
-
$menuNode["pageId"] = "";
|
149 |
-
$menuNode["openType"] = "None";
|
150 |
-
|
151 |
-
$menuNode["icon"] = "glyphicon-earphone";
|
152 |
-
$menuNode["iconType"] = "2";
|
153 |
-
$menuNode["iconShow"] = "2";
|
154 |
-
|
155 |
-
$menuNode["color"] = "";
|
156 |
-
|
157 |
-
$menuNode["title"] = "Mst Quality";
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
$menuNodes[] = $menuNode;
|
162 |
-
$menuNode = array();
|
163 |
-
$menuNode["id"] = "8";
|
164 |
-
$menuNode["name"] = "";
|
165 |
-
$menuNode["href"] = "mypage.htm";
|
166 |
-
$menuNode["type"] = "Leaf";
|
167 |
-
$menuNode["table"] = "mst_producing_area";
|
168 |
-
$menuNode["style"] = "";
|
169 |
-
$menuNode["params"] = "";
|
170 |
-
$menuNode["parent"] = "0";
|
171 |
-
$menuNode["nameType"] = "Text";
|
172 |
-
$menuNode["linkType"] = "Internal";
|
173 |
-
$menuNode["pageType"] = strtolower("List");//
|
174 |
-
$menuNode["pageId"] = "";
|
175 |
-
$menuNode["openType"] = "None";
|
176 |
-
|
177 |
-
$menuNode["icon"] = "glyphicon-hand-right";
|
178 |
-
$menuNode["iconType"] = "2";
|
179 |
-
$menuNode["iconShow"] = "2";
|
180 |
-
|
181 |
-
$menuNode["color"] = "";
|
182 |
-
|
183 |
-
$menuNode["title"] = "Mst Producing Area";
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
$menuNodes[] = $menuNode;
|
188 |
-
$menuNode = array();
|
189 |
-
$menuNode["id"] = "9";
|
190 |
-
$menuNode["name"] = "";
|
191 |
-
$menuNode["href"] = "mypage.htm";
|
192 |
-
$menuNode["type"] = "Leaf";
|
193 |
-
$menuNode["table"] = "mst_processing";
|
194 |
-
$menuNode["style"] = "";
|
195 |
-
$menuNode["params"] = "";
|
196 |
-
$menuNode["parent"] = "0";
|
197 |
-
$menuNode["nameType"] = "Text";
|
198 |
-
$menuNode["linkType"] = "Internal";
|
199 |
-
$menuNode["pageType"] = strtolower("List");//
|
200 |
-
$menuNode["pageId"] = "";
|
201 |
-
$menuNode["openType"] = "None";
|
202 |
-
|
203 |
-
$menuNode["icon"] = "";
|
204 |
-
$menuNode["iconType"] = "0";
|
205 |
-
$menuNode["iconShow"] = "1";
|
206 |
-
|
207 |
-
$menuNode["color"] = "";
|
208 |
-
|
209 |
-
$menuNode["title"] = "Mst Processing";
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
$menuNodes[] = $menuNode;
|
214 |
$menuNodesCache[ "main" ] = $menuNodes;
|
215 |
?>
|
|
|
132 |
|
133 |
|
134 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
$menuNodes[] = $menuNode;
|
136 |
$menuNodesCache[ "main" ] = $menuNodes;
|
137 |
?>
|
php/public/include/pages/_global_menu_Chat1.php
CHANGED
@@ -28,24 +28,6 @@
|
|
28 |
'linkType' => 0,
|
29 |
'items' => null,
|
30 |
'table' => 'chat_external',
|
31 |
-
'page' => 'list' ),
|
32 |
-
'welcome_item5' => array( 'menutItem' => true,
|
33 |
-
'group' => false,
|
34 |
-
'linkType' => 0,
|
35 |
-
'items' => null,
|
36 |
-
'table' => 'mst_quality',
|
37 |
-
'page' => 'list' ),
|
38 |
-
'welcome_item6' => array( 'menutItem' => true,
|
39 |
-
'group' => false,
|
40 |
-
'linkType' => 0,
|
41 |
-
'items' => null,
|
42 |
-
'table' => 'mst_producing_area',
|
43 |
-
'page' => 'list' ),
|
44 |
-
'welcome_item7' => array( 'menutItem' => true,
|
45 |
-
'group' => false,
|
46 |
-
'linkType' => 0,
|
47 |
-
'items' => null,
|
48 |
-
'table' => 'mst_processing',
|
49 |
'page' => 'list' ) ) ),
|
50 |
'fields' => array( 'gridFields' => array( ),
|
51 |
'searchRequiredFields' => array( ),
|
@@ -60,10 +42,7 @@
|
|
60 |
'grid' => array( 'welcome_item',
|
61 |
'welcome_item2',
|
62 |
'welcome_item3',
|
63 |
-
'welcome_item4',
|
64 |
-
'welcome_item5',
|
65 |
-
'welcome_item6',
|
66 |
-
'welcome_item7' ) ),
|
67 |
'formXtTags' => array( 'above-grid' => array( ) ),
|
68 |
'itemForms' => array( 'logo' => 'supertop',
|
69 |
'menu' => 'supertop',
|
@@ -73,10 +52,7 @@
|
|
73 |
'welcome_item' => 'grid',
|
74 |
'welcome_item2' => 'grid',
|
75 |
'welcome_item3' => 'grid',
|
76 |
-
'welcome_item4' => 'grid',
|
77 |
-
'welcome_item5' => 'grid',
|
78 |
-
'welcome_item6' => 'grid',
|
79 |
-
'welcome_item7' => 'grid' ),
|
80 |
'itemLocations' => array( ),
|
81 |
'itemVisiblity' => array( 'menu' => 3,
|
82 |
'list_options' => 3,
|
@@ -87,10 +63,7 @@
|
|
87 |
'welcome_item' => array( 'welcome_item',
|
88 |
'welcome_item2',
|
89 |
'welcome_item3',
|
90 |
-
'welcome_item4',
|
91 |
-
'welcome_item5',
|
92 |
-
'welcome_item6',
|
93 |
-
'welcome_item7' ),
|
94 |
'list_options' => array( 'list_options' ),
|
95 |
'username_button' => array( 'username_button' ),
|
96 |
'loginform_login' => array( 'loginform_login' ),
|
@@ -145,10 +118,7 @@ array( 'cell' => 'c2' ) ),
|
|
145 |
'items' => array( 'welcome_item',
|
146 |
'welcome_item2',
|
147 |
'welcome_item3',
|
148 |
-
'welcome_item4',
|
149 |
-
'welcome_item5',
|
150 |
-
'welcome_item6',
|
151 |
-
'welcome_item7' ) ) ),
|
152 |
'deferredItems' => array( ),
|
153 |
'recsPerRow' => 1 ) ),
|
154 |
'items' => array( 'logo' => array( 'type' => 'logo' ),
|
@@ -202,32 +172,6 @@ array( 'cell' => 'c2' ) ),
|
|
202 |
'linkComments' => array( 'text' => 'Chat External description',
|
203 |
'type' => 0 ),
|
204 |
'background' => '#E07878',
|
205 |
-
'linkType' => 0 ),
|
206 |
-
'welcome_item5' => array( 'type' => 'welcome_item',
|
207 |
-
'linkUrl' => '',
|
208 |
-
'linkTable' => 'mst_quality',
|
209 |
-
'linkPage' => 'list',
|
210 |
-
'linkText' => array( 'table' => 'mst_quality',
|
211 |
-
'type' => 6 ),
|
212 |
-
'linkIcon' => array( 'glyph' => 'earphone' ),
|
213 |
-
'background' => '#2F4F4F',
|
214 |
-
'linkType' => 0 ),
|
215 |
-
'welcome_item6' => array( 'type' => 'welcome_item',
|
216 |
-
'linkUrl' => '',
|
217 |
-
'linkTable' => 'mst_producing_area',
|
218 |
-
'linkPage' => 'list',
|
219 |
-
'linkText' => array( 'table' => 'mst_producing_area',
|
220 |
-
'type' => 6 ),
|
221 |
-
'linkIcon' => array( 'glyph' => 'hand-right' ),
|
222 |
-
'background' => '#00C2C5',
|
223 |
-
'linkType' => 0 ),
|
224 |
-
'welcome_item7' => array( 'type' => 'welcome_item',
|
225 |
-
'linkUrl' => '',
|
226 |
-
'linkTable' => 'mst_processing',
|
227 |
-
'linkPage' => 'list',
|
228 |
-
'linkText' => array( 'table' => 'mst_processing',
|
229 |
-
'type' => 6 ),
|
230 |
-
'background' => '#4169E1',
|
231 |
'linkType' => 0 ) ),
|
232 |
'dbProps' => array( ),
|
233 |
'version' => 14,
|
|
|
28 |
'linkType' => 0,
|
29 |
'items' => null,
|
30 |
'table' => 'chat_external',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
'page' => 'list' ) ) ),
|
32 |
'fields' => array( 'gridFields' => array( ),
|
33 |
'searchRequiredFields' => array( ),
|
|
|
42 |
'grid' => array( 'welcome_item',
|
43 |
'welcome_item2',
|
44 |
'welcome_item3',
|
45 |
+
'welcome_item4' ) ),
|
|
|
|
|
|
|
46 |
'formXtTags' => array( 'above-grid' => array( ) ),
|
47 |
'itemForms' => array( 'logo' => 'supertop',
|
48 |
'menu' => 'supertop',
|
|
|
52 |
'welcome_item' => 'grid',
|
53 |
'welcome_item2' => 'grid',
|
54 |
'welcome_item3' => 'grid',
|
55 |
+
'welcome_item4' => 'grid' ),
|
|
|
|
|
|
|
56 |
'itemLocations' => array( ),
|
57 |
'itemVisiblity' => array( 'menu' => 3,
|
58 |
'list_options' => 3,
|
|
|
63 |
'welcome_item' => array( 'welcome_item',
|
64 |
'welcome_item2',
|
65 |
'welcome_item3',
|
66 |
+
'welcome_item4' ),
|
|
|
|
|
|
|
67 |
'list_options' => array( 'list_options' ),
|
68 |
'username_button' => array( 'username_button' ),
|
69 |
'loginform_login' => array( 'loginform_login' ),
|
|
|
118 |
'items' => array( 'welcome_item',
|
119 |
'welcome_item2',
|
120 |
'welcome_item3',
|
121 |
+
'welcome_item4' ) ) ),
|
|
|
|
|
|
|
122 |
'deferredItems' => array( ),
|
123 |
'recsPerRow' => 1 ) ),
|
124 |
'items' => array( 'logo' => array( 'type' => 'logo' ),
|
|
|
172 |
'linkComments' => array( 'text' => 'Chat External description',
|
173 |
'type' => 0 ),
|
174 |
'background' => '#E07878',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
'linkType' => 0 ) ),
|
176 |
'dbProps' => array( ),
|
177 |
'version' => 14,
|
php/public/include/pages/pages.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"<global>":{"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"]}
|
|
|
1 |
+
{"<global>":{"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"]}}
|
php/public/include/reportfunctions.php
CHANGED
@@ -378,18 +378,6 @@ function testAdvSearch($table)
|
|
378 |
{
|
379 |
return 1;
|
380 |
}
|
381 |
-
if($table=="mst_quality")
|
382 |
-
{
|
383 |
-
return 1;
|
384 |
-
}
|
385 |
-
if($table=="mst_producing_area")
|
386 |
-
{
|
387 |
-
return 1;
|
388 |
-
}
|
389 |
-
if($table=="mst_processing")
|
390 |
-
{
|
391 |
-
return 1;
|
392 |
-
}
|
393 |
}
|
394 |
elseif(is_wr_db())
|
395 |
{
|
@@ -695,18 +683,6 @@ function getCaptionTable($table)
|
|
695 |
{
|
696 |
return "Chat External";
|
697 |
}
|
698 |
-
if($table=="mst_quality")
|
699 |
-
{
|
700 |
-
return "Mst Quality";
|
701 |
-
}
|
702 |
-
if($table=="mst_producing_area")
|
703 |
-
{
|
704 |
-
return "Mst Producing Area";
|
705 |
-
}
|
706 |
-
if($table=="mst_processing")
|
707 |
-
{
|
708 |
-
return "Mst Processing";
|
709 |
-
}
|
710 |
return $table;
|
711 |
}
|
712 |
|
@@ -1725,42 +1701,6 @@ function GetTablesListReport()
|
|
1725 |
&& $value!="admin_members" && $value!="webreports" && $value!="webreport_style" && $value!="webreport_settings" && $value!="webreport_admin" && $value!="webreport_sql")
|
1726 |
$arr[]="chat_external";
|
1727 |
}
|
1728 |
-
if( Security::permissionsAvailable() ) {
|
1729 |
-
$strPerm = GetUserPermissions("mst_quality");
|
1730 |
-
$securityFlag = strpos($strPerm, "P") !== false || strpos($strPerm, "S") !== false;
|
1731 |
-
}
|
1732 |
-
if($securityFlag)
|
1733 |
-
{
|
1734 |
-
$value="mst_quality";
|
1735 |
-
if(substr($value,-6)!="_audit" && substr($value,-8)!="_locking" && substr($value,-9)!="_ugrights" && substr($value,-9)!="_uggroups"
|
1736 |
-
&& substr($value,-10)!="_ugmembers" && $value!="admin_rights" && $value!="admin_users"
|
1737 |
-
&& $value!="admin_members" && $value!="webreports" && $value!="webreport_style" && $value!="webreport_settings" && $value!="webreport_admin" && $value!="webreport_sql")
|
1738 |
-
$arr[]="mst_quality";
|
1739 |
-
}
|
1740 |
-
if( Security::permissionsAvailable() ) {
|
1741 |
-
$strPerm = GetUserPermissions("mst_producing_area");
|
1742 |
-
$securityFlag = strpos($strPerm, "P") !== false || strpos($strPerm, "S") !== false;
|
1743 |
-
}
|
1744 |
-
if($securityFlag)
|
1745 |
-
{
|
1746 |
-
$value="mst_producing_area";
|
1747 |
-
if(substr($value,-6)!="_audit" && substr($value,-8)!="_locking" && substr($value,-9)!="_ugrights" && substr($value,-9)!="_uggroups"
|
1748 |
-
&& substr($value,-10)!="_ugmembers" && $value!="admin_rights" && $value!="admin_users"
|
1749 |
-
&& $value!="admin_members" && $value!="webreports" && $value!="webreport_style" && $value!="webreport_settings" && $value!="webreport_admin" && $value!="webreport_sql")
|
1750 |
-
$arr[]="mst_producing_area";
|
1751 |
-
}
|
1752 |
-
if( Security::permissionsAvailable() ) {
|
1753 |
-
$strPerm = GetUserPermissions("mst_processing");
|
1754 |
-
$securityFlag = strpos($strPerm, "P") !== false || strpos($strPerm, "S") !== false;
|
1755 |
-
}
|
1756 |
-
if($securityFlag)
|
1757 |
-
{
|
1758 |
-
$value="mst_processing";
|
1759 |
-
if(substr($value,-6)!="_audit" && substr($value,-8)!="_locking" && substr($value,-9)!="_ugrights" && substr($value,-9)!="_uggroups"
|
1760 |
-
&& substr($value,-10)!="_ugmembers" && $value!="admin_rights" && $value!="admin_users"
|
1761 |
-
&& $value!="admin_members" && $value!="webreports" && $value!="webreport_style" && $value!="webreport_settings" && $value!="webreport_admin" && $value!="webreport_sql")
|
1762 |
-
$arr[]="mst_processing";
|
1763 |
-
}
|
1764 |
return $arr;
|
1765 |
}
|
1766 |
|
|
|
378 |
{
|
379 |
return 1;
|
380 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
381 |
}
|
382 |
elseif(is_wr_db())
|
383 |
{
|
|
|
683 |
{
|
684 |
return "Chat External";
|
685 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
686 |
return $table;
|
687 |
}
|
688 |
|
|
|
1701 |
&& $value!="admin_members" && $value!="webreports" && $value!="webreport_style" && $value!="webreport_settings" && $value!="webreport_admin" && $value!="webreport_sql")
|
1702 |
$arr[]="chat_external";
|
1703 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1704 |
return $arr;
|
1705 |
}
|
1706 |
|
php/public/styles/pages/_global_menu_Chat1.css
CHANGED
@@ -7,15 +7,6 @@
|
|
7 |
[data-page="_global_menu_Chat1"][data-itemid="welcome_item4"] > .bs-welcome-header {
|
8 |
background-color: #E07878;
|
9 |
}
|
10 |
-
[data-page="_global_menu_Chat1"][data-itemid="welcome_item5"] > .bs-welcome-header {
|
11 |
-
background-color: #2F4F4F;
|
12 |
-
}
|
13 |
-
[data-page="_global_menu_Chat1"][data-itemid="welcome_item6"] > .bs-welcome-header {
|
14 |
-
background-color: #00C2C5;
|
15 |
-
}
|
16 |
-
[data-page="_global_menu_Chat1"][data-itemid="welcome_item7"] > .bs-welcome-header {
|
17 |
-
background-color: #4169E1;
|
18 |
-
}
|
19 |
[data-page="_global_menu_Chat1"][data-itemid="page_image_ash8f23hr"] {
|
20 |
width: 400px;
|
21 |
}
|
|
|
7 |
[data-page="_global_menu_Chat1"][data-itemid="welcome_item4"] > .bs-welcome-header {
|
8 |
background-color: #E07878;
|
9 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
[data-page="_global_menu_Chat1"][data-itemid="page_image_ash8f23hr"] {
|
11 |
width: 400px;
|
12 |
}
|
php/public/templates/_global_menu_Chat1.htm
CHANGED
@@ -344,36 +344,6 @@
|
|
344 |
Chat External description </div>
|
345 |
</div>
|
346 |
|
347 |
-
|
348 |
-
|
349 |
-
<div class="bs-welcome-item" data-itemtype="welcome_item" data-itemid="welcome_item5" {$item_welcome_item5} data-pageid="{$pageid}" data-page="_global_menu_Chat1" data-comment-len="0">
|
350 |
-
<div class="bs-welcome-header">
|
351 |
-
<a id="itemlink" href="mst_quality_list.php" >
|
352 |
-
<span class="glyphicon glyphicon-earphone"></span>Mst Quality </a>
|
353 |
-
</div>
|
354 |
-
|
355 |
-
</div>
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
<div class="bs-welcome-item" data-itemtype="welcome_item" data-itemid="welcome_item6" {$item_welcome_item6} data-pageid="{$pageid}" data-page="_global_menu_Chat1" data-comment-len="0">
|
360 |
-
<div class="bs-welcome-header">
|
361 |
-
<a id="itemlink" href="mst_producing_area_list.php" >
|
362 |
-
<span class="glyphicon glyphicon-hand-right"></span>Mst Producing Area </a>
|
363 |
-
</div>
|
364 |
-
|
365 |
-
</div>
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
<div class="bs-welcome-item" data-itemtype="welcome_item" data-itemid="welcome_item7" {$item_welcome_item7} data-pageid="{$pageid}" data-page="_global_menu_Chat1" data-comment-len="0">
|
370 |
-
<div class="bs-welcome-header">
|
371 |
-
<a id="itemlink" href="mst_processing_list.php" >
|
372 |
-
Mst Processing </a>
|
373 |
-
</div>
|
374 |
-
|
375 |
-
</div>
|
376 |
-
|
377 |
</div>
|
378 |
</td>
|
379 |
</tr>
|
|
|
344 |
Chat External description </div>
|
345 |
</div>
|
346 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
347 |
</div>
|
348 |
</td>
|
349 |
</tr>
|
php/public/ug_group.php
CHANGED
@@ -28,9 +28,6 @@ $nonAdminTablesArr[] = "chat_timezone";
|
|
28 |
$nonAdminTablesArr[] = "chat126_users1";
|
29 |
$nonAdminTablesArr[] = "chat_agent";
|
30 |
$nonAdminTablesArr[] = "chat_external";
|
31 |
-
$nonAdminTablesArr[] = "mst_quality";
|
32 |
-
$nonAdminTablesArr[] = "mst_producing_area";
|
33 |
-
$nonAdminTablesArr[] = "mst_processing";
|
34 |
|
35 |
$ug_connection = $cman->getForUserGroups();
|
36 |
|
|
|
28 |
$nonAdminTablesArr[] = "chat126_users1";
|
29 |
$nonAdminTablesArr[] = "chat_agent";
|
30 |
$nonAdminTablesArr[] = "chat_external";
|
|
|
|
|
|
|
31 |
|
32 |
$ug_connection = $cman->getForUserGroups();
|
33 |
|