This commit is contained in:
Alex Grintsvayg 2017-03-09 07:45:36 -05:00
parent 273bcb3af5
commit fd6bd8b686
2 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ lbry.quickstartForm('#form-new-publish-reward', "<?php echo $apiUrl ?>");
<div class="form-row"> <div class="form-row">
<label for="wallet">Wallet Address</label> <label for="wallet">Wallet Address</label>
<div class="form-input"> <div class="form-input">
<input type="text" name="wallet_address" value="<?php echo $defaultWalletAddress ?>" <input type="text" name="wallet_address" value="<?php echo htmlspecialchars($defaultWalletAddress) ?>"
class="required standard " placeholder="bYnFQUPTTDM1BYNCxgxKEav4FFQsrgDBoE"> class="required standard " placeholder="bYnFQUPTTDM1BYNCxgxKEav4FFQsrgDBoE">
</div> </div>
</div> </div>
@ -25,4 +25,4 @@ lbry.quickstartForm('#form-new-publish-reward', "<?php echo $apiUrl ?>");
<input type="hidden" name="access_token" value="<?php echo Session::get(Session::KEY_GITHUB_ACCESS_TOKEN) ?>" /> <input type="hidden" name="access_token" value="<?php echo Session::get(Session::KEY_GITHUB_ACCESS_TOKEN) ?>" />
<input type="submit" value="Send" class="btn-primary" data-submit-label="Send" data-submitting-label="Sending credits..." /> <input type="submit" value="Send" class="btn-primary" data-submit-label="Send" data-submitting-label="Sending credits..." />
</div> </div>
</form> </form>

View file

@ -8,7 +8,7 @@
<div class="form-row"> <div class="form-row">
<label for="wallet">Wallet Address</label> <label for="wallet">Wallet Address</label>
<div class="form-input"> <div class="form-input">
<input type="text" name="wallet_address" value="<?php echo $defaultWalletAddress ?>" <input type="text" name="wallet_address" value="<?php echo htmlspecialchars($defaultWalletAddress) ?>"
class="required standard " placeholder="bYnFQUPTTDM1BYNCxgxKEav4FFQsrgDBoE"> class="required standard " placeholder="bYnFQUPTTDM1BYNCxgxKEav4FFQsrgDBoE">
</div> </div>
</div> </div>
@ -20,4 +20,4 @@
</div> </div>
<div class="meta">We require a GitHub account to prevent abuse. This will record your email (no spam) and mark you as interested in the lbry repo. <div class="meta">We require a GitHub account to prevent abuse. This will record your email (no spam) and mark you as interested in the lbry repo.
No GitHub account? No problem! Join our <a href="https://slack.lbry.io" class="link-primary">Slack channel</a> and post an introduction in #tech.</div> No GitHub account? No problem! Join our <a href="https://slack.lbry.io" class="link-primary">Slack channel</a> and post an introduction in #tech.</div>
</form> </form>