Jelajahi Sumber

User Dashboard: Tweak user settings link and voicemail button.

reliberate 9 tahun lalu
induk
melakukan
8b4ed3d39d
2 mengubah file dengan 12 tambahan dan 12 penghapusan
  1. 10 10
      core/user_settings/app_languages.php
  2. 2 2
      core/user_settings/user_dashboard.php

+ 10 - 10
core/user_settings/app_languages.php

@@ -627,16 +627,16 @@ $text['check-available-ondemand-status']['ro'] = "Disponibil (la cerere)";
 $text['check-available-ondemand-status']['fa'] = "";
 $text['check-available-ondemand-status']['ar-eg'] = "(متاح ( تحت الطلب";
 
-$text['button-voicemail_messages']['en-us'] = "Voicemail Messages";
-$text['button-voicemail_messages']['es-cl'] = "Mensajes de correo de voz";
-$text['button-voicemail_messages']['pt-pt'] = "Mensagens de Correio de Voz";
-$text['button-voicemail_messages']['fr-fr'] = "Messages vocaux";
-$text['button-voicemail_messages']['pt-br'] = "Mensagem de correio de voz";
-$text['button-voicemail_messages']['pl'] = "Wiadomości poczty głosowej";
-$text['button-voicemail_messages']['sv-se'] = "Röstbrevlåda Meddelanden";
-$text['button-voicemail_messages']['uk'] = "Повідомлення голосової пошти";
-$text['button-voicemail_messages']['de-at'] = "Mailbox Nachrichten";
-$text['button-voicemail_messages']['he'] = "הודעות תא קולי";
+$text['button-voicemail']['en-us'] = "Voicemail";
+$text['button-voicemail']['es-cl'] = "Correo de Voz";
+$text['button-voicemail']['pt-pt'] = "Correio de Voz";
+$text['button-voicemail']['fr-fr'] = "Messagerie Vocale";
+$text['button-voicemail']['pt-br'] = "Correio de voz";
+$text['button-voicemail']['pl'] = "Poczta głosowa";
+$text['button-voicemail']['sv-se'] = "Röstbrevlåda";
+$text['button-voicemail']['uk'] = "Голосова пошта";
+$text['button-voicemail']['de-at'] = "Mailbox";
+$text['button-voicemail']['he'] = "תא קולי";
 
 $text['button-view_all']['en-us'] = "View All";
 $text['button-view_all']['es-cl'] = "Mostrar Todos";

+ 2 - 2
core/user_settings/user_dashboard.php

@@ -73,9 +73,9 @@
 	echo "			".$text['description-user_dashboard'];
 	echo "		</td>\n";
 	echo "		<td valign='top' style='text-align: right; white-space: nowrap;'>\n";
-	echo "			<a href='".PROJECT_PATH."/core/user_settings/user_edit.php'>".$_SESSION["username"]."</a>";
+	echo "			<input type='button' class='btn' value='".$_SESSION["username"]."' onclick=\"document.location.href='".PROJECT_PATH."/core/user_settings/user_edit.php';\">";
 	if (file_exists($_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."/app/voicemails/voicemail_messages.php")) {
-		echo "		<input type='button' class='btn' value='".$text['button-voicemail_messages']."' style='margin-left: 15px;' onclick=\"document.location.href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php';\">";
+		echo "		<input type='button' class='btn' value='".$text['button-voicemail']."' onclick=\"document.location.href='".PROJECT_PATH."/app/voicemails/voicemail_messages.php';\">";
 	}
 	echo "		</td>\n";
 	echo "	</tr>\n";