<resource>
	<login>
		<server>http://localhost:8080</server>
		<user>admin</user>
		<password>admin</password>
	</login>
	<cms>
		<listings_path>/intranet/listings</listings_path>
		<review_path>/intranet/listings/needs_review</review_path>
		<data_definition>/buyers guide</data_definition>
		<configuration_set>/Intranet/Standard</configuration_set>
		<metadata_set>/Default</metadata_set>
		<name_listing_after>displayed-name</name_listing_after>
	</cms>
	<mailer>
		<host>smtp.hannonhill.com</host>
		<from_address>martin.robinson@hannonhill.com</from_address>
		<from_name>My Site</from_name>
		<recover_subject>hannonhill.com password recovery</recover_subject>
		<recover_message>
Your username: {$username}
Your password: {$password}
		</recover_message>
	</mailer>
	<strings>
		<read_error>There was a problem reading the entry.</read_error>
		<add_error>There was a problem adding the entry.</add_error>
		<edit_error>There was a problem editing the entry.</edit_error>
		<mail_error>There was a problem sending mail to your account.</mail_error>
		<cannot_find>Cannot find your listing in the system.</cannot_find>
		<no_username>Please enter a username.</no_username>
		<username_taken>That username is already taken. Please choose another.</username_taken>
		<no_password>Please enter a password.</no_password>
		<no_new_password>Please enter a new password.</no_new_password>
		<no_confirm_password>Please confirm your password.</no_confirm_password>
		<password_mismatch>Password and confirmation password do not match.</password_mismatch>
		<no_email>Please enter a valid email address.</no_email>
		<missing_required_field>Please enter a value in the '{$field-description}' field</missing_required_field>
		<need_login>Please login before attempting this action.</need_login>
		<incorrect_login_error>Incorrect username or password.</incorrect_login_error>
		<password_length>Password must be at least {$length} characters long.</password_length>
	</strings>

	<templates>
		<error>
			<![CDATA[
			<div style="padding:5px; background-color:#FF9999; color:#CC0000; border: medium solid #CC0000; margin:5px">
				<strong>{$error}</strong>
			</div> 
        ]]>
	</error>
	<menu>
		<logged_in><![CDATA[
			<h3><a href="{$me}?__action=edit">Edit Your Listing</a></h3>
			<h3>Change Your Password</h3>
			<form action="{$me}" method="post">
				<input style="margin:5px" type="hidden" name="__action" value="changepassword"><br>
						<table cellspacing="0" cellpadding="0" border="0">
							<tbody>
								<tr><td>old password: </td>
									<td><input style="margin:5px" type="password" name="__password"></td></tr>
									<tr><td>new password: </td>
										<td><input style="margin:5px" type="password" name="__new_password"></td></tr>
										<tr><td>confirm new password: </td>
											<td><input style="margin:5px" type="password" name="__cnew_password"></td></tr>
											<tr><td/><td align="center"><input type="submit" value="change password"></td></tr>
											</tbody></table></form>
									<h3><a href="{$me}?__action=logout">Log Out</a></h3>
      ]]>
							</logged_in>
							<logged_out>
								<![CDATA[
								<h3><a href="{$me}?__action=register">Add A Listing \ Register</a></h3>
								<h3>Log In</h3>
								<form action="{$me}?__action=login" method="post">
      username: <input style="margin:5px" type="text" name="__username"><br>
      password: <input style="margin:5px" type="password" name="__password"><br>
													<input type="submit" value="login"></form>

													<h3>Lost Your Password?</h3>
													<form action="{$me}?__action=recover" method="post">
      email: <input style="margin:5px" type="text" name="__email"><br/>
															<input type="submit" value="mail my password"></form>
      ]]>
													</logged_out>
												</menu>
												<form>
													<edit>
														<![CDATA[
														<form action="{$me}" method="post">
															<input type="hidden" name="__action" value="doedit">
																<input type="hidden" name="__screen" value="{$screen}">
																	<table border="0" cellpadding="0" cellspacing="5">
																		<tbody>
            {$form_items}
																		</tbody>
																	</table>
																	<input name="submit" type="submit" value="Restart"/>
																	<input name="submit" type="submit" value="Next >>"/>
																</form>
        ]]>
															</edit>
															<edit_summary>
																<![CDATA[
																<form action="{$me}" method="post">
																	<input type="hidden" name="__action" value="doedit">
																		<input type="hidden" name="__screen" value="{$screen}">
																			<table border="1" cellpadding="5" cellspacing="0">
																				<tbody>
            {$form_items}
																				</tbody>
																			</table>
																			<input name="submit" type="submit" value="Restart"/>
																			<input name="submit" type="submit" value="Confirm"/>
																		</form>
        ]]>
																</edit_summary>
																<register>
																	<![CDATA[
																	<form action="{$me}" method="post">
																		<input type="hidden" name="__action" value="doregister">
																			<input type="hidden" name="__screen" value="{$screen}">

																				<table border="0" cellpadding="0" cellspacing="5">
																					<tbody>
          {$form_items}
																					</tbody>
																				</table>
																				<input name="submit" type="submit" value="Restart"/>
																				<input name="submit" type="submit" value="Next >>"/>
																			</form>
        ]]>
																		</register>
																		<register_summary>
																			<![CDATA[
																			<form action="{$me}" method="post">
																				<input type="hidden" name="__action" value="doregister">
																					<input type="hidden" name="__screen" value="{$screen}">
																						<table border="1" cellpadding="5" cellspacing="0">
																							<tbody>
            {$form_items}
																							</tbody>
																						</table>
																						<input name="submit" type="submit" value="Restart"/>
																						<input name="submit" type="submit" value="Confirm"/>
																					</form>
        ]]>
																			</register_summary>
																			<user_registration>
																				<![CDATA[
																				<tr>
																					<td><b>Username</b></td>
																					<td align="right"><input name="__username" type="text" value="{$username}"/></td>
																				</tr>

																				<tr>
																					<td><b>Password</b></td>
																					<td align="right"><input name="__password" type="password" /></td>
																				</tr>

																				<tr>
																					<td><b>Confirm Password</b></td>
																					<td align="right"><input name="__cpassword" type="password" /></td>
																				</tr>

																				<tr>
																					<td><b>Email</b></td>
																					<td align="right"><input name="__email" type="text" value="{$email}"/></td>
																				</tr>
        ]]>
																		</user_registration>
																		<form_item>
																			<![CDATA[
																			<tr><td>{$description}</td><td>{$input}</td></tr>
        ]]>
																	</form_item>
																	<form_item_summary>
																		<![CDATA[
																		<tr><td>{$description}</td><td>{$value}</td></tr>
        ]]>
																</form_item_summary>
																<required_form_item>
																	<![CDATA[
																	<tr><td><strong>{$description}</strong></td><td>{$input}</td></tr>
        ]]>
															</required_form_item>
															<text_input>
																<![CDATA[
																<input type="text" name="{$name}" value="{$value}"/>
        ]]>
														</text_input>
														<textarea_input>
															<![CDATA[
															<textarea name="{$name}" rows=\"5\">{$value}</textarea>
        ]]>
													</textarea_input>

													<radio_input>
														<![CDATA[
														<table cellspacing="2" cellpadding="0" border="0">
															<tbody>
            {$options}
															</tbody>
														</table>
        ]]>
												</radio_input>
												<checked_radio_option>
													<![CDATA[
													<tr>
														<td><input type="radio" checked="checked" name="{$name}[]" value="{$opt_value}"></td>
															<td>{$description}</td>
														</tr>
        ]]>
												</checked_radio_option>
												<radio_option>
													<![CDATA[
													<tr>
														<td><input type="radio" name="{$name}[]" value="{$opt_value}"></td>
															<td>{$description}</td>
														</tr>
        ]]>
												</radio_option>

												<checkbox_input>
													<![CDATA[
													<table cellspacing="2" cellpadding="0" border="0">
														<tbody>
            {$options}
														</tbody>
													</table>
        ]]>
											</checkbox_input>
											<checked_checkbox_option>
												<![CDATA[
												<tr>
													<td><input type="checkbox" checked="checked" name="{$name}[]" value="{$opt_value}"/></td>
													<td>{$description}</td>
												</tr>
        ]]>
										</checked_checkbox_option>
										<checkbox_option>
											<![CDATA[
											<tr>
												<td><input type="checkbox" name="{$name}[]" value="{$opt_value}"/></td>
												<td>{$description}</td>
											</tr>
        ]]>
									</checkbox_option>
									<select_input>
										<![CDATA[
										<select size="10" multiple="multiple" name="{$name}[]>
          {$options}
										</select>
        ]]>
								</select_input>
							<select_option>
								<![CDATA[
								<option value="{$opt_value}"/>{$opt_description}</option>
        ]]>
						</select_option>
					<checked_select_option>
						<![CDATA[
						<option value="{$opt_value}" selected="selected"/>{$opt_description}</option>
        ]]>
				</checked_select_option>
			</form>
		<pages>
			<logged_in>
				<![CDATA[
        {$errors}
        {$menu}
        ]]>
			</logged_in>
		<logged_out>
			<![CDATA[
        {$errors}
        {$menu}
        ]]>
		</logged_out>
	<register>
		<![CDATA[
        {$errors}
        {$form}
        ]]>
	</register>
<register_failed>
	<![CDATA[
        {$errors}
        {$form}
        ]]>
</register_failed>
<register_success>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</register_success>
<edit>
<![CDATA[
        {$errors}
        {$form}
        ]]>
</edit>
<edit_failed>
<![CDATA[
        {$errors}
        {$form}
        ]]>
</edit_failed>
<edit_success>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</edit_success>
<edit_success>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</edit_success>
<login_failure>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</login_failure>
<login_success>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</login_success>
<logout_success>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</logout_success>
<recover_password_success>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</recover_password_success>
<recover_password_failure>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</recover_password_failure>
<change_password_success>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</change_password_success>
<change_password_failure>
<![CDATA[
        {$errors}
        {$menu}
        ]]>
</change_password_failure>
</pages>
</templates>
</resource>
