mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix #2522 browser titles for member pages not following admin template
This commit is contained in:
parent
beec50f217
commit
fd103ba67d
4 changed files with 46 additions and 33 deletions
|
|
@ -139,11 +139,11 @@ class CommunicationView extends communication
|
|||
|
||||
if ($message)
|
||||
{
|
||||
Context::addBrowserTitle($message->title);
|
||||
MemberView::setMemberPageBrowserTitle($message->title);
|
||||
}
|
||||
else
|
||||
{
|
||||
Context::addBrowserTitle(lang('communication.message_box.' . $message_type));
|
||||
MemberView::setMemberPageBrowserTitle(lang('communication.message_box.' . $message_type));
|
||||
}
|
||||
|
||||
$this->setTemplateFile($template_filename);
|
||||
|
|
@ -186,7 +186,7 @@ class CommunicationView extends communication
|
|||
Context::set('message', $message);
|
||||
}
|
||||
|
||||
Context::addBrowserTitle($message->title ?? lang('cmd_view_message_box'));
|
||||
MemberView::setMemberPageBrowserTitle($message->title ?? lang('cmd_view_message_box'));
|
||||
$this->setTemplateFile('new_message');
|
||||
}
|
||||
|
||||
|
|
@ -313,7 +313,7 @@ class CommunicationView extends communication
|
|||
$editor = $oEditorModel->getEditor(getNextSequence(), $option);
|
||||
$editor = $editor . "\n" . '<input type="hidden" name="temp_srl" value="" />' . "\n";
|
||||
Context::set('editor', $editor);
|
||||
Context::addBrowserTitle(lang('cmd_send_message'));
|
||||
MemberView::setMemberPageBrowserTitle(lang('cmd_send_message'));
|
||||
$this->setTemplateFile('send_message');
|
||||
|
||||
// Fix for skins that don't support window_type=self
|
||||
|
|
@ -387,7 +387,7 @@ class CommunicationView extends communication
|
|||
Context::set('friend_list', $output->data);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
|
||||
Context::addBrowserTitle(lang('cmd_view_friend'));
|
||||
MemberView::setMemberPageBrowserTitle(lang('cmd_view_friend'));
|
||||
$this->setTemplateFile('friends');
|
||||
}
|
||||
|
||||
|
|
@ -460,7 +460,7 @@ class CommunicationView extends communication
|
|||
$friend_group_list = $oCommunicationModel->getFriendGroups();
|
||||
Context::set('friend_group_list', $friend_group_list);
|
||||
|
||||
Context::addBrowserTitle(lang('cmd_add_friend'));
|
||||
MemberView::setMemberPageBrowserTitle(lang('cmd_add_friend'));
|
||||
$this->setTemplateFile('add_friend');
|
||||
|
||||
// Fix for skins that don't support window_type=self
|
||||
|
|
@ -524,7 +524,7 @@ class CommunicationView extends communication
|
|||
}
|
||||
}
|
||||
|
||||
Context::addBrowserTitle(lang('cmd_add_friend_group'));
|
||||
MemberView::setMemberPageBrowserTitle(lang('cmd_add_friend_group'));
|
||||
$this->setTemplateFile('add_friend_group');
|
||||
|
||||
// Fix for skins that don't support window_type=self
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue