aboutsummaryrefslogtreecommitdiff
path: root/mod/livestream/views/default/delete.php
blob: b6121e9ce462fbf34a764aea9b3f59d3d854c7c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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>