aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-28 06:38:34 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-28 06:38:34 -0400
commite35b3ffb512dc6b1af2aacb7bd92d85854a42868 (patch)
treea371ed308cf40764721b28ae44db160b52007937
parent525041047efb6b8b2c912b3ed1d71089a809976e (diff)
downloadelgg-e35b3ffb512dc6b1af2aacb7bd92d85854a42868.tar.gz
elgg-e35b3ffb512dc6b1af2aacb7bd92d85854a42868.tar.bz2
Fixes #3407 added elgg-foot to plugin forms
-rw-r--r--mod/bookmarks/views/default/forms/bookmarks/save.php2
-rw-r--r--mod/developers/views/default/forms/developers/settings.php2
-rw-r--r--mod/externalpages/views/default/forms/expages/edit.php3
-rw-r--r--mod/file/views/default/forms/file/upload.php2
-rw-r--r--mod/groups/views/default/forms/discussion/reply/save.php16
-rw-r--r--mod/groups/views/default/forms/discussion/save.php2
-rw-r--r--mod/invitefriends/views/default/forms/invitefriends/invite.php2
-rw-r--r--mod/messages/views/default/forms/messages/process.php2
-rw-r--r--mod/messages/views/default/forms/messages/reply.php2
-rw-r--r--mod/messages/views/default/forms/messages/send.php2
-rw-r--r--mod/notifications/views/default/forms/notificationsettings/groupsave.php2
-rw-r--r--mod/pages/views/default/forms/pages/edit.php2
-rw-r--r--mod/reportedcontent/views/default/forms/reportedcontent/add.php2
-rw-r--r--mod/thewire/views/default/forms/thewire/add.php2
14 files changed, 24 insertions, 19 deletions
diff --git a/mod/bookmarks/views/default/forms/bookmarks/save.php b/mod/bookmarks/views/default/forms/bookmarks/save.php
index 886283202..7d064a55b 100644
--- a/mod/bookmarks/views/default/forms/bookmarks/save.php
+++ b/mod/bookmarks/views/default/forms/bookmarks/save.php
@@ -44,7 +44,7 @@ if ($categories) {
<label><?php echo elgg_echo('access'); ?></label><br />
<?php echo elgg_view('input/access', array('name' => 'access_id', 'value' => $access_id)); ?>
</div>
-<div>
+<div class="elgg-foot">
<?php
echo elgg_view('input/hidden', array('name' => 'container_guid', 'value' => $container_guid));
diff --git a/mod/developers/views/default/forms/developers/settings.php b/mod/developers/views/default/forms/developers/settings.php
index a442ca0ce..584f6af30 100644
--- a/mod/developers/views/default/forms/developers/settings.php
+++ b/mod/developers/views/default/forms/developers/settings.php
@@ -29,6 +29,6 @@ foreach ($vars['data'] as $name => $info) {
echo '</div>';
}
-echo '<div>';
+echo '<div class="elgg-foot">';
echo elgg_view('input/submit', array('value' => elgg_echo('save')));
echo '</div>';
diff --git a/mod/externalpages/views/default/forms/expages/edit.php b/mod/externalpages/views/default/forms/expages/edit.php
index b0060477e..ca83ea7df 100644
--- a/mod/externalpages/views/default/forms/expages/edit.php
+++ b/mod/externalpages/views/default/forms/expages/edit.php
@@ -49,9 +49,10 @@ echo <<<EOT
<label>$external_page_title</label>
$input_area
</div>
+<div class="elgg-foot">
$hidden_value
$hidden_type
$submit_input
-
+<div>
EOT;
diff --git a/mod/file/views/default/forms/file/upload.php b/mod/file/views/default/forms/file/upload.php
index 98b7d9f05..f637a419e 100644
--- a/mod/file/views/default/forms/file/upload.php
+++ b/mod/file/views/default/forms/file/upload.php
@@ -53,7 +53,7 @@ if ($categories) {
<label><?php echo elgg_echo('access'); ?></label><br />
<?php echo elgg_view('input/access', array('name' => 'access_id', 'value' => $access_id)); ?>
</div>
-<div>
+<div class="elgg-foot">
<?php
echo elgg_view('input/hidden', array('name' => 'container_guid', 'value' => $container_guid));
diff --git a/mod/groups/views/default/forms/discussion/reply/save.php b/mod/groups/views/default/forms/discussion/reply/save.php
index be258b8fe..40ea07303 100644
--- a/mod/groups/views/default/forms/discussion/reply/save.php
+++ b/mod/groups/views/default/forms/discussion/reply/save.php
@@ -1,6 +1,6 @@
<?php
/**
- * Discussion topic reply form bofy
+ * Discussion topic reply form body
*
* @uses $vars['entity'] A discussion topic object
* @uses $vars['inline'] Display a shortened form?
@@ -8,8 +8,12 @@
if (isset($vars['entity']) && elgg_is_logged_in()) {
- $inline = elgg_extract('inline', $vars, false);
+ echo elgg_view('input/hidden', array(
+ 'name' => 'entity_guid',
+ 'value' => $vars['entity']->getGUID(),
+ ));
+ $inline = elgg_extract('inline', $vars, false);
if ($inline) {
echo elgg_view('input/text', array('name' => 'group_topic_post'));
echo elgg_view('input/submit', array('value' => elgg_echo('reply')));
@@ -19,11 +23,11 @@ if (isset($vars['entity']) && elgg_is_logged_in()) {
<label><?php echo elgg_echo("reply"); ?></label>
<?php echo elgg_view('input/longtext', array('name' => 'group_topic_post')); ?>
</div>
+ <div class="elgg-foot">
<?php
echo elgg_view('input/submit', array('value' => elgg_echo('reply')));
+?>
+ </div>
+<?php
}
- echo elgg_view('input/hidden', array(
- 'name' => 'entity_guid',
- 'value' => $vars['entity']->getGUID(),
- ));
}
diff --git a/mod/groups/views/default/forms/discussion/save.php b/mod/groups/views/default/forms/discussion/save.php
index 5d50d5c91..a6582ede7 100644
--- a/mod/groups/views/default/forms/discussion/save.php
+++ b/mod/groups/views/default/forms/discussion/save.php
@@ -42,7 +42,7 @@ $guid = elgg_extract('guid', $vars, null);
<label><?php echo elgg_echo('access'); ?></label><br />
<?php echo elgg_view('input/access', array('name' => 'access_id', 'value' => $access_id)); ?>
</div>
-<div>
+<div class="elgg-foot">
<?php
echo elgg_view('input/hidden', array('name' => 'container_guid', 'value' => $container_guid));
diff --git a/mod/invitefriends/views/default/forms/invitefriends/invite.php b/mod/invitefriends/views/default/forms/invitefriends/invite.php
index 5af8b5da0..0d7f5d9f2 100644
--- a/mod/invitefriends/views/default/forms/invitefriends/invite.php
+++ b/mod/invitefriends/views/default/forms/invitefriends/invite.php
@@ -27,7 +27,7 @@ if (elgg_get_config('allow_registration')) {
</div>
HTML;
- echo '<div>';
+ echo '<div class="elgg-foot">';
echo elgg_view('input/submit', array('value' => elgg_echo('send')));
echo '</div>';
} else {
diff --git a/mod/messages/views/default/forms/messages/process.php b/mod/messages/views/default/forms/messages/process.php
index 01fe0f431..7e182b8f0 100644
--- a/mod/messages/views/default/forms/messages/process.php
+++ b/mod/messages/views/default/forms/messages/process.php
@@ -17,7 +17,7 @@ echo '<div class="messages-container">';
echo $messages;
echo '</div>';
-echo '<div class="messages-buttonbank">';
+echo '<div class="elgg-foot messages-buttonbank">';
echo elgg_view('input/submit', array(
'value' => elgg_echo('delete'),
'name' => 'delete',
diff --git a/mod/messages/views/default/forms/messages/reply.php b/mod/messages/views/default/forms/messages/reply.php
index e8a27f03e..9f3f4b57e 100644
--- a/mod/messages/views/default/forms/messages/reply.php
+++ b/mod/messages/views/default/forms/messages/reply.php
@@ -33,6 +33,6 @@ echo elgg_view('input/hidden', array(
));
?>
</div>
-<div>
+<div class="elgg-foot">
<?php echo elgg_view('input/submit', array('value' => elgg_echo('messages:send'))); ?>
</div> \ No newline at end of file
diff --git a/mod/messages/views/default/forms/messages/send.php b/mod/messages/views/default/forms/messages/send.php
index c0a095993..b0638e0c0 100644
--- a/mod/messages/views/default/forms/messages/send.php
+++ b/mod/messages/views/default/forms/messages/send.php
@@ -49,6 +49,6 @@ $recipient_drop_down = elgg_view('input/dropdown', array(
));
?>
</div>
-<div>
+<div class="elgg-foot">
<?php echo elgg_view('input/submit', array('value' => elgg_echo('messages:send'))); ?>
</div>
diff --git a/mod/notifications/views/default/forms/notificationsettings/groupsave.php b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
index 2bf0d9628..61b94ff8b 100644
--- a/mod/notifications/views/default/forms/notificationsettings/groupsave.php
+++ b/mod/notifications/views/default/forms/notificationsettings/groupsave.php
@@ -96,7 +96,7 @@ END;
</table>
<?php
}
- echo '<div class="mtm">';
+ echo '<div class="elgg-foot mtm">';
echo elgg_view('input/submit', array('value' => elgg_echo('save')));
echo '</div>';
diff --git a/mod/pages/views/default/forms/pages/edit.php b/mod/pages/views/default/forms/pages/edit.php
index 5186da11c..c29de1085 100644
--- a/mod/pages/views/default/forms/pages/edit.php
+++ b/mod/pages/views/default/forms/pages/edit.php
@@ -30,7 +30,7 @@ if (!empty($cats)) {
}
-echo '<div>';
+echo '<div class="elgg-foot">';
if ($vars['guid']) {
echo elgg_view('input/hidden', array(
'name' => 'page_guid',
diff --git a/mod/reportedcontent/views/default/forms/reportedcontent/add.php b/mod/reportedcontent/views/default/forms/reportedcontent/add.php
index 0b1716a35..f9986849d 100644
--- a/mod/reportedcontent/views/default/forms/reportedcontent/add.php
+++ b/mod/reportedcontent/views/default/forms/reportedcontent/add.php
@@ -48,7 +48,7 @@ $owner = elgg_get_logged_in_user_entity();
));
?>
</div>
-<div>
+<div class="elgg-foot">
<?php
echo elgg_view('input/submit', array(
'value' => elgg_echo('reportedcontent:report'),
diff --git a/mod/thewire/views/default/forms/thewire/add.php b/mod/thewire/views/default/forms/thewire/add.php
index 67585b0df..743294dcc 100644
--- a/mod/thewire/views/default/forms/thewire/add.php
+++ b/mod/thewire/views/default/forms/thewire/add.php
@@ -25,7 +25,7 @@ if ($post) {
<div id="thewire-characters-remaining">
<span>140</span> <?php echo elgg_echo('thewire:charleft'); ?>
</div>
-<div class="mts">
+<div class="elgg-foot mts">
<?php
echo elgg_view('input/submit', array(