You are here

function fckeditor_admin_profile_delete_form in FCKeditor - WYSIWYG HTML editor 6.2

1 string reference to 'fckeditor_admin_profile_delete_form'
fckeditor_menu in ./fckeditor.module
Implementation of hook_menu().

File

./fckeditor.admin.inc, line 1288
FCKeditor - The text editor for Internet - http://www.fckeditor.net Copyright (C) 2003-2008 Frederico Caldeira Knabben

Code

function fckeditor_admin_profile_delete_form($form_state, $profile) {
  $form = array();
  $form['_profile'] = array(
    '#type' => 'value',
    '#value' => $profile,
  );
  $form['question'] = array(
    '#type' => 'item',
    '#value' => t('Are you sure that you want to delete the FCKeditor profile %profile?', array(
      '%profile' => $profile->name,
    )),
  );
  $form['delete'] = array(
    '#type' => 'submit',
    '#id' => 'delete',
    '#value' => t('Delete'),
  );
  $form['back'] = array(
    '#type' => 'submit',
    '#id' => 'back',
    '#value' => t('Cancel'),
  );
  return $form;
}