mirror of
https://github.com/kremalicious/krtmn.git
synced 2024-12-22 09:13:25 +01:00
yourls_html_addnew rewrite
This commit is contained in:
parent
a3dc60950f
commit
51e43d001d
@ -139,8 +139,12 @@ function yourls_html_addnew( $url = '', $keyword = '' ) {
|
|||||||
<div id="new_url">
|
<div id="new_url">
|
||||||
<div>
|
<div>
|
||||||
<form id="new_url_form" action="" method="get">
|
<form id="new_url_form" action="" method="get">
|
||||||
<div><strong>Enter the URL</strong>:<input type="text" id="add-url" name="url" value="<?php echo $url; ?>" class="text" size="80" />
|
<div>
|
||||||
Optional: <strong>Custom short URL</strong>:<input type="text" id="add-keyword" name="keyword" value="<?php echo $keyword; ?>" class="text" size="8" />
|
<label for="add-url">Enter the URL</label>
|
||||||
|
<p>
|
||||||
|
<input type="text" id="add-url" name="url" value="<?php echo $url; ?>" class="text" size="80" />
|
||||||
|
<input type="text" id="add-keyword" name="keyword" value="<?php echo $keyword; ?>" class="text" placeholder="Custom" size="8" />
|
||||||
|
</p>
|
||||||
<?php yourls_nonce_field( 'add_url', 'nonce-add' ); ?>
|
<?php yourls_nonce_field( 'add_url', 'nonce-add' ); ?>
|
||||||
<input type="button" id="add-button" name="add-button" value="Shorten The URL" class="button" onclick="add();" /></div>
|
<input type="button" id="add-button" name="add-button" value="Shorten The URL" class="button" onclick="add();" /></div>
|
||||||
</form>
|
</form>
|
||||||
|
Loading…
Reference in New Issue
Block a user