7, $last_fourteen_days => 14, $curr_month => 30, "- $all_data_prefix $all_data_suffix -" => 0 ); $selDayOpt = ""; while(list($key, $val) = each($arrInhalt)) { $selDayOpt .="\n"; } $selInOut = "
"; // css: colors for specified MSN $arr_msn = getMsnList(); $msnCSS = "/* default colors */"; foreach ($arr_msn as $key => $val) { $trClass = ".msn$key"; $fcolor = $val['fcolor']; $bcolor = $val['bcolor']; $bcolor = "linear-gradient(to bottom, $bcolor, transparent 80%)"; $msnCSS .= "$trClass\t {color: $fcolor; background-image:$bcolor}\n"; } $flags = ($no_flags == true) ? "false" : "true"; $fromlink = ($no_from_link == true) ? "false" : "true"; $msnsort = ($msn_sort_order == "asc") ? "asc" : "desc"; $std_theme = "base"; if (! isset($color_ui_theme)) $color_ui_theme = $std_theme; if (! file_exists("./incl/jQuery/jquery-ui-themes-1.12.1/themes/$color_ui_theme/jquery-ui.min.css")) $color_ui_theme = $std_theme; if (! file_exists("./incl/jQuery/jquery-ui-themes-1.12.1/themes/$color_ui_theme/jquery-ui.min.css")) die("capi2text: Farbschema '$color_ui_theme' nicht vorhanden"); // dlgEdit: language specific data $formdata = "data-header='$edit_frm_header' data-save='$edit_frm_save' data-cancel='$edit_frm_abort'"; // display specific data $bodydata = "data-uitheme='$color_ui_theme' data-flags=\"$flags\" data-fromlink='$fromlink' data-msnsort='$msnsort'"; if (! $no_call_direction) $bodydata .= " data-calldirection='true'"; if (! $no_call_duration) $bodydata .= " data-callduration='true'"; $mainCSS = "body * { font-family : $font_face; font-size : $font_size; } h2 { font-weight : bold; font-size : 1.4em; padding-top : 5px; margin : 5px; } table { border-collapse : collapse; } tr.editable { cursor:pointer } th, .tabFooter, .headline { text-align : left; font-weight : bold; } td { padding-left : 5px; } .right { text-align : right } #filter { position : absolute; right : 20px; top : 15px; } #sel_msn { width : 7em; } .logo { float : left; width : 100px; margin-right : 20px; position : relative; top : -8px; } .tipp { font-size : 0.8em; color : red } .btnIcon { height : 24px; position : relative; top : 6px; } img, .edit { cursor : pointer; } fieldset { border-radius : 8px;} div.table { display : table; border-collapse : collapse; } div.tr { display : table-row; } div.td { display : table-cell; padding : 2px; } #phonelist { border : none; width : 100% } #phonelist thead { border-bottom : 2px solid lightgrey } #phonelist th { font-weight : bold; height : 2em; padding-left : 8px; padding-right : 8px; } #phonelist th:nth-child(1) { width : 110px; text-align : center } #phonelist th:nth-child(2) { width : 60px; text-align : center } #phonelist th:nth-child(3) { width : 10% } #phonelist th:nth-child(4) { width : 10% } #phonelist th:nth-child(5) { } #phonelist th:nth-child(6) { width : 30px; text-align : center; } #phonelist tbody td:nth-child(1) { padding-left : 25px } #phonelist tbody td:nth-child(2) { text-align : center } #phonelist tbody td:nth-child(6) { text-align : center } #phonelist tbody td:nth-child(7) { text-align : center } #phonelist td.headline { padding-left : 10px !IMPORTANT } #phonelist img { width : 20px; position : relative; top : 3px; } #phonelist tfoot td:nth-child(1) { padding-left : 15px } #phonelist tfoot td:nth-child(2) { padding-right: 15px } #dlgStatistik { width : 1000px; } #dlgStatistik fieldset { background : white } #dlgStatistik table { border-spacing : 0; border-collapse : collapse; } #dlgStatistik table tr:nth-child(2n+2) { background : #f3f3f3 } #dlgStatistik table tr:nth-child(2n+3) { background : #eeeeec } #dlgStatistik th { padding : 0.2em } #dlgStatistik td { color : black } #dlgStatistik table th:nth-child(1) { width : 20% } #dlgStatistik table th:nth-child(2) { width : 10% } #dlgStatistik table th:nth-child(3) { width : 18% } #dlgStatistik table th:nth-child(4) { width : 12% } #dlgStatistik table th:nth-child(5) { width : 30%; } #dlgStatistik table td:nth-child(5) { position:relative} #dlgStatistik table td:nth-child(5) div:nth-child(1) { float : left; width : 25px; top : 3px; position : relative } #dlgStatistik table td:nth-child(5) div:nth-child(2) { float : left; background-color: #8A91CE; heighti : 22px; border : 1px solid #999; margin : 0 16px; } #dlgStatistik table td:nth-child(5) div:nth-child(3) { position : absolute; right : 3px; top:3px } #dlgBtnOk { width : 100px; } #dlgKonfig table td:nth-child(1) { width : 200px } #dlgKonfig table td:nth-child(2) { width : 150px; padding : 0; } #dlgKonfig table td>select { width : 100%; height : 2em; } #dlgKonfigMsn .table { width : 100%; } #dlgKonfigMsn .td:nth-child(3) { width : 30px; } #dlgKonfigMsn .td:nth-child(4) { width : 30px; } .call_INOUT { background : url('./pics/call_inout.png') left center no-repeat; padding-left:34px; } .call_IN { background : url('./pics/call_in.png') left center no-repeat; padding-left:26px; } .call_OUT { background : url('./pics/call_out.png') left center no-repeat; padding-left:26px; } .call_IN_FAILED { background : url('./pics/call_in_failed.png') left center no-repeat; padding-left:26px; } .call_OUT_FAILED { background : url('./pics/call_out_failed.png')left center no-repeat; padding-left:26px; } .ui-selectmenu-menu li div { height: 1.2em; } #sel_inout-menu .ui-state-active span {filter: invert(100%); -webkit-filter: invert(100%)}; "; ?>