You are here

function brilliant_gallery_checklist_docheckbox in Brilliant Gallery 5.3

Same name and namespace in other branches
  1. 5.4 brilliant_gallery.module \brilliant_gallery_checklist_docheckbox()
  2. 6.4 brilliant_gallery.module \brilliant_gallery_checklist_docheckbox()
  3. 6 brilliant_gallery.module \brilliant_gallery_checklist_docheckbox()
  4. 6.2 brilliant_gallery.module \brilliant_gallery_checklist_docheckbox()
  5. 6.3 brilliant_gallery.module \brilliant_gallery_checklist_docheckbox()
  6. 7.2 OLD_brilliant_gallery.module \brilliant_gallery_checklist_docheckbox()
  7. 7 brilliant_gallery.module \brilliant_gallery_checklist_docheckbox()

File

./brilliant_gallery.module, line 133

Code

function brilliant_gallery_checklist_docheckbox($matches) {
  global $brilliant_gallery_checklist_matchcount;
  $brilliant_gallery_checklist_matchcount++;
  $output = <<<OUTPUT
       <div class="bgchecklist"> <div class="form-item"> <input name="{<span class="php-variable">$matches</span>[<span class="php-constant">1</span>]}" id="{<span class="php-variable">$matches</span>[<span class="php-constant">1</span>]}" value="1" class="form-brilliant_gallery_checklist-checkbox" type="checkbox"> <label class="option"> {<span class="php-variable">$matches</span>[<span class="php-constant">2</span>]} </label> </div></div>
OUTPUT;
  return $output;
}