put some other max input field length [skip ci]

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
This commit is contained in:
Julien Veyssier
2020-03-29 16:42:42 +02:00
parent 3a5b60f859
commit d99dff1534
3 changed files with 9 additions and 9 deletions

View File

@@ -1206,7 +1206,7 @@ var ACCESS_ADMIN = 4;
' <input type="submit" value="" class="icon-rename editMainCurrency">' +
' </div>' +
' <div id="main-currency-edit">' +
' <input type="text" value="'+(mainCurrencyName || t('cospend', 'Potatoe'))+'" class="editMainCurrencyInput">' +
' <input type="text" maxlength="64" value="'+(mainCurrencyName || t('cospend', 'Potatoe'))+'" class="editMainCurrencyInput">' +
' <input type="submit" value="" class="icon-close editMainCurrencyClose">' +
' <input type="submit" value="" class="icon-checkmark editMainCurrencyOk">' +
' </div>' +
@@ -2313,7 +2313,7 @@ var ACCESS_ADMIN = 4;
' <a class="icon icon-tag"></a>' +
' '+whatStr+
' </label>' +
' <input type="text" id="what" class="input-bill-what" value="'+bill.what+'"/>' +
' <input type="text" id="what" maxlength="300" class="input-bill-what" value="'+bill.what+'"/>' +
' </div>' + addFileHtml +
' <div class="bill-amount">' +
' <label for="amount">' +
@@ -2682,13 +2682,13 @@ var ACCESS_ADMIN = 4;
' </div>' +
' <div class="app-navigation-entry-edit">' +
' <div>' +
' <input type="text" value="'+project.name+'" class="editProjectInput">' +
' <input type="text" maxlength="300" value="'+project.name+'" class="editProjectInput">' +
' <input type="submit" value="" class="icon-close editProjectClose">' +
' <input type="submit" value="" class="icon-checkmark editProjectOk">' +
' </div>' +
' </div>';
li = li + ' <ul class="app-navigation-entry-share">' +
' <li class="shareinputli" title="'+shareTitle+'"><input type="text" class="shareinput" placeholder="'+defaultShareText+'"/></li>';
' <li class="shareinputli" title="'+shareTitle+'"><input type="text" maxlength="300" class="shareinput" placeholder="'+defaultShareText+'"/></li>';
li +=
' <li class="addpubshareitem">' +
' <a class="icon-public" href="#">' +
@@ -2704,7 +2704,7 @@ var ACCESS_ADMIN = 4;
' </li>' +
' </ul>';
li = li + ' <div class="newmemberdiv">' +
' <input class="newmembername" type="text" value=""/>' +
' <input class="newmembername" maxlength="300" type="text" value=""/>' +
' <button class="newmemberbutton icon-add"></button>' +
' </div>' +

View File

@@ -11,7 +11,7 @@ if ($_['wrong']) {
<label for="projectidInput" id="projectidlabel"><?php p($l->t('Project ID/name')); ?></label>
<br/>
<input id="projectidInput" name="projectid" type="text" value="<?php
<input id="projectidInput" name="projectid" type="text" maxlength="64" value="<?php
if (array_key_exists('projectid', $_)) {
p($_['projectid']);
}

View File

@@ -9,13 +9,13 @@
<form id="newprojectform" autocomplete="off">
<label for="projectidinput"><?php p($l->t('Project ID/name')); ?></label>
<input id="projectidinput" type="text" value="<?php p($l->t('myProjectId')); ?>"/>
<input id="projectidinput" type="text" value="<?php p($l->t('myProjectId')); ?>" maxlength="64"/>
<label for="projectnameinput"><?php p($l->t('Title')); ?></label>
<input id="projectnameinput" type="text" value="<?php p($l->t('My project name')); ?>"/>
<input id="projectnameinput" type="text" value="<?php p($l->t('My project name')); ?>" maxlength="300"/>
<label for="projectpasswordinput"><?php p($l->t('Password (optional, required for guest access)')); ?></label>
<input id="projectpasswordinput" type="password" value="" autocomplete="off"/>
<input id="projectpasswordinput" type="password" value="" autocomplete="off" maxlength="100"/>
<button id="createproject" type="button" class="icon-add">
<?php p($l->t('Add project')); ?>
</button>