function weaverx_form_note($value) { ?> <tr> <th scope="row" align="right"> </th> <td style="float:right;font-weight:bold;"><?php weaverx_echo_name($value); ?> <?php weaverx_form_help($value); ?> </td> <?php weaverx_form_info($value); ?> </tr> <?php }
function weaverx_form_color($value, $val_only = false) { $pclass = 'color {hash:true, adjust:false}'; // starting with V 1.3, allow text in color pickers if (!$val_only) { ?> <tr> <th scope="row" align="right"><?php weaverx_echo_name($value, '<span class="i-left-fg dashicons dashicons-admin-appearance"></span>'); ?> : </th> <td> <?php } else { echo ' <small>' . $value['info'] . '</small> '; } ?> <input class="<?php echo $pclass; ?> " name="<?php weaverx_sapi_main_name($value['id']); ?> " id="<?php echo $value['id']; ?> " type="text" style="width:90px" value="<?php if (weaverx_getopt($value['id']) != "") { weaverx_esc_textarea(weaverx_getopt($value['id'])); } else { echo ' '; } ?> " /> <?php if (!$val_only) { ?> </td> <?php weaverx_form_info($value); ?> </tr> <?php } }