Location: PHPKode > projects > Community Learning Network > cln/modules/Tutorial/TutorialDeleteStep.html
<?php
/*
 * Tutorial Delete Step Confirmation Interface
 *
 * Copyright (c) 2003-4 St. Christopher House
 *
 * Developed by The Working Group Inc.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.  
 *
 * @version $Id: TutorialDeleteStep.html,v 1.1 2004/10/22 04:34:02 cbooth7575 Exp $
 *
 */

// set title
// should support multiple languages
$GLOBALS['CLN_PAGE_TITLE'] = 'Step Delete - Confirmation';

?>

<form name="DeleteStepConfirmation" action="<?php echo appendToURL(cleanURL($GLOBALS['path']), 'editKoId=' . $this->_super->koId . '&amp;editProcess=Content&amp;subprocess=DeleteStep'); ?>" method="post">

<p>You have selected to delete the step called <b><?php echo $this->steps[$_GET['tutorialStep']]['title']; ?></b>. This cannot be undone.</p>

<p>Are you sure you want to delete this step from your tutorial?</p>

<input type="hidden" id="deleteStepId" name="deleteStepId" value="<?php echo $_GET['tutorialStep']; ?>" />

<span class="clnFormLine">
	<label class="clnFormLabel"  for="deleteStepConfirm"></label>
	<input class="clnFormInput" type="submit" id="deleteStepConfirm" name="deleteStepConfirm" value="Yes, delete this step" />
	<input class="clnFormInput" type="submit" name="deleteStepCancel" value="No, don't delete it" />
</span>

</form>
Return current item: Community Learning Network