mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-15 21:24:03 +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>
|
||||
|
||||
|
Reference in New Issue
Block a user