Changeset 1719993
- Timestamp:
- 08/27/2017 01:55:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chroma-lightbox/trunk/admin/class-chroma_lightbox-settings.php
r1719991 r1719993 58 58 $field .= "id='".$name."' "; 59 59 $field .= "name='chroma_lightbox[settings][".$name."]' "; 60 if ( $args["dep"]) {60 if (isset($args["dep"])) { 61 61 $field .= "data_dep='".$args["dep"]."' "; 62 62 } … … 190 190 $this->settings_fields("section_2", "wrapper-element", "Wrapper Element", "input", "text", array("dep"=>"gallery-active")); 191 191 $this->settings_fields("section_3", "background-color", "Background Color", "input", "text", array()); 192 $this->settings_fields("section_3", "background-opacity", "Background Opacity", "input", "number", array( ));192 $this->settings_fields("section_3", "background-opacity", "Background Opacity", "input", "number", array("step"=>0.01, "min"=>0, "max"=>1)); 193 193 $this->settings_fields("section_4", "frame-active", "Activate Frame", "input", "checkbox", array()); 194 194 $this->settings_fields("section_4", "frame-width", "Frame Width (px)", "input", "number", array("dep"=>"frame-active"));
Note: See TracChangeset
for help on using the changeset viewer.