aboutsummaryrefslogtreecommitdiff
path: root/views/default/delete.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:56:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:56:18 -0300
commit059badecbc0be895c6165430e5096a9ab653027e (patch)
tree6fd90dce93b43371366c4792622af5f73cb55075 /views/default/delete.php
downloadelgg-059badecbc0be895c6165430e5096a9ab653027e.tar.gz
elgg-059badecbc0be895c6165430e5096a9ab653027e.tar.bz2
Squashed 'mod/livestream/' content from commit 89d1f38
git-subtree-dir: mod/livestream git-subtree-split: 89d1f3877f241f34e3ed3baad3c9ee9a4fee79e7
Diffstat (limited to 'views/default/delete.php')
-rwxr-xr-xviews/default/delete.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/views/default/delete.php b/views/default/delete.php
new file mode 100755
index 000000000..b6121e9ce
--- /dev/null
+++ b/views/default/delete.php
@@ -0,0 +1,37 @@
+<?php
+ /**
+ * Elgg livestream plugin
+ *
+ * @package LiveStream
+ */
+$streamid = $vars['streamid'];
+$item = livestream_get($streamid);
+
+?>
+<div class="contentWrapper">
+<form action="<?php echo $vars['url']; ?>action/livestream/delete" enctype="multipart/form-data" method="post">
+<?php echo elgg_view('input/securitytoken'); ?>
+<p>
+ <label>
+ <?php echo elgg_echo("livestream:delete:ask"); ?><br />
+ </label>
+</p>
+
+
+<?php
+ if ($item->guid){
+ echo elgg_view(
+ 'input/hidden',
+ array(
+ 'internalname' => 'stream_id',
+ 'options_values' => $options,
+ 'value' => $item->guid
+ )
+ );
+ }
+?>
+
+<p><input type="submit" value="<?php echo elgg_echo('livestream:delete'); ?>" /></p>
+
+</form>
+</div>