2024-10-11 07:14:18 +02:00
|
|
|
<?php declare(strict_types=1);
|
2022-10-23 08:10:56 +02:00
|
|
|
use PrivateBin\I18n;
|
|
|
|
?><!DOCTYPE html>
|
2023-09-19 07:29:00 +02:00
|
|
|
<html lang="<?php echo I18n::getLanguage(); ?>"<?php echo I18n::isRtl() ? ' dir="rtl"' : ''; ?>>
|
2022-10-23 08:10:56 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta http-equiv="Content-Security-Policy" content="<?php echo I18n::encode($CSPHEADER); ?>">
|
|
|
|
<meta name="robots" content="noindex" />
|
|
|
|
<meta name="google" content="notranslate">
|
|
|
|
<title><?php echo I18n::_($NAME); ?></title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<?php
|
|
|
|
if (empty($ERROR)) :
|
|
|
|
?>
|
|
|
|
<p><?php echo I18n::_('Your paste is <a id="pasteurl" href="%s">%s</a> <span id="copyhint">(Hit [Ctrl]+[c] to copy)</span>', $SHORTURL, $SHORTURL); ?></p>
|
|
|
|
<?php
|
|
|
|
else:
|
|
|
|
?>
|
2022-10-23 09:12:31 +02:00
|
|
|
<div id="errormessage">
|
|
|
|
<p><?php echo I18n::_('Could not create paste: %s', $ERROR); ?></p>
|
|
|
|
</div>
|
2022-10-23 08:10:56 +02:00
|
|
|
<?php
|
|
|
|
endif;
|
|
|
|
?>
|
|
|
|
</body>
|
|
|
|
</html>
|