Vergleich admin/modules/config/calendars.php - 1.6.7 - 1.6.12

  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: calendars.php 5676 2011-11-29 12:10:19Z Tomm $

 * $Id$

 */

// Disallow direct access to this file for security reasons

 */

// Disallow direct access to this file for security reasons

Zeile 140Zeile 140
		admin_redirect("index.php?module=config-calendars");
}


		admin_redirect("index.php?module=config-calendars");
}


	$query = $db->simple_select("usergroups", "*", "", array("order_dir" => "name"));

	$query = $db->simple_select("usergroups", "*", "", array("order" => "name"));

	while($usergroup = $db->fetch_array($query))
{
$usergroups[$usergroup['gid']] = $usergroup;

	while($usergroup = $db->fetch_array($query))
{
$usergroups[$usergroup['gid']] = $usergroup;

Zeile 295Zeile 295

if(!$errors)
{


if(!$errors)
{

			$calendar = array(

			$updated_calendar = array(

				"name" => $db->escape_string($mybb->input['name']),
"disporder" => intval($mybb->input['disporder']),
"startofweek" => intval($mybb->input['startofweek']),

				"name" => $db->escape_string($mybb->input['name']),
"disporder" => intval($mybb->input['disporder']),
"startofweek" => intval($mybb->input['startofweek']),

Zeile 309Zeile 309
				"allowsmilies" => $db->escape_string($mybb->input['allowsmilies'])
);


				"allowsmilies" => $db->escape_string($mybb->input['allowsmilies'])
);


			$db->update_query("calendars", $calendar, "cid = '".intval($mybb->input['cid'])."'");

			$db->update_query("calendars", $updated_calendar, "cid = '".intval($mybb->input['cid'])."'");

			
$plugins->run_hooks("admin_config_calendars_edit_commit");


			
$plugins->run_hooks("admin_config_calendars_edit_commit");