Vergleich admin/modules/config/smilies.php - 1.6.0 - 1.6.14

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * Website: http://mybb.com
* License: http://mybb.com/about/license
*

 * $Id: smilies.php 5016 2010-06-12 00:24:02Z RyanGordon $

 * $Id$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 482Zeile 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 656Zeile 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&amp;action=edit&amp;sid={$smilie['sid']}\">{$lang->edit}</a>", array("class" => "align_center"));
$table->construct_cell("<a href=\"index.php?module=config-smilies&amp;action=delete&amp;sid={$smilie['sid']}&amp;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&amp;action=edit&amp;sid={$smilie['sid']}\">{$lang->edit}</a>", array("class" => "align_center"));
$table->construct_cell("<a href=\"index.php?module=config-smilies&amp;action=delete&amp;sid={$smilie['sid']}&amp;my_post_key={$mybb->post_code}\" onclick=\"return AdminCP.deleteConfirmation(this, '{$lang->confirm_smilie_deletion}')\">{$lang->delete}</a>", array("class" => "align_center"));

Zeile 666Zeile 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();
}