diff options
author | Robin Appelman <icewind1991@gmail.com> | 2011-06-20 14:33:02 +0200 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2011-06-20 14:33:31 +0200 |
commit | 76b12c4ae0ea9941b030f0a13786d0ac3fc32f76 (patch) | |
tree | d46fff7789a676d1912fcbf65c5d94cf9b95d783 /settings/templates | |
parent | a7b7f5a76ce7fe3fb371f008d5de9c749ac5c1c1 (diff) | |
download | nextcloud-server-76b12c4ae0ea9941b030f0a13786d0ac3fc32f76.tar.gz nextcloud-server-76b12c4ae0ea9941b030f0a13786d0ac3fc32f76.zip |
add settings option for language
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/index.php | 48 |
1 files changed, 30 insertions, 18 deletions
diff --git a/settings/templates/index.php b/settings/templates/index.php index 2d5e9d9140f..f8ef9faf1d7 100644 --- a/settings/templates/index.php +++ b/settings/templates/index.php @@ -8,23 +8,35 @@ <form id="passwordform"> <fieldset> - <legend>Change Password</legend> - <div id="passwordchanged">You're password got changed</div> - <div id="passworderror"></div> - <p> - <label for="pass1">Old password:</label> - <input type="password" id="pass1" name="oldpassword" /> - </p> - <p> - <label for="pass2">New password :</label> - <input type="password" id="pass2" name="password" /> - </p> - <p> - <input type="checkbox" id="show" name="show" /> - <label for="show">Show new password</label> - </p> - <p class="form_footer"> - <input id="passwordbutton" class="prettybutton" type="submit" value="Save" /> - </p> + <legend>Change Password</legend> + <div id="passwordchanged">You're password got changed</div> + <div id="passworderror"></div> + <p> + <label for="pass1">Old password:</label> + <input type="password" id="pass1" name="oldpassword" /> + </p> + <p> + <label for="pass2">New password :</label> + <input type="password" id="pass2" name="password" /> + </p> + <p> + <input type="checkbox" id="show" name="show" /> + <label for="show">Show new password</label> + </p> + <p class="form_footer"> + <input id="passwordbutton" class="prettybutton" type="submit" value="Save" /> + </p> + </fieldset> +</form> + +<form id="languageform"> + <fieldset> + <legend>Language</legend> + <label for=''></label> + <select id="languageinput" name='lang'> + <?php foreach($_['languages'] as $language):?> + <option value='<?php echo $language;?>'><?php echo $language;?></option> + <?php endforeach;?> + </select> </fieldset> </form> |