Use a global variable for whether the banner images are being shown.

This commit is contained in:
2025-10-13 15:18:02 -07:00
parent 1cec38a99e
commit c479aa5b73

View File

@@ -1,7 +1,10 @@
#!/usr/bin/php
<?php
// Dynamic testing of whether new images around the banner is wanted.
$show_pics = true;
if (!isset($GLOBALS["SHOW_BANNER_PICS"])) {
$GLOBALS["SHOW_BANNER_PICS"] = true;
}
$show_pics = $GLOBALS["SHOW_BANNER_PICS"];
$banner_width = $show_pics ? 6 : 12;
?>
<a href='/about/'>