Permalink
Browse files

Update placeholder to https://

and motivate users to use the secure version of the url.
  • Loading branch information...
flokX committed Nov 26, 2017
1 parent 5725e56 commit 8c7eb1b069c45caa1459745a187530e7e6f15e0a
Showing with 1 addition and 1 deletion.
  1. +1 −1 includes/functions-html.php
@@ -181,7 +181,7 @@ function yourls_html_addnew( $url = '', $keyword = '' ) {
<div id="new_url">
<div>
<form id="new_url_form" action="" method="get">
<div><strong><?php yourls_e( 'Enter the URL' ); ?></strong>:<input type="text" id="add-url" name="url" value="<?php echo $url; ?>" class="text" size="80" placeholder="http://" />
<div><strong><?php yourls_e( 'Enter the URL' ); ?></strong>:<input type="text" id="add-url" name="url" value="<?php echo $url; ?>" class="text" size="80" placeholder="https://" />
<?php yourls_e( 'Optional '); ?> : <strong><?php yourls_e('Custom short URL'); ?></strong>:<input type="text" id="add-keyword" name="keyword" value="<?php echo $keyword; ?>" class="text" size="8" />
<?php yourls_nonce_field( 'add_url', 'nonce-add' ); ?>
<input type="button" id="add-button" name="add-button" value="<?php yourls_e( 'Shorten The URL' ); ?>" class="button" onclick="add_link();" /></div>

0 comments on commit 8c7eb1b

Please sign in to comment.