diff options
author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2002-11-05 06:38:09 +0000 |
---|---|---|
committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2002-11-05 06:38:09 +0000 |
commit | a583f7bd10539ddb764276049928a9e8cf4263f5 (patch) | |
tree | fd3c25ce332827d129fc7336bf2609e3707ef6df /phpBB/admin/admin_smilies.php | |
parent | bc6e36ef4f79132029f4f27f592872311724097b (diff) | |
download | forums-a583f7bd10539ddb764276049928a9e8cf4263f5.tar forums-a583f7bd10539ddb764276049928a9e8cf4263f5.tar.gz forums-a583f7bd10539ddb764276049928a9e8cf4263f5.tar.bz2 forums-a583f7bd10539ddb764276049928a9e8cf4263f5.tar.xz forums-a583f7bd10539ddb764276049928a9e8cf4263f5.zip |
ALTER TABLE phpbb_smilies CHANGE smile_on_posting display_on_posting
git-svn-id: file:///svn/phpbb/trunk@3008 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin/admin_smilies.php')
-rw-r--r-- | phpBB/admin/admin_smilies.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/admin/admin_smilies.php b/phpBB/admin/admin_smilies.php index 01024175e7..0aa6d7a9c1 100644 --- a/phpBB/admin/admin_smilies.php +++ b/phpBB/admin/admin_smilies.php @@ -439,7 +439,7 @@ function update_smile_dimensions() </tr> <tr> <td class="row1"><?php echo $user->lang['Display_on_posting'] ?></td> - <td class="row1"><input type="checkbox" name="smile_on_posting" <?php echo ($smile_data['smile_on_posting']) ? ' checked="checked"' : '' ?>/></td> + <td class="row1"><input type="checkbox" name="display_on_posting" <?php echo ($smile_data['display_on_posting']) ? ' checked="checked"' : '' ?>/></td> </tr> <tr> <td class="row2"><?php echo $user->lang['Smile_order'] ?></td> @@ -472,7 +472,7 @@ function update_smile_dimensions() 'smile_height' => $smile_height, 'smile_order' => $smile_order, 'emoticon' => stripslashes($_POST['smile_emotion']), - 'smile_on_posting' => (!empty($_POST['smile_on_posting'])) ? 1 : 0 + 'display_on_posting' => (!empty($_POST['display_on_posting'])) ? 1 : 0 ); $smile_id = $_POST['smile_id']; @@ -556,7 +556,7 @@ function update_smile_dimensions() $sql = 'SELECT * FROM ' . SMILIES_TABLE . ' - ORDER BY smile_on_posting DESC, smile_order ASC'; + ORDER BY display_on_posting DESC, smile_order ASC'; $result = $db->sql_query($sql); page_header($user->lang['Emoticons']); ?> @@ -594,7 +594,7 @@ function update_smile_dimensions() $spacer = FALSE; while ($row = $db->sql_fetchrow($result)) { - if (!$spacer && !$row['smile_on_posting']) + if (!$spacer && !$row['display_on_posting']) { $spacer = TRUE; ?> |