Elgg  Version 1.9
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']; ?>" />
if(isset($vars['id'])) $class
Definition: ajax_loader.php:19
elgg echo
Translates a string.
Definition: languages.js:43
if(!$collection_name) $id
Definition: add.php:17
list style type
Definition: admin.php:724
elgg table input[type=checkbox]
Definition: admin.php:392
$vars
Definition: checkbox.php:34