Ticket #1025 (closed defect: fixed)
On reload installer forgets theme and language selected
| Reported by: | KrzysztofTrybowski | Owned by: | KrzysztofTrybowski |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3.2 |
| Component: | installer | Version: | 1.3 |
| Severity: | normal | Keywords: | installer theme language |
| Cc: |
Description
In installer when you type wrong settings (for example passwords do not match or email address is wrong), the page is reloaded (having errors marked in red).
The problem is that after reload selected theme and default language are reset to defaults. This can be easily fixed. In file setup/default.php replace:
<tr><td align="right" nowrap="nowrap">Theme:</td><td><?php SelectTheme(); ?></td></tr>
<tr><td align="right" nowrap="nowrap">Language pack:</td><td><?php Language_selectbox('en'); ?></td></tr>
with
<tr><td align="right" nowrap="nowrap">Theme:</td><td><?php SelectTheme($wakkaConfig["theme"]); ?></td></tr> <tr><td align="right" nowrap="nowrap">Language pack:</td><td><?php Language_selectbox($wakkaConfig["default_lang"]); ?></td></tr>
Change History
Note: See
TracTickets for help on using
tickets.