コード例 #1
0
ファイル: template.php プロジェクト: bdstephenson/fusionpbx
echo $_SESSION['theme']['dashboard_footer_dots_color']['text'] != '' ? $_SESSION['theme']['dashboard_footer_dots_color']['text'] : '#a4aebf';
?>
;
		border-top: 1px 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');
?>
;
		cursor: pointer;
		}

/* PLUGINS ********************************************************************/

	/* bootstrap colorpicker  */
	.colorpicker-2x .colorpicker-saturation {
		width: 200px;
		height: 200px;
		}

	.colorpicker-2x .colorpicker-hue,
	.colorpicker-2x .colorpicker-alpha {
コード例 #2
0
                 case '12h':
                     echo $text['label-12-hour'];
                     break;
                 case '24h':
                     echo $text['label-24-hour'];
                     break;
             }
         } else {
             if ($category == "theme" && $subcategory == "menu_main_icons" && $name == "boolean" || $category == "theme" && $subcategory == "menu_sub_icons" && $name == "boolean" || $category == "theme" && $subcategory == "menu_brand_type" && $name == "text" || $category == "theme" && $subcategory == "menu_style" && $name == "text" || $category == "theme" && $subcategory == "menu_position" && $name == "text" || $category == "theme" && $subcategory == "logo_align" && $name == "text") {
                 echo "\t\t" . $text['label-' . $row['default_setting_value']];
             } else {
                 if ($subcategory == 'password' || substr_count($subcategory, '_password') > 0 || $category == "login" && $subcategory == "password_reset_key" && $name == "text") {
                     echo "\t\t" . str_repeat('*', strlen($row['default_setting_value']));
                 } else {
                     if ($category == "theme" && substr_count($subcategory, "_color") > 0 && ($name == "text" || $name == 'array')) {
                         echo "\t\t" . img_spacer('15px', '15px', 'background: ' . $row['default_setting_value'] . '; margin-right: 4px; vertical-align: middle; border: 1px solid ' . color_adjust($row['default_setting_value'], -0.18) . '; padding: -1px;');
                         echo "<span style=\"font-family: 'Courier New'; line-height: 6pt;\">" . htmlspecialchars($row['default_setting_value']) . "</span>\n";
                     } else {
                         echo "\t\t" . htmlspecialchars($row['default_setting_value']) . "\n";
                     }
                 }
             }
         }
     }
 }
 echo "\t</td>\n";
 echo "\t<td valign='top' class='" . $row_style[$c] . " tr_link_void' style='text-align: center;'>\n";
 if (permission_exists('default_setting_edit')) {
     echo "\t<a href=\"javascript:document.location.href='?id[]=" . $row['default_setting_uuid'] . "&enabled=" . ($row['default_setting_enabled'] == 'true' ? 'false' : 'true') . "&category=" . $category . "&search='+\$('#default_setting_search').val();\">" . $text['label-' . $row['default_setting_enabled']] . "</a>\n";
 } else {
     echo "\t" . $text['label-' . $row['default_setting_enabled']] . "\n";