aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-22 22:35:45 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-22 22:35:45 +0000
commite22a24721de8750f5b61250a38be0d87f33e2c44 (patch)
tree5063de36f1350792d5bbb126e37cfb52b0135833 /mod/messages/views
parent243215ec60e151099b366251be521b12b7c1e02b (diff)
downloadelgg-e22a24721de8750f5b61250a38be0d87f33e2c44.tar.gz
elgg-e22a24721de8750f5b61250a38be0d87f33e2c44.tar.bz2
adding elgg namespace to button css classes
git-svn-id: http://code.elgg.org/elgg/trunk@7704 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messages/views')
-rw-r--r--mod/messages/views/default/messages/forms/reply.php4
-rw-r--r--mod/messages/views/default/messages/forms/send.php6
-rw-r--r--mod/messages/views/default/messages/forms/view.php2
-rw-r--r--mod/messages/views/default/messages/messages.php3
4 files changed, 10 insertions, 5 deletions
diff --git a/mod/messages/views/default/messages/forms/reply.php b/mod/messages/views/default/messages/forms/reply.php
index 0b78f4db3..bdf3d1283 100644
--- a/mod/messages/views/default/messages/forms/reply.php
+++ b/mod/messages/views/default/messages/forms/reply.php
@@ -26,9 +26,9 @@
echo "<input type='hidden' name='reply' value='" . $vars['entity']->getGUID() . "' />";
//pass along the owner of the message being replied to
echo "<input type='hidden' name='send_to' value='BAAA" . $vars['entity']->fromId . "' />";
-
+
+ echo elgg_view('input/submit', array('value' => elgg_echo("messages:fly")));
?>
- <input type="submit" class="submit-button" value="<?php echo elgg_echo("messages:fly"); ?>" />
</p>
</form>
diff --git a/mod/messages/views/default/messages/forms/send.php b/mod/messages/views/default/messages/forms/send.php
index 9a83ce103..7707dab82 100644
--- a/mod/messages/views/default/messages/forms/send.php
+++ b/mod/messages/views/default/messages/forms/send.php
@@ -66,5 +66,9 @@ unset($_SESSION['msg_contents']);
));
?>
</p>
- <p><input type="submit" class="submit-button" value="<?php echo elgg_echo("messages:fly"); ?>" /></p>
+ <p>
+ <?php
+ echo elgg_view('input/submit', array('value' => elgg_echo("messages:fly")));
+ ?>
+ </p>
</form>
diff --git a/mod/messages/views/default/messages/forms/view.php b/mod/messages/views/default/messages/forms/view.php
index 272ac91c6..5b9263382 100644
--- a/mod/messages/views/default/messages/forms/view.php
+++ b/mod/messages/views/default/messages/forms/view.php
@@ -16,7 +16,7 @@ if($vars['page_view'] == "inbox"){
$body .= '<input type="submit" name="submit" value="'.elgg_echo('messages:markread').'" /> ';
}
-$body .= '<input class="cancel-button" type="button" onclick="javascript:$(\'input[type=checkbox]\').click();" value="'.elgg_echo('messages:toggle').'" />';
+$body .= '<input class="elgg-cancel-button" type="button" onclick="javascript:$(\'input[type=checkbox]\').click();" value="'.elgg_echo('messages:toggle').'" />';
$body .= '</div>';
echo elgg_view('input/form',array('body' => $body, 'action' => 'action/messages/delete', 'method' => 'post', 'internalid' => 'messages_list_form')); \ No newline at end of file
diff --git a/mod/messages/views/default/messages/messages.php b/mod/messages/views/default/messages/messages.php
index 0379bef35..4567256b6 100644
--- a/mod/messages/views/default/messages/messages.php
+++ b/mod/messages/views/default/messages/messages.php
@@ -107,8 +107,9 @@ if (isloggedin())
echo "<input type='hidden' name='reply' value='" . $vars['entity']->getGUID() . "' />";
//pass along the owner of the message being replied to
echo "<input type='hidden' name='send_to' value='" . $vars['entity']->fromId . "' />";
+
+ echo elgg_view('input/submit', array('value' => elgg_echo("messages:fly")));
?>
- <input type="submit" class="submit-button" value="<?php echo elgg_echo("messages:fly"); ?>" />
</form>
</div>