dolibarr 21.0.0-alpha
404.tpl.php
1<!-- file 404.tpl.php -->
2<?php
3// Protection to avoid direct call of template
4if (empty($context) || !is_object($context)) {
5 print "Error, template page can't be called as URL";
6 exit(1);
7}
8
9global $langs;
10?>
11<section id="services">
12 <div class="container">
13 <div class="row">
14 <div class="col-lg-12 text-center">
15 <h2 class="section-heading"><?php print $langs->trans('WebPortalError404'); ?></h2>
16 <hr class="my-4">
17 </div>
18 </div>
19 </div>
20 <div class="container">
21 <p class="text-center"><?php print $langs->trans('WebPortalErrorPageNotExist'); ?></p>
22 </div>
23</section>