<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- $Id$ --><html xmlns="http://www.w3.org/1999/xhtml" xmlns:c="http://wunderlin.net/compiler" xmlns:f="http://wunderlin.net/compiler/form" xmlns:w="http://wunderlin.net/compiler/wizard" xml:lang="en" lang="en"><head> <title>Prepare adjustement</title></head><!-- body onload="document.forms[0].elements[0].focus();"--><body><w:wizard name="adj" method="get" action_finish="http://www.google.com" method_finish="post" target_finish="_opener" > <w:default name="name">"backup_".date("Y-m-d")</w:default> <w:default name="from">"01.04.1998"</w:default> <w:default name="to">date("d.m.Y")</w:default> <w:default name="active_date">date("d.m.Y")</w:default> <w:default name="active_time">"22:00"</w:default> <w:deck title="Stock adjustement"> <h1 class="wizard-title"><w:title/></h1> <div class="wizard-content"> <p> This dialog will help you create a stock adjustement. It enables you to run the adjustement scheduled (ie. somewhen in the future at night). </p> <p> Before you save this adjustement, you will have the possibility to simulate the planned changes (and abort if you whish). Please enter a name for this adjustement. A backup of the current database will be saved under this name. </p> <div> <label for="name">Name: </label> <f:text name="name">#$adj.name#</f:text> </div> </div> <w:navbar /> </w:deck> <w:deck title="Timespan"> <h1 class="wizard-title"><w:title/></h1> <div class="wizard-content"> <p> Please define the period for which you want to upgrade the data: </p> <div> <label for="from">From:</label> <f:date name="from">#$adj.from#</f:date> </div> <div> <label for="to">To:</label> <f:date name="to">#$adj.to#</f:date> </div> </div> <w:navbar /> </w:deck> <w:deck title="Change date"> <h1 class="wizard-title"><w:title/></h1> <div class="wizard-content"> <p> Now we need to know when these changes should become active. </p> <p> Please select an activation date and time for the configured change. </p> <div> <label for="active_date">Date:</label> <f:date name="active_date">#$adj.active_date#</f:date> </div> <div> <label for="active_time">Time:</label> <c:set name="time">strtotime("12:00:00")</c:set> <f:time name="active_time">#$adj.active_time#</f:time> </div> </div> </w:deck> <w:deck title="Confirm"> <h1 class="wizard-title">Confirm</h1> <div class="wizard-content"> <div> You have entered the following data. Please check if they are correct. Use the back button for changes. </div> <hr /> <div> <label>Name: </label> <span><strong>#$adj.name#</strong></span> </div> <div> <label>From: </label> <span><strong>#$adj.from#</strong></span> </div> <div> <label>To: </label> <span><strong>#$adj.to#</strong></span> </div> <div> <label>Activate: </label> <span><strong>#$adj.active_date#, #$adj.active_time#</strong></span> </div> </div> </w:deck> <div class="wizard-controls"> <hr /> <w:cancel class="wizard-cancel"/> <div class="wizard-navbar"> <w:back /> <w:next /> <w:finish /> </div> </div></w:wizard></body></html>