summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/view/common/setting.modal.view.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/view/common/setting.modal.view.php b/app/view/common/setting.modal.view.php
index c9587a0..93a273a 100644
--- a/app/view/common/setting.modal.view.php
+++ b/app/view/common/setting.modal.view.php
@@ -63,12 +63,12 @@
<div class="form-group">
<label>Alias</label>
- <input type="text" name="input[alias]" class="form-control" value="<?=$mod->getCurrentUser()->alias?>" />
+ <input type="text" name="input[alias]" class="form-control" value="<?=$mod->getCurrentUser()->alias?>" maxlength="50" />
</div>
<div class="form-group">
<label>Email</label>
- <input type="text" name="input[email]" class="form-control" value="<?=$mod->getCurrentUser()->email?>" />
+ <input type="text" name="input[email]" class="form-control" value="<?=$mod->getCurrentUser()->email?>" maxlength="50" />
</div>
<?php if ($mod->getCurrentUser()->email != "" && $mod->getCurrentUser()->emailConf == 0) { ?>
@@ -147,7 +147,7 @@
<input type="hidden" name="input[action]" value="common-setting-allusers-adduser" />
<div class="form-group">
<label>Username</label>
- <input type="text" name="input[username]" class="form-control" required="true" />
+ <input type="text" name="input[username]" class="form-control" required="true" maxlength="50" />
</div>
<div class="form-group">
@@ -168,12 +168,12 @@
<div class="form-group">
<label>Alias</label>
- <input type="text" name="input[alias]" class="form-control" />
+ <input type="text" name="input[alias]" class="form-control" maxlength="50" />
</div>
<div class="form-group">
<label>Email</label>
- <input type="text" name="input[email]" class="form-control" />
+ <input type="text" name="input[email]" class="form-control" maxlength="50" />
</div>
<button type="submit" class="btn btn-success pull-right">Add</button>