Vergleich install/upgrade.php - 1.2.7 - 1.2.10

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

 * $Id: upgrade.php 3005 2007-04-11 04:37:20Z Tikitiki $

 * $Id: upgrade.php 3531 2007-12-02 01:21:43Z chris $

 */
error_reporting(E_ALL & ~E_NOTICE);


 */
error_reporting(E_ALL & ~E_NOTICE);


Zeile 185Zeile 185
		  title varchar(120) NOT NULL default '',
template text NOT NULL,
sid int(10) NOT NULL default '0',

		  title varchar(120) NOT NULL default '',
template text NOT NULL,
sid int(10) NOT NULL default '0',

		  version varchar(20) NOT NULL default '0',

		  version int unsigned NOT NULL default '0',

		  status varchar(10) NOT NULL default '',
dateline int(10) NOT NULL default '0',
PRIMARY KEY (tid)

		  status varchar(10) NOT NULL default '',
dateline int(10) NOT NULL default '0',
PRIMARY KEY (tid)

Zeile 260Zeile 260
	foreach($templates as $template)
{
$templatename = $template['attributes']['name'];

	foreach($templates as $template)
{
$templatename = $template['attributes']['name'];

		$templateversion = $template['attributes']['version'];

		$templateversion = intval($template['attributes']['version']);

		$templatevalue = $db->escape_string($template['value']);
$time = time();
$query = $db->query("SELECT tid FROM ".TABLE_PREFIX."templates WHERE sid='-2' AND title='$templatename'");

		$templatevalue = $db->escape_string($template['value']);
$time = time();
$query = $db->query("SELECT tid FROM ".TABLE_PREFIX."templates WHERE sid='-2' AND title='$templatename'");

Zeile 346Zeile 346
	{
$lock_note = "<p><b><span style=\"color: red;\">".$lang->upgrade_removedir."</span></b></p>";
}

	{
$lock_note = "<p><b><span style=\"color: red;\">".$lang->upgrade_removedir."</span></b></p>";
}

 


	$output->print_contents(sprintf($lang->upgrade_congrats, $mybb->version, $lock_note));
$output->print_footer();
}

	$output->print_contents(sprintf($lang->upgrade_congrats, $mybb->version, $lock_note));
$output->print_footer();
}