Podatki - obdobje - popravek preklopa radio gumbov

This commit is contained in:
pero1203 2022-08-08 11:15:10 +02:00
parent dd0f48f2fd
commit 04f7f29675

View File

@ -532,7 +532,7 @@ class SurveyTimeProfiles {
echo '<p class="setting_title">' . $lang['srv_time_profile_time'] . '</p>';
echo '<div class="setting_item">';
echo '<input type="radio" name="type" id="time_date_type" value="0" '.($type == '0' ? ' checked="checked"' : '').' autocomplete="off"><label>' . $lang['srv_time_profile_from'] . ':</label>';
echo ' <input type="radio" name="type" id="time_date_type" value="0" '.($type == '0' ? ' checked="checked"' : '').' autocomplete="off"><label for="time_date_type">' . $lang['srv_time_profile_from'] . ':</label>';
echo ' <input id="startDate" type="text" class="text medium" name="startDate" value="' . $p_data['starts'] . '" onclick="changeTimeProfileType();" readonly="true" '.' autocomplete="off"/>&nbsp;';
echo ' <span class="faicon calendar_icon pointer blue" id="starts_img"></span>';
echo ' <label>' . $lang['srv_time_profile_to'] . ':</label>';
@ -541,7 +541,7 @@ class SurveyTimeProfiles {
echo '</div>';
echo '<div class="setting_item">';
echo '<input type="radio" name="type" id="time_date_interval" value="1" '.($type == '0' ? '' : ' checked="checked"').' autocomplete="off"><label>'.$lang['srv_statistic_period_label'].':</label>';
echo ' <input type="radio" name="type" id="time_date_interval" value="1" '.($type == '0' ? '' : ' checked="checked"').' autocomplete="off"><label for="time_date_interval">'.$lang['srv_statistic_period_label'].':</label>';
echo ' <select class="dropdown medium" name="stat_interval" id="stat_interval" onclick="changeTimeProfileType(\'interval\');" '.'autocomplete="off">';
echo ' <option value="" selected="true">'.$lang['srv_time_profile_choose_interval'].'</option>';
foreach (self::$STP_ARRAYS as $INTERVAL) {