You are here

function _photos_del_checkbox in Album Photos 6.2

Same name and namespace in other branches
  1. 7.3 inc/photos.edit.inc \_photos_del_checkbox()
2 calls to _photos_del_checkbox()
photos_editlist in inc/photos.edit.inc
theme_photos_editlist_x in inc/photos.edit.inc

File

inc/photos.edit.inc, line 337

Code

function _photos_del_checkbox($t = 0, $title = false) {
  if ($t) {
    return ($t == 1 ? t('Delete') : $t) . '<input type="checkbox" id="del_check"/>';
  }
  else {
    return array(
      '#title' => $title,
      '#type' => 'checkbox',
      '#prefix' => '<div class="edit-del-all">',
      '#suffix' => '</div>',
    );
  }
}