From 059badecbc0be895c6165430e5096a9ab653027e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 15 Mar 2014 14:56:18 -0300 Subject: Squashed 'mod/livestream/' content from commit 89d1f38 git-subtree-dir: mod/livestream git-subtree-split: 89d1f3877f241f34e3ed3baad3c9ee9a4fee79e7 --- views/default/new.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100755 views/default/new.php (limited to 'views/default/new.php') diff --git a/views/default/new.php b/views/default/new.php new file mode 100755 index 000000000..e318f70fd --- /dev/null +++ b/views/default/new.php @@ -0,0 +1,27 @@ +".elgg_view('input/text', array('internalname' => 'title', 'value' => ''))."
"; + $form_body.= elgg_echo("livestream:type")."
".elgg_view('input/radio', array('internalname' => 'mediatype', 'value' => '', 'options' => livestream_gettypes()))."
"; + $form_body.= elgg_echo("livestream:src").elgg_view('input/text', array('internalname' => 'src', 'value' => ''))."
"; + $form_body.= elgg_echo("livestream:width").elgg_view('input/text', array('internalname' => 'width', 'value' => '80'))."
"; + $form_body.= elgg_echo("livestream:height").elgg_view('input/text', array('internalname' => 'height', 'value' => '50'))."
"; + $form_body.= elgg_view( + 'input/hidden', + array( + 'internalname' => 'container_guid', + 'options_values' => $options, + 'value' => $vars['entity']->container_id?(int)$vars['entity']->container_id : page_owner() + ) + ); + $form_body.= ""; + echo elgg_view('input/form', array('body' => $form_body, 'action' => $vars['url']."action/livestream/new")); + + //$object = new ElggObject(); +?> -- cgit v1.2.3