diff options
author | Malf Furious <m@lfurio.us> | 2018-09-16 16:34:19 -0400 |
---|---|---|
committer | Malf Furious <m@lfurio.us> | 2018-09-16 16:34:19 -0400 |
commit | 4e8b886e21a893d83ffcf8c2924e318bea5b6e2c (patch) | |
tree | 154a76aef68ac67ee54a77e9a94c492055284b1f /app/view | |
parent | 6b49c22dde73d3770f0f49f075ec86ff28919674 (diff) | |
download | scrott-4e8b886e21a893d83ffcf8c2924e318bea5b6e2c.tar.gz scrott-4e8b886e21a893d83ffcf8c2924e318bea5b6e2c.zip |
Add object background preview widget
Similar to objHeadCircle() but for displaying a bg img on page, rather
than as the actual background.
Diffstat (limited to 'app/view')
-rw-r--r-- | app/view/datalsts.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/view/datalsts.php b/app/view/datalsts.php index 82a0f1f..16df7d7 100644 --- a/app/view/datalsts.php +++ b/app/view/datalsts.php @@ -23,6 +23,12 @@ require_once "class/obj.class.php"; <img src="<?=$src?>" alt="<?=$alt?>" title="<?=$alt?>" class="img-circle" height="<?=$height?>" /> <?php } ?> +<?php function objBgPrev(\obj $obj, int $height) : void { ?> + + <?php require "model/objBgPrev.php"; ?> + <img src="<?=$src?>" alt="<?=$alt?>" title="<?=$alt?>" class="img-rounded" height="<?=$height?>" /> + +<?php } ?> <?php function gpListItem(\obj $obj) : void { ?> <?php require "model/gpListItem.php"; ?> |