🚀 Hostinger Optimized
🖥️ Server: Apache
💻 System: Linux webm015.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
👤 User: stakrfrcol (69043)
🐘 PHP: 8.3.31
🚫 Disabled: _dyuweyrj4,_dyuweyrj4r,dl

💻 Terminal

📁 /home/stakrfrcol/agency
$

📄 errors.tpl.php

📁 Path: /home/stakrfrcol/dolibarr/htdocs/public/webportal/tpl/errors.tpl.php
📊 Size: 1.1 KB
🔒 Perm: 0604
📝 MIME: text/html
<!-- file errors.tpl.php -->
<?php
/* Copyright (C) 2024		MDW							<mdeweerd@users.noreply.github.com>
 */
// Protection to avoid direct call of template
if (empty($context) || !is_object($context)) {
	print "Error, template page can't be called as URL";
	exit(1);
}
'@phan-var-force Context $context';

print '
	<div class="modal fade" id="webportal_errors" tabindex="-1" role="dialog" aria-labelledby="webportal_errors_title" aria-hidden="true">
		<div class="modal-dialog modal-lg" role="document">
			<div class="modal-content">
				<div class="model-header bg-danger">
					<button type="button" class="close p-1" data-dismiss="modal" aria-hidden="true">&times;</button>
					<div class="d-flex justify-content-center">
						<span class="display-1 text-white">Ooops</span>
					</div>
				</div>

				<div class="modal-body m-0 py-4">
					';

foreach ($context->errors as $err) {
	print '<blockquote class="blockquote m-0">' . $err . '</blockquote>';
}

print '
				</div>
			</div>
		</div>
	</div>
	<script type="text/javascript">$(function(){ $("#webportal_errors").modal(); });</script>
';


$context->clearErrors();
← Back📥 Raw✏️ Edit🔒 Chmod
✨ File Manager Magic ✨