Skip to content

Commit

Permalink
Merge branch 'fluxbb-2.0' into fluxbb-2.0-track
Browse files Browse the repository at this point in the history
  • Loading branch information
reines committed Jan 5, 2012
2 parents 7d738e8 + 6bde987 commit 6ff6047
Show file tree
Hide file tree
Showing 48 changed files with 291 additions and 231 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/classes/lang.php
@@ -1,7 +1,7 @@
<?php

require_once PUN_ROOT.'modules/gettext/Gettext.php';
require_once PUN_ROOT.'modules/cache/src/Cache/Cache.php';
require_once PUN_ROOT.'modules/gettext/src/Gettext.php';
require_once PUN_ROOT.'modules/cache/src/Cache.php';

class Flux_Lang
{
Expand Down
6 changes: 3 additions & 3 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 Expand Up @@ -100,7 +100,7 @@ function stripslashes_array($array)
$cookie_name = 'pun_cookie';

// Load the cache module
require PUN_ROOT.'modules/cache/src/Cache/Cache.php';
require PUN_ROOT.'modules/cache/src/Cache.php';
$cache = Flux_Cache::load($flux_config['cache']['type'], array('dir' => $flux_config['cache']['dir']), 'VarExport'); // TODO: Move this config into config.php

// Define a few commonly used constants
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 6ff6047

Please sign in to comment.