diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2005-07-25 20:02:16 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2005-07-25 20:02:16 +0000 |
| commit | fa35a532c456369432c149e1531d8d6d74097416 (patch) | |
| tree | a068a11cbfd10d8af8b6ba11bf1fc329559294db /templates | |
| parent | 6a2d6a7b13d0f39687b0bf12a54e6579016b06d3 (diff) | |
| download | messages-fa35a532c456369432c149e1531d8d6d74097416.tar.gz messages-fa35a532c456369432c149e1531d8d6d74097416.tar.bz2 messages-fa35a532c456369432c149e1531d8d6d74097416.zip | |
Merge recent changes R1 1.0.2 beta --> HEAD
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/contact.tpl | 91 |
1 files changed, 57 insertions, 34 deletions
diff --git a/templates/contact.tpl b/templates/contact.tpl index aea863b..3e32921 100644 --- a/templates/contact.tpl +++ b/templates/contact.tpl @@ -1,35 +1,58 @@ -<a class="pagetitle" href="{$gBitLoc.MESSU_PKG_URL}contact.php">{tr}Contact us{/tr}</a><br /><br /> -{if $gBitSystem->isFeatureActive( 'feature_messages' ) and $bit_p_messages eq 'y'} -{if $message} -{$message} -{/if} +{strip} +<div class="display pigeonholes"> + <div class="header"> + <h1>{tr}Contact Us{/tr}</h1> + </div> -<h2>{tr}Send a message to us{/tr}</h2> - <form method="post" action="{$gBitLoc.MESSU_PKG_URL}contact.php"> - <input type="hidden" name="to" value="{$contact_user|escape}" /> - <table class="panel"> - <tr> - <td>{tr}Priority:{/tr}</td><td> - <select name="priority"> - <option value="1" {if $priority eq 1}selected="selected"{/if}>{tr}1 -Lowest-{/tr}</option> - <option value="2" {if $priority eq 2}selected="selected"{/if}>{tr}2 -Low-{/tr}</option> - <option value="3" {if $priority eq 3}selected="selected"{/if}>{tr}3 -Normal-{/tr}</option> - <option value="4" {if $priority eq 4}selected="selected"{/if}>{tr}4 -High-{/tr}</option> - <option value="5" {if $priority eq 5}selected="selected"{/if}>{tr}5 -Very High-{/tr}</option> - </select> - <input type="submit" name="send" value="{tr}send{/tr}" /> - </td> - </tr> - <tr> - <td>{tr}Subject{/tr}:</td><td><input type="text" name="subject" value="" size="50" maxlength="255" /></td> - </tr> - <tr><td> </td> - <td><textarea rows="20" cols="80" name="body"></textarea></td> - </tr> -</table> -</form> -{/if} -{if strlen($email)>0} -<h2>{tr}Contact us via email{/tr}</h2> -{mailto address="$email" encode="javascript" text="click here to send us an email"} -{/if} + <div class="body"> + {formfeedback hash=$feedback} + + {form legend="Send us a message"} + <input type="hidden" name="to" value="{$contact_user|escape}" /> + + <div class="row"> + {formlabel label="Priority" for="priority"} + {forminput} + <select name="priority" id="priority"> + <option value="1" {if $priority eq 1}selected="selected"{/if}>{tr}1 -Lowest-{/tr}</option> + <option value="2" {if $priority eq 2}selected="selected"{/if}>{tr}2 -Low-{/tr}</option> + <option value="3" {if $priority eq 3 or !$priority}selected="selected"{/if}>{tr}3 -Normal-{/tr}</option> + <option value="4" {if $priority eq 4}selected="selected"{/if}>{tr}4 -High-{/tr}</option> + <option value="5" {if $priority eq 5}selected="selected"{/if}>{tr}5 -Very High-{/tr}</option> + </select> + {formhelp note=""} + {/forminput} + </div> + + <div class="row"> + {formlabel label="Subject" for="subject"} + {forminput} + <input type="text" name="subject" id="subject" size="50" maxlength="255" /> + {formhelp note=""} + {/forminput} + </div> + + {* only display quicktags if tikiwiki quicktags are available *} + {if $gBitSystem->isPackageActive( 'quicktags' ) and $gLibertySystem->mPlugins.tikiwiki.is_active eq 'y'} + {include file="bitpackage:quicktags/quicktags_full.tpl" textarea_id=message_body default_format=tikiwiki} + {/if} + + {* only display smileys if tikiwiki quicktags are available *} + {if $gBitSystem->isPackageActive( 'smileys' ) and $gLibertySystem->mPlugins.tikiwiki.is_active eq 'y'} + {include file="bitpackage:smileys/smileys_full.tpl" textarea_id=message_body default_format=tikiwiki} + {/if} + + <div class="row"> + {forminput} + <textarea rows="20" cols="80" name="body" id="message_body"></textarea> + {formhelp note=""} + {/forminput} + </div> + + <div class="row submit"> + <input type="submit" name="send" value="{tr}Send Message{/tr}" /> + </div> + {/form} + </div><!-- end .body --> +</div><!-- end .liberty --> +{/strip} |
