summaryrefslogtreecommitdiff
path: root/edit.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2006-05-18 18:45:04 +0000
committerMax Kremmel <xing@synapse.plus.com>2006-05-18 18:45:04 +0000
commitefda346f5edfe85c636754b2a660e79af97c5140 (patch)
treef2d6d869f5ced91a2c2bf2253d56e2d0a45bf2ce /edit.php
parent31af7efe6ecc695bae858c89eb37633c6e65f915 (diff)
downloadfisheye-efda346f5edfe85c636754b2a660e79af97c5140.tar.gz
fisheye-efda346f5edfe85c636754b2a660e79af97c5140.tar.bz2
fisheye-efda346f5edfe85c636754b2a660e79af97c5140.zip
use <label> for radio button associated text
Diffstat (limited to 'edit.php')
-rw-r--r--edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/edit.php b/edit.php
index 54d1c25..ce73de2 100644
--- a/edit.php
+++ b/edit.php
@@ -1,6 +1,6 @@
<?php
/**
- * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.10 2006/04/11 17:52:09 squareing Exp $
+ * @version $Header: /cvsroot/bitweaver/_bit_fisheye/edit.php,v 1.11 2006/05/18 18:45:04 squareing Exp $
* @package fisheye
* @subpackage functions
*/
@@ -58,9 +58,9 @@ if( !empty($_REQUEST['savegallery']) ) {
$formHash['delete'] = TRUE;
$formHash['gallery_id'] = $gContent->mGalleryId;
$formHash['input'] = array(
- '<input name="recurse" value="" type="radio" checked="checked" />'.tra( 'Delete only images in this gallery. Sub-galleries will not be removed.' ),
- '<input name="recurse" value="all" type="radio" /> '.tra( 'Permanently delete all contents, even if they appear in other galleries.' ),
- );
+ '<label><input name="recurse" value="" type="radio" checked="checked" /> '.tra( 'Delete only images in this gallery. Sub-galleries will not be removed.' ).'</label>',
+ '<label><input name="recurse" value="all" type="radio" /> '.tra( 'Permanently delete all contents, even if they appear in other galleries.' ).'</label>',
+ );
$gBitSystem->confirmDialog( $formHash, array( 'warning' => 'Are you sure you want to delete the gallery '.$gContent->getTitle().'?', 'error' => 'This cannot be undone!' ) );
} else {
$userId = $gContent->mInfo['user_id'];