blob: 2d3cfa9769cd14d387bfb1466455cd8cb1bde77f (
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
38
39
40
|
<?php
/**
* Elgg GUID Tool
*
* @package ElggGUIDTool
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
* @author Curverider Ltd
* @copyright Curverider Ltd 2008-2009
* @link http://elgg.com/
*/
$formats = $vars['formats'];
if (!$formats)
$formats = array('opendd');
$format = get_input('format');
if ($format)
{
forward(get_input('forward_url') . $format . "/");
exit;
}
?>
<div class="contentWrapper">
<form method="get">
<select name="format">
<?php
foreach ($formats as $format)
{
?>
<option value="<?php echo $format; ?>"><?php echo $format; ?></option>
<?php
}
?>
</select>
<input type="submit" class="submit_button" value="<?php echo elgg_echo("go"); ?>" />
</form>
</div>
|