mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 12:32:14 +09:00
Add short URL to communication module pages
This commit is contained in:
parent
52a7d47a49
commit
58d4f70cbd
2 changed files with 16 additions and 9 deletions
|
|
@ -235,12 +235,14 @@ class communicationView extends communication
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check member mid
|
// Check member mid
|
||||||
|
/*
|
||||||
$oMemberView = MemberView::getInstance();
|
$oMemberView = MemberView::getInstance();
|
||||||
if (!$oMemberView->checkMidAndRedirect())
|
if (!$oMemberView->checkMidAndRedirect())
|
||||||
{
|
{
|
||||||
$this->setRedirectUrl($oMemberView->getRedirectUrl());
|
$this->setRedirectUrl($oMemberView->getRedirectUrl());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// Fix missing mid (it causes errors when uploading)
|
// Fix missing mid (it causes errors when uploading)
|
||||||
if(!Context::get('mid'))
|
if(!Context::get('mid'))
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,18 @@
|
||||||
<module>
|
<module>
|
||||||
<grants />
|
<grants />
|
||||||
<actions>
|
<actions>
|
||||||
<action name="dispCommunicationMessages" type="view" permission="member" meta-noindex="true" />
|
<action name="dispCommunicationMessages" type="view" permission="member" meta-noindex="true">
|
||||||
<action name="dispCommunicationSendMessage" type="view" permission="member" meta-noindex="true" />
|
<route route="messages" />
|
||||||
<action name="dispCommunicationNewMessage" type="view" permission="member" meta-noindex="true" />
|
<route route="messages/$message_srl:int" />
|
||||||
<action name="dispCommunicationFriend" type="view" permission="member" meta-noindex="true" />
|
<route route="messages/type/$message_type:word" />
|
||||||
<action name="dispCommunicationAddFriend" type="view" permission="member" meta-noindex="true" />
|
<route route="messages/type/$message_type:word/$message_srl:int" />
|
||||||
<action name="dispCommunicationAddFriendGroup" type="view" permission="member" meta-noindex="true" />
|
</action>
|
||||||
<action name="dispCommunicationMessageBoxList" type="mobile" permission="member" meta-noindex="true" />
|
<action name="dispCommunicationSendMessage" type="view" permission="member" route="messages/send" meta-noindex="true" />
|
||||||
|
<action name="dispCommunicationNewMessage" type="view" permission="member" route="messages/new" meta-noindex="true" />
|
||||||
|
<action name="dispCommunicationFriend" type="view" permission="member" route="friends" meta-noindex="true" />
|
||||||
|
<action name="dispCommunicationAddFriend" type="view" permission="member" route="friends/add" meta-noindex="true" />
|
||||||
|
<action name="dispCommunicationAddFriendGroup" type="view" permission="member" route="friends/addGroup" meta-noindex="true" />
|
||||||
|
<action name="dispCommunicationMessageBoxList" type="mobile" permission="member" route="messages/boxes" meta-noindex="true" />
|
||||||
|
|
||||||
<action name="procCommunicationUpdateAllowMessage" type="controller" permission="member" />
|
<action name="procCommunicationUpdateAllowMessage" type="controller" permission="member" />
|
||||||
<action name="procCommunicationSendMessage" type="controller" permission="member" ruleset="sendMessage" />
|
<action name="procCommunicationSendMessage" type="controller" permission="member" ruleset="sendMessage" />
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue