You are here

function demo_manage_submit in Demonstration site (Sandbox / Snapshot) 5

File

./demo.admin.inc, line 96
Demonstration Site administrative pages

Code

function demo_manage_submit($form_id, $values) {
  switch ($values['op']) {
    case t('Use for cron runs'):
      demo_set_default($values['filename']);
      break;
    case t('Delete'):
      return 'admin/build/demo/delete/' . $values['filename'];
  }
}