Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
checkbox.php
Go to the documentation of this file.
1 <?php
12 if (isset($vars['class'])) {
13  $id = "class=\"{$vars['class']}\"";
14 } else {
15  $id = '';
16 }
17 
18 if (!isset($vars['value'])) {
19  $vars['value'] = $vars['name'];
20 }
21 
22 ?>
23 
24 <input type="checkbox" <?php echo $class; ?> name="<?php echo $vars['name']; ?>" value="<?php echo $vars['value']; ?>" />
$site name
if(isset($vars['id'])) $class
Definition: ajax_loader.php:19
$vars['class']
Definition: checkbox.php:24
elgg river item input[type=text]
if(!$collection_name) $id
Definition: add.php:17