From 57f9a625f544bef7358eeabe2e775f74a4246212 Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Sat, 4 Feb 2012 10:18:02 -0500 Subject: Allow a target parameter to be passed as well. --- views/randimg.html.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'views/randimg.html.php') diff --git a/views/randimg.html.php b/views/randimg.html.php index d0fd90b..06057e9 100644 --- a/views/randimg.html.php +++ b/views/randimg.html.php @@ -33,9 +33,12 @@ if ( ! empty($item) ) { $height = Input::instance()->get("height"); $height = $height ? "height: {$height}px;" : ""; + $target = Input::instance()->get("target"); + $target = $target ? "target='$target'" : ""; + echo << - + $img_title -- cgit v1.2.3