aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/adm/admin_board.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-03-22 15:48:46 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-03-22 15:48:46 +0000
commit8357b81a1ec2d0fb6d383966e7883ed9bc8c0d63 (patch)
treed98ea4b4f1b3459d6de8a7fc6ac519835583665c /phpBB/adm/admin_board.php
parent73ffe96e2edac38ef785d4f5a9cfe24798fe2cbe (diff)
downloadforums-8357b81a1ec2d0fb6d383966e7883ed9bc8c0d63.tar
forums-8357b81a1ec2d0fb6d383966e7883ed9bc8c0d63.tar.gz
forums-8357b81a1ec2d0fb6d383966e7883ed9bc8c0d63.tar.bz2
forums-8357b81a1ec2d0fb6d383966e7883ed9bc8c0d63.tar.xz
forums-8357b81a1ec2d0fb6d383966e7883ed9bc8c0d63.zip
initial attachment functionality... only posting related (add/delete/edit) and schema. Also added attachment switch to board settings admin.
git-svn-id: file:///svn/phpbb/trunk@3697 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/adm/admin_board.php')
-rw-r--r--phpBB/adm/admin_board.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/adm/admin_board.php b/phpBB/adm/admin_board.php
index 4dec8bdbf5..ed76cda85d 100644
--- a/phpBB/adm/admin_board.php
+++ b/phpBB/adm/admin_board.php
@@ -224,6 +224,9 @@ switch ($mode)
$namechange_yes = ($new['allow_namechange']) ? 'checked="checked"' : '';
$namechange_no = (!$new['allow_namechange']) ? 'checked="checked"' : '';
+ $attachments_yes = ($new['allow_attachments']) ? 'checked="checked"' : '';
+ $attachments_no = (!$new['allow_attachments']) ? 'checked="checked"' : '';
+
?>
<tr>
<td class="row1" width="50%"><?php echo $user->lang['Default_style']; ?></td>
@@ -266,6 +269,10 @@ switch ($mode)
<td class="row2"><input type="radio" name="allow_namechange" value="1" <?php echo $namechange_yes; ?> /> <?php echo $user->lang['YES']; ?>&nbsp;&nbsp;<input type="radio" name="allow_namechange" value="0" <?php echo $namechange_no; ?> /> <?php echo $user->lang['NO']; ?></td>
</tr>
<tr>
+ <td class="row1"><?php echo $user->lang['ALLOW_ATTACHMENTS']; ?>: </td>
+ <td class="row2"><input type="radio" name="allow_attachments" value="1" <?php echo $attachments_yes; ?> /> <?php echo $user->lang['YES']; ?>&nbsp;&nbsp;<input type="radio" name="allow_attachments" value="0" <?php echo $attachments_no; ?> /> <?php echo $user->lang['NO']; ?></td>
+ </tr>
+ <tr>
<td class="row1"><?php echo $user->lang['Allow_HTML']; ?>: </td>
<td class="row2"><input type="radio" name="allow_html" value="1" <?php echo $html_yes; ?> /> <?php echo $user->lang['YES']; ?>&nbsp;&nbsp;<input type="radio" name="allow_html" value="0" <?php echo $html_no; ?> /> <?php echo $user->lang['NO']; ?></td>
</tr>