Ticket #1025 (closed defect: fixed)

Opened 17 months ago

Last modified 8 months ago

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

Changed 17 months ago by KrzysztofTrybowski

  • status changed from new to closed
  • resolution set to fixed

(In [1754]) Fix #1024 #1025

Changed 16 months ago by BrianKoontz

  • status changed from closed to reopened
  • resolution fixed deleted

Changed 16 months ago by BrianKoontz

  • status changed from reopened to assigned

Changed 16 months ago by BrianKoontz

  • status changed from assigned to testing

Changed 15 months ago by BrianKoontz

  • milestone changed from 1.3 to 1.3.1

Changed milestone to 1.3.1

Changed 15 months ago by BrianKoontz

  • status changed from testing to commit
  • milestone changed from 1.3.1 to 1.4

Changed 15 months ago by BrianKoontz

  • status changed from commit to closed
  • resolution set to fixed

Changed 8 months ago by BrianKoontz

  • milestone changed from 1.4 to 1.3.2
Note: See TracTickets for help on using tickets.