Tribes now selectable on signup
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
function _kompass_print_datebox($settingName, $settingValue, $style = '') {
 | 
			
		||||
    echo '<input style="' . $style . '" type="date" name="' . $settingName . '" value="' . $settingValue. '" />';
 | 
			
		||||
    echo '<input required style="' . $style . '" type="date" name="' . $settingName . '" value="' . $settingValue. '" />';
 | 
			
		||||
    if (defined('WP_DEBUG') && WP_DEBUG == true) {
 | 
			
		||||
        echo '<br />' . $settingName;
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -1,9 +1,9 @@
 | 
			
		||||
<?php
 | 
			
		||||
function _kompass_print_textbox($settingName, $settingValue, $style = '', $appendix = '', $lines = 1, $data_type = 'text') {
 | 
			
		||||
    if (1 === $lines) {
 | 
			
		||||
        echo '<input style="' . $style . '" type="' . $data_type . '" name="' . $settingName . '" value="' . $settingValue . '" />';
 | 
			
		||||
        echo '<input required style="' . $style . '" type="' . $data_type . '" name="' . $settingName . '" value="' . $settingValue . '" />';
 | 
			
		||||
    } else {
 | 
			
		||||
        echo '<textarea style="' . $style . '" name="' . $settingName . '" rows=' . $lines . '>' . $settingValue . '</textarea>';
 | 
			
		||||
        echo '<textarea required style="' . $style . '" name="' . $settingName . '" rows=' . $lines . '>' . $settingValue . '</textarea>';
 | 
			
		||||
    }
 | 
			
		||||
    if (null !== $appendix) {
 | 
			
		||||
        echo ' ' . $appendix;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user