2222 <?php endif ; ?>
2323 <p>
2424 <label for="password" class="infield"><?php p ($ l ->t ('Password ' )); ?> </label>
25- <input type="hidden" name="requesttoken" value="<?php p ($ _ ['requesttoken ' ]) ?> " />
25+ <input type="hidden" id="requesttoken" name="requesttoken" value="<?php p ($ _ ['requesttoken ' ]) ?> " />
2626 <input type="password" name="password" id="password"
2727 placeholder="<?php p ($ l ->t ('Password ' )); ?> " value=""
2828 autocomplete="new-password" autocapitalize="off" spellcheck="false"
@@ -34,7 +34,7 @@ class="svg icon-confirm input-button-inline" value="" disabled="disabled" />
3434 </p>
3535 </fieldset>
3636 </form>
37-
37+
3838 <!-- email prompt form. It should initially be hidden -->
3939 <?php if (isset ($ _ ['identityOk ' ])): ?>
4040 <form method="post" id="email-input-form">
@@ -46,7 +46,7 @@ class="svg icon-confirm input-button-inline" value="" disabled="disabled" />
4646 <p>
4747 <input type="email" id="email" name="identityToken" placeholder="<?php p ($ l ->t ('Email address ' )); ?> " />
4848 <input type="submit" id="password-request" name="passwordRequest" class="svg icon-confirm input-button-inline" value="" disabled="disabled"/>
49- <input type="hidden" name="requesttoken" value="<?php p ($ _ ['requesttoken ' ]) ?> " />
49+ <input type="hidden" id="requesttoken" name="requesttoken" value="<?php p ($ _ ['requesttoken ' ]) ?> " />
5050 <input type="hidden" name="sharingToken" value="<?php p ($ _ ['share ' ]->getToken ()) ?> " id="sharingToken">
5151 <input type="hidden" name="sharingType" value="<?php p ($ _ ['share ' ]->getShareType ()) ?> " id="sharingType">
5252 </p>
@@ -59,12 +59,12 @@ class="svg icon-confirm input-button-inline" value="" disabled="disabled" />
5959 <?php endif ; ?>
6060 </fieldset>
6161 </form>
62-
62+
6363 <!-- request password button -->
6464 <?php if (!isset ($ _ ['identityOk ' ]) && $ _ ['share ' ]->getShareType () === $ _ ['share ' ]::TYPE_EMAIL && !$ _ ['share ' ]->getSendPasswordByTalk ()): ?>
6565 <a id="request-password-button-not-talk"><?php p ($ l ->t ('Forgot password? ' )); ?> </a>
6666 <?php endif ; ?>
67-
67+
6868 <!-- back to showShare button -->
6969 <form method="get">
7070 <fieldset>
0 commit comments