Made quite a few changes so that the code works in the server
[vanilla-miry.git] / themes / settings_update_check_nopostback.php
blob07c9a358f5bc7e9e823c29771ce77cc425c4a09e
1 <?php
2 // Note: This file is included from the library/Framework/Framework.Control.UpdateCheck.php control.
4 echo '<div id="Form" class="Account UpdateCheck">
5 <fieldset>
6 <legend>'.$this->Context->GetDefinition('UpdateCheck').'</legend>
7 '.$this->Get_Warnings().'
8 '.$this->Get_PostBackForm('frmUpdateCheck').'
9 <p>'.$this->Context->GetDefinition('UpdateCheckNotes').'</p>
10 <p><input type="submit" name="btnCheck" value="'.$this->Context->GetDefinition('CheckForUpdates').'" class="Button SubmitButton Update" /></p>
11 </form>
12 </fieldset>';
14 $this->PostBackParams->Set('PostBackAction', 'ProcessUpdateReminder');
16 if (ForceIncomingBool('Saved', 0)) echo '<div id="Success">'.$this->Context->GetDefinition('ReminderChangesSaved').'</div>';
18 echo '
19 <fieldset>
20 <legend>'.$this->Context->GetDefinition('UpdateReminders').'</legend>
21 '.$this->Get_PostBackForm('frmUpdateReminders').'
22 <p>'.$this->Context->GetDefinition('UpdateReminderNotes').'</p>
23 <ul>
24 <li>
25 <label for="dReminder">'.$this->Context->GetDefinition('ReminderLabel').'</label>
26 '.$this->ReminderSelect->Get().'
27 </li>
28 </ul>
29 <p>
30 <input type="submit" name="btnCheck" value="'.$this->Context->GetDefinition('Save').'" class="Button SubmitButton UpdateReminder" />
31 </p>
32 </form>
33 </fieldset>
34 </div>';