Skip to content

Commit

Permalink
Merge branch 'fluxbb-1.4' into fluxbb-2.0
Browse files Browse the repository at this point in the history
Conflicts:
	admin_loader.php
	db_update.php
	include/cache.php
	include/dblayer/common_db.php
	include/dblayer/mysql.php
	include/dblayer/mysql_innodb.php
	include/dblayer/mysqli.php
	include/dblayer/mysqli_innodb.php
	include/dblayer/pgsql.php
	include/dblayer/sqlite.php
	include/utf8/utf8.php
	include/utf8/utils/bad.php
	install.php
  • Loading branch information
reines committed Jan 5, 2012
2 parents 84adcfe + fcf840c commit 6bde987
Show file tree
Hide file tree
Showing 40 changed files with 278 additions and 218 deletions.
2 changes: 1 addition & 1 deletion admin_bans.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_categories.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_censoring.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_forums.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_groups.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_index.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_maintenance.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_options.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_permissions.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_ranks.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_reports.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion admin_users.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
8 changes: 7 additions & 1 deletion common.js
@@ -1,4 +1,10 @@

/**
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/

function select_checkboxes(curFormId, link, new_string)
{
var curForm = document.getElementById(curFormId);
Expand Down Expand Up @@ -29,4 +35,4 @@ function unselect_checkboxes(curFormId, link, new_string)
link.innerHTML = new_string;

return false;
}
}
2 changes: 1 addition & 1 deletion delete.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
5 changes: 4 additions & 1 deletion edit.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down Expand Up @@ -121,6 +121,9 @@
$stick_topic = isset($_POST['stick_topic']) ? '1' : '0';
if (!$is_admmod)
$stick_topic = $cur_post['sticky'];

// Replace four-byte characters (MySQL cannot handle them)
$message = strip_bad_multibyte_chars($message);

// Did everything go according to plan?
if (empty($errors) && !isset($_POST['preview']))
Expand Down
2 changes: 1 addition & 1 deletion extern.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion footer.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion header.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
2 changes: 1 addition & 1 deletion help.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down
4 changes: 2 additions & 2 deletions include/common.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand All @@ -10,7 +10,7 @@
exit('The constant PUN_ROOT must be defined and point to a valid FluxBB installation root directory.');

// Define the version and database revision that this code was written for
define('FORUM_VERSION', '1.4.7');
define('FORUM_VERSION', '1.4.8');

define('FORUM_DB_REVISION', 15);
define('FORUM_SI_REVISION', 2);
Expand Down
2 changes: 1 addition & 1 deletion include/common_admin.php
@@ -1,7 +1,7 @@
<?php

/**
* Copyright (C) 2008-2011 FluxBB
* Copyright (C) 2008-2012 FluxBB
* based on code by Rickard Andersson copyright (C) 2002-2008 PunBB
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
Expand Down

0 comments on commit 6bde987

Please sign in to comment.