aboutsummaryrefslogtreecommitdiff
path: root/views/installation/input/button.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-12 12:02:00 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-12 12:02:00 +0000
commit1a6bc7aaf9b255eb8dabcc102d4f516e050cd4c0 (patch)
tree4741f57da8e0634c9b236faa455bb2a66467eac6 /views/installation/input/button.php
parentfc7f5ac1455f1297de2122391c4052565bf6b591 (diff)
downloadelgg-1a6bc7aaf9b255eb8dabcc102d4f516e050cd4c0.tar.gz
elgg-1a6bc7aaf9b255eb8dabcc102d4f516e050cd4c0.tar.bz2
Fixes #2522 - disabling form submission after first submission
git-svn-id: http://code.elgg.org/elgg/trunk@7065 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/installation/input/button.php')
-rw-r--r--views/installation/input/button.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/installation/input/button.php b/views/installation/input/button.php
index 2c36841df..cc6a236c0 100644
--- a/views/installation/input/button.php
+++ b/views/installation/input/button.php
@@ -50,4 +50,4 @@ if (strpos($src,$CONFIG->wwwroot)===false) {
$src = "";
}
?>
-<input type="<?php echo $type; ?>" class="<?php echo $type; ?>_button" <?php echo $vars['js']; ?> value="<?php echo $value; ?>" src="<?php echo $src; ?>" class="<?php echo $class; ?>" /> \ No newline at end of file
+<input type="<?php echo $type; ?>" <?php if (isset($vars['internalid'])) echo "id=\"{$vars['internalid']}\"";?> <?php echo $vars['js']; ?> value="<?php echo $value; ?>" src="<?php echo $src; ?>" class="<?php echo $class; ?>" /> \ No newline at end of file