Preliminary adition to transing the internet webring, and tweaks and optimization to previous code regarding javascript to php rewrite, more concise and legible code functions.
All checks were successful
Website Sync / website-sync (push) Successful in 5s
All checks were successful
Website Sync / website-sync (push) Successful in 5s
This commit is contained in:
@@ -2,18 +2,18 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
function render(){
|
||||
global $prev, $root, $next, $file, $widget_type;
|
||||
function FEMRINGrender(){
|
||||
global $TRANSFEMRING_ROOT, $TRANSFEMRING_FILES, $TRANSFEMRING_WIDGET_TYPE, $transfem_prev, $transfem_next;
|
||||
?>
|
||||
<div class="transfem-ring" style="display: flex; justify-content: center; align-items: center; gap: 3.278%; max-width: 244px; image-rendering: pixelated">
|
||||
<a href="<?php echo $prev ?>" target="_top" style="width: 12.295%">
|
||||
<img width="30" height="32" src="<?php echo $file[$widget_type]["arrow_path"]; ?>" alt="previous site">
|
||||
<div class="transfem-ring" style="display: flex; justify-content: center; align-items: center; image-rendering: pixelated;">
|
||||
<a href="<?php echo $transfem_prev ?>" target="_top" style="height: 100%; width: 15.574%;">
|
||||
<img src="<?php echo $TRANSFEMRING_FILES[$TRANSFEMRING_WIDGET_TYPE]["arrow_path"]; ?>" alt="previous site" style="vertical-align: middle; height: 100%;">
|
||||
</a>
|
||||
<a href="<?php echo $root ?>" target="_top" style="width: 68.852%">
|
||||
<img width="168" height="61" src="<?php echo $file[$widget_type]["banner_path"]; ?>" alt="transfem webring">
|
||||
<a href="<?php echo $TRANSFEMRING_ROOT ?>" target="_top" style="height: 100%; width: 68.852%;">
|
||||
<img src="<?php echo $TRANSFEMRING_FILES[$TRANSFEMRING_WIDGET_TYPE]["banner_path"]; ?>" alt="transfem webring" style="vertical-align: middle; height: 100%;">
|
||||
</a>
|
||||
<a href="<?php echo $next ?>" target="_top" style="width: 12.295%">
|
||||
<img width="30" height="32" src="<?php echo $file[$widget_type]["arrow_path"]; ?>" alt="next site" style="transform: scaleX(-1);">
|
||||
<a href="<?php echo $transfem_next ?>" target="_top" style="height: 100%; width: 15.574%;">
|
||||
<img src="<?php echo $TRANSFEMRING_FILES[$TRANSFEMRING_WIDGET_TYPE]["arrow_path"]; ?>" alt="next site" style="transform: scaleX(-1); vertical-align: middle; height: 100%;">
|
||||
</a>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user