Skip to content

Commit 4c2c1ee

Browse files
Assimilationstheoriebshaffer
authored andcommitted
Small changes to examples/index.php (googleapis#1460)
1 parent 5930588 commit 4c2c1ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@
2121
<?php if (!getApiKey()): ?>
2222
<div class="api-key">
2323
<strong>You have not entered your API key</strong>
24-
<form method="post">
25-
API Key:<input type="text" name="api_key" />
26-
<input type="submit" />
24+
<form action="http://github.com/%3C/span%3E%3Cspan%20class="pl-ent x"><?= htmlspecialchars($_SERVER["PHP_SELF"]) ?>" method="POST">
25+
API Key:<input type="text" name="api_key" placeholder="API-Key" required/>
26+
<input type="submit" value="Set API-Key"/>
2727
</form>
2828
<em>This can be found in the <a href="http://developers.google.com/console" target="_blank">Google API Console</em>
2929
</div>

0 commit comments

Comments
 (0)