1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

ALTER TABLE phpbb_smilies CHANGE smile_on_posting display_on_posting

git-svn-id: file:///svn/phpbb/trunk@3008 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Ludovic Arnaud
2002-11-05 06:38:09 +00:00
parent bc6e36ef4f
commit a583f7bd10
3 changed files with 6 additions and 6 deletions

View File

@@ -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;
?>