Compare commits
2 Commits
79e09c4f8b
...
6b99f5ca47
Author | SHA1 | Date |
---|---|---|
Retro_Guy | 6b99f5ca47 | |
Retro_Guy | 1af6adada9 |
|
@ -29,7 +29,7 @@ php-gnupg
|
|||
php8.x-sqlite3 (or later version).
|
||||
phpmailer is required if email confirmation is to be used.
|
||||
php-xml to work with RSS feeds
|
||||
compface and php-gd for X-Face support
|
||||
compface, php-gd and libgd3 for X-Face support
|
||||
These are the names for Debian packages. Other distributions should
|
||||
also provide these in some way.
|
||||
|
||||
|
|
|
@ -530,11 +530,21 @@ function show_header_short($head, $group, $local_poster = false)
|
|||
echo '}';
|
||||
echo '</script> ';
|
||||
?>
|
||||
<p id="<?php echo $head->id; ?>" style="position: absolute; z-index: -9999;"><?php echo htmlspecialchars($head->id); ?></p>
|
||||
<a href="#" onclick="CopyToClipboard('<?php echo $head->id; ?>');return false;" style="text-decoration: none" title="Copy message-id to clipboard"><i>copy mid</i></a>
|
||||
<p id="<?php echo $head->id; ?>"
|
||||
style="position: absolute; z-index: -9999;"><?php echo htmlspecialchars($head->id); ?></p>
|
||||
|
||||
<a href="#"
|
||||
onclick="CopyToClipboard('<?php echo $head->id; ?>');return false;"
|
||||
style="text-decoration: none" title="Copy message-id to clipboard"><i>copy
|
||||
mid</i></a>
|
||||
|
||||
<p id="<?php echo $head->number . 'copy'; ?>" style="position: absolute; z-index: -9999;"><?php echo $sitelink . '/' . $config_name . '/article-flat.php?id=' . $head->number . '&group=' . urlencode($group) . '#' . $head->number; ?></p>
|
||||
<a href="#" onclick="CopyToClipboard('<?php echo $head->number . 'copy'; ?>');return false;" style="text-decoration: none" title="Copy article link to clipboard"><i>copy link</i></a>
|
||||
<p id="<?php echo $head->number . 'copy'; ?>"
|
||||
style="position: absolute; z-index: -9999;"><?php echo $sitelink . '/' . $config_name . '/article-flat.php?id=' . $head->number . '&group=' . urlencode($group) . '#' . $head->number; ?></p>
|
||||
|
||||
<a href="#"
|
||||
onclick="CopyToClipboard('<?php echo $head->number . 'copy'; ?>');return false;"
|
||||
style="text-decoration: none" title="Copy article link to clipboard"><i>copy
|
||||
link</i></a>
|
||||
|
||||
<?php
|
||||
|
||||
|
@ -585,7 +595,8 @@ function show_header_short($head, $group, $local_poster = false)
|
|||
echo '</div>';
|
||||
}
|
||||
|
||||
function copy_messageid() {
|
||||
function copy_messageid()
|
||||
{
|
||||
$messageid = "THIS IS THE MSGID";
|
||||
return $messageid;
|
||||
}
|
||||
|
@ -781,11 +792,13 @@ function message_show($group, $id, $attachment = 0, $article_data = false, $maxl
|
|||
$xbmfile = $facefile . '.xbm';
|
||||
$uncompface = 'uncompface -X ' . $facefile . ' ' . $xbmfile;
|
||||
shell_exec($uncompface);
|
||||
if (function_exists('imagecreatefromxbm')) {
|
||||
if (($xbm = imagecreatefromxbm($xbmfile)) !== false) {
|
||||
imagepng($xbm, $pngfile);
|
||||
imagedestroy($xbm);
|
||||
echo '<img align="right" src="' . $pngfile . '">';
|
||||
}
|
||||
}
|
||||
unlink($facefile);
|
||||
unlink($xbmfile);
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue