| commit 1351: | 52bb2ccf9d0d |
| parent 1350: | 13faeefd5313 |
| branch: | default |
prefs cleanup. merged some txp changes w/ xpat.
6 months ago
Changed (Δ67 bytes):
raw changeset »
textpattern/include/txp_prefs.php (3 lines added, 7 lines removed)
Up to file-list textpattern/include/txp_prefs.php:
71 |
71 |
|
72 |
72 |
function prefs_list($message = '') |
73 |
73 |
{ |
74 |
global $textarray; |
|
75 |
||
74 |
global $prefs; |
|
75 |
extract($prefs); |
|
76 |
||
76 |
77 |
echo pagetop(gTxt('edit_preferences'), $message). |
77 |
78 |
n.t.'<div id="content" class="clearfix prefs">'.n. |
78 |
79 |
t.'<h1>'.gTxt('edit_preferences').'</h1>'; |
79 |
80 |
|
80 |
extract(get_prefs()); |
|
81 |
||
82 |
81 |
$locale = setlocale(LC_ALL, $locale); |
83 |
$textarray = load_lang($language); |
|
84 |
82 |
|
85 |
83 |
echo n.n.'<form method="post" action="index.php">'. |
86 |
84 |
prefs_nav(). |
459 |
457 |
|
460 |
458 |
function advanced_prefs($message = '') |
461 |
459 |
{ |
462 |
global $textarray; |
|
463 |
||
464 |
460 |
echo pagetop(gTxt('edit_preferences'), $message). |
465 |
461 |
n.t.'<div id="content" class="clearfix prefs">'.n. |
466 |
462 |
t.'<h1>'.gTxt('edit_preferences').'</h1>'; |
