<?php
/*
* CLN Admin 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: SelectBlock.html,v 1.12 2004/11/12 18:18:21 darcy Exp $
*
*/
// set title
// should support multiple languages
$GLOBALS['CLN_PAGE_TITLE'] = 'Delete a block';
?>
<form name="SelectBlock" action="<?php echo appendToURL(cleanURL($GLOBALS['path']), 'editKoId=' . $this->_super->koId . '&editProcess=Content&subprocess=DeleteBlock'); ?>" method="post">
<?php echo ADMIN_PAGE_SELECT_BLOCK_INSTRUCTIONS; ?>
<?php
$kos = $this->getBlockIds();
?>
<table border="0" cellpadding="2">
<tr>
<td><b>Select:</b></td>
<td><b>Block #</b></td>
<td><b>Module Type</b></td>
<td><b>Title</b></td>
</tr>
<?php
foreach($kos as $koId) {
$ko = & new $GLOBALS['classes']['ko']['classname']($koId);
$ko->loadPartObject(0);
echo "<tr>\n";
echo '<td><input type="radio" id="koId' . $ko->koId . '" name="addKoId" value="' . $ko->koId . '" /></td>';
echo "<td>" . $ko->koId . "</td>\n";
echo "<td>" . $ko->modName . "</td>\n";
echo "<td>" . $ko->currentPart['title'] . "</td>\n";
echo "</tr>\n\n";
}
echo "</table>\n";
?>
<span class="clnFormLine">
<label class="clnFormLabel" for="selectBlock"></label>
<input class="clnFormInput" type="submit" id="selectBlock" name="selectBlock" value="<?php echo ADMIN_BTN_SELECT_THIS_BLOCK; ?>" />
<input class="clnFormInput" type="submit" name="ReturnToPanel" value="<?php echo ADMIN_BTN_CANCEL_RETURN; ?>" />
</span>
</form>