Skip to content

Commit

Permalink
#884 Remove double page title
Browse files Browse the repository at this point in the history
  • Loading branch information
Yannick committed Aug 24, 2014
1 parent 305dd4a commit 68a7416
Show file tree
Hide file tree
Showing 21 changed files with 3 additions and 57 deletions.
3 changes: 0 additions & 3 deletions backstage/appearance.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('settings', 'appearance');

?>
<h2><?php echo $lang['Appearance'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>'
?>
Expand Down
3 changes: 0 additions & 3 deletions backstage/bans.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
generate_admin_menu('users', 'bans');

?>
<h2><?php echo $lang['Ban advanced head'] ?></h2>
<form class="form-horizontal" id="bans2" method="post" action="bans.php">
<div class="panel panel-default">
<div class="panel-heading">
Expand Down Expand Up @@ -375,7 +374,6 @@
generate_admin_menu('users', 'bans');

?>
<h2><?php echo $lang['Bans'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['Results head'] ?></h3>
Expand Down Expand Up @@ -447,7 +445,6 @@
generate_admin_menu('users', 'bans');

?>
<h2><?php echo $lang['Bans'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['New ban head'] ?></h3>
Expand Down
6 changes: 0 additions & 6 deletions backstage/board.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
generate_admin_menu('content', 'board');

?>
<h2><?php echo $lang['Confirm delete head'] ?></h2>
<form method="post" action="board.php?del_forum=<?php echo $forum_id ?>">
<fieldset>
<div class="panel panel-danger">
Expand Down Expand Up @@ -206,7 +205,6 @@
generate_admin_menu('content', 'board');

?>
<h2><?php echo $lang['Forum settings'] ?></h2>
<form id="edit_forum" class="form-horizontal" method="post" action="board.php?edit_forum=<?php echo $forum_id ?>">
<div class="panel panel-default">
<div class="panel-heading">
Expand Down Expand Up @@ -403,7 +401,6 @@
generate_admin_menu('content', 'board');

?>
<h2><?php echo $lang['Confirm delete cat head'] ?></h2>
<form method="post" action="board.php">
<input type="hidden" name="cat_to_delete" value="<?php echo $cat_to_delete ?>" />
<fieldset>
Expand Down Expand Up @@ -463,9 +460,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('content', 'board');

?>
<h2><?php echo $lang['Board structure'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>'
?>
Expand Down
1 change: 0 additions & 1 deletion backstage/censoring.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
generate_admin_menu('content', 'censoring');

?>
<h2><?php echo $lang['Censoring'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['Add word subhead'] ?></h3>
Expand Down
2 changes: 1 addition & 1 deletion backstage/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ label .help-block {
background: linear-gradient(to right, #0d4382 0%, #3588e9 100%);
padding-top: 0;
padding-bottom: 0;
margin-bottom: 0;
margin-bottom: 30px;
}

.jumboheader h2 {
Expand Down
1 change: 0 additions & 1 deletion backstage/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,6 @@ function split_sql_file($sql, $delimiter)
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('database');
?>
<h2><?php echo $lang['Database'] ?></h2>
<form class="form-horizontal" method="post" action="<?php echo $_SERVER['REQUEST_URI'] ?>">
<div class="panel panel-default">
<div class="panel-heading">
Expand Down
3 changes: 0 additions & 3 deletions backstage/email.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('settings', 'email');

?>
<h2><?php echo $lang['Email'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>'
?>
Expand Down
3 changes: 0 additions & 3 deletions backstage/features.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('settings', 'features');

?>
<h2><?php echo $lang['Features'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>'
?>
Expand Down
3 changes: 0 additions & 3 deletions backstage/groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('users', 'groups');
?>
<h2><?php echo $lang['Group settings head'] ?></h2>
<form class="form-horizontal" id="groups2" method="post" action="groups.php" onsubmit="return process_form(this)">
<div class="panel panel-default">
<div class="panel-heading">
Expand Down Expand Up @@ -459,7 +458,6 @@
generate_admin_menu('users', 'groups');

?>
<h2><?php echo $lang['Group delete head'] ?></h2>
<form method="post" action="groups.php?del_group=<?php echo $group_id ?>">
<div class="panel panel-danger">
<div class="panel-heading">
Expand Down Expand Up @@ -533,7 +531,6 @@
generate_admin_menu('users', 'groups');

?>
<h2><?php echo $lang['Groups'] ?></h2>
<div class="row">
<div class="col-sm-6">
<div class="panel panel-default">
Expand Down
2 changes: 0 additions & 2 deletions backstage/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('backstage', 'index');
?>

<h2><?php echo $lang['Backstage'] ?><span class="pull-right"><a href="update.php" class="btn btn-default btn-update"><?php echo $lang['Updates'] ?></a></span></h2>
<div class="row">
<?php
//Update checking
Expand Down
4 changes: 0 additions & 4 deletions backstage/maintenance.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@
generate_admin_menu('settings', 'maintenance');

?>
<h2><?php echo $lang['Maintenance'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['Prune'] ?></h3>
Expand Down Expand Up @@ -356,9 +355,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('settings', 'maintenance');

?>
<h2><?php echo $lang['Maintenance'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>';
if (isset($_GET['cache_cleared']))
Expand Down
3 changes: 0 additions & 3 deletions backstage/permissions.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('users', 'permissions');

?>
<h2><?php echo $lang['Permissions'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>'
?>
Expand Down
3 changes: 1 addition & 2 deletions backstage/ranks.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,8 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('users', 'ranks');

if ($luna_config['o_ranks'] == 0) {
?>
<h2><?php echo $lang['Ranks'] ?></h2>
<?php if ($luna_config['o_ranks'] == 0) { ?>
<div class="alert alert-danger">
<?php echo sprintf($lang['Ranks disabled'], '<a href="features.php">'.$lang['Features'].'</a>') ?>
</div>
Expand Down
3 changes: 0 additions & 3 deletions backstage/registration.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('settings', 'registration');

?>
<h2><?php echo $lang['Registration'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>'
?>
Expand Down
1 change: 0 additions & 1 deletion backstage/reports.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
generate_admin_menu('content', 'reports');

?>
<h2><?php echo $lang['Reports'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['New reports head'] ?></h3>
Expand Down
3 changes: 0 additions & 3 deletions backstage/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('settings', 'settings');

?>
<h2><?php echo $lang['Options head'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>'
?>
Expand Down
1 change: 0 additions & 1 deletion backstage/statistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@
generate_admin_menu('backstage', 'stats');

?>
<h2><?php echo $lang['Server statistics head'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['Server statistics head'] ?></h3>
Expand Down
3 changes: 0 additions & 3 deletions backstage/theme.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('settings', 'theme');

?>
<h2><?php echo $lang['Style'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>'
?>
Expand Down
1 change: 0 additions & 1 deletion backstage/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
generate_admin_menu('backstage', 'update');

?>
<h2><?php echo $lang['ModernBB software updates'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['ModernBB updates'] ?><span class="pull-right"><a href="update.php?action=check_update" class="btn btn-primary"><?php echo $lang['Check for updates'] ?></a></span></h3>
Expand Down
9 changes: 0 additions & 9 deletions backstage/users.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@
generate_admin_menu('users', 'users');

?>
<h2><?php echo $lang['Users'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['Results head'] ?></h3>
Expand Down Expand Up @@ -221,7 +220,6 @@
generate_admin_menu('users', 'users');

?>
<h2><?php echo $lang['Users'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['Results head'] ?></h3>
Expand Down Expand Up @@ -405,7 +403,6 @@
generate_admin_menu('users', 'users');

?>
<h2><?php echo $lang['Move users'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['Move users'] ?></h3>
Expand Down Expand Up @@ -555,7 +552,6 @@
generate_admin_menu('users', 'users');

?>
<h2><?php echo $lang['Users'] ?></h2>
<form name="confirm_del_users" method="post" action="users.php">
<div class="panel panel-danger">
<div class="panel-heading">
Expand Down Expand Up @@ -681,7 +677,6 @@
generate_admin_menu('users', 'users');

?>
<h2><?php echo $lang['Users'] ?></h2>
<form id="bans2" class="form-horizontal" name="confirm_ban_users" method="post" action="users.php">
<div class="panel panel-default">
<div class="panel-heading">
Expand Down Expand Up @@ -866,7 +861,6 @@
generate_admin_menu('users', 'users');

?>
<h2><?php echo $lang['Users'] ?></h2>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><?php echo $lang['Results head'] ?></h3>
Expand Down Expand Up @@ -973,9 +967,6 @@
require FORUM_ROOT.'backstage/header.php';
generate_admin_menu('users', 'users');

?>
<h2><?php echo $lang['Users'] ?></h2>
<?php
if (isset($_GET['saved']))
echo '<div class="alert alert-success"><h4>'.$lang['Settings saved'].'</h4></div>';
if (isset($_GET['deleted']))
Expand Down
2 changes: 1 addition & 1 deletion include/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Version
const FORUM_VERSION = '3.5-dev';

// The ModernBB Core version
const FORUM_CORE_VERSION = '0.0.40.2914';
const FORUM_CORE_VERSION = '0.0.40.2915';

// The database version number, every change in the database requires this number to go one up
const FORUM_DB_VERSION = 77;
Expand Down

0 comments on commit 68a7416

Please sign in to comment.