Location: PHPKode > projects > Community Learning Network > cln/modules/Tutorial/TutorialStepEditForm.html
<?php
/*
 * Tutorial Step Edit Form
 *
 * 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: TutorialStepEditForm.html,v 1.4 2004/06/16 18:52:31 cbooth7575 Exp $
 *
 */

// Set title
$GLOBALS['CLN_PAGE_TITLE'] = 'Edit Tutorial Step Title';

$cleanURL = cleanURL($GLOBALS['path']);;
$params = 'editKoId=' . $this->_super->koId . '&amp;editProcess=Content&amp;subprocess=EditStepDetails&tutorialStep=' . $_GET['tutorialStep'];
$fullURL = appendToURL($cleanURL, $params);

$stepNumber = $_GET['tutorialStep'];
$tutorialStepTitle = $this->steps[$stepNumber]['title'];
?>

<form name="tutorialEditStep" action="<?php echo $fullURL; ?>" method="post">

<div class="clnFormLine">
	<span class="clnFormLabel"><label for="tutorialStepTitle">Step Title:</label></span>
	<span class="clnFormElement"><input type="text" id="tutorialStepTitle" name="tutorialStepTitle" value="<?php echo $tutorialStepTitle; ?>" size="30" maxlength="225" /></span>
</div>

<br />
<span class="clnFormLine">
	<label class="clnFormLabel" for="editTutorialStep"></label>
	<input class="clnFormInput" type="submit" id="editTutorialStep" name="editTutorialStep" value="<?php echo ADMIN_BTN_CONTINUE; ?>" />	
	<input class="clnFormInput" type="submit" name="cancel" value="<?php echo ADMIN_BTN_CANCEL_RETURN; ?>" />
</span>

</form>
Return current item: Community Learning Network