function tickets_note_check_field($default)
 {
     if ($default['label']) {
         $label = $default['label'];
     } else {
         $label = "Notes";
     }
     if ($default['order']) {
         $order = $default['order'];
     } else {
         $order = 1;
     }
     if (isset($default['value'])) {
         $value = $default['value'];
     } else {
         $value = 1;
     }
     $args = array("name" => "tickets_note_check", "label" => $label, "el_type" => "var", "type" => "checkbox", "order" => $order, "value" => $value, "php_function" => array("Chronosly_Dad_Elements", "create_ticket_note"), "js_function" => array("Chronosly_Dad_Elements", "create_ticket_note_js"));
     return Chronosly_Extend::create_dad_field($args);
 }
 public static function custom_css_field($cont, $style)
 {
     $value = "";
     $name = "css";
     if (isset($style[$name])) {
         $value = $style[$name];
     }
     $args = array("label" => __("Custom css", "chronosly"), "name" => $name, "type" => "textarea", "value" => $value, "el_type" => "style", "style_fields" => array("css"), "js_style_values" => array("value"), "php_style_values" => array("'value'"));
     return $cont . Chronosly_Extend::create_dad_field($args);
 }