From 83f54580699f2eda1be0c04f281120cb15e1c6f9 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 4 Jul 2010 20:06:24 +0000 Subject: minor code clean-ups --- views/default/widgets/feed_reader/edit.php | 9 +++++++-- views/default/widgets/feed_reader/view.php | 11 +++++++++-- 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'views') diff --git a/views/default/widgets/feed_reader/edit.php b/views/default/widgets/feed_reader/edit.php index 77355bfa4..a721f0e8a 100644 --- a/views/default/widgets/feed_reader/edit.php +++ b/views/default/widgets/feed_reader/edit.php @@ -41,7 +41,10 @@

'params[excerpt]', 'js' => 'id="params[excerpt]"', 'value' => $excerpt )); +// used a hidden input field so that something is always sent unlike a checkbox +echo elgg_view('input/hidden', array('internalname' => 'params[excerpt]', + 'js' => 'id="params[excerpt]"', + 'value' => $excerpt )); echo " 'params[post_date]', 'js' => 'id="params[post_date]"', 'value' => $post_date )); +echo elgg_view('input/hidden', array('internalname' => 'params[post_date]', + 'js' => 'id="params[post_date]"', + 'value' => $post_date )); echo " ' . strip_tags($item->get_description(true), $allow_tags) . ''; +?> +

+ get_description(true), $allow_tags); ?> +
+ -
Posted on get_date('j F Y | g:i a'); ?>
+
+ + get_date('j F Y | g:i a'); ?> +
-- cgit v1.2.3