Add needed language strings to Messages.

This commit is contained in:
Nate
2018-12-20 18:42:10 -07:00
parent 97a9376ab1
commit 4e81a01c6c
4 changed files with 234 additions and 78 deletions
+12 -12
View File
@@ -93,10 +93,10 @@
echo " <form id='message_new'>\n";
echo " <input type='hidden' name='message_type' value='sms'>\n";
echo " <span id='message_new_container'>\n";
echo " <b>New Message</b><br /><br />\n";
echo " <b>".$text['label-new_message']."</b><br /><br />\n";
echo " <table width='100%'>\n";
echo " <tr>\n";
echo " <td class='vncell'>From</td>\n";
echo " <td class='vncell'>".$text['label-message_from']."</td>\n";
echo " <td class='vtable'>\n";
if (is_array($destinations) && sizeof($destinations) != 0) {
echo " <select class='formfld' name='message_from' id='message_new_from'>\n";
@@ -111,20 +111,20 @@
echo " </td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td class='vncell'>To</td>\n";
echo " <td class='vncell'>".$text['label-message_to']."</td>\n";
echo " <td class='vtable'>\n";
echo " <input type='text' class='formfld' name='message_to' id='message_new_to'>\n";
echo " </td>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td class='vncell'>Message</td>\n";
echo " <td class='vncell'>".$text['label-message_text']."</td>\n";
echo " <td class='vtable'>\n";
echo " <textarea class='formfld' style='width: 100%; height: 80px;' name='message_text' name='message_new_text'></textarea>\n";
echo " </td>\n";
echo " </tr>\n";
/*
echo " <tr>\n";
echo " <td class='vncell'>Media</td>\n";
echo " <td class='vncell'>".$text['label-message_media']."</td>\n";
echo " <td class='vtable'>\n";
echo " <input type='file' class='formfld' name='message_media' id='message_new_media'>\n";
echo " </td>\n";
@@ -132,9 +132,9 @@
*/
echo " </table>\n";
echo " <center>\n";
echo " <input type='reset' class='btn' style='float: left; margin-top: 15px;' value='CLEAR' onclick=\"$('#message_new').reset();\">\n";
echo " <input type='button' class='btn' style='margin-top: 15px;' value='CLOSE' onclick=\"$('#message_new_layer').fadeOut(200);\">\n";
echo " <input type='submit' class='btn' style='float: right; margin-top: 15px;' value='SEND' xtitle='Ctrl + Enter'>\n";
echo " <input type='reset' class='btn' style='float: left; margin-top: 15px;' value='".$text['button-clear']."' onclick=\"$('#message_new').reset();\">\n";
echo " <input type='button' class='btn' style='margin-top: 15px;' value='".$text['button-close']."' onclick=\"$('#message_new_layer').fadeOut(200);\">\n";
echo " <input type='submit' class='btn' style='float: right; margin-top: 15px;' value='".$text['button-send']."'>\n";
echo " </center>\n";
echo " </span>\n";
echo " </form>\n";
@@ -149,7 +149,7 @@
echo " <td width='50%' align='left' nowrap='nowrap'><b>".$text['title-messages']."</b><br><br></td>\n";
echo " <form method='get' action=''>\n";
echo " <td width='50%' style='vertical-align: top; text-align: right; white-space: nowrap;'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['button-new-message']."' onclick=\"$('#message_new_layer').fadeIn(200); $('#message_new_to').focus();\" value='".$text['button-new-message']."'>\n";
echo " <input type='button' class='btn' name='' alt='".$text['label-new_message']."' onclick=\"$('#message_new_layer').fadeIn(200); $('#message_new_to').focus();\" value='".$text['label-new_message']."'>\n";
/*
if (permission_exists('message_all')) {
if ($_GET['show'] == 'all') {
@@ -160,7 +160,7 @@
}
}
*/
echo " <a href='messages_log.php'><input type='button' class='btn' alt=\"".$text['button-log']."\" value=\"".$text['button-log']."\"></a>\n";
echo " <a href='messages_log.php'><input type='button' class='btn' alt=\"".$text['label-log']."\" value=\"".$text['label-log']."\"></a>\n";
/*
echo " <input type='text' class='txt' style='width: 150px; margin-left: 15px;' name='search' id='search' value='".escape($search)."'>\n";
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>\n";
@@ -172,8 +172,8 @@
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <th width='25%'>Contacts</th>\n";
echo " <th width='75%'>Messages</th>\n";
echo " <th width='25%'>".$text['label-contacts']."</th>\n";
echo " <th width='75%'>".$text['label-messages']."</th>\n";
echo " </tr>\n";
echo " <tr>\n";
echo " <td id='contacts' valign='top'>...</td>\n";