mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-10 10:44:20 +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:
committed by
Joas Schilling
parent
624c0e4ef6
commit
d52f34f5ec
@@ -1,13 +1,22 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- IF S_CONTACT_ADMIN-->
|
||||
<h2 class="titlespace">{L_CONTACT_ADMIN}</h2>
|
||||
<!-- ELSE -->
|
||||
<h2 class="titlespace">{L_SEND_EMAIL_USER}</h2>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<form method="post" action="{S_POST_ACTION}" id="post">
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<!-- IF CONTACT_INFO -->
|
||||
<div class="postbody"><div class="content">{CONTACT_INFO}</div></div>
|
||||
<br class="clear" />
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="content">
|
||||
|
||||
<!-- IF ERROR_MESSAGE --><p class="error">{ERROR_MESSAGE}</p><!-- ENDIF -->
|
||||
<fieldset class="fields2">
|
||||
<!-- IF S_SEND_USER -->
|
||||
@@ -19,6 +28,25 @@
|
||||
<dt><label for="subject">{L_SUBJECT}{L_COLON}</label></dt>
|
||||
<dd><input class="inputbox autowidth" type="text" name="subject" id="subject" size="50" tabindex="1" value="{SUBJECT}" /></dd>
|
||||
</dl>
|
||||
<!-- ELSEIF S_CONTACT_ADMIN-->
|
||||
<dl>
|
||||
<dt><label>{L_RECIPIENT}:</label></dt>
|
||||
<dd><strong>{L_ADMINISTRATOR}</strong></dd>
|
||||
</dl>
|
||||
<!-- IF not S_IS_REGISTERED -->
|
||||
<dl>
|
||||
<dt><label for="email">{L_SENDER_EMAIL_ADDRESS}:</label></dt>
|
||||
<dd><input class="inputbox autowidth" type="text" name="email" id="email" size="50" maxlength="100" tabindex="1" value="{EMAIL}" /></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><label for="name">{L_SENDER_NAME}:</label></dt>
|
||||
<dd><input class="inputbox autowidth" type="text" name="name" id="name" size="50" tabindex="2" value="{NAME}" /></dd>
|
||||
</dl>
|
||||
<!-- ENDIF -->
|
||||
<dl>
|
||||
<dt><label for="subject">{L_SUBJECT}:</label></dt>
|
||||
<dd><input class="inputbox autowidth" type="text" name="subject" id="subject" size="50" tabindex="3" value="{SUBJECT}" /></dd>
|
||||
</dl>
|
||||
<!-- ELSE -->
|
||||
<dl>
|
||||
<dt><label for="email">{L_EMAIL_ADDRESS}{L_COLON}</label></dt>
|
||||
|
@@ -16,6 +16,7 @@
|
||||
<!-- IF not S_IS_BOT --><li class="rightside"><a href="{U_DELETE_COOKIES}" data-ajax="true" data-refresh="true">{L_DELETE_COOKIES}</a></li><!-- ENDIF -->
|
||||
<!-- EVENT overall_footer_teamlink_before -->
|
||||
<!-- IF U_TEAM --><li class="rightside"><a href="{U_TEAM}">{L_THE_TEAM}</a></li><!-- ENDIF -->
|
||||
<!-- IF U_CONTACT_US --><li class="rightside"><a href="{U_CONTACT_US}">{L_CONTACT_US}</a></li><!-- ENDIF -->
|
||||
<!-- EVENT overall_footer_teamlink_after -->
|
||||
</ul>
|
||||
|
||||
|
@@ -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" />
|
||||
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user