diff options
Diffstat (limited to 'mod/messages')
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> |