| commit 1348: | c361f266a058 |
| parent 1347: | 3047bc5ab4b7 |
| branch: | default |
Part 2 of previous commit
6 months ago
Changed (Δ54 bytes):
raw changeset »
textpattern/include/txp_prefs.php (1 lines added, 1 lines removed)
textpattern/lib/txplib_forms.php (2 lines added, 2 lines removed)
Up to file-list textpattern/include/txp_prefs.php:
| … | … | @@ -654,7 +654,7 @@ function export_lang() |
654 |
654 |
$active_lang = safe_field('val','txp_prefs',"name='language'"); |
655 |
655 |
$lang_form = tda( form(gTxt('active_language').' '. |
656 |
656 |
languages('language',$active_lang).' '. |
657 |
fInput('submit', |
|
657 |
fInput('submit', 'Submit', gTxt('save_button'), 'publish','','','','','publish-button'). |
|
658 |
658 |
eInput('prefs').sInput('list_languages') |
659 |
659 |
,'display:inline;') |
660 |
660 |
,' style="text-align:center" colspan="3"'); |
Up to file-list textpattern/lib/txplib_forms.php:
19 |
19 |
|
20 |
20 |
foreach ($vals as $a => $b) |
21 |
21 |
{ |
22 |
$out[] = '< |
|
22 |
$out[] = '<label for="'.$id.'-'.$a.'">'.$b.'<input type="radio" id="'.$id.'-'.$a.'" name="'.$field.'" value="'.$a.'"'; |
|
23 |
23 |
$out[] = ($a == $var) ? ' checked="checked"' : ''; |
24 |
24 |
$out[] = ($tabindex) ? ' tabindex="'.$tabindex.'"' : ''; |
25 |
$out[] = ' />< |
|
25 |
$out[] = ' /></label>'; |
|
26 |
26 |
} |
27 |
27 |
|
28 |
28 |
return join('', $out); |
