aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/option.php
blob: 2955f1cb95b87d8c46204ba72e16561a3420b6d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

$defaults = array(

);

$overrides = array(
	'tag' => 'option',
);

$args = array_merge($defaults, $vars, $overrides);

if (!isset($args['body'])) {
	$args['body'] = $args['value'];
}

if (isset($args['body'])) {
	$args['body'] = htmlentities($args['body'], ENT_QUOTES, 'UTF-8');
}

echo elgg_view('html/tag', $args);