Elgg  Version 2.3
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']; ?>" />
$class
Definition: field.php:20
list style type
Definition: admin.css.php:808
elgg echo
Translates a string.
Definition: languages.js:48
$vars['class']
Definition: checkbox.php:24
$site name
elgg table input[type=checkbox]
Definition: admin.css.php:404
if(!$collection_name) $id
Definition: add.php:17