Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F447818
PhabricatorMetaMTAController.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
697 B
Referenced Files
None
Subscribers
None
PhabricatorMetaMTAController.php
View Options
<?php
abstract
class
PhabricatorMetaMTAController
extends
PhabricatorController
{
public
function
shouldRequireAdmin
()
{
return
true
;
}
public
function
buildSideNavView
()
{
$nav
=
new
AphrontSideNavFilterView
();
$nav
->
setBaseURI
(
new
PhutilURI
(
$this
->
getApplicationURI
()));
$nav
->
addLabel
(
pht
(
'Mail Logs'
));
$nav
->
addFilter
(
'sent'
,
pht
(
'Sent Mail'
),
$this
->
getApplicationURI
());
$nav
->
addFilter
(
'received'
,
pht
(
'Received Mail'
));
if
(
$this
->
getRequest
()->
getUser
()->
getIsAdmin
())
{
$nav
->
addLabel
(
pht
(
'Diagnostics'
));
$nav
->
addFilter
(
'send'
,
pht
(
'Send Test'
));
$nav
->
addFilter
(
'receive'
,
pht
(
'Receive Test'
));
}
return
$nav
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, May 4, 5:30 PM (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
66669
Default Alt Text
PhabricatorMetaMTAController.php (697 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment