2016-03-25 23:29:20 +01:00
< ? php
//get the browser version
$user_agent = http_user_agent ();
$browser_version = $user_agent [ 'version' ];
$browser_name = $user_agent [ 'name' ];
$browser_version_array = explode ( '.' , $browser_version );
//set the doctype
echo ( $browser_name != " Internet Explorer " ) ? " <!DOCTYPE html> \n " : " <!DOCTYPE html PUBLIC \" -//W3C//DTD XHTML 1.0 Transitional//EN \" \" http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd \" > \n " ;
?>
< html xmlns = " http://www.w3.org/1999/xhtml " xml : lang = " en " lang = " en " >
< head >
< meta charset = " utf-8 " >
< meta http - equiv = " Content-Type " content = " text/html; charset=UTF-8 " >
< meta http - equiv = " X-UA-Compatible " content = " IE=edge " >
< meta name = " viewport " content = " width=device-width, initial-scale=1 " >
< link rel = " stylesheet " href = " <!-- { project_path}-->/resources/bootstrap/css/bootstrap.min.css " >
< link rel = " stylesheet " href = " <!-- { project_path}-->/resources/bootstrap/css/bootstrap-datetimepicker.min.css " />
< link rel = " stylesheet " href = " <!-- { project_path}-->/resources/bootstrap/css/bootstrap-colorpicker.min.css " >
< title ><!-- { title } --></ title >
< script language = " JavaScript " type = " text/javascript " src = " <!-- { project_path}-->/resources/jquery/jquery-1.11.1.js " ></ script >
< script language = " JavaScript " type = " text/javascript " src = " <!-- { project_path}-->/resources/jquery/jquery.autosize.input.js " ></ script >
< script language = " JavaScript " type = " text/javascript " src = " <!-- { project_path}-->/resources/momentjs/moment.js " ></ script >
< script language = " JavaScript " type = " text/javascript " src = " <!-- { project_path}-->/resources/bootstrap/js/bootstrap.min.js " ></ script >
< script language = " JavaScript " type = " text/javascript " src = " <!-- { project_path}-->/resources/bootstrap/js/bootstrap-datetimepicker.min.js " ></ script >
< script language = " JavaScript " type = " text/javascript " src = " <!-- { project_path}-->/resources/bootstrap/js/bootstrap-colorpicker.js " ></ script >
< ? php
//get the php self path and set a variable with only the directory path
$php_self_array = explode ( " / " , $_SERVER [ 'PHP_SELF' ]);
$php_self_dir = '' ;
foreach ( $php_self_array as & $value ) {
if ( substr ( $value , - 4 ) != " .php " ) {
$php_self_dir .= $value . " / " ;
}
}
unset ( $php_self_array );
if ( strlen ( PROJECT_PATH ) > 0 ) {
$php_self_dir = substr ( $php_self_dir , strlen ( PROJECT_PATH ), strlen ( $php_self_dir ));
}
//set fav icon
if ( isset ( $_SESSION [ 'theme' ][ 'favicon' ][ 'text' ])){
$favicon = $_SESSION [ 'theme' ][ 'favicon' ][ 'text' ];
}
else {
$favicon = '<!--{project_path}-->/themes/default/favicon.ico' ;
}
echo " <link rel='icon' href=' " . $favicon . " '> \n " ;
2016-04-13 00:18:50 +02:00
//determine which background image/color settings to use (login or standard)
$background_images_enabled = false ;
if ( $default_login ) {
//try using login background images/colors
if ( $_SESSION [ 'theme' ][ 'login_background_image_enabled' ][ 'boolean' ] == 'true' && is_array ( $_SESSION [ 'theme' ][ 'login_background_image' ])) {
$background_images_enabled = true ;
$background_images = $_SESSION [ 'theme' ][ 'login_background_image' ];
}
else if ( $_SESSION [ 'theme' ][ 'login_background_color' ][ 0 ] != '' || $_SESSION [ 'theme' ][ 'login_background_color' ][ 1 ] != '' ) {
$background_colors [ 0 ] = $_SESSION [ 'theme' ][ 'login_background_color' ][ 0 ];
$background_colors [ 1 ] = $_SESSION [ 'theme' ][ 'login_background_color' ][ 1 ];
}
else {
//otherwise, use standard background images/colors
if ( $_SESSION [ 'theme' ][ 'background_image_enabled' ][ 'boolean' ] == 'true' && is_array ( $_SESSION [ 'theme' ][ 'background_image' ])) {
$background_images_enabled = true ;
$background_images = $_SESSION [ 'theme' ][ 'background_image' ];
}
else {
$background_colors [ 0 ] = $_SESSION [ 'theme' ][ 'background_color' ][ 0 ];
$background_colors [ 1 ] = $_SESSION [ 'theme' ][ 'background_color' ][ 1 ];
}
}
}
else {
//use standard background images/colors
if ( $_SESSION [ 'theme' ][ 'background_image_enabled' ][ 'boolean' ] == 'true' && is_array ( $_SESSION [ 'theme' ][ 'background_image' ])) {
$background_images_enabled = true ;
$background_images = $_SESSION [ 'theme' ][ 'background_image' ];
}
else {
$background_colors [ 0 ] = $_SESSION [ 'theme' ][ 'background_color' ][ 0 ];
$background_colors [ 1 ] = $_SESSION [ 'theme' ][ 'background_color' ][ 1 ];
}
}
2016-03-25 23:29:20 +01:00
//check for background image
2016-04-13 00:18:50 +02:00
if ( $background_images_enabled ) {
2016-03-25 23:29:20 +01:00
// background image is enabled
$image_extensions = array ( 'jpg' , 'jpeg' , 'png' , 'gif' );
2016-04-13 00:18:50 +02:00
if ( count ( $background_images ) > 0 ) {
2016-03-25 23:29:20 +01:00
if ( strlen ( $_SESSION [ 'background_image' ]) == 0 ) {
2016-04-13 00:18:50 +02:00
$_SESSION [ 'background_image' ] = $background_images [ array_rand ( $background_images )];
2016-03-25 23:29:20 +01:00
$background_image = $_SESSION [ 'background_image' ];
}
// background image(s) specified, check if source is file or folder
if ( in_array ( strtolower ( pathinfo ( $background_image , PATHINFO_EXTENSION )), $image_extensions )) {
$image_source = 'file' ;
}
else {
$image_source = 'folder' ;
}
// is source (file/folder) local or remote
if ( substr ( $background_image , 0 , 4 ) == 'http' ) {
$source_path = $background_image ;
}
else if ( substr ( $background_image , 0 , 1 ) == '/' ) { //
// use project path as root
$source_path = PROJECT_PATH . $background_image ;
}
else {
// use theme images/backgrounds folder as root
$source_path = PROJECT_PATH . '/themes/default/images/backgrounds/' . $background_image ;
}
}
else {
// not set, so use default backgrounds folder and images
$image_source = 'folder' ;
$source_path = PROJECT_PATH . '/themes/default/images/backgrounds' ;
}
if ( $image_source == 'folder' ) {
if ( file_exists ( $_SERVER [ " DOCUMENT_ROOT " ] . $source_path )) {
// retrieve a random background image
$dir_list = opendir ( $_SERVER [ " DOCUMENT_ROOT " ] . $source_path );
$v_background_array = array ();
$x = 0 ;
while ( false !== ( $file = readdir ( $dir_list ))) {
if ( $file != " . " AND $file != " .. " ){
$new_path = $dir . '/' . $file ;
$level = explode ( '/' , $new_path );
if ( in_array ( strtolower ( pathinfo ( $new_path , PATHINFO_EXTENSION )), $image_extensions )) {
$v_background_array [] = $new_path ;
}
if ( $x > 100 ) { break ; };
$x ++ ;
}
}
if ( $_SESSION [ 'background_image' ] == '' && sizeof ( $v_background_array ) > 0 ) {
$_SESSION [ 'background_image' ] = PROJECT_PATH . $source_path . $v_background_array [ array_rand ( $v_background_array , 1 )];
}
}
else {
$_SESSION [ 'background_image' ] = '' ;
}
}
else if ( $image_source == 'file' ) {
$_SESSION [ 'background_image' ] = $source_path ;
}
}
// check for background color
else if (
2016-04-13 00:18:50 +02:00
$background_colors [ 0 ] != '' ||
$background_colors [ 1 ] != ''
2016-03-25 23:29:20 +01:00
) { // background color 1 or 2 is enabled
2016-04-13 00:18:50 +02:00
if ( $background_colors [ 0 ] != '' && $background_colors [ 1 ] == '' ) { // use color 1
$background_color = " background: " . $background_colors [ 0 ] . " ; " ;
2016-03-25 23:29:20 +01:00
}
2016-04-13 00:18:50 +02:00
else if ( $background_colors [ 0 ] == '' && $background_colors [ 1 ] != '' ) { // use color 2
$background_color = " background: " . $background_colors [ 1 ] . " ; " ;
2016-03-25 23:29:20 +01:00
}
2016-04-13 00:18:50 +02:00
else if ( $background_colors [ 0 ] != '' && $background_colors [ 1 ] != '' ) { // vertical gradient
$background_color = " background: " . $background_colors [ 0 ] . " ; \n " ;
$background_color .= " background: -ms-linear-gradient(top, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
$background_color .= " background: -moz-linear-gradient(top, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
$background_color .= " background: -o-linear-gradient(top, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
$background_color .= " background: -webkit-gradient(linear, left top, left bottom, color-stop(0, " . $background_colors [ 0 ] . " ), color-stop(1, " . $background_colors [ 1 ] . " )); \n " ;
$background_color .= " background: -webkit-linear-gradient(top, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
$background_color .= " background: linear-gradient(to bottom, " . $background_colors [ 0 ] . " 0%, " . $background_colors [ 1 ] . " 100%); \n " ;
2016-03-25 23:29:20 +01:00
}
}
2016-03-27 08:32:19 +02:00
else { // default: white
2016-04-13 00:18:50 +02:00
$background_color = " background: #ffffff; \n " ;
2016-03-27 08:32:19 +02:00
}
2016-03-25 23:29:20 +01:00
?>
< style type = 'text/css' >
2016-03-29 07:46:51 +02:00
html {
height : 100 % ;
width : 100 % ;
}
2016-03-25 23:29:20 +01:00
body {
z - index : 1 ;
position : absolute ;
margin : 0 ;
padding : 0 ;
overflow : auto ;
2016-04-01 01:11:37 +02:00
- ms - overflow - style : scrollbar ; /* stops ie10+ from displaying auto-hiding scroll bar on top of the body content (the domain selector, specifically) */
2016-03-25 23:29:20 +01:00
top : 0 ;
right : 0 ;
bottom : 0 ;
left : 0 ;
text - align : center ;
< ? php
if ( $_SESSION [ 'background_image' ] != '' ) {
echo " background-image: url(' " . $_SESSION [ 'background_image' ] . " '); \n " ;
echo " background-size: 100% 100%; \n " ;
echo " background-position: top; \n " ;
}
else {
echo $background_color ;
}
?>
2016-03-27 08:32:19 +02:00
background - repeat : no - repeat ;
background - attachment : fixed ;
2016-03-29 07:46:51 +02:00
webkit - background - size : cover ;
- moz - background - size : cover ;
- o - background - size : cover ;
background - size : cover ;
2016-03-27 10:54:29 +02:00
}
2016-03-25 23:29:20 +01:00
div #footer {
2016-03-27 10:33:27 +02:00
background : < ? php echo ( $_SESSION [ 'theme' ][ 'footer_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'footer_background_color' ][ 'text' ] : 'rgba(0,0,0,0.2)' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : center ;
vertical - align : middle ;
padding : 8 px ;
2016-04-12 01:52:58 +02:00
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'footer_border_radius' ][ 'text' ], '0 0 4px 4px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-03-25 23:29:20 +01:00
}
. footer {
font - size : 11 px ;
font - family : arial ;
line - height : 14 px ;
2016-03-27 10:33:27 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'footer_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'footer_color' ][ 'text' ] : 'rgba(255,255,255,0.3)' ; ?> ;
2016-03-25 23:29:20 +01:00
white - space : nowrap ;
}
2016-03-27 10:33:27 +02:00
. footer > a : hover {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'footer_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'footer_color' ][ 'text' ] : 'rgba(255,255,255,0.3)' ; ?> ;
}
2016-03-25 23:29:20 +01:00
2016-03-29 01:50:07 +02:00
/* MENU: BEGIN ******************************************************************/
2016-03-25 23:29:20 +01:00
/* main menu container */
. navbar {
< ? php if ( $_SESSION [ 'theme' ][ 'menu_main_background_image' ][ 'text' ] != '' ) { ?>
background - image : url ( " <?php echo $_SESSION['theme'] ['menu_main_background_image']['text']; ?> " );
background - position : 0 px 0 px ;
background - repeat : repeat - x ;
< ? php } else { ?>
background : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_background_color' ][ 'text' ] : 'rgba(0,0,0,0.90)' ; ?> ;
< ? php } ?>
- webkit - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_shadow_color' ][ 'text' ] != '' ) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'menu_main_shadow_color' ][ 'text' ] : 'none' ; ?> ;
- moz - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_shadow_color' ][ 'text' ] != '' ) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'menu_main_shadow_color' ][ 'text' ] : 'none' ; ?> ;
box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_shadow_color' ][ 'text' ] != '' ) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'menu_main_shadow_color' ][ 'text' ] : 'none' ; ?> ;
2016-04-06 03:38:50 +02:00
< ? php
2016-04-06 03:59:37 +02:00
echo ( $_SESSION [ 'theme' ][ 'menu_main_border_color' ][ 'text' ] == '' && $_SESSION [ 'theme' ][ 'menu_main_border_size' ][ 'text' ] == '' ) ? " border: 0; \n " : null ;
echo ( $_SESSION [ 'theme' ][ 'menu_main_border_color' ][ 'text' ] != '' ) ? 'border-color: ' . $_SESSION [ 'theme' ][ 'menu_main_border_color' ][ 'text' ] . " ; \n " : null ;
2016-04-08 03:35:39 +02:00
echo ( $_SESSION [ 'theme' ][ 'menu_main_border_size' ][ 'text' ] != '' ) ? 'border-width: ' . $_SESSION [ 'theme' ][ 'menu_main_border_size' ][ 'text' ] . " ; \n " : null ;
2016-04-06 03:38:50 +02:00
switch ( $_SESSION [ 'theme' ][ 'menu_style' ][ 'text' ]) {
case 'inline' : $default_radius = '4px' ; break ;
case 'static' : $default_radius = '0 0 4px 4px' ; break ;
default : $default_radius = '0' ;
}
?>
2016-04-12 01:52:58 +02:00
- moz - border - radius : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_border_radius' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_border_radius' ][ 'text' ] : $default_radius ; ?> ;
- webkit - border - radius : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_border_radius' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_border_radius' ][ 'text' ] : $default_radius ; ?> ;
- khtml - border - radius : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_border_radius' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_border_radius' ][ 'text' ] : $default_radius ; ?> ;
2016-04-06 03:38:50 +02:00
border - radius : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_border_radius' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_border_radius' ][ 'text' ] : $default_radius ; ?> ;
2016-03-25 23:29:20 +01:00
}
/* main menu logo */
. navbar - logo {
border : none ;
height : 27 px ;
width : auto ;
margin : 11 px 13 px 0 7 px ;
cursor : pointer ;
float : left ;
display : inline ;
}
/* menu brand text */
. navbar - header > div > a . navbar - brand {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_brand_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_brand_text_color' ][ 'text' ] : 'rgba(255,255,255,0.80)' ; ?> ;
2016-03-28 20:49:46 +02:00
white - space : nowrap ;
2016-03-25 23:29:20 +01:00
}
. navbar - header > div > a . navbar - brand : hover {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_brand_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_brand_text_color_hover' ][ 'text' ] : 'rgba(255,255,255,1.0)' ; ?> ;
}
/* main menu item */
2016-04-06 00:41:58 +02:00
. navbar . navbar - nav > li > a ,
2016-04-08 22:01:24 +02:00
. navbar . navbar - nav > li . current - menu - item > a {
2016-04-06 00:41:58 +02:00
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_text_font' ][ 'text' ] : 'arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_text_size' ][ 'text' ] : '10.25pt' ; ?> ;
2016-03-25 23:29:20 +01:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_text_color' ][ 'text' ] : '#fff' ; ?> ;
2016-04-08 22:01:24 +02:00
padding - right : 10 px ;
padding - left : 10 px ;
2016-03-25 23:29:20 +01:00
}
2016-04-08 22:01:24 +02:00
. navbar . navbar - nav > li : hover > a ,
. navbar . navbar - nav > li : focus > a ,
. navbar . navbar - nav > li : active > a {
2016-03-25 23:29:20 +01:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_text_color_hover' ][ 'text' ] : '#fd9c03' ; ?> ;
2016-04-06 00:41:58 +02:00
background : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_background_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_background_color_hover' ][ 'text' ] : 'rgba(0,0,0,1.0)' ; ?>
2016-03-25 23:29:20 +01:00
}
2016-04-06 00:41:58 +02:00
. navbar . navbar - nav > li > a > span . glyphicon {
2016-03-25 23:29:20 +01:00
margin : 1 px 7 px 0 0 ;
}
2016-03-27 08:32:19 +02:00
@ media ( min - width : 768 px ) {
. dropdown : hover . dropdown - menu {
display : block ;
}
}
/* xs menu toggle button */
. navbar - inverse . navbar - toggle {
border : none ;
}
2016-04-06 00:41:58 +02:00
. navbar - inverse . navbar - toggle : hover ,
. navbar - inverse . navbar - toggle : focus ,
. navbar - inverse . navbar - toggle : active {
2016-03-27 08:32:19 +02:00
background : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_background_color' ][ 'text' ] : 'rgba(0,0,0,0.90)' ; ?> ;
}
. navbar - inverse . navbar - toggle . icon - bar {
background : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_text_color' ][ 'text' ] : '#fff' ; ?> ;
}
. navbar - inverse . navbar - toggle : hover > . icon - bar {
background : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_main_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_main_text_color_hover' ][ 'text' ] : '#fd9c03' ; ?> ;
2016-03-25 23:29:20 +01:00
}
/* sub menu container */
. navbar - nav > li > . dropdown - menu {
margin - top : 0 ;
2016-04-08 22:01:24 +02:00
padding - top : 0 ;
2016-03-25 23:29:20 +01:00
padding - bottom : 10 px ;
2016-04-06 03:59:37 +02:00
< ? php
echo ( $_SESSION [ 'theme' ][ 'menu_sub_border_color' ][ 'text' ] == '' && $_SESSION [ 'theme' ][ 'menu_sub_border_size' ][ 'text' ] == '' ) ? " border: 0; \n " : null ;
echo ( $_SESSION [ 'theme' ][ 'menu_sub_border_color' ][ 'text' ] != '' ) ? 'border-color: ' . $_SESSION [ 'theme' ][ 'menu_sub_border_color' ][ 'text' ] . " ; \n " : null ;
2016-04-08 03:35:39 +02:00
echo ( $_SESSION [ 'theme' ][ 'menu_sub_border_size' ][ 'text' ] != '' ) ? 'border-width: ' . $_SESSION [ 'theme' ][ 'menu_sub_border_size' ][ 'text' ] . " ; \n " : null ;
2016-04-06 03:59:37 +02:00
?>
2016-03-25 23:29:20 +01:00
background : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_sub_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_sub_background_color' ][ 'text' ] : 'rgba(0,0,0,0.90)' ; ?> ;
- webkit - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_sub_shadow_color' ][ 'text' ] != '' ) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'menu_sub_shadow_color' ][ 'text' ] : 'none' ; ?> ;
- moz - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_sub_shadow_color' ][ 'text' ] != '' ) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'menu_sub_shadow_color' ][ 'text' ] : 'none' ; ?> ;
box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_sub_shadow_color' ][ 'text' ] != '' ) ? '0 0 5px ' . $_SESSION [ 'theme' ][ 'menu_sub_shadow_color' ][ 'text' ] : 'none' ; ?> ;
2016-04-12 01:52:58 +02:00
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'menu_sub_border_radius' ][ 'text' ], '0 0 4px 4px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-03-25 23:29:20 +01:00
}
/* sub menu item */
. dropdown - menu > li > a {
2016-04-06 00:41:58 +02:00
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_sub_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_sub_text_font' ][ 'text' ] : 'arial' ; ?> ;
2016-03-25 23:29:20 +01:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_sub_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_sub_text_color' ][ 'text' ] : '#fff' ; ?> ;
2016-04-06 00:41:58 +02:00
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_sub_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_sub_text_size' ][ 'text' ] : '10pt' ; ?> ;
2016-03-25 23:29:20 +01:00
margin : 0 ;
padding : 3 px 15 px ;
}
2016-04-06 00:41:58 +02:00
. dropdown - menu > li > a : hover ,
. dropdown - menu > li > a : focus ,
. dropdown - menu > li > a : active {
2016-03-25 23:29:20 +01:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_sub_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_sub_text_color_hover' ][ 'text' ] : '#fd9c03' ; ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'menu_sub_background_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_sub_background_color_hover' ][ 'text' ] : '#141414' ; ?> ;
}
. dropdown - menu > li > a > span . glyphicon {
display : inline - block ;
font - size : 8 pt ;
margin : 0 px 0 8 px 8 px ;
opacity : 0.30 ;
text - align : top ;
}
/* menu toggle button */
. navbar - header > button . navbar - toggle {
margin - left : 20 px ;
}
#logout_icon {
2016-03-27 08:32:19 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'domain_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'domain_color' ][ 'text' ] : '#fff' ; ?> ;
2016-03-25 23:29:20 +01:00
font - size : 11 pt ;
margin : 16 px 19 px 0 5 px ;
filter : alpha ( opacity = 80 );
opacity : 0.80 ;
- moz - opacity : 0.80 ;
- khtml - opacity : 0.80 ;
}
#logout_icon:hover {
filter : alpha ( opacity = 100 );
opacity : 1 ;
- moz - opacity : 1 ;
- khtml - opacity : 1 ;
cursor : pointer ;
}
2016-03-27 10:09:27 +02:00
/* domain name: xs only */
. navbar - inverse . navbar - header . navbar - nav . domain_selector_domain {
2016-03-25 23:29:20 +01:00
< ? php if ( $_SESSION [ 'theme' ][ 'domain_visible' ][ 'text' ] != 'true' ) { ?> display: none;<?php } ?>
white - space : nowrap ;
opacity : 0.8 ;
- moz - opacity : 0.8 ;
- khtml - opacity : 0.8 ;
font - size : 9.5 pt ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'domain_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'domain_color' ][ 'text' ] : '#fff' ; ?> ;
}
2016-03-27 10:09:27 +02:00
. navbar - inverse . navbar - header . navbar - nav . domain_selector_domain : hover ,
. navbar - inverse . navbar - header . navbar - nav . domain_selector_domain : focus ,
. navbar - inverse . navbar - header . navbar - nav . domain_selector_domain : active {
opacity : 1 ;
- moz - opacity : 1 ;
- khtml - opacity : 1 ;
cursor : pointer ;
}
/* domain name: sm and larger */
. navbar - inverse . navbar - collapse . navbar - nav > li > a . domain_selector_domain {
< ? php if ( $_SESSION [ 'theme' ][ 'domain_visible' ][ 'text' ] != 'true' ) { ?> display: none;<?php } ?>
white - space : nowrap ;
opacity : 0.8 ;
- moz - opacity : 0.8 ;
- khtml - opacity : 0.8 ;
font - size : 9.5 pt ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'domain_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'domain_color' ][ 'text' ] : '#fff' ; ?> ;
}
. navbar - inverse . navbar - collapse . navbar - nav > li > a . domain_selector_domain : hover ,
. navbar - inverse . navbar - collapse . navbar - nav > li > a . domain_selector_domain : focus ,
. navbar - inverse . navbar - collapse . navbar - nav > li > a . domain_selector_domain : active {
2016-03-25 23:29:20 +01:00
opacity : 1 ;
- moz - opacity : 1 ;
- khtml - opacity : 1 ;
cursor : pointer ;
}
2016-03-29 01:50:07 +02:00
/* BUTTONS ********************************************************************/
2016-04-12 01:52:58 +02:00
/* buttons */
input . btn ,
input . button {
height : < ? php echo ( $_SESSION [ 'theme' ][ 'button_height' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_height' ][ 'text' ] : '28px' ; ?> ;
padding : < ? php echo ( $_SESSION [ 'theme' ][ 'button_padding' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_padding' ][ 'text' ] : '5px 8px' ; ?> ;
border : < ? php echo ( $_SESSION [ 'theme' ][ 'button_border_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_border_size' ][ 'text' ] : '1px' ; ?> solid <?php echo ($_SESSION['theme']['button_border_color']['text'] != '') ? $_SESSION['theme']['button_border_color']['text'] : '#242424'; ?>;
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'button_border_radius' ][ 'text' ], '3px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
< ? php
$color_1 = ( $_SESSION [ 'theme' ][ 'button_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_background_color' ][ 'text' ] : '#4f4f4f' ;
$color_2 = ( $_SESSION [ 'theme' ][ 'button_background_color_bottom' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_background_color_bottom' ][ 'text' ] : '#000000' ;
?>
background : < ? php echo $color_1 ; ?> ;
background - image : - ms - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - moz - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - o - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , < ? php echo $color_1 ; ?> ), color-stop(1, <?php echo $color_2; ?>));
background - image : - webkit - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : linear - gradient ( to bottom , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
< ? php unset ( $color_1 , $color_2 ); ?>
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'button_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_text_font' ][ 'text' ] : 'Candara, Calibri, Segoe, "Segoe UI", Optima, Arial, sans-serif' ; ?> ;
text - align : center ;
text - transform : uppercase ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'button_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_text_color' ][ 'text' ] : '#ffffff' ; ?> ;
font - weight : < ? php echo ( $_SESSION [ 'theme' ][ 'button_text_weight' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_text_weight' ][ 'text' ] : 'bold' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'button_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_text_size' ][ 'text' ] : '11px' ; ?> ;
vertical - align : middle ;
}
input . btn : hover ,
input . btn : active ,
input . btn : focus ,
input . button : hover ,
input . button : active ,
input . button : focus {
cursor : pointer ;
border - color : < ? php echo ( $_SESSION [ 'theme' ][ 'button_border_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_border_color_hover' ][ 'text' ] : '#000000' ; ?> ;
< ? php
$color_1 = ( $_SESSION [ 'theme' ][ 'button_background_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_background_color_hover' ][ 'text' ] : '#000000' ;
$color_2 = ( $_SESSION [ 'theme' ][ 'button_background_color_bottom_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_background_color_bottom_hover' ][ 'text' ] : '#000000' ;
?>
background : < ? php echo $color_1 ; ?> ;
background - image : - ms - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - moz - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - o - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , < ? php echo $color_1 ; ?> ), color-stop(1, <?php echo $color_2; ?>));
background - image : - webkit - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : linear - gradient ( to bottom , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
< ? php unset ( $color_1 , $color_2 ); ?>
color : < ? php echo ( $_SESSION [ 'theme' ][ 'button_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_text_color_hover' ][ 'text' ] : '#ffffff' ; ?> ;
}
/* default bootstrap buttons - not currently used */
2016-03-29 01:50:07 +02:00
button . btn - default {
font - family : Candara , Calibri , Segoe , " Segoe UI " , Optima , Arial , sans - serif ;
padding : 4 px 8 px ;
color : #fff;
font - weight : bold ;
font - size : 8 pt ;
border : 1 px solid #26242a;
background : #3e3e3e;
2016-04-12 01:52:58 +02:00
background - image : - moz - linear - gradient ( top , #000 0%, #3e3e3e 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0.0 , #000), color-stop(1, #3e3e3e));
2016-03-29 01:50:07 +02:00
- moz - border - radius : 3 px ;
- webkit - border - radius : 3 px ;
- khtml - border - radius : 3 px ;
border - radius : 3 px ;
text - align : center ;
text - transform : uppercase ;
text - shadow : 0 px 0 px 1 px rgba ( 0 , 0 , 0 , 0.9 );
opacity : 0.9 ;
- moz - opacity : 0.9 ;
}
2016-04-12 01:52:58 +02:00
button . btn - default : hover ,
button . btn - default : active ,
button . btn - default : focus {
2016-03-29 01:50:07 +02:00
cursor : pointer ;
2016-04-12 01:52:58 +02:00
color : #ffffff;
2016-03-29 01:50:07 +02:00
border : 1 px solid #26242a;
box - shadow : 0 0 5 px #cddaf0;
- webkit - box - shadow : 0 0 5 px #cddaf0;
- moz - box - shadow : 0 0 5 px #cddaf0;
opacity : 1.0 ;
- moz - opacity : 1.0 ;
}
2016-04-12 01:52:58 +02:00
/* control icons (must be defined after the default bootstrap buttons) */
2016-03-29 06:29:15 +02:00
button . list_control_icon ,
button . list_control_icon_disabled {
2016-03-29 01:50:07 +02:00
width : 24 px ;
height : 24 px ;
2016-04-12 01:52:58 +02:00
padding : 2 px ;
2016-03-29 01:50:07 +02:00
margin : 1 px ;
2016-04-12 01:52:58 +02:00
border : < ? php echo ( $_SESSION [ 'theme' ][ 'button_border_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_border_size' ][ 'text' ] : '1px' ; ?> solid <?php echo ($_SESSION['theme']['button_border_color']['text'] != '') ? $_SESSION['theme']['button_border_color']['text'] : '#242424'; ?>;
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'button_border_radius' ][ 'text' ], '3px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
< ? php
$color_1 = ( $_SESSION [ 'theme' ][ 'button_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_background_color' ][ 'text' ] : '#4f4f4f' ;
$color_2 = ( $_SESSION [ 'theme' ][ 'button_background_color_bottom' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_background_color_bottom' ][ 'text' ] : '#000000' ;
?>
background : < ? php echo $color_1 ; ?> ;
background - image : - ms - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - moz - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - o - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , < ? php echo $color_1 ; ?> ), color-stop(1, <?php echo $color_2; ?>));
background - image : - webkit - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : linear - gradient ( to bottom , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
< ? php unset ( $color_1 , $color_2 ); ?>
color : < ? php echo ( $_SESSION [ 'theme' ][ 'button_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_text_color' ][ 'text' ] : '#ffffff' ; ?> ;
font - size : 10.5 pt ;
2016-03-29 01:50:07 +02:00
text - align : center ;
- moz - opacity : 0.3 ;
2016-04-12 01:52:58 +02:00
opacity : 0.3 ;
2016-03-29 01:50:07 +02:00
}
2016-04-12 01:52:58 +02:00
button . list_control_icon : hover ,
button . list_control_icon : active ,
button . list_control_icon : focus {
2016-03-29 01:50:07 +02:00
cursor : pointer ;
2016-04-12 01:52:58 +02:00
border - color : < ? php echo ( $_SESSION [ 'theme' ][ 'button_border_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_border_color_hover' ][ 'text' ] : '#000000' ; ?> ;
< ? php
$color_1 = ( $_SESSION [ 'theme' ][ 'button_background_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_background_color_hover' ][ 'text' ] : '#000000' ;
$color_2 = ( $_SESSION [ 'theme' ][ 'button_background_color_bottom_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_background_color_bottom_hover' ][ 'text' ] : '#000000' ;
?>
background : < ? php echo $color_1 ; ?> ;
background - image : - ms - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - moz - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - o - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , < ? php echo $color_1 ; ?> ), color-stop(1, <?php echo $color_2; ?>));
background - image : - webkit - linear - gradient ( top , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
background - image : linear - gradient ( to bottom , < ? php echo $color_1 ; ?> 0%, <?php echo $color_2; ?> 100%);
< ? php unset ( $color_1 , $color_2 ); ?>
color : < ? php echo ( $_SESSION [ 'theme' ][ 'button_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'button_text_color_hover' ][ 'text' ] : '#ffffff' ; ?> ;
2016-03-29 01:50:07 +02:00
- moz - opacity : 1.0 ;
2016-04-12 01:52:58 +02:00
opacity : 1.0 ;
2016-03-29 01:50:07 +02:00
}
2016-03-25 23:29:20 +01:00
/* DOMAIN SELECTOR ***********************************************************/
#domains_container {
z - index : 99990 ;
position : absolute ;
right : 0 ;
top : 0 ;
bottom : 0 ;
width : 360 px ;
overflow : hidden ;
display : none ;
}
#domains_block {
position : absolute ;
right : - 300 px ;
top : 0 ;
bottom : 0 ;
width : 340 px ;
padding : 20 px 20 px 100 px 20 px ;
font - family : arial , san - serif ;
font - size : 10 pt ;
overflow : hidden ;
background - color : #fff;
- webkit - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'domain_selector_shadow_color' ][ 'text' ] != '' ) ? '0 0 10px ' . $_SESSION [ 'theme' ][ 'domain_selector_shadow_color' ][ 'text' ] : 'none' ; ?> ;
- moz - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'domain_selector_shadow_color' ][ 'text' ] != '' ) ? '0 0 10px ' . $_SESSION [ 'theme' ][ 'domain_selector_shadow_color' ][ 'text' ] : 'none' ; ?> ;
box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'domain_selector_shadow_color' ][ 'text' ] != '' ) ? '0 0 10px ' . $_SESSION [ 'theme' ][ 'domain_selector_shadow_color' ][ 'text' ] : 'none' ; ?> ;
}
#domains_header {
position : relative ;
width : 300 px ;
height : 55 px ;
margin - bottom : 20 px ;
text - align : left ;
}
#domains_list {
position : relative ;
overflow : auto ;
width : 300 px ;
height : 100 % ;
padding : 1 px ;
background - color : #fff;
border : 1 px solid #a4aebf;
}
div . domains_list_item {
text - align : left ;
border - bottom : 1 px solid #c5d1e5;
padding : 5 px 8 px 8 px 8 px ;
overflow : hidden ;
white - space : nowrap ;
cursor : pointer ;
}
div . domains_list_item span . domain_list_item_description {
color : #999;
font - size : 11 px ;
}
div . domains_list_item : hover a ,
div . domains_list_item : hover span {
color : #5082ca;
}
/* DOMAIN SELECTOR: END ********************************************************/
#default_login {
2016-04-13 00:18:50 +02:00
padding : < ? php echo ( $_SESSION [ 'theme' ][ 'login_body_padding' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_body_padding' ][ 'text' ] : '30px' ; ?> ;
< ? php echo ( $_SESSION [ 'theme' ][ 'login_body_width' ][ 'text' ] != '' ) ? 'width: ' . $_SESSION [ 'theme' ][ 'login_body_width' ][ 'text' ] . " ; \n " : null ; ?>
background : < ? php echo ( $_SESSION [ 'theme' ][ 'login_body_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_body_background_color' ][ 'text' ] : " rgba(255,255,255,0.35) " ; ?> ;
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'login_body_border_radius' ][ 'text' ], '4px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
< ? php if ( $_SESSION [ 'theme' ][ 'login_body_border_size' ][ 'text' ] != '' || $_SESSION [ 'theme' ][ 'login_body_border_color' ][ 'text' ] != '' ) { echo " border-style: solid; \n " ; } ?>
< ? php echo ( $_SESSION [ 'theme' ][ 'login_body_border_size' ][ 'text' ] != '' ) ? 'border-width: ' . $_SESSION [ 'theme' ][ 'login_body_border_size' ][ 'text' ] . " ; \n " : null ; ?>
< ? php echo ( $_SESSION [ 'theme' ][ 'login_body_border_color' ][ 'text' ] != '' ) ? 'border-color: ' . $_SESSION [ 'theme' ][ 'login_body_border_color' ][ 'text' ] . " ; \n " : null ; ?>
- webkit - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'login_body_shadow_color' ][ 'text' ] != '' ) ? '0 1px 20px ' . $_SESSION [ 'theme' ][ 'login_body_shadow_color' ][ 'text' ] : 'none' ; ?> ;
- moz - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'login_body_shadow_color' ][ 'text' ] != '' ) ? '0 1px 20px ' . $_SESSION [ 'theme' ][ 'login_body_shadow_color' ][ 'text' ] : 'none' ; ?> ;
box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'login_body_shadow_color' ][ 'text' ] != '' ) ? '0 1px 20px ' . $_SESSION [ 'theme' ][ 'login_body_shadow_color' ][ 'text' ] : 'none' ; ?> ;
2016-03-25 23:29:20 +01:00
}
2016-04-08 03:35:39 +02:00
a . login_link {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'login_link_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_link_text_color' ][ 'text' ] : '#004083' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'login_link_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_link_text_size' ][ 'text' ] : '11px' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'login_link_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_link_text_font' ][ 'text' ] : 'Arial' ; ?> ;
text - decoration : none ;
}
a . login_link : hover {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'login_link_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_link_text_color_hover' ][ 'text' ] : '#5082ca' ; ?> ;
2016-03-25 23:29:20 +01:00
cursor : pointer ;
text - decoration : underline ;
}
#main_content {
< ? php
if (
strlen ( $_SESSION [ " username " ]) > 0 &&
(
2016-04-13 00:18:50 +02:00
isset ( $background_images ) ||
$background_colors [ 0 ] != '' ||
$background_colors [ 1 ] != ''
2016-03-25 23:29:20 +01:00
)) { ?>
background : < ? php echo ( $_SESSION [ 'theme' ][ 'body_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'body_color' ][ 'text' ] : " #ffffff " ; ?> ;
background - attachment : fixed ;
2016-04-12 01:52:58 +02:00
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'body_border_radius' ][ 'text' ], '4px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-03-25 23:29:20 +01:00
- webkit - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'body_shadow_color' ][ 'text' ] != '' ) ? '0 1px 4px ' . $_SESSION [ 'theme' ][ 'body_shadow_color' ][ 'text' ] : 'none' ; ?> ;
- moz - box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'body_shadow_color' ][ 'text' ] != '' ) ? '0 1px 4px ' . $_SESSION [ 'theme' ][ 'body_shadow_color' ][ 'text' ] : 'none' ; ?> ;
box - shadow : < ? php echo ( $_SESSION [ 'theme' ][ 'body_shadow_color' ][ 'text' ] != '' ) ? '0 1px 4px ' . $_SESSION [ 'theme' ][ 'body_shadow_color' ][ 'text' ] : 'none' ; ?> ;
padding : 15 px 20 px 20 px 20 px ;
< ? php } else { ?>
padding : 5 px 10 px 10 px 10 px ;
< ? php } ?>
text - align : left ;
}
2016-03-29 07:39:42 +02:00
/* default body padding */
. container - fluid {
width : 90 % ;
}
/* maximize viewport usage on xs displays */
@ media ( min - width : 0 px ) and ( max - width : 767 px ) {
. container - fluid {
width : 100 % ;
}
#main_content {
padding : 8 px ;
}
}
2016-03-25 23:29:20 +01:00
/* GENERAL ELEMENTS *****************************************************************/
img {
border : none ;
}
2016-03-29 06:29:15 +02:00
. title , b {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'heading_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'heading_text_color' ][ 'text' ] : '#952424' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'heading_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'heading_text_size' ][ 'text' ] : '15px' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'heading_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'heading_text_font' ][ 'text' ] : 'arial' ; ?> ;
2016-03-25 23:29:20 +01:00
font - weight : bold
}
2016-03-29 06:29:15 +02:00
a {
width : 100 % ;
2016-04-08 03:35:39 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'text_link_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'text_link_color' ][ 'text' ] : '#004083' ; ?> ;
text - decoration : none ;
2016-03-25 23:29:20 +01:00
}
2016-03-29 06:29:15 +02:00
a : hover {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'text_link_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'text_link_color_hover' ][ 'text' ] : '#5082ca' ; ?> ;
2016-04-08 03:35:39 +02:00
text - decoration : underline ;
2016-03-25 23:29:20 +01:00
}
form {
margin : 0 ;
}
2016-04-12 01:52:58 +02:00
/* style placeholder text (for browsers that support the attribute) - note: can't stack, each must be seperate */
< ? php $placeholder_color = ( $_SESSION [ 'theme' ][ 'input_text_placeholder_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_text_placeholder_color' ][ 'text' ] . ';' : '#999999; opacity: 1.0;' ; ?>
::- webkit - input - placeholder { color : < ? php echo $placeholder_color ; ?> } /* chrome/opera/safari */
::- moz - placeholder { color : < ? php echo $placeholder_color ; ?> } /* ff 19+ */
:- moz - placeholder { color : < ? php echo $placeholder_color ; ?> } /* ff 18- */
:- ms - input - placeholder { color : < ? php echo $placeholder_color ; ?> } /* ie 10+ */
:: placeholder { color : < ? php echo $placeholder_color ; ?> } /* official standard */
input . txt ,
textarea . txt ,
select . txt ,
. formfld {
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'input_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_text_font' ][ 'text' ] : 'Arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'input_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_text_size' ][ 'text' ] : '12px' ; ?> ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'input_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_text_color' ][ 'text' ] : '#000000' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : left ;
2016-04-12 01:52:58 +02:00
height : 28 px ;
2016-03-25 23:29:20 +01:00
padding : 4 px 6 px ;
2016-03-29 22:15:01 +02:00
margin : 1 px ;
2016-04-12 01:52:58 +02:00
border - width : < ? php echo ( $_SESSION [ 'theme' ][ 'input_border_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_border_size' ][ 'text' ] : '1px' ; ?> ;
border - style : solid ;
border - color : < ? php echo ( $_SESSION [ 'theme' ][ 'input_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_border_color' ][ 'text' ] : '#c0c0c0' ; ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'input_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_background_color' ][ 'text' ] : '#ffffff' ; ?> ;
< ? php
if ( $_SESSION [ 'theme' ][ 'input_shadow_inner_color' ][ 'text' ] != '' ) {
$inner_color = $_SESSION [ 'theme' ][ 'input_shadow_inner_color' ][ 'text' ];
$shadows [] = " 0 0 3px " . $inner_color . " inset " ;
}
if ( $_SESSION [ 'theme' ][ 'input_shadow_outer_color' ][ 'text' ] != '' ) {
$outer_color = $_SESSION [ 'theme' ][ 'input_shadow_outer_color' ][ 'text' ];
$shadows [] = " 0 0 5px " . $outer_color ;
}
if ( is_array ( $shadows ) && sizeof ( $shadows ) > 0 ) {
echo '-webkit-box-shadow: ' . implode ( ', ' , $shadows ) . " ; \n " ;
echo '-moz-box-shadow: ' . implode ( ', ' , $shadows ) . " ; \n " ;
echo 'box-shadow: ' . implode ( ', ' , $shadows ) . " ; \n " ;
}
unset ( $shadows );
?>
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'input_border_radius' ][ 'text' ], '3px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
vertical - align : middle ;
2016-03-25 23:29:20 +01:00
}
2016-04-12 01:52:58 +02:00
input . txt ,
. formfld {
2016-03-25 23:29:20 +01:00
transition : width 0.25 s ;
- moz - transition : width 0.25 s ;
- webkit - transition : width 0.25 s ;
max - width : 500 px ;
}
2016-04-12 01:52:58 +02:00
select . txt ,
select . formfld {
padding : 4 px 2 px ;
2016-03-25 23:29:20 +01:00
}
2016-04-12 01:52:58 +02:00
input . txt : hover ,
. formfld : hover {
border - color : < ? php echo ( $_SESSION [ 'theme' ][ 'input_border_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_border_color_hover' ][ 'text' ] : '#c0c0c0' ; ?> ;
}
input . txt : focus ,
. formfld : focus {
border - color : < ? php echo ( $_SESSION [ 'theme' ][ 'input_border_color_focus' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_border_color_focus' ][ 'text' ] : '#c0c0c0' ; ?> ;
/* first clear */
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
box - shadow : none ;
< ? php
/* then set */
if ( $_SESSION [ 'theme' ][ 'input_shadow_inner_color_focus' ][ 'text' ] != '' ) {
$inner_color = $_SESSION [ 'theme' ][ 'input_shadow_inner_color_focus' ][ 'text' ];
$shadow_inset = " 0 0 3px " . $inner_color . " inset " ;
}
if ( $_SESSION [ 'theme' ][ 'input_shadow_outer_color_focus' ][ 'text' ] != '' ) {
$outer_color = $_SESSION [ 'theme' ][ 'input_shadow_outer_color_focus' ][ 'text' ];
$shadow_outset = " 0 0 5px " . $outer_color ;
}
?>
< ? php if ( $shadow_inset != '' || $shadow_outset != '' ) { ?>
- webkit - box - shadow : < ? php echo $shadow_inset . (( $shadow_inset != '' ) ? ', ' : null ) . $shadow_outset ; ?> ;
- moz - box - shadow : < ? php echo $shadow_inset . (( $shadow_inset != '' ) ? ', ' : null ) . $shadow_outset ; ?> ;
box - shadow : < ? php echo $shadow_inset . (( $shadow_inset != '' ) ? ', ' : null ) . $shadow_outset ; ?> ;
< ? php } ?>
}
input . login {
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'login_input_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_text_font' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'input_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_text_font' ][ 'text' ] : 'Arial' ); ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'login_input_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_text_size' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'input_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_text_size' ][ 'text' ] : '12px' ); ?> ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'login_input_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_text_color' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'input_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_text_color' ][ 'text' ] : '#000000' ); ?> ;
border - width : < ? php echo ( $_SESSION [ 'theme' ][ 'login_input_border_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_border_size' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'input_border_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_border_size' ][ 'text' ] : '1px' ); ?> ;
border - color : < ? php echo ( $_SESSION [ 'theme' ][ 'login_input_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_border_color' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'input_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_border_color' ][ 'text' ] : '#c0c0c0' ); ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'login_input_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_background_color' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'input_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_background_color' ][ 'text' ] : '#ffffff' ); ?> ;
/* first clear */
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
box - shadow : none ;
< ? php
/* then set */
if ( $_SESSION [ 'theme' ][ 'login_input_shadow_inner_color' ][ 'text' ] != '' ) {
$inner_color = $_SESSION [ 'theme' ][ 'login_input_shadow_inner_color' ][ 'text' ];
$shadows [] = " 0 0 3px " . $inner_color . " inset " ;
}
else if ( $_SESSION [ 'theme' ][ 'input_shadow_inner_color' ][ 'text' ] != '' ) {
$inner_color = $_SESSION [ 'theme' ][ 'input_shadow_inner_color' ][ 'text' ];
$shadows [] = " 0 0 3px " . $inner_color . " inset " ;
}
if ( $_SESSION [ 'theme' ][ 'login_input_shadow_outer_color' ][ 'text' ] != '' ) {
$outer_color = $_SESSION [ 'theme' ][ 'login_input_shadow_outer_color' ][ 'text' ];
$shadows [] = " 0 0 5px " . $outer_color ;
}
else if ( $_SESSION [ 'theme' ][ 'input_shadow_outer_color' ][ 'text' ] != '' ) {
$outer_color = $_SESSION [ 'theme' ][ 'input_shadow_outer_color' ][ 'text' ];
$shadows [] = " 0 0 5px " . $outer_color ;
}
if ( is_array ( $shadows ) && sizeof ( $shadows ) > 0 ) {
echo '-webkit-box-shadow: ' . implode ( ', ' , $shadows ) . " ; \n " ;
echo '-moz-box-shadow: ' . implode ( ', ' , $shadows ) . " ; \n " ;
echo 'box-shadow: ' . implode ( ', ' , $shadows ) . " ; \n " ;
}
unset ( $shadows );
?>
< ? php
$br = ( $_SESSION [ 'theme' ][ 'login_input_border_radius' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_border_radius' ][ 'text' ] : $_SESSION [ 'theme' ][ 'input_border_radius' ][ 'text' ];
$br = format_border_radius ( $br , '3px' );
?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
}
input . login : hover {
border - color : < ? php echo ( $_SESSION [ 'theme' ][ 'login_input_border_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_border_color_hover' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'input_border_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_border_color_hover' ][ 'text' ] : '#c0c0c0' ); ?> ;
2016-03-25 23:29:20 +01:00
}
2016-04-12 01:52:58 +02:00
input . login : focus {
border - color : < ? php echo ( $_SESSION [ 'theme' ][ 'login_input_border_color_focus' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_border_color_focus' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'input_border_color_focus' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'input_border_color_focus' ][ 'text' ] : '#c0c0c0' ); ?> ;
/* first clear */
- webkit - box - shadow : none ;
- moz - box - shadow : none ;
box - shadow : none ;
< ? php
/* then set */
if ( $_SESSION [ 'theme' ][ 'login_input_shadow_inner_color_focus' ][ 'text' ] != '' ) {
$inner_color = $_SESSION [ 'theme' ][ 'login_input_shadow_inner_color_focus' ][ 'text' ];
$shadow_inset = " 0 0 3px " . $inner_color . " inset " ;
}
else if ( $_SESSION [ 'theme' ][ 'input_shadow_inner_color_focus' ][ 'text' ] != '' ) {
$inner_color = $_SESSION [ 'theme' ][ 'input_shadow_inner_color_focus' ][ 'text' ];
$shadow_inset = " 0 0 3px " . $inner_color . " inset " ;
}
if ( $_SESSION [ 'theme' ][ 'login_input_shadow_outer_color_focus' ][ 'text' ] != '' ) {
$outer_color = $_SESSION [ 'theme' ][ 'login_input_shadow_outer_color_focus' ][ 'text' ];
$shadow_outset = " 0 0 5px " . $outer_color ;
}
else if ( $_SESSION [ 'theme' ][ 'input_shadow_outer_color_focus' ][ 'text' ] != '' ) {
$outer_color = $_SESSION [ 'theme' ][ 'input_shadow_outer_color_focus' ][ 'text' ];
$shadow_outset = " 0 0 5px " . $outer_color ;
}
?>
< ? php if ( $shadow_inset != '' || $shadow_outset != '' ) { ?>
- webkit - box - shadow : < ? php echo $shadow_inset . (( $shadow_inset != '' ) ? ', ' : null ) . $shadow_outset ; ?> ;
- moz - box - shadow : < ? php echo $shadow_inset . (( $shadow_inset != '' ) ? ', ' : null ) . $shadow_outset ; ?> ;
box - shadow : < ? php echo $shadow_inset . (( $shadow_inset != '' ) ? ', ' : null ) . $shadow_outset ; ?> ;
< ? php } ?>
}
/* style placeholder text (for browsers that support the attribute) - note: can't stack, each must be seperate */
< ? php $placeholder_color = ( $_SESSION [ 'theme' ][ 'login_input_text_placeholder_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'login_input_text_placeholder_color' ][ 'text' ] . ';' : '#999999; opacity: 1.0;' ; ?>
input . login ::- webkit - input - placeholder { color : < ? php echo $placeholder_color ; ?> } /* chrome/opera/safari */
input . login ::- moz - placeholder { color : < ? php echo $placeholder_color ; ?> } /* ff 19+ */
input . login :- moz - placeholder { color : < ? php echo $placeholder_color ; ?> } /* ff 18- */
input . login :- ms - input - placeholder { color : < ? php echo $placeholder_color ; ?> } /* ie 10+ */
input . login :: placeholder { color : < ? php echo $placeholder_color ; ?> } /* official standard */
2016-03-25 23:29:20 +01:00
. formfld_highlight_bad {
border - color : #aa2525;
- webkit - box - shadow : 0 0 3 px #aa2525 inset;
- moz - box - shadow : 0 0 3 px #aa2525 inset;
box - shadow : 0 0 3 px #aa2525 inset;
}
. formfld_highlight_good {
border - color : #2fb22f;
- webkit - box - shadow : 0 0 3 px #2fb22f inset;
- moz - box - shadow : 0 0 3 px #2fb22f inset;
box - shadow : 0 0 3 px #2fb22f inset;
}
/* removes spinners (increment/decrement controls) inside input fields */
input [ type = number ] { - moz - appearance : textfield ; }
::- webkit - inner - spin - button { - webkit - appearance : none ; }
::- webkit - outer - spin - button { - webkit - appearance : none ; }
/* disables text input clear 'x' in IE 10+, slows down autosizeInput jquery script */
input [ type = text ] ::- ms - clear {
display : none ;
}
input . fileinput {
padding : 1 px ;
2016-03-28 16:22:59 +02:00
display : inline ;
2016-03-25 23:29:20 +01:00
}
2016-03-27 10:54:29 +02:00
label {
font - weight : normal ;
vertical - align : middle ;
}
2016-03-29 06:29:15 +02:00
span . playback_progress_bar {
background - color : #c43e42;
height : 1 px ;
display : block ;
}
2016-03-25 23:29:20 +01:00
/* TABLES *****************************************************************/
2016-04-06 04:22:29 +02:00
table {
border - collapse : separate ;
border - spacing : 0 ;
}
2016-03-29 06:29:15 +02:00
th {
2016-03-30 22:41:45 +02:00
padding : 4 px 7 px 4 px 0 ;
padding : 4 px 7 px ;
2016-03-29 06:29:15 +02:00
text - align : left ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'table_heading_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_heading_text_color' ][ 'text' ] : '#3164ad' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'table_heading_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_heading_text_size' ][ 'text' ] : '12px' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'table_heading_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_heading_text_font' ][ 'text' ] : 'arial' ; ?> ;
2016-03-30 22:41:45 +02:00
background : < ? php echo ( $_SESSION [ 'theme' ][ 'table_heading_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_heading_background_color' ][ 'text' ] : 'none' ; ?> ;
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'table_heading_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_heading_border_color' ][ 'text' ] : '#a4aebf' ; ?> ;
2016-03-29 06:29:15 +02:00
}
th a , th a : visited , th a : active {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'table_heading_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_heading_text_color' ][ 'text' ] : '#3164ad' ; ?> ;
text - decoration : none ;
}
th a : hover {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'table_heading_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_heading_text_color' ][ 'text' ] : '#3164ad' ; ?> ;
text - decoration : underline ;
}
td {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'body_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'body_text_color' ][ 'text' ] : '#5f5f5f' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'body_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'body_text_size' ][ 'text' ] : '12px' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'body_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'body_text_font' ][ 'text' ] : 'arial' ; ?> ;
}
table . tr_hover tr {
cursor : default ;
}
table . tr_hover tr : hover td ,
table . tr_hover tr : hover td a {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'text_link_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'text_link_color_hover' ][ 'text' ] : '#5082ca' ; ?> ;
2016-04-12 01:52:58 +02:00
cursor : pointer ;
}
table . tr_hover tr . tr_link_void : hover td {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] : '#000' ; ?> ;
cursor : default ;
}
table . tr_hover tr td . tr_link_void {
cursor : default ;
2016-03-29 06:29:15 +02:00
}
td . list_control_icons {
width : 52 px ;
padding : none ;
padding - left : 2 px ;
text - align : right ;
vertical - align : top ;
white - space : nowrap ;
}
td . list_control_icon {
width : 26 px ;
padding : none ;
padding - left : 2 px ;
text - align : right ;
vertical - align : top ;
white - space : nowrap ;
}
2016-04-07 20:00:19 +02:00
/* form: label/field format */
. vncell { /* form_label */
background : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] : '#e5e9f0' ; ?> ;
2016-04-12 01:52:58 +02:00
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'form_table_label_border_radius' ][ 'text' ], '4px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-04-07 20:00:19 +02:00
border - right : 3 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] : '#e5e9f0' ; ?> ;
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_border_color' ][ 'text' ] : '#ffffff' ; ?> ;
padding : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_padding' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_padding' ][ 'text' ] : '7px 8px' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : right ;
2016-04-07 20:00:19 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_color' ][ 'text' ] : '#000000' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_font' ][ 'text' ] : 'Arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_size' ][ 'text' ] : '9pt' ; ?> ;
2016-03-25 23:29:20 +01:00
}
2016-04-07 20:00:19 +02:00
. vncellreq { /* form_label_required */
background : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_required_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_required_background_color' ][ 'text' ] : '#e5e9f0' ; ?> ;
2016-04-12 01:52:58 +02:00
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'form_table_label_border_radius' ][ 'text' ], '4px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-04-07 20:00:19 +02:00
border - right : 3 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_required_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_required_border_color' ][ 'text' ] : '#cbcfd5' ; ?> ;
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_border_color' ][ 'text' ] : '#ffffff' ; ?> ;
padding : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_padding' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_padding' ][ 'text' ] : '7px 8px' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : right ;
2016-04-07 20:00:19 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_required_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_required_text_color' ][ 'text' ] : '#000000' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_font' ][ 'text' ] : 'Arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_size' ][ 'text' ] : '9pt' ; ?> ;
font - weight : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_required_text_weight' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_required_text_weight' ][ 'text' ] : 'bold' ; ?> ;
2016-03-25 23:29:20 +01:00
}
2016-04-07 20:00:19 +02:00
. vtable { /* form_field */
background : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_background_color' ][ 'text' ] : '#ffffff' ; ?> ;
2016-04-12 01:52:58 +02:00
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'form_table_field_border_radius' ][ 'text' ], '0' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-04-07 20:00:19 +02:00
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_border_color' ][ 'text' ] : '#e5e9f0' ; ?> ;
padding : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_padding' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_padding' ][ 'text' ] : '6px' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : left ;
2016-04-07 20:00:19 +02:00
vertical - align : middle ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_text_color' ][ 'text' ] : '#666666' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_text_font' ][ 'text' ] : 'Arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_text_size' ][ 'text' ] : '8pt' ; ?> ;
2016-03-25 23:29:20 +01:00
}
2016-04-07 20:00:19 +02:00
/* form: heading/row format */
. vncellcol { /* form_heading */
background : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] : '#e5e9f0' ; ?> ;
2016-04-12 01:52:58 +02:00
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'form_table_label_border_radius' ][ 'text' ], '4px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-04-07 20:00:19 +02:00
border - bottom : 3 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] : '#e5e9f0' ; ?> ;
padding : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_heading_padding' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_heading_padding' ][ 'text' ] : '8px 8px 4px 8px' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : left ;
2016-04-07 20:00:19 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_color' ][ 'text' ] : '#000000' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_font' ][ 'text' ] : 'Arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_size' ][ 'text' ] : '9pt' ; ?> ;
2016-03-25 23:29:20 +01:00
}
2016-04-07 20:00:19 +02:00
. vncellcolreq { /* form_heading_required */
background : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_background_color' ][ 'text' ] : '#e5e9f0' ; ?> ;
2016-04-12 01:52:58 +02:00
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'form_table_label_border_radius' ][ 'text' ], '4px' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-04-07 20:00:19 +02:00
border - bottom : 3 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_required_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_required_border_color' ][ 'text' ] : '#cbcfd5' ; ?> ;
padding : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_heading_padding' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_heading_padding' ][ 'text' ] : '8px 8px 4px 8px' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : left ;
2016-04-07 20:00:19 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_required_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_required_text_color' ][ 'text' ] : '#000000' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_font' ][ 'text' ] : 'Arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_text_size' ][ 'text' ] : '9pt' ; ?> ;
font - weight : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_label_required_text_weight' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_label_required_text_weight' ][ 'text' ] : 'bold' ; ?> ;
2016-03-25 23:29:20 +01:00
}
2016-04-07 20:00:19 +02:00
. vtablerow { /* form_row */
< ? php
// determine cell height by padding
$total_vertical_padding = 6 ; //default px
if ( $_SESSION [ 'theme' ][ 'form_table_row_padding' ][ 'text' ] != '' ) {
$form_table_row_padding = $_SESSION [ 'theme' ][ 'form_table_row_padding' ][ 'text' ];
$form_table_row_padding = str_replace ( 'px' , '' , $form_table_row_padding );
$form_table_row_paddings = explode ( ' ' , $form_table_row_padding );
switch ( sizeof ( $form_table_row_paddings )) {
case 4 : $total_vertical_padding = ( $form_table_row_paddings [ 0 ] + $form_table_row_paddings [ 2 ]); break ;
default : $total_vertical_padding = ( $form_table_row_paddings [ 0 ] * 2 );
}
}
?>
height : < ? php echo ( 30 + $total_vertical_padding ); ?> px;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_background_color' ][ 'text' ] : '#ffffff' ; ?> ;
2016-04-12 01:52:58 +02:00
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'form_table_field_border_radius' ][ 'text' ], '0' ); ?>
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- khtml - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-04-07 20:00:19 +02:00
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_border_color' ][ 'text' ] : '#e5e9f0' ; ?> ;
padding : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_row_padding' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_row_padding' ][ 'text' ] : ( $total_vertical_padding / 2 ) . 'px 0' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : left ;
vertical - align : middle ;
2016-04-07 20:00:19 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_text_color' ][ 'text' ] : '#666666' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_field_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_field_text_font' ][ 'text' ] : 'Arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'form_table_row_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'form_table_row_text_size' ][ 'text' ] : '9pt' ; ?> ;
2016-03-25 23:29:20 +01:00
}
. row_style0 {
2016-03-29 06:29:15 +02:00
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_border_color' ][ 'text' ] : '#c5d1e5' ; ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_background_color_dark' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_background_color_dark' ][ 'text' ] : '#e5e9f0' ; ?> ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] : '#000' ; ?> ;
2016-03-30 22:41:45 +02:00
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_font' ][ 'text' ] : 'arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_size' ][ 'text' ] : '12px' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : left ;
padding : 4 px 7 px ;
}
. row_style1 {
2016-03-29 06:29:15 +02:00
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_border_color' ][ 'text' ] : '#c5d1e5' ; ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_background_color_light' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_background_color_light' ][ 'text' ] : '#fff' ; ?> ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] : '#000' ; ?> ;
2016-03-30 22:41:45 +02:00
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_font' ][ 'text' ] : 'arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_size' ][ 'text' ] : '12px' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : left ;
padding : 4 px 7 px ;
}
2016-03-29 06:29:15 +02:00
. row_style_slim {
2016-03-29 22:15:01 +02:00
padding - top : 0 ;
padding - bottom : 0 ;
2016-03-25 23:29:20 +01:00
white - space : nowrap ;
}
. row_stylebg {
2016-03-30 22:41:45 +02:00
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_border_color' ][ 'text' ] : '#c5d1e5' ; ?> ;
2016-03-29 06:29:15 +02:00
background : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_background_color_medium' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_background_color_medium' ][ 'text' ] : '#f0f2f6' ; ?> ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] : '#000' ; ?> ;
2016-03-30 22:41:45 +02:00
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_font' ][ 'text' ] : 'arial' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_size' ][ 'text' ] : '12px' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : left ;
padding : 4 px 7 px ;
}
/* RESPONSE MESSAGES *******************************************************/
#message_container {
z - index : 99998 ;
position : absolute ;
top : - 80 px ;
left : 0 ;
right : 0 ;
filter : alpha ( opacity = 0 );
opacity : 0 ;
- moz - opacity : 0 ;
- khtml - opacity : 0 ;
padding : 15 px 0 ;
}
#message_text {
z - index : 99999 ;
position : absolute ;
top : - 80 px ;
left : 0 ;
right : 0 ;
filter : alpha ( opacity = 0 );
opacity : 0 ;
- moz - opacity : 0 ;
- khtml - opacity : 0 ;
margin : 0 auto ;
vertical - align : middle ;
padding : 15 px 0 ;
text - align : center ;
font - family : arial , san - serif ;
font - size : 10 pt ;
}
. message_container_mood_default {
background : < ? php echo $_SESSION [ 'theme' ][ 'message_default_background_color' ][ 'text' ]; ?> ;
}
. message_container_mood_negative {
background : < ? php echo $_SESSION [ 'theme' ][ 'message_negative_background_color' ][ 'text' ]; ?> ;
}
. message_container_mood_alert {
background : < ? php echo $_SESSION [ 'theme' ][ 'message_alert_background_color' ][ 'text' ]; ?> ;
}
. message_text_mood_default {
color : < ? php echo $_SESSION [ 'theme' ][ 'message_default_color' ][ 'text' ]; ?> ;
}
. message_text_mood_negative {
color : < ? php echo $_SESSION [ 'theme' ][ 'message_negative_color' ][ 'text' ]; ?> ;
}
. message_text_mood_alert {
color : < ? php echo $_SESSION [ 'theme' ][ 'message_alert_color' ][ 'text' ]; ?> ;
}
2016-03-29 06:29:15 +02:00
/* OPERATOR PANEL ****************************************************************/
2016-03-25 23:29:20 +01:00
div . op_ext {
float : left ;
width : 235 px ;
margin : 0 px 8 px 8 px 0 px ;
padding : 0 px ;
border - style : solid ;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
- webkit - box - shadow : 0 0 3 px #e5e9f0;
- moz - box - shadow : 0 0 3 px #e5e9f0;
box - shadow : 0 0 3 px #e5e9f0;
border - width : 1 px 3 px ;
border - color : #b9c5d8 #c5d1e5;
background - color : #e5eaf5;
cursor : default ;
}
div . op_state_active {
background - color : #baf4bb;
border - width : 1 px 3 px ;
border - color : #77d779;
}
div . op_state_ringing {
background - color : #a8dbf0;
border - width : 1 px 3 px ;
border - color : #41b9eb;
}
table . op_ext {
width : 100 % ;
height : 60 px ;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
background - color : #e5eaf5;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
}
td . op_ext_icon {
vertical - align : middle ;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
}
img . op_ext_icon {
cursor : move ;
width : 39 px ;
height : 42 px ;
border : none ;
}
td . op_ext_info {
text - align : left ;
vertical - align : top ;
font - family : arial ;
font - size : 10 px ;
overflow : auto ;
width : 100 % ;
padding : 3 px 5 px 3 px 7 px ;
- moz - border - radius : 5 px ;
- webkit - border - radius : 5 px ;
border - radius : 5 px ;
background - color : #f0f2f6;
}
td . op_state_ringing {
background - color : #d1f1ff;
}
td . op_state_active {
background - color : #e1ffe2;
}
table . op_state_ringing {
background - color : #a8dbf0;
}
table . op_state_active {
background - color : #baf4bb;
}
. op_user_info {
font - family : arial ;
font - size : 10 px ;
display : inline - block ;
}
. op_user_info strong {
color : #3164AD;
}
. op_caller_info {
display : block ;
2016-04-07 23:34:24 +02:00
margin - top : 4 px ;
2016-03-25 23:29:20 +01:00
font - family : arial ;
font - size : 10 px ;
}
. op_call_info {
display : inline - block ;
padding : 0 px ;
font - family : arial ;
font - size : 10 px ;
}
#op_btn_status_available {
2016-04-12 01:52:58 +02:00
background - image : - moz - linear - gradient ( top , #8ec989 0%, #2d9c38 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #8ec989), color-stop(1, #2d9c38));
2016-03-25 23:29:20 +01:00
background - color : #2d9c38;
border : 1 px solid #006200;
}
#op_btn_status_available_on_demand {
2016-04-12 01:52:58 +02:00
background - image : - moz - linear - gradient ( top , #abd0aa 0%, #629d62 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #abd0aa), color-stop(1, #629d62));
2016-03-25 23:29:20 +01:00
background - color : #629d62;
border : 1 px solid #619c61;
}
#op_btn_status_on_break {
2016-04-12 01:52:58 +02:00
background - image : - moz - linear - gradient ( top , #ddc38b 0%, #be8e2c 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #ddc38b), color-stop(1, #be8e2c));
2016-03-25 23:29:20 +01:00
background - color : #be8e2c;
border : 1 px solid #7d1b00;
}
#op_btn_status_do_not_disturb {
2016-04-12 01:52:58 +02:00
background - image : - moz - linear - gradient ( top , #cc8984 0%, #960d10 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #cc8984), color-stop(1, #960d10));
2016-03-25 23:29:20 +01:00
background - color : #960d10;
border : 1 px solid #5b0000;
}
#op_btn_status_logged_out {
2016-04-12 01:52:58 +02:00
background - image : - moz - linear - gradient ( top , #cacac9 0%, #8d8d8b 100%);
background - image : - webkit - gradient ( linear , left top , left bottom , color - stop ( 0 , #cacac9), color-stop(1, #8d8d8b));
2016-03-25 23:29:20 +01:00
background - color : #8d8d8b;
border : 1 px solid #5d5f5a;
}
2016-03-30 22:41:45 +02:00
/* DASHBOARD **********************************************************************/
2016-03-25 23:29:20 +01:00
/* login message */
div . login_message {
border : 1 px solid #bae0ba;
background - color : #eeffee;
- webkit - border - radius : 3 px ;
- moz - border - radius : 3 px ;
border - radius : 3 px ;
padding : 20 px ;
margin - bottom : 15 px ;
}
/* hud boxes */
div . hud_box {
height : auto ;
vertical - align : top ;
text - align : center ;
2016-04-12 01:52:58 +02:00
< ? php
$color_edge = ( $_SESSION [ 'theme' ][ 'dashboard_detail_background_color_edge' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_detail_background_color_edge' ][ 'text' ] : '#edf1f7' ;
$color_center = ( $_SESSION [ 'theme' ][ 'dashboard_detail_background_color_center' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_detail_background_color_center' ][ 'text' ] : '#f9fbfe' ;
?>
background : < ? php echo $color_center ; ?> ;
background - image : - ms - linear - gradient ( left , < ? php echo $color_edge ; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
background - image : - moz - linear - gradient ( left , < ? php echo $color_edge ; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
background - image : - o - linear - gradient ( left , < ? php echo $color_edge ; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
background - image : - webkit - gradient ( linear , left , right , color - stop ( 0 , < ? php echo $color_edge ; ?> ), color-stop(0.30, <?php echo $color_center; ?>), color-stop(0.70, <?php echo $color_center; ?>), color-stop(1, <?php echo $color_edge; ?>));
background - image : - webkit - linear - gradient ( left , < ? php echo $color_edge ; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
background - image : linear - gradient ( to right , < ? php echo $color_edge ; ?> 0%, <?php echo $color_center; ?> 30%, <?php echo $color_center; ?> 70%, <?php echo $color_edge; ?> 100%);
< ? php unset ( $color_edge , $color_center ); ?>
< ? php $br = format_border_radius ( $_SESSION [ 'theme' ][ 'dashboard_border_radius' ][ 'text' ], '5px' ); ?>
- webkit - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
- moz - border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
border - radius : < ? php echo $br [ 'tl' ][ 'n' ] . $br [ 'tl' ][ 'u' ]; ?> <?php echo $br['tr']['n'].$br['tr']['u']; ?> <?php echo $br['br']['n'].$br['br']['u']; ?> <?php echo $br['bl']['n'].$br['bl']['u']; ?>;
< ? php unset ( $br ); ?>
2016-03-30 22:41:45 +02:00
border : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_border_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_border_color' ][ 'text' ] : '#dbe0ea' ; ?> ;
2016-04-08 18:58:18 +02:00
overflow : hidden ;
2016-03-30 22:41:45 +02:00
margin : - 1 px ;
}
div . hud_box : hover {
border : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_border_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_border_color_hover' ][ 'text' ] : '#cbd3e1' ; ?> ;
2016-03-25 23:29:20 +01:00
}
span . hud_title {
display : block ;
2016-03-30 23:07:38 +02:00
width : 100 % ;
2016-03-30 22:41:45 +02:00
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_heading_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_heading_text_font' ][ 'text' ] : 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif' ; ?> ;
text - shadow : 0 px 1 px 2 px < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_heading_text_shadow_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_heading_text_shadow_color' ][ 'text' ] : '#000' ; ?> ;
2016-03-25 23:29:20 +01:00
letter - spacing : - 0.02 em ;
2016-03-30 22:41:45 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_heading_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_heading_text_color' ][ 'text' ] : '#fff' ; ?> ;
2016-03-30 23:07:38 +02:00
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_heading_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_heading_text_size' ][ 'text' ] : '12pt' ; ?> ;
< ? php
//calculate line height based on font size
if ( $_SESSION [ 'theme' ][ 'dashboard_heading_text_size' ][ 'text' ] != '' ) {
$font_size = strtolower ( $_SESSION [ 'theme' ][ 'dashboard_heading_text_size' ][ 'text' ]);
$tmp = str_replace ( ' ' , '' , $font_size );
$tmp = str_replace ( 'pt' , '' , $tmp );
$tmp = str_replace ( 'px' , '' , $tmp );
$tmp = str_replace ( 'em' , '' , $tmp );
$tmp = str_replace ( '%' , '' , $tmp );
$font_size_number = $tmp ;
$line_height_number = ( int ) floor ( $font_size_number * 2.5 );
}
?>
line - height : < ? php echo ( $line_height_number > 0 ) ? str_replace ( $font_size_number , $line_height_number , $font_size ) : '26.25pt' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : center ;
2016-03-30 22:41:45 +02:00
background : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_heading_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_heading_background_color' ][ 'text' ] : '#8e96a5' ; ?> ;
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_heading_background_color' ][ 'text' ] != '' ) ? color_adjust ( $_SESSION [ 'theme' ][ 'dashboard_heading_background_color' ][ 'text' ], 0.2 ) : '#737983' ; ?> ;
2016-03-30 23:07:38 +02:00
overflow : hidden ;
2016-03-25 23:29:20 +01:00
}
span . hud_title : hover {
2016-03-30 22:41:45 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_heading_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_heading_text_color_hover' ][ 'text' ] : '#fff' ; ?> ;
text - shadow : 0 px 1 px 2 px < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_heading_text_shadow_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_heading_text_shadow_color_hover' ][ 'text' ] : '#000' ; ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_heading_background_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_heading_background_color_hover' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'dashboard_heading_background_color' ][ 'text' ] != '' ) ? color_adjust ( $_SESSION [ 'theme' ][ 'dashboard_heading_background_color' ][ 'text' ], 0.03 ) : '#969dab' ); ?> ;
2016-03-25 23:29:20 +01:00
cursor : pointer ;
}
span . hud_stat {
display : block ;
clear : both ;
text - align : center ;
2016-03-30 22:41:45 +02:00
text - shadow : 0 px 2 px 2 px < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_text_shadow_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_text_shadow_color' ][ 'text' ] : '#737983' ; ?> ;
2016-03-25 23:29:20 +01:00
width : 100 % ;
2016-03-30 22:41:45 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_text_color' ][ 'text' ] : '#fff' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_text_font' ][ 'text' ] : 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_text_size' ][ 'text' ] : '60pt' ; ?> ;
< ? php
//calculate line height based on font size
if ( $_SESSION [ 'theme' ][ 'dashboard_number_text_size' ][ 'text' ] != '' ) {
$font_size = strtolower ( $_SESSION [ 'theme' ][ 'dashboard_number_text_size' ][ 'text' ]);
$tmp = str_replace ( ' ' , '' , $font_size );
$tmp = str_replace ( 'pt' , '' , $tmp );
$tmp = str_replace ( 'px' , '' , $tmp );
$tmp = str_replace ( 'em' , '' , $tmp );
$tmp = str_replace ( '%' , '' , $tmp );
$font_size_number = $tmp ;
$line_height_number = ( int ) floor ( $font_size_number * 1.28 );
}
?>
line - height : < ? php echo ( $line_height_number > 0 ) ? str_replace ( $font_size_number , $line_height_number , $font_size ) : '77pt' ; ?> ;
2016-03-25 23:29:20 +01:00
font - weight : normal ;
2016-03-30 22:41:45 +02:00
background : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] : '#a4aebf' ; ?> ;
border - top : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] != '' ) ? color_adjust ( $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ], 0.2 ) : '#c5d1e5' ; ?> ;
2016-03-30 23:07:38 +02:00
overflow : hidden ;
2016-03-25 23:29:20 +01:00
}
span . hud_stat : hover {
2016-03-30 22:41:45 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_text_color_hover' ][ 'text' ] : '#fff' ; ?> ;
text - shadow : 0 px 2 px 2 px < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_text_shadow_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_text_shadow_color_hover' ][ 'text' ] : '#737983' ; ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_background_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_background_color_hover' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] != '' ) ? color_adjust ( $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ], 0.03 ) : '#aeb7c5' ); ?> ;
2016-03-25 23:29:20 +01:00
cursor : pointer ;
}
span . hud_stat_title {
display : block ;
clear : both ;
width : 100 % ;
height : 30 px ;
cursor : default ;
text - align : center ;
2016-03-30 22:41:45 +02:00
text - shadow : 0 px 1 px 1 px < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_title_text_shadow_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_title_text_shadow_color' ][ 'text' ] : '#737983' ; ?> ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_title_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_title_text_color' ][ 'text' ] : '#fff' ; ?> ;
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_title_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_title_text_size' ][ 'text' ] : '14px' ; ?> ;
2016-03-25 23:29:20 +01:00
padding - top : 4 px ;
2016-03-30 23:07:38 +02:00
white - space : nowrap ;
letter - spacing : - 0.02 em ;
2016-03-25 23:29:20 +01:00
font - weight : normal ;
2016-03-30 22:41:45 +02:00
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_title_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_title_text_font' ][ 'text' ] : 'Calibri, Candara, Segoe, "Segoe UI", Optima, Arial, sans-serif' ; ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] : '#a4aebf' ; ?> ;
border - bottom : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] != '' ) ? color_adjust ( $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ], - 0.2 ) : '#909aa8' ; ?> ;
2016-03-25 23:29:20 +01:00
margin : 0 ;
2016-03-30 23:07:38 +02:00
overflow : hidden ;
2016-03-25 23:29:20 +01:00
}
2016-03-30 22:41:45 +02:00
span . hud_stat : hover + span . hud_stat_title {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_text_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_text_color_hover' ][ 'text' ] : '#fff' ; ?> ;
text - shadow : 0 px 1 px 1 px < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_text_shadow_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_text_shadow_color_hover' ][ 'text' ] : '#737983' ; ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_number_background_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_background_color_hover' ][ 'text' ] : color_adjust (( $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_number_background_color' ][ 'text' ] : '#a4aebf' , 0.03 ); ?> ;
}
div . hud_details {
- moz - box - shadow : inset 0 7 px 7 px - 7 px < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_detail_shadow_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_detail_shadow_color' ][ 'text' ] : '#737983' ; ?> , inset 0 -8px 12px -10px <?php echo ($_SESSION['theme']['dashboard_detail_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_detail_shadow_color']['text'] : '#737983'; ?>;
- webkit - box - shadow : inset 0 7 px 7 px - 7 px < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_detail_shadow_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_detail_shadow_color' ][ 'text' ] : '#737983' ; ?> , inset 0 -8px 12px -10px <?php echo ($_SESSION['theme']['dashboard_detail_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_detail_shadow_color']['text'] : '#737983'; ?>;
box - shadow : inset 0 7 px 7 px - 7 px < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_detail_shadow_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_detail_shadow_color' ][ 'text' ] : '#737983' ; ?> , inset 0 -8px 12px -10px <?php echo ($_SESSION['theme']['dashboard_detail_shadow_color']['text'] != '') ? $_SESSION['theme']['dashboard_detail_shadow_color']['text'] : '#737983'; ?>;
padding - top : 3 px ;
padding - bottom : 15 px ;
}
2016-03-25 23:29:20 +01:00
@ media ( min - width : 0 px ) and ( max - width : 1199 px ) {
div . hud_details {
display : none ;
height : auto ;
}
}
@ media ( min - width : 1200 px ) {
div . hud_details {
height : 350 px ;
display : block ;
}
}
th . hud_heading {
text - align : left ;
2016-03-30 22:41:45 +02:00
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_detail_heading_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_detail_heading_text_size' ][ 'text' ] : '11px' ; ?> ;
font - family : < ? php echo ( $_SESSION [ 'theme' ][ 'table_heading_text_font' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_heading_text_font' ][ 'text' ] : 'arial' ; ?>
color : < ? php echo ( $_SESSION [ 'theme' ][ 'table_heading_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_heading_text_color' ][ 'text' ] : '#3164ad' ; ?> ;
2016-03-25 23:29:20 +01:00
}
td . hud_text {
2016-03-30 22:41:45 +02:00
font - size : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_detail_row_text_size' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_detail_row_text_size' ][ 'text' ] : '11px' ; ?> ;
color : < ? php echo ( $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'table_row_text_color' ][ 'text' ] : '#000' ; ?> ;
2016-03-25 23:29:20 +01:00
text - align : left ;
vertical - align : middle ;
}
span . hud_expander {
display : block ;
clear : both ;
2016-03-30 22:41:45 +02:00
background : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_footer_background_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_footer_background_color' ][ 'text' ] : '#e5e9f0' ; ?> ;
2016-03-25 23:29:20 +01:00
padding : 4 px 0 ;
text - align : center ;
width : 100 % ;
height : 25 px ;
font - size : 13 px ;
line - height : 5 px ;
2016-03-30 22:41:45 +02:00
color : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_footer_dots_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_footer_dots_color' ][ 'text' ] : '#a4aebf' ; ?> ;
border - top : 1 px solid < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_footer_background_color' ][ 'text' ] != '' ) ? color_adjust ( $_SESSION [ 'theme' ][ 'dashboard_footer_background_color' ][ 'text' ], 0.2 ) : '#fff' ; ?> ;
}
span . hud_expander : hover {
color : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_footer_dots_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_footer_dots_color_hover' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'dashboard_footer_dots_color' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_footer_dots_color' ][ 'text' ] : '#a4aebf' ); ?> ;
background : < ? php echo ( $_SESSION [ 'theme' ][ 'dashboard_footer_background_color_hover' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'dashboard_footer_background_color_hover' ][ 'text' ] : (( $_SESSION [ 'theme' ][ 'dashboard_footer_background_color' ][ 'text' ] != '' ) ? color_adjust ( $_SESSION [ 'theme' ][ 'dashboard_footer_background_color' ][ 'text' ], 0.02 ) : '#ebeef3' ); ?> ;
2016-03-25 23:29:20 +01:00
cursor : pointer ;
}
/* PLUGINS ********************************************************************/
/* bootstrap colorpicker */
. colorpicker - 2 x . colorpicker - saturation {
width : 200 px ;
height : 200 px ;
}
. colorpicker - 2 x . colorpicker - hue ,
. colorpicker - 2 x . colorpicker - alpha {
width : 30 px ;
height : 200 px ;
}
. colorpicker - 2 x . colorpicker - color ,
. colorpicker - 2 x . colorpicker - color div {
height : 30 px ;
}
/* jquery ui autocomplete styles */
. ui - widget {
margin : 0 px ;
padding : 0 px ;
}
. ui - autocomplete {
cursor : default ;
position : absolute ;
max - height : 200 px ;
overflow - y : auto ;
overflow - x : hidden ;
white - space : nowrap ;
width : auto ;
border : 1 px solid #c0c0c0;
}
. ui - menu , . ui - menu . ui - menu - item {
width : 350 px ;
}
. ui - menu . ui - menu - item a {
text - decoration : none ;
cursor : pointer ;
border - color : #fff;
background - image : none ;
background - color : #fff;
white - space : nowrap ;
font - family : arial ;
font - size : 12 px ;
color : #444;
}
. ui - menu . ui - menu - item a : hover {
color : #5082ca;
border : 1 px solid white ;
background - image : none ;
background - color : #fff;
}
</ style >
< script language = " JavaScript " type = " text/javascript " >
2016-04-07 22:48:12 +02:00
//display message bar via js
function display_message ( msg , mood , delay ) {
var mood = ( typeof mood !== 'undefined' ) ? mood : 'default' ;
var delay = ( typeof delay !== 'undefined' ) ? delay : < ? php echo ( 1000 * ( float ) $_SESSION [ 'theme' ][ 'message_delay' ][ 'text' ]); ?> ;
if ( msg != '' ) {
var inner_width = $ ( window ) . width ();
// add class by mood
$ ( " #message_container " ) . addClass ( 'message_container_mood_' + mood );
$ ( " #message_text " ) . addClass ( 'message_text_mood_' + mood );
// output message
$ ( " #message_text " ) . html ( msg );
$ ( " #message_container " ) . css ({ height : $ ( " #message_text " ) . css ( " height " )});
$ ( " #message_container " ) . css ({ width : inner_width });
$ ( " #message_text " ) . show () . animate ({ top : '+=80' }, 500 ) . animate ({ opacity : 1 }, 'fast' ) . delay ( delay ) . animate ({ top : '-=80' }, 1000 ) . animate ({ opacity : 0 });
$ ( " #message_container " ) . show () . animate ({ top : '+=80' }, 500 ) . animate ({ opacity : < ? php echo $_SESSION [ 'theme' ][ 'message_opacity' ][ 'text' ]; ?> }, "fast").delay(delay).animate({top: '-=80'}, 1000).animate({opacity: 0}, function() {
$ ( " #message_container " ) . removeClass ( 'message_container_mood_' + mood );
});
2016-03-25 23:29:20 +01:00
}
2016-04-07 22:48:12 +02:00
}
2016-03-25 23:29:20 +01:00
2016-04-07 22:48:12 +02:00
$ ( document ) . ready ( function () {
2016-03-25 23:29:20 +01:00
//set response message, if any
< ? php
if ( strlen ( $_SESSION [ 'message' ]) > 0 ) {
$message_text = addslashes ( $_SESSION [ 'message' ]);
$message_mood = $_SESSION [ 'message_mood' ];
$message_delay = $_SESSION [ 'message_delay' ];
echo " display_message(' " . $message_text . " ' " ;
echo ( $message_mood != '' ) ? " , ' " . $message_mood . " ' " : " , 'default' " ;
if ( $message_delay != '' ) {
echo " , ' " . $message_delay . " ' " ;
}
echo " ); " ;
unset ( $_SESSION [ 'message' ], $_SESSION [ 'message_mood' ], $_SESSION [ 'message_delay' ]);
}
?>
//hide message bar on hover
$ ( " #message_text " ) . mouseover ( function () { $ ( this ) . hide (); $ ( " #message_container " ) . hide (); });
2016-04-01 01:11:37 +02:00
< ? php
if ( permission_exists ( " domain_select " ) && count ( $_SESSION [ 'domains' ]) > 1 ) {
?>
//domain selector controls
$ ( " .domain_selector_domain " ) . click ( function () { show_domains (); });
$ ( " #domains_hide " ) . click ( function () { hide_domains (); });
2016-03-25 23:29:20 +01:00
2016-04-01 01:11:37 +02:00
function show_domains () {
2016-04-07 21:01:21 +02:00
$ ( '#domains_visible' ) . val ( 1 );
2016-04-01 01:11:37 +02:00
var scrollbar_width = ( window . innerWidth - $ ( window ) . width ()); //gold: only solution that worked with body { overflow:auto } (add -ms-overflow-style: scrollbar; to <body> style for ie 10+)
if ( scrollbar_width > 0 ) {
$ ( " body " ) . css ({ 'margin-right' : scrollbar_width , 'overflow' : 'hidden' }); //disable body scroll bars
$ ( " .navbar " ) . css ( 'margin-right' , scrollbar_width ); //adjust navbar margin to compensate
$ ( " #domains_container " ) . css ( 'right' , - scrollbar_width ); //domain container right position to compensate
}
2016-04-07 21:01:21 +02:00
$ ( document ) . scrollTop ( 0 );
2016-04-06 02:37:46 +02:00
$ ( " #domains_container " ) . show ();
2016-04-07 21:01:21 +02:00
$ ( " #domains_block " ) . animate ({ marginRight : '+=300' }, 400 , function () {
$ ( " #domain_filter " ) . focus ();
});
2016-03-25 23:29:20 +01:00
}
2016-04-01 01:11:37 +02:00
function hide_domains () {
2016-04-07 21:01:21 +02:00
$ ( '#domains_visible' ) . val ( 0 );
2016-04-01 01:11:37 +02:00
$ ( document ) . ready ( function () {
$ ( " #domains_block " ) . animate ({ marginRight : '-=300' }, 400 , function () {
$ ( " #domain_filter " ) . val ( '' );
domain_search ( $ ( " #domain_filter " ) . val ());
$ ( " .navbar " ) . css ( 'margin-right' , '0' ); //restore navbar margin
$ ( " #domains_container " ) . css ( 'right' , '0' ); //domain container right position
$ ( " #domains_container " ) . hide ();
$ ( " body " ) . css ({ 'margin-right' : '0' , 'overflow' : 'auto' }); //enable body scroll bars
});
2016-03-25 23:29:20 +01:00
});
}
2016-04-01 01:11:37 +02:00
< ? php
2016-04-07 21:01:21 +02:00
key_press ( 'escape' , 'up' , 'document' , null , null , " if ( $ ('#domains_visible').val() == 0) { show_domains(); } else { hide_domains(); } " , false );
2016-04-01 01:11:37 +02:00
}
?>
2016-03-25 23:29:20 +01:00
//link table rows (except the last - the list_control_icons cell) on a table with a class of 'tr_hover', according to the href attribute of the <tr> tag
$ ( '.tr_hover tr' ) . each ( function ( i , e ) {
$ ( e ) . children ( 'td:not(.list_control_icon,.list_control_icons,.tr_link_void)' ) . click ( function () {
var href = $ ( this ) . closest ( " tr " ) . attr ( " href " );
if ( href ) { window . location = href ; }
});
});
//apply the auto-size jquery script to all text inputs
$ ( " input.txt, textarea.txt, .formfld " ) . autosizeInput ();
//apply bootstrap-datetime plugin
$ ( function () {
$ ( '.datetimepicker' ) . datetimepicker ({
format : 'YYYY-MM-DD HH:mm'
});
});
//apply bootstrap-colorpicker plugin
$ ( function (){
$ ( '.colorpicker' ) . colorpicker ({
align : 'left' ,
customClass : 'colorpicker-2x' ,
sliders : {
saturation : {
maxLeft : 200 ,
maxTop : 200
},
hue : {
maxTop : 200
},
alpha : {
maxTop : 200
}
}
});
});
});
2016-03-28 17:09:33 +02:00
//audio playback functions
var recording_audio ;
function recording_play ( recording_id ) {
if ( document . getElementById ( 'recording_progress_bar_' + recording_id )) {
document . getElementById ( 'recording_progress_bar_' + recording_id ) . style . display = '' ;
}
recording_audio = document . getElementById ( 'recording_audio_' + recording_id )
if ( recording_audio . paused ) {
recording_audio . volume = 1 ;
recording_audio . play ();
document . getElementById ( 'recording_button_' + recording_id ) . innerHTML = " <?php echo str_replace( " class = 'list_control_icon' " , " class = 'list_control_icon' style = 'opacity: 1;' " , $v_link_label_pause ); ?> " ;
}
else {
recording_audio . pause ();
document . getElementById ( 'recording_button_' + recording_id ) . innerHTML = " <?php echo $v_link_label_play ; ?> " ;
}
}
function recording_reset ( recording_id ) {
if ( document . getElementById ( 'recording_progress_bar_' + recording_id )) {
document . getElementById ( 'recording_progress_bar_' + recording_id ) . style . display = 'none' ;
}
document . getElementById ( 'recording_button_' + recording_id ) . innerHTML = " <?php echo $v_link_label_play ; ?> " ;
}
function update_progress ( recording_id ) {
recording_audio = document . getElementById ( 'recording_audio_' + recording_id );
var recording_progress = document . getElementById ( 'recording_progress_' + recording_id );
var value = 0 ;
if ( recording_audio . currentTime > 0 ) {
value = ( 100 / recording_audio . duration ) * recording_audio . currentTime ;
}
recording_progress . style . width = value + " % " ;
}
2016-03-25 23:29:20 +01:00
</ script >
<!-- { head } -->
</ head >
< ? php
//add multi-lingual support
$language = new text ;
$text = $language -> get ( null , 'themes/default' );
?>
< body onload = " <?php echo $onload ;?> " >
< div id = 'message_container' class = 'message_container_mood_default' ></ div >
< div id = 'message_text' class = 'message_container_text_default' ></ div >
< ? php
//logged in show the domains block
if ( strlen ( $_SESSION [ " username " ]) > 0 && permission_exists ( " domain_select " ) && count ( $_SESSION [ 'domains' ]) > 1 ) {
?>
< div id = " domains_container " >
< input type = " hidden " id = " domains_visible " value = " 0 " >
< div id = " domains_block " >
< div id = " domains_header " >
< input id = " domains_hide " type = " button " class = " btn " style = " float: right " value = " <?php echo $text['theme-button-close'] ; ?> " >
< ? php
if ( file_exists ( $_SERVER [ " DOCUMENT_ROOT " ] . " /app/domains/domains.php " )) {
$href = '/app/domains/domains.php' ;
}
else {
$href = '/core/domain_settings/domains.php' ;
}
echo " <a href= \" " . $href . " \" ><b style= \" color: #000; \" > " . $text [ 'theme-title-domains' ] . " </b></a> ( " . sizeof ( $_SESSION [ 'domains' ]) . " ) " ;
?>
< br >< br >
2016-04-12 01:52:58 +02:00
< input type = " text " id = " domain_filter " class = " formfld " style = " margin-left: 0; min-width: 100%; width: 100%; " placeholder = " <?php echo $text['theme-label-search'] ; ?> " onkeyup = " domain_search(this.value); " >
2016-03-25 23:29:20 +01:00
</ div >
< div id = " domains_list " >
< ? php
$bgcolor1 = " #eaedf2 " ;
$bgcolor2 = " #fff " ;
foreach ( $_SESSION [ 'domains' ] as $domain ) {
$bgcolor = ( $bgcolor == $bgcolor1 ) ? $bgcolor2 : $bgcolor1 ;
$bgcolor = ( $domain [ 'domain_uuid' ] == $_SESSION [ 'domain_uuid' ]) ? " #eeffee " : $bgcolor ;
echo " <div id= \" " . $domain [ 'domain_name' ] . " \" class='domains_list_item' style='background-color: " . $bgcolor . " ' onclick= \" document.location.href=' " . PROJECT_PATH . " /core/domain_settings/domains.php?domain_uuid= " . $domain [ 'domain_uuid' ] . " &domain_change=true'; \" > " ;
echo " <a href=' " . PROJECT_PATH . " /core/domain_settings/domains.php?domain_uuid= " . $domain [ 'domain_uuid' ] . " &domain_change=true' " . (( $domain [ 'domain_uuid' ] == $_SESSION [ 'domain_uuid' ]) ? " style='font-weight: bold;' " : null ) . " > " . $domain [ 'domain_name' ] . " </a> \n " ;
if ( $domain [ 'domain_description' ] != '' ) {
echo " <span class= \" domain_list_item_description \" > - " . $domain [ 'domain_description' ] . " </span> \n " ;
}
echo " </div> \n " ;
$ary_domain_names [] = $domain [ 'domain_name' ];
$ary_domain_descs [] = str_replace ( '"' , '\"' , $domain [ 'domain_description' ]);
}
?>
</ div >
< script >
var domain_names = new Array ( " <?php echo implode(' " , " ', $ary_domain_names )?> " );
var domain_descs = new Array ( " <?php echo implode(' " , " ', $ary_domain_descs )?> " );
function domain_search ( criteria ) {
for ( var x = 0 ; x < domain_names . length ; x ++ ) {
if ( domain_names [ x ] . toLowerCase () . match ( criteria . toLowerCase ()) || domain_descs [ x ] . toLowerCase () . match ( criteria . toLowerCase ())) {
document . getElementById ( domain_names [ x ]) . style . display = '' ;
}
else {
document . getElementById ( domain_names [ x ]) . style . display = 'none' ;
}
}
}
</ script >
</ div >
</ div >
< ? php
}
2016-03-27 11:22:42 +02:00
2016-03-25 23:29:20 +01:00
// qr code container for contacts
echo " <div id='qr_code_container' style='display: none;' onclick=' $ (this).fadeOut(400);'> " ;
echo " <table cellpadding='0' cellspacing='0' border='0' width='100%' height='100%'><tr><td align='center' valign='middle'> " ;
echo " <span id='qr_code' onclick= \" $ ('#qr_code_container').fadeOut(400); \" ></span> " ;
echo " </td></tr></table> " ;
echo " </div> " ;
2016-03-26 02:38:57 +01:00
if ( ! $default_login ) {
2016-03-25 23:29:20 +01:00
2016-03-26 02:38:57 +01:00
//*************** BOOTSTRAP MENU ********************************
function show_menu ( $menu_array , $menu_style , $menu_position ) {
2016-03-27 11:22:42 +02:00
global $text ;
2016-03-26 02:38:57 +01:00
//determine menu behavior
switch ( $menu_style ) {
case 'inline' :
$menu_type = 'default' ;
$menu_width = 'calc(100% - 40px)' ;
$menu_brand = false ;
break ;
case 'static' :
$menu_type = 'static-top' ;
$menu_width = 'calc(100% - 40px)' ;
$menu_brand = true ;
2016-03-27 09:03:13 +02:00
$menu_corners = " style='-webkit-border-radius: 0 0 4px 4px; -moz-border-radius: 0 0 4px 4px; border-radius: 0 0 4px 4px;' " ;
2016-03-26 02:38:57 +01:00
break ;
case 'fixed' :
default :
$menu_position = ( $menu_position != '' ) ? $menu_position : 'top' ;
$menu_type = 'fixed-' . $menu_position ;
$menu_width = 'calc(90% - 40px)' ;
$menu_brand = true ;
}
?>
2016-03-25 23:29:20 +01:00
2016-03-27 08:46:06 +02:00
< nav class = " navbar navbar-inverse navbar-<?php echo $menu_type ; ?> " < ? php echo $menu_corners ; ?> >
2016-03-26 02:38:57 +01:00
< div class = " container-fluid " style = 'width: <?php echo $menu_width; ?>; padding: 0;' >
< div class = " navbar-header " >
< button type = " button " class = " navbar-toggle collapsed " data - toggle = " collapse " data - target = " #main_navbar " aria - expanded = " false " aria - controls = " navbar " >
< span class = " sr-only " > Toggle navigation </ span >
2016-03-27 08:32:19 +02:00
< span class = " icon-bar " style = 'margin-top: 1px;' ></ span >
2016-03-26 02:38:57 +01:00
< span class = " icon-bar " ></ span >
< span class = " icon-bar " ></ span >
</ button >
2016-03-25 23:29:20 +01:00
< ? php
2016-03-26 02:38:57 +01:00
if ( $menu_brand ) {
//define menu brand link
if ( strlen ( PROJECT_PATH ) > 0 ) {
$menu_brand_link = PROJECT_PATH ;
}
else if ( ! $default_login ) {
$menu_brand_link = '/' ;
}
//define menu brand mark
$menu_brand_text = ( $_SESSION [ 'theme' ][ 'menu_brand_text' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_brand_text' ][ 'text' ] : " FusionPBX " ;
2016-03-28 16:22:59 +02:00
if ( $_SESSION [ 'theme' ][ 'menu_brand_type' ][ 'text' ] == 'image' || $_SESSION [ 'theme' ][ 'menu_brand_type' ][ 'text' ] == '' ) {
2016-03-26 02:38:57 +01:00
$menu_brand_image = ( isset ( $_SESSION [ 'theme' ][ 'menu_brand_image' ][ 'text' ])) ? $_SESSION [ 'theme' ][ 'menu_brand_image' ][ 'text' ] : PROJECT_PATH . " /themes/default/images/logo_header.png " ;
echo " <img class='pull-left hidden-xs navbar-logo' src=' " . $menu_brand_image . " ' title= \" " . $menu_brand_text . " \" onclick= \" document.location.href=' " . $menu_brand_link . " '; \" > " ;
echo " <img class='pull-left visible-xs navbar-logo' src=' " . $menu_brand_image . " ' title= \" " . $menu_brand_text . " \" onclick= \" document.location.href=' " . $menu_brand_link . " '; \" style='margin-left: 21px;'> " ;
}
2016-03-28 16:22:59 +02:00
else if ( $_SESSION [ 'theme' ][ 'menu_brand_type' ][ 'text' ] == 'text' ) {
2016-03-26 02:38:57 +01:00
echo " <div class='pull-left'><a class='navbar-brand' href= \" " . $menu_brand_link . " \" > " . $menu_brand_text . " </a></div> \n " ;
2016-03-25 23:29:20 +01:00
}
}
//domain name/selector
if ( $_SESSION [ " username " ] != '' && permission_exists ( " domain_select " ) && count ( $_SESSION [ 'domains' ]) > 1 ) {
2016-03-26 02:38:57 +01:00
echo " <ul class='nav navbar-nav pull-right visible-xs'> \n " ;
echo " <li><a href='#' style='padding: 8px 4px 6px 0;' class='domain_selector_domain' title=' " . $text [ 'theme-label-open_selector' ] . " '> " . $_SESSION [ 'domain_name' ] . " </a></li> \n " ;
echo " </ul> \n " ;
2016-03-25 23:29:20 +01:00
}
?>
2016-03-26 02:38:57 +01:00
</ div >
< div class = " collapse navbar-collapse " id = " main_navbar " >
< ul class = " nav navbar-nav " >
< ? php
foreach ( $menu_array as $index_main => $menu_parent ) {
$submenu = false ;
if ( is_array ( $menu_parent [ 'menu_items' ]) && sizeof ( $menu_parent [ 'menu_items' ]) > 0 ) {
$mod_li = " class='dropdown' " ;
$mod_a_1 = " class='dropdown-toggle text-left' data-toggle='dropdown' " ;
$submenu = true ;
}
$mod_a_2 = ( $menu_parent [ 'menu_item_link' ] != '' ) ? $menu_parent [ 'menu_item_link' ] : '#' ;
$mod_a_3 = ( $menu_parent [ 'menu_item_category' ] == 'external' ) ? " target='_blank' " : null ;
2016-04-06 00:41:58 +02:00
if ( $_SESSION [ 'theme' ][ 'menu_main_icons' ][ 'boolean' ] == 'true' || $_SESSION [ 'theme' ][ 'menu_main_icons' ][ 'boolean' ] == '' ) {
switch ( $menu_parent [ 'menu_item_title' ]) {
case " Home " : $glyph = 'home' ; break ;
case " Accounts " : $glyph = 'user' ; break ;
case " Dialplan " : $glyph = 'transfer' ; break ;
case " Apps " : $glyph = 'send' ; break ;
case " Status " : $glyph = 'equalizer' ; break ;
case " Advanced " : $glyph = 'cog' ; break ;
default : $glyph = null ;
}
$menu_main_icon = ( $glyph != '' ) ? " <span class='glyphicon glyphicon- " . $glyph . " ' title= \" " . $menu_parent [ 'menu_language_title' ] . " \" ></span> " : null ;
2016-04-07 23:59:48 +02:00
$menu_main_item = " <span class='hidden-sm'> " . $menu_parent [ 'menu_language_title' ] . " </span> " ;
}
else {
$menu_main_item = $menu_parent [ 'menu_language_title' ];
2016-03-26 02:38:57 +01:00
}
echo " <li " . $mod_li . " > \n " ;
2016-04-07 23:59:48 +02:00
echo " <a " . $mod_a_1 . " href=' " . $mod_a_2 . " ' " . $mod_a_3 . " > " . $menu_main_icon . $menu_main_item . " </a> \n " ;
2016-03-26 02:38:57 +01:00
if ( $submenu ) {
echo " <ul class='dropdown-menu'> \n " ;
foreach ( $menu_parent [ 'menu_items' ] as $index_sub => $menu_sub ) {
2016-03-28 10:25:13 +02:00
$mod_a_2 = $menu_sub [ 'menu_item_link' ];
if ( $mod_a_2 == '' ){
$mod_a_2 = '#' ;
}
else if (( $menu_sub [ 'menu_item_category' ] == 'internal' ) ||
(( $menu_sub [ 'menu_item_category' ] == 'external' ) && substr ( $mod_a_2 , 0 , 1 ) == " / " ))
{
$mod_a_2 = PROJECT_PATH . $mod_a_2 ;
}
2016-03-26 02:38:57 +01:00
$mod_a_3 = ( $menu_sub [ 'menu_item_category' ] == 'external' ) ? " target='_blank' " : null ;
2016-03-27 08:32:19 +02:00
if ( $_SESSION [ 'theme' ][ 'menu_sub_icons' ][ 'boolean' ] == 'true' ) {
2016-03-26 02:38:57 +01:00
$mod_nw = ( $menu_sub [ 'menu_item_category' ] == 'external' ) ? " <span class='glyphicon glyphicon-new-window'></span> " : null ;
switch ( $menu_sub [ 'menu_item_title' ]) {
case 'Logout' : $mod_icon = " <span class='glyphicon glyphicon-log-out'></span> " ; break ;
default : $mod_icon = null ;
}
}
echo " <li><a href=' " . $mod_a_2 . " ' " . $mod_a_3 . " > " . (( $_SESSION [ 'theme' ][ 'menu_sub_icons' ]) ? " <span class='glyphicon glyphicon-minus visible-xs pull-left' style='margin: 4px 10px 0 25px;'></span> " : null ) . $menu_sub [ 'menu_language_title' ] . $mod_icon . $mod_nw . " </a></li> \n " ;
}
echo " </ul> \n " ;
}
echo " </li> \n " ;
}
?>
</ ul >
< ul class = " nav navbar-nav navbar-right " >
< ? php
//domain name/selector
if ( $_SESSION [ " username " ] != '' && permission_exists ( " domain_select " ) && count ( $_SESSION [ 'domains' ]) > 1 ) {
echo " <li class='hidden-xs'><a href='#' class='domain_selector_domain' title=' " . $text [ 'theme-label-open_selector' ] . " '> " . $_SESSION [ 'domain_name' ] . " </a></li> " ;
}
//logout icon
if ( $_SESSION [ 'username' ] != '' && $_SESSION [ 'theme' ][ 'logout_icon_visible' ][ 'text' ] == " true " ) {
$username_full = $_SESSION [ 'username' ] . (( count ( $_SESSION [ 'domains' ]) > 1 ) ? " @ " . $_SESSION [ " user_context " ] : null );
2016-03-27 11:22:42 +02:00
echo " <li class='hidden-xs'><a href=' " . PROJECT_PATH . " /logout.php' title= \" " . $text [ 'theme-label-logout' ] . " \" onclick= \" return confirm(' " . $text [ 'theme-confirm-logout' ] . " ') \" ><span class='glyphicon glyphicon-log-out'></span></a></li> " ;
2016-03-26 02:38:57 +01:00
unset ( $username_full );
}
?>
</ ul >
</ div >
2016-03-25 23:29:20 +01:00
</ div >
2016-03-26 02:38:57 +01:00
</ nav >
2016-03-25 23:29:20 +01:00
2016-03-26 02:38:57 +01:00
< ? php
}
//determine menu configuration
$menu = new menu ;
$menu -> db = $db ;
$menu -> menu_uuid = $_SESSION [ 'domain' ][ 'menu' ][ 'uuid' ];
$menu_array = $menu -> menu_array ();
unset ( $menu );
$menu_style = ( $_SESSION [ 'theme' ][ 'menu_style' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'menu_style' ][ 'text' ] : 'fixed' ;
$menu_position = ( $_SESSION [ 'theme' ][ 'menu_position' ][ 'text' ]) ? $_SESSION [ 'theme' ][ 'menu_position' ][ 'text' ] : 'top' ;
2016-03-29 07:39:42 +02:00
$open_container = " <div class='container-fluid' style='padding: 0;' align='center'> " ;
2016-03-26 02:38:57 +01:00
switch ( $menu_style ) {
case 'inline' :
$logo_align = ( $_SESSION [ 'theme' ][ 'logo_align' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'logo_align' ][ 'text' ] : 'left' ;
echo str_replace ( " center " , $logo_align , $open_container );
if ( $_SERVER [ 'PHP_SELF' ] != PROJECT_PATH . " /resources/install.php " ) {
2016-03-27 08:32:19 +02:00
$logo = ( $_SESSION [ 'theme' ][ 'logo' ][ 'text' ] != '' ) ? $_SESSION [ 'theme' ][ 'logo' ][ 'text' ] : PROJECT_PATH . " /themes/default/images/logo.png " ;
2016-03-26 02:38:57 +01:00
echo " <a href=' " . (( PROJECT_PATH != '' ) ? PROJECT_PATH : '/' ) . " '><img src=' " . $logo . " ' style='padding: 15px 20px;'></a> " ;
}
show_menu ( $menu_array , $menu_style , $menu_position );
$body_top_style = " style='padding-top: 0px; margin-top: -8px;' " ;
break ;
case 'static' :
echo $open_container ;
show_menu ( $menu_array , $menu_style , $menu_position );
2016-03-27 08:46:06 +02:00
$body_top_style = " style='padding: 0; margin-top: -5px;' " ;
2016-03-26 02:38:57 +01:00
break ;
case 'fixed' :
show_menu ( $menu_array , $menu_style , $menu_position );
echo $open_container ;
switch ( $menu_position ) {
2016-03-26 02:49:52 +01:00
case 'bottom' : $body_top_style = " style='margin-top: 30px;' " ; break ;
2016-03-26 02:38:57 +01:00
case 'top' : $body_top_style = " style='margin-top: 65px;' " ; break ;
}
}
?>
2016-03-25 23:29:20 +01:00
2016-03-26 02:38:57 +01:00
< table width = '100%' border = '0' cellpadding = '0' cellspacing = '0' < ? php echo $body_top_style ; ?> >
2016-03-25 23:29:20 +01:00
< tr >
2016-03-26 02:38:57 +01:00
< td align = 'left' valign = 'top' >
2016-03-25 23:29:20 +01:00
< table border = '0' cellpadding = '0' cellspacing = '0' width = '100%' >
< tr >
< td width = '100%' style = 'padding-right: 15px;' align = 'right' valign = 'middle' >
< ? php
2016-04-08 03:35:39 +02:00
// login form
if ( $_SERVER [ 'PHP_SELF' ] != PROJECT_PATH . " /core/install/install.php " && ! $default_login ) {
if ( strlen ( $_SESSION [ " username " ]) == 0 ) {
//add multi-lingual support
require_once " core/user_settings/app_languages.php " ;
foreach ( $text as $key => $value ) {
$text [ $key ] = $value [ $_SESSION [ 'domain' ][ 'language' ][ 'code' ]];
2016-03-25 23:29:20 +01:00
}
2016-04-08 03:35:39 +02:00
//set a default login destination
if ( strlen ( $_SESSION [ 'login' ][ 'destination' ][ 'url' ]) == 0 ) {
$_SESSION [ 'login' ][ 'destination' ][ 'url' ] = PROJECT_PATH . " /core/user_settings/user_dashboard.php " ;
}
//login form
echo " <div align='right'> \n " ;
echo " <form name='login' METHOD= \" POST \" action= \" " . $_SESSION [ 'login' ][ 'destination' ][ 'url' ] . " \" > \n " ;
echo " <input type='hidden' name='path' value=' " . $_GET [ 'path' ] . " '> \n " ;
echo " <table width='200' border='0'> \n " ;
echo " <tr> \n " ;
echo " <td> \n " ;
2016-04-12 01:52:58 +02:00
echo " <input type='text' class='txt login' style='min-width: 150px; width: 105px; text-align: center;' name='username' placeholder= \" " . $text [ 'label-username' ] . " \" > \n " ;
2016-04-08 03:35:39 +02:00
echo " </td> \n " ;
echo " <td align='left'> \n " ;
2016-04-12 01:52:58 +02:00
echo " <input type='password' class='txt login' style='min-width: 150px; width: 105px; text-align: center;' name='password' placeholder= \" " . $text [ 'label-password' ] . " \" > \n " ;
2016-04-08 03:35:39 +02:00
echo " </td> \n " ;
if ( $_SESSION [ 'login' ][ 'domain_name_visible' ][ 'boolean' ] == " true " ) {
echo " <td align='left'> \n " ;
echo " <strong> " . $text [ 'label-domain' ] . " :</strong> \n " ;
echo " </td> \n " ;
echo " <td> \n " ;
if ( count ( $_SESSION [ 'login' ][ 'domain_name' ]) > 0 ) {
2016-04-12 01:52:58 +02:00
echo " <select name='domain_name' class='txt login' style='color: #999999; width: 150px; text-align: center; text-align-last: center;' onclick= \" this.style.color='#000000'; \" onchange= \" this.style.color='#000000'; \" > \n " ;
2016-04-08 03:35:39 +02:00
echo " <option value='' disabled selected hidden> " . $text [ 'label-domain' ] . " </option> \n " ;
sort ( $_SESSION [ 'login' ][ 'domain_name' ]);
foreach ( $_SESSION [ 'login' ][ 'domain_name' ] as & $row ) {
echo " <option value=' $row '> $row </option> \n " ;
}
echo " </select> \n " ;
}
else {
2016-04-12 01:52:58 +02:00
echo " <input type='text' name='domain_name' class='txt login' style='text-align: center; min-width: 150px; width: 150px;' placeholder= \" " . $text [ 'label-domain' ] . " \" > \n " ;
2016-04-08 03:35:39 +02:00
}
echo " </td> \n " ;
2016-03-25 23:29:20 +01:00
}
2016-04-08 03:35:39 +02:00
echo " <td align='right'> \n " ;
echo " <input type='submit' class='btn' style='margin-left: 5px;' value= \" " . $text [ 'button-login' ] . " \" > \n " ;
echo " </td> \n " ;
echo " </tr> \n " ;
echo " </table> \n " ;
echo " </form> " ;
echo " </div> " ;
}
2016-03-25 23:29:20 +01:00
}
?>
</ td >
</ tr >
</ table >
</ td >
</ tr >
< tr >
< td valign = 'top' align = 'center' >
< table cellpadding = '0' cellspacing = '0' border = '0' align = 'center' width = '100%' >
< tr >
< td id = 'main_content' valign = 'top' align = 'center' >
<!-- { body } -->
</ td >
</ tr >
</ table >
</ td >
</ tr >
</ table >
2016-04-02 22:26:29 +02:00
< div id = 'footer' style = 'width: 100%; margin-bottom: 60px;' >
2016-04-07 23:26:40 +02:00
< span class = 'footer' >< ? php echo ( isset ( $_SESSION [ 'theme' ][ 'footer' ][ 'text' ])) ? $_SESSION [ 'theme' ][ 'footer' ][ 'text' ] : " © " . $text [ 'theme-label-copyright' ] . " 2008 - " . date ( " Y " ) . " <a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a> " . $text [ 'theme-label-all_rights_reserved' ]; ?> </span>
2016-04-02 22:26:29 +02:00
</ div >
2016-03-25 23:29:20 +01:00
</ div >
< ? php
}
// default login being used
else {
$logo = ( isset ( $_SESSION [ 'theme' ][ 'logo' ][ 'text' ])) ? $_SESSION [ 'theme' ][ 'logo' ][ 'text' ] : PROJECT_PATH . " /themes/default/images/logo.png " ;
?>
< div id = " main_content " style = 'position: absolute; top: 0; left: 0; right: 0; bottom: 0; padding: 0;' >
< table cellpadding = '0' cellspacing = '0' border = '0' width = '100%' height = '100%' >
< tr >
< td align = 'center' valign = 'middle' >
2016-04-08 23:01:29 +02:00
< div id = 'default_login' >
2016-04-08 03:35:39 +02:00
< a href = '<?php echo PROJECT_PATH; ?>/' >< img src = '<?php echo $logo; ?>' style = 'width: 250px; height: auto;' ></ a >< br />
2016-03-25 23:29:20 +01:00
<!-- { body } -->
2016-04-08 23:01:29 +02:00
</ div >
2016-03-25 23:29:20 +01:00
</ td >
</ tr >
2016-03-27 11:09:50 +02:00
< tr >
2016-04-08 23:01:29 +02:00
< td style = 'width: 100%; height: 35px; vertical-align: bottom;' >
2016-04-07 22:14:32 +02:00
< div id = 'footer' style = 'width: 100%;' >
2016-04-07 23:26:40 +02:00
< span class = 'footer' >< ? php echo ( isset ( $_SESSION [ 'theme' ][ 'footer' ][ 'text' ])) ? $_SESSION [ 'theme' ][ 'footer' ][ 'text' ] : " © " . $text [ 'theme-label-copyright' ] . " 2008 - " . date ( " Y " ) . " <a href='http://www.fusionpbx.com' class='footer' target='_blank'>fusionpbx.com</a> " . $text [ 'theme-label-all_rights_reserved' ]; ?> </span>
2016-04-02 22:07:06 +02:00
</ div >
2016-03-27 11:09:50 +02:00
</ td >
</ tr >
2016-03-25 23:29:20 +01:00
</ table >
</ div >
2016-03-27 11:09:50 +02:00
2016-03-25 23:29:20 +01:00
< ? php
2016-04-13 00:18:50 +02:00
unset ( $_SESSION [ 'background_image' ]);
2016-03-25 23:29:20 +01:00
}
?>
</ body >
2016-04-07 22:14:32 +02:00
</ html >