mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 14:40:09 +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();
|
$paste->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$page_title = $paste->title;
|
||||||
$page_template = 'view';
|
$page_template = 'view';
|
||||||
$recommended_pastes = getUserRecommended($paste->user);
|
$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();
|
updatePageViews();
|
||||||
|
|
||||||
$csrf_token = setupCsrfToken();
|
$csrf_token = setupCsrfToken();
|
||||||
|
$page_title = 'Profile of ' . $profile_username;
|
||||||
$page_template = 'user_profile';
|
$page_template = 'user_profile';
|
||||||
array_push($script_bundles, 'user_profile');
|
array_push($script_bundles, 'user_profile');
|
||||||
require_once('theme/' . $default_theme . '/common.php');
|
require_once('theme/' . $default_theme . '/common.php');
|
||||||
|
|
Loading…
Add table
Reference in a new issue