mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 06:30:07 +01:00
Fix a couple of page titles.
This commit is contained in:
parent
565db2a1d4
commit
b338781d67
2 changed files with 2 additions and 0 deletions
|
@ -239,6 +239,7 @@ if (!isRequesterLikelyBot() && @$_SESSION['not_unique'] !== $paste_id) {
|
|||
$paste->save();
|
||||
}
|
||||
|
||||
$page_title = $paste->title;
|
||||
$page_template = 'view';
|
||||
$recommended_pastes = getUserRecommended($paste->user);
|
||||
|
||||
|
|
1
user.php
1
user.php
|
@ -65,6 +65,7 @@ $is_current_user = ($current_user !== null) && ($profile_info->id == $current_us
|
|||
updatePageViews();
|
||||
|
||||
$csrf_token = setupCsrfToken();
|
||||
$page_title = 'Profile of ' . $profile_username;
|
||||
$page_template = 'user_profile';
|
||||
array_push($script_bundles, 'user_profile');
|
||||
require_once('theme/' . $default_theme . '/common.php');
|
||||
|
|
Loading…
Add table
Reference in a new issue