Zeile 6 | Zeile 6 |
---|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* Website: http://mybb.com * License: http://mybb.com/about/license *
|
* $Id: smilies.php 5380 2011-02-21 12:04:43Z Tomm $
| * $Id$
|
*/
// Disallow direct access to this file for security reasons
| */
// Disallow direct access to this file for security reasons
|
Zeile 482 | Zeile 482 |
---|
{ foreach($mybb->input['name'] as $sid => $name) {
|
{ foreach($mybb->input['name'] as $sid => $name) {
|
| $sid = intval($sid);
|
if($mybb->input['delete'][$sid] == 1) { $db->delete_query("smilies", "sid = '{$sid}'", 1);
| if($mybb->input['delete'][$sid] == 1) { $db->delete_query("smilies", "sid = '{$sid}'", 1);
|
Zeile 656 | Zeile 657 |
---|
} $table->construct_cell("<img src=\"{$image}\" alt=\"\" />", array("class" => "align_center"));
|
} $table->construct_cell("<img src=\"{$image}\" alt=\"\" />", array("class" => "align_center"));
|
$table->construct_cell("{$smilie['name']}"); $table->construct_cell($smilie['find']);
| $table->construct_cell(htmlspecialchars_uni($smilie['name'])); $table->construct_cell(htmlspecialchars_uni($smilie['find']));
|
$table->construct_cell("<a href=\"index.php?module=config-smilies&action=edit&sid={$smilie['sid']}\">{$lang->edit}</a>", array("class" => "align_center")); $table->construct_cell("<a href=\"index.php?module=config-smilies&action=delete&sid={$smilie['sid']}&my_post_key={$mybb->post_code}\" onclick=\"return AdminCP.deleteConfirmation(this, '{$lang->confirm_smilie_deletion}')\">{$lang->delete}</a>", array("class" => "align_center"));
| $table->construct_cell("<a href=\"index.php?module=config-smilies&action=edit&sid={$smilie['sid']}\">{$lang->edit}</a>", array("class" => "align_center")); $table->construct_cell("<a href=\"index.php?module=config-smilies&action=delete&sid={$smilie['sid']}&my_post_key={$mybb->post_code}\" onclick=\"return AdminCP.deleteConfirmation(this, '{$lang->confirm_smilie_deletion}')\">{$lang->delete}</a>", array("class" => "align_center"));
|
Zeile 666 | Zeile 667 |
---|
if($table->num_rows() == 0) {
|
if($table->num_rows() == 0) {
|
$table->construct_cell($lang->no_smilies, array('colspan' => 4));
| $table->construct_cell($lang->no_smilies, array('colspan' => 5));
|
$table->construct_row(); }
| $table->construct_row(); }
|