1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/10073] Add a contact administrators page and refactor email forms.

The message to be displayed on top of the email form cannot be configured yet.

PHPBB3-10073
This commit is contained in:
Nils Adermann
2011-06-05 09:40:43 +02:00
committed by Joas Schilling
parent 624c0e4ef6
commit d52f34f5ec
15 changed files with 787 additions and 242 deletions

View File

@@ -20,10 +20,13 @@
<!-- IF not S_IS_BOT and U_TEAM --> | <!-- ENDIF -->
<!-- EVENT overall_footer_teamlink_before -->
<!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a><!-- ENDIF -->
<!-- IF U_CONTACT_US -->
<!-- IF U_TEAM --> | <!-- ENDIF -->
<a href="{U_CONTACT_US}">{L_CONTACT_US}</a>
<!-- ENDIF -->
<!-- EVENT overall_footer_teamlink_after -->
</span>
<br />
<!-- ENDIF -->
<br clear="all" />

View File

@@ -6,13 +6,22 @@
<table class="tablebg" width="100%" cellspacing="1">
<tr>
<!-- IF S_CONTACT_ADMIN-->
<th colspan="2">{L_CONTACT_ADMIN}</th>
<!-- ELSE -->
<th colspan="2">{L_SEND_EMAIL_USER}</th>
<!-- ENDIF -->
</tr>
<!-- IF ERROR_MESSAGE -->
<tr>
<td class="row3" colspan="2" align="center"><span class="error">{ERROR_MESSAGE}</span></td>
</tr>
<!-- ENDIF -->
<!-- IF CONTACT_INFO -->
<tr>
<td class="row1" colspan="2">{CONTACT_INFO}</td>
</tr>
<!-- ENDIF -->
<!-- IF S_SEND_USER -->
<tr>
<td class="row1" width="35%"><b class="genmed">{L_RECIPIENT}</b></td>
@@ -22,6 +31,21 @@
<td class="row1" width="35%"><b class="genmed">{L_SUBJECT}</b></td>
<td class="row2"><input class="post" type="text" name="subject" size="50" tabindex="2" value="{SUBJECT}" /></td>
</tr>
<!-- ELSEIF S_CONTACT_ADMIN-->
<tr>
<td class="row1" width="35%"><b class="genmed">{L_RECIPIENT}</b></td>
<td class="row2" width="65%"><b class="genmed">{L_ADMINISTRATOR}</b></td>
</tr>
<!-- IF not S_IS_REGISTERED -->
<tr>
<td class="row1" width="35%"><b class="genmed">{L_SENDER_EMAIL_ADDRESS}</b></td>
<td class="row2"><input class="post" type="text" name="email" size="50" maxlength="100" value="{EMAIL}" /></td>
</tr>
<tr>
<td class="row1" width="35%"><b class="genmed">{L_SENDER_NAME}</b></td>
<td class="row2"><input class="post" type="text" name="name" size="50" value="{NAME}" /></td>
</tr>
<!-- ENDIF -->
<!-- ELSE -->
<tr>
<td class="row1" width="35%"><b class="genmed">{L_EMAIL_ADDRESS}</b></td>