From 6415763499735a3ccc8cb1b442245e4e9abae184 Mon Sep 17 00:00:00 2001 From: Kazuki Suzuki Przyborowski Date: Wed, 25 Nov 2020 02:54:43 -0600 Subject: [PATCH] Add files via upload --- admin.php | 7 ++++++- calendar.php | 7 ++++++- category.php | 7 ++++++- event.php | 7 ++++++- forum.php | 7 ++++++- inc/html5.php | 5 +++++ inc/versioninfo.php | 2 +- index.php | 7 ++++++- install.php | 5 ++++- member.php | 7 ++++++- messenger.php | 7 ++++++- profile.php | 7 ++++++- search.php | 7 ++++++- subcategory.php | 7 ++++++- subforum.php | 7 ++++++- topic.php | 7 ++++++- 16 files changed, 88 insertions(+), 15 deletions(-) diff --git a/admin.php b/admin.php index 6896812..4a0a9b1 100644 --- a/admin.php +++ b/admin.php @@ -32,7 +32,12 @@ ob_start("idb_suboutput_handler"); ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/calendar.php b/calendar.php index 1838d40..e7b020c 100644 --- a/calendar.php +++ b/calendar.php @@ -22,7 +22,12 @@ $filewpath = $exfile['calendar'].$usefileext.$_SERVER['PATH_INFO']; $idbactcheck = array("view", "create"); ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/category.php b/category.php index c25c1eb..53aace3 100644 --- a/category.php +++ b/category.php @@ -24,7 +24,12 @@ if(!is_numeric($_GET['id'])) { $_GET['id']="1"; } $idbactcheck = array("view", "lowview", "stats"); ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/event.php b/event.php index a27c9c1..efce5d4 100644 --- a/event.php +++ b/event.php @@ -22,7 +22,12 @@ $filewpath = $exfile['event'].$usefileext.$_SERVER['PATH_INFO']; $idbactcheck = array("view", "create", "makeevent"); ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/forum.php b/forum.php index b750e17..c5080b5 100644 --- a/forum.php +++ b/forum.php @@ -30,7 +30,12 @@ ob_start("idb_suboutput_handler"); " /> " /> - + + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/inc/html5.php b/inc/html5.php index 0621996..7c5e472 100644 --- a/inc/html5.php +++ b/inc/html5.php @@ -196,6 +196,7 @@ if(strpos($_SERVER['HTTP_USER_AGENT'], "msie") && + @@ -205,8 +206,12 @@ ob_start("idb_suboutput_handler"); ?> + + + + diff --git a/inc/versioninfo.php b/inc/versioninfo.php index d3fbe82..2276c16 100644 --- a/inc/versioninfo.php +++ b/inc/versioninfo.php @@ -27,7 +27,7 @@ function version_info($proname,$subver,$ver,$supver,$reltype,$svnver,$showsvn) { return $return_var; } // Version number and date stuff. :P $VER1[0] = 0; $VER1[1] = 5; $VER1[2] = 3; $VERFull[1] = $VER1[0].".".$VER1[1].".".$VER1[2]; -$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 910; $GitRevN = "$Id$"; +$VER2[0] = "Alpha"; $VER2[1] = "Al"; $VER2[2] = "SVN"; $SubVerN = 910; $GitRevN = "$Id: d3fbe829af421d577e5dd7fd8f28d2bfabbf12f3 $"; $SVNDay[0] = 10; $SVNDay[1] = 10; $SVNDay[2] = 2019; $SVNDay[3] = $SVNDay[0]."/".$SVNDay[1]."/".$SVNDay[2]; $AltName = "DF2k"; $AltName2 = "DF2k"; $RName = "iDB"; $SFName = "IntDB"; $RFullName = "Internet Discussion Boards"; $AltFullName = "Discussion Forums 2k"; $AltGM2k = "Game Maker 2k"; diff --git a/index.php b/index.php index f29df4c..7f20d85 100644 --- a/index.php +++ b/index.php @@ -62,7 +62,12 @@ gzip_page($Settings['use_gzip'],$GZipEncode['Type']); session_write_close(); die ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/install.php b/install.php index 60a8418..41616cc 100644 --- a/install.php +++ b/install.php @@ -175,8 +175,11 @@ foreach($ThemeSet AS $key => $value) { require($SetupDir['convert'].'info.php'); require($SetupDir['setup'].'html5.php'); $Error = null; $_GET['time'] = false; +$title_html = htmlentities("Installing ".$VerInfo['iDB_Ver_Show'], ENT_QUOTES, $Settings['charset']); ?> - + + + <?php echo "Installing ".$VerInfo['iDB_Ver_Show']; ?> diff --git a/member.php b/member.php index 2e97223..c8cec6d 100644 --- a/member.php +++ b/member.php @@ -26,7 +26,12 @@ if(!in_array($_GET['act'], $idbactcheck)) { $_GET['act']="login"; } ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/messenger.php b/messenger.php index 6f92b90..3cadd77 100644 --- a/messenger.php +++ b/messenger.php @@ -22,7 +22,12 @@ $filewpath = $exfile['messenger'].$usefileext.$_SERVER['PATH_INFO']; $idbactcheck = array("view", "viewsent", "read", "create", "sendmessage"); ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/profile.php b/profile.php index 52a091b..b66ddb6 100644 --- a/profile.php +++ b/profile.php @@ -22,7 +22,12 @@ $filewpath = $exfile['profile'].$usefileext.$_SERVER['PATH_INFO']; $idbactcheck = array("view", "signature", "avatar", "settings", "profile", "userinfo"); ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/search.php b/search.php index 0a2d8d4..6a9f822 100644 --- a/search.php +++ b/search.php @@ -24,7 +24,12 @@ ob_start("idb_suboutput_handler"); ?> Search" href="" /> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/subcategory.php b/subcategory.php index deb7cec..82cc085 100644 --- a/subcategory.php +++ b/subcategory.php @@ -24,7 +24,12 @@ if(!is_numeric($_GET['id'])) { $_GET['id']="1"; } $idbactcheck = array("view", "lowview", "stats"); ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/subforum.php b/subforum.php index 6023f35..3bd0a23 100644 --- a/subforum.php +++ b/subforum.php @@ -30,7 +30,12 @@ ob_start("idb_suboutput_handler"); " /> " /> - + + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> diff --git a/topic.php b/topic.php index be652ac..46305c0 100644 --- a/topic.php +++ b/topic.php @@ -23,7 +23,12 @@ $filewpath = $exfile['topic'].$usefileext.$_SERVER['PATH_INFO']; $idbactcheck = array("view", "create", "delete", "pin", "unpin", "move", "open", "close", "announce", "edit", "makereply", "editreply", "lowview"); ?> +ob_start("idb_suboutput_handler"); +$title_html = htmlentities($Settings['board_name'].$idbpowertitle, ENT_QUOTES, $Settings['charset']); +?> + + + <?php echo $Settings['board_name'].$idbpowertitle; ?> -- 2.11.0