aboutsummaryrefslogtreecommitdiff
path: root/views/installation/input
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
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')
-rw-r--r--views/installation/input/button.php2
-rw-r--r--views/installation/input/form.php2
2 files changed, 2 insertions, 2 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
diff --git a/views/installation/input/form.php b/views/installation/input/form.php
index 35e718adb..d17a913f4 100644
--- a/views/installation/input/form.php
+++ b/views/installation/input/form.php
@@ -47,7 +47,7 @@ if (!isset($vars['disable_security']) || $vars['disable_security'] != true) {
$security_header = elgg_view('input/securitytoken');
}
?>
-<form <?php if ($id) { ?>id="<?php echo $id; ?>" <?php } ?> <?php if ($name) { ?>name="<?php echo $name; ?>" <?php } ?> action="<?php echo $action; ?>" method="<?php echo $method; ?>" <?php if ($enctype!="") echo "enctype=\"$enctype\""; ?>>
+<form <?php if ($id) { ?>id="<?php echo $id; ?>" <?php } ?> <?php if ($name) { ?>name="<?php echo $name; ?>" <?php } ?> action="<?php echo $action; ?>" method="<?php echo $method; ?>" <?php if ($enctype!="") echo "enctype=\"$enctype\""; ?> <?php echo $vars['js']; ?>>
<?php echo $security_header; ?>
<?php echo $body; ?>
</form> \ No newline at end of file