$(function () { /*********************************************** we need to configure the ftrindex widget for the project labs library ***********************************************/ window.debugmode=true; window.labsprojectid=82; window.labslibraryid=52; var $element=$('#ftrindex'); if (!$element.length) $element=$('
').attr('id','ftrindex').appendTo('body'); var lang = $('#ftrindex-language').val(); var checkfield = 'title'; if(lang == 'en') { checkfield = 'title-en'; } window.ftrindex = $.ftrtch.FtrIndex({ debug: window.debugmode, projectid: window.labsprojectid, libraryid: window.labslibraryid, vennfields:null, language: lang||'en', minstatus:9, cache: false, timeframe: {default: 'ALL', options: ['WEEK', 'MONTH', '3MONTH', 'YEAR', 'ALL']}, sourcetable: { rowcount: 14, checkfield: checkfield, columns: [ {label: 'sort', visible: false, field: 'sort'}, {label: 'id', visible: false, field: 'id'}, {label:'Title', field:checkfield}, {icon: 'fa-light fa-circle-calendar', center: true, field: 'pubdate'} ], search:{ label: false, placeholder: 'search articles' } } }, $element); }); /*******************************************************************/ /* ftrtch dino */ /* [type: JS] [file:project-ftrindex] [46.1361] DESIGN*/ /*******************************************************************/ /* 0.4 D>D */ /* db 171 */