diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:56:18 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:56:18 -0300 |
commit | a7be81c3f81c807d43ed32965ee7ac11ebe71895 (patch) | |
tree | 71751c05eb80ae6e348790f3e46652c9dfe0be7d /mod/livestream/views/default/delete.php | |
parent | f3beeb45f9f192aee6ede0c9b6f0fa8b8d82a9ef (diff) | |
parent | 059badecbc0be895c6165430e5096a9ab653027e (diff) | |
download | elgg-a7be81c3f81c807d43ed32965ee7ac11ebe71895.tar.gz elgg-a7be81c3f81c807d43ed32965ee7ac11ebe71895.tar.bz2 |
Merge commit '059badecbc0be895c6165430e5096a9ab653027e' as 'mod/livestream'
Diffstat (limited to 'mod/livestream/views/default/delete.php')
-rwxr-xr-x | mod/livestream/views/default/delete.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/mod/livestream/views/default/delete.php b/mod/livestream/views/default/delete.php new file mode 100755 index 000000000..b6121e9ce --- /dev/null +++ b/mod/livestream/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> |