(tentative) addition to transfem webring, this includes a write to the original javascript script to php (currently using local information for performance reasons). Have to update ID when properly accepted into the webring!
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:
20
includes/transfemwebring_view.inc.php
Normal file
20
includes/transfemwebring_view.inc.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
function render(){
|
||||
global $prev, $root, $next, $file, $widget_type;
|
||||
?>
|
||||
<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">
|
||||
</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>
|
||||
<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>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
Reference in New Issue
Block a user