Add device username and password.

This commit is contained in:
Mark Crane
2015-04-12 00:35:11 +00:00
parent bc235e3723
commit 1bc39c31c4
2 changed files with 40 additions and 0 deletions

View File

@@ -900,6 +900,24 @@ $text['label-device_template']['pl'] = "Szablon";
$text['label-device_template']['uk'] = "";
$text['label-device_template']['sv-se'] = "Mall";
$text['label-device_username']['en-us'] = "Username";
$text['label-device_username']['es-cl'] = "Nombre de Usuario";
$text['label-device_username']['pt-pt'] = "Nome de Utilizador";
$text['label-device_username']['fr-fr'] = "Nom d'utilisateur";
$text['label-device_username']['pt-br'] = "Nome de Usuário";
$text['label-device_username']['pl'] = "Użytkownika";
$text['label-device_username']['uk'] = "Ім’я користувача";
$text['label-device_username']['sv-se'] = "Användarnamn";
$text['label-device_password']['en-us'] = "Password";
$text['label-device_password']['es-cl'] = "Contraseña";
$text['label-device_password']['pt-pt'] = "Palavra-Passe";
$text['label-device_password']['fr-fr'] = "Mot de Passe";
$text['label-device_password']['pt-br'] = "Palavra-Passe";
$text['label-device_password']['pl'] = "Hasło";
$text['label-device_password']['uk'] = "Пароль";
$text['label-device_password']['sv-se'] = "Lösenord";
$text['label-device_setting_value']['en-us'] = "Value";
$text['label-device_setting_value']['es-cl'] = "Valor";
$text['label-device_setting_value']['pt-pt'] = "Valor";

View File

@@ -1027,6 +1027,28 @@ require_once "resources/require.php";
echo " </tr>\n";
}
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_username']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_username' maxlength='255' value=\"$device_username\">\n";
echo "<br />\n";
echo $text['description-device_username']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_password']."\n";
echo "</td>\n";
echo "<td class='vtable' align='left'>\n";
echo " <input class='formfld' type='text' name='device_password' maxlength='255' value=\"$device_password\">\n";
echo "<br />\n";
echo $text['description-device_password']."\n";
echo "</td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
echo " ".$text['label-device_vendor']."\n";