File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 11<?php /* vim: set colorcolumn= expandtab shiftwidth=2 softtabstop=2 tabstop=4 smarttab: */
22namespace BNETDocs \Templates \Core ;
3+ use \CarlBennett \MVC \Libraries \Common ;
34$ title = 'Maintenance ' ;
45$ description = $ this ->getContext ()->message ;
56$ _header_maintenance = true ;
@@ -9,5 +10,25 @@ require('./Includes/header.inc.phtml'); ?>
910 <h4 class="alert-heading"><?= $ title?> </h4>
1011 <p class="mb-0"><?= $ description?> </p>
1112 </div>
13+ <div class="alert alert-primary" role="suggestion">
14+ <p><strong>This page</strong> is currently unavailable from our website.</p>
15+ <ul>
16+ <li>You could try <strong>refreshing</strong> the page again later.</li>
17+ <li>You might try loading this page from the
18+ <a href="https://web.archive.org/web/*/<?= Common::relativeUrlToAbsolute (getenv ('REQUEST_URI ' ))?> ">
19+ Wayback Machine Internet Archive</a>.
20+ </li>
21+ <?php if (isset (Common::$ config ) && isset (Common::$ config ->discord ) && isset (Common::$ config ->discord ->invite_code )) { ?>
22+ <li>You could use <a href="https://discord.gg/<?= Common::$ config ->discord ->invite_code ?> ">Discord</a> to contact an administrator.</li>
23+ <?php } else { ?>
24+ <li>You could use social media to contact an administrator.</li>
25+ <?php } ?>
26+ <?php if (isset (Common::$ config ) && isset (Common::$ config ->email ) && isset (Common::$ config ->email ->recipient_reply_to )) { ?>
27+ <li>You could use an
28+ <a href="mailto:<?= Common::$ config ->email ->recipient_reply_to [1 ]?> <<?= Common::$ config ->email ->recipient_reply_to [0 ]?> >">email message</a>
29+ to contact an administrator.</li>
30+ <?php } ?>
31+ </ul>
32+ </div>
1233</div>
1334<?php require ('./Includes/footer.inc.phtml ' ); ?>
You can’t perform that action at this time.
0 commit comments