aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/admin
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-01-31 15:46:57 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-01-31 15:46:57 +0000
commit7203dc2471897141c3426aae69a8484b37c3a263 (patch)
treeb5b45ff255c1637e1666f5afe98766dd3317b999 /phpBB/admin
parent849285d9eb16454c2d6d808425fcceb0ed50fa0c (diff)
downloadforums-7203dc2471897141c3426aae69a8484b37c3a263.tar
forums-7203dc2471897141c3426aae69a8484b37c3a263.tar.gz
forums-7203dc2471897141c3426aae69a8484b37c3a263.tar.bz2
forums-7203dc2471897141c3426aae69a8484b37c3a263.tar.xz
forums-7203dc2471897141c3426aae69a8484b37c3a263.zip
Another conditional and "special group" lang output
git-svn-id: file:///svn/phpbb/trunk@3448 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin')
-rw-r--r--phpBB/admin/admin_groups.php19
1 files changed, 17 insertions, 2 deletions
diff --git a/phpBB/admin/admin_groups.php b/phpBB/admin/admin_groups.php
index e160fba4a7..7c124920f4 100644
--- a/phpBB/admin/admin_groups.php
+++ b/phpBB/admin/admin_groups.php
@@ -120,7 +120,22 @@ switch ($action)
</tr>
<tr>
<td class="row2"><?php echo $user->lang['GROUP_NAME']; ?>:</td>
- <td class="row1"><input type="text" name="group_name" value="<?php echo (!empty($group_name)) ? $group_name : ''; ?>" size="40" maxlength="40" /></td>
+ <td class="row1"><?php
+
+ if ($group_type != GROUP_SPECIAL)
+ {
+
+?><input type="text" name="group_name" value="<?php echo (!empty($group_name)) ? $group_name : ''; ?>" size="40" maxlength="40" /><?php
+
+ }
+ else
+ {
+
+?><b><?php echo (!empty($user->lang['G_' . $group_name])) ? $user->lang['G_' . $group_name] : $group_name; ?></b><?php
+
+ }
+
+?></td>
</tr>
<tr>
<td class="row2"><?php echo $user->lang['GROUP_DESC']; ?>:</td>
@@ -291,7 +306,7 @@ switch ($action)
$row_class = ($row_class != 'row1') ? 'row1' : 'row2';
$group_id = $row['group_id'];
- $group_name = (!empty($user->lang[$row['group_name']]))? $user->lang[$row['group_name']] : $row['group_name'];
+ $group_name = (!empty($user->lang['G_' . $row['group_name']]))? $user->lang['G_' . $row['group_name']] : $row['group_name'];
?>
<tr>