mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
Merge remote-tracking branch 'github-nickvergessen/ticket/10073' into develop-ascraeus
* github-nickvergessen/ticket/10073: (36 commits) [ticket/10073] Fix button descriptions [ticket/10073] Do not check disable boxes by default [ticket/10073] Store values with config_text in the ACP [ticket/10073] Move config values to config_text [ticket/10073] Fix request usage [ticket/10073] Deduplicate template variable names [ticket/10073] Get service from container [ticket/10073] Fix more "Contact Us" strings [ticket/10073] Move template code into the template [ticket/10073] Make contact page available when board is disabled [ticket/10073] Change name of the ACP module [ticket/10073] Deduplicate posting buttons code in ACP [ticket/10073] Use phpbb_validate_email to verify email address [ticket/10073] Add tests for new validate_email() [ticket/10073] Split email validation from email ban and taken checks [ticket/10073] Deduplicate the if statement [ticket/10073] Fallback to board_contact when contact page is disabled [ticket/10073] Remove language string from rebase conflict [ticket/10073] Add ACP module to add bbcode text for contact admin info [ticket/10073] Add new configs to the schema ...
This commit is contained in:
@@ -1,24 +1,62 @@
|
||||
<!-- INCLUDE overall_header.html -->
|
||||
|
||||
<!-- IF S_CONTACT_ADMIN-->
|
||||
<h2 class="titlespace">{L_CONTACT_ADMIN}</h2>
|
||||
<!-- ELSEIF S_SEND_USER -->
|
||||
<h2 class="titlespace">{L_SEND_EMAIL_USER}</h2>
|
||||
<!-- ELSE -->
|
||||
<h2 class="titlespace">{L_EMAIL_TOPIC}</h2>
|
||||
<!-- ENDIF -->
|
||||
|
||||
<form method="post" action="{S_POST_ACTION}" id="post">
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<!-- IF CONTACT_INFO -->
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<div class="postbody">
|
||||
<div class="content">
|
||||
{CONTACT_INFO}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br class="clear" />
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="panel">
|
||||
<div class="inner">
|
||||
<div class="content">
|
||||
|
||||
<!-- IF ERROR_MESSAGE --><p class="error">{ERROR_MESSAGE}</p><!-- ENDIF -->
|
||||
<fieldset class="fields2">
|
||||
<!-- IF S_SEND_USER -->
|
||||
<dl>
|
||||
<dt><label>{L_RECIPIENT}{L_COLON}</label></dt>
|
||||
<dd><strong>{USERNAME}</strong></dd>
|
||||
<dd><strong>{USERNAME_FULL}</strong></dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<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,14 @@
|
||||
<!-- 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 />
|
||||
|
||||
<br clear="all" />
|
||||
|
||||
|
@@ -6,13 +6,24 @@
|
||||
|
||||
<table class="tablebg" width="100%" cellspacing="1">
|
||||
<tr>
|
||||
<!-- IF S_CONTACT_ADMIN-->
|
||||
<th colspan="2">{L_CONTACT_ADMIN}</th>
|
||||
<!-- ELSEIF S_SEND_USER -->
|
||||
<th colspan="2">{L_SEND_EMAIL_USER}</th>
|
||||
<!-- ELSE -->
|
||||
<th colspan="2">{L_EMAIL_TOPIC}</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 +33,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