HTML5 syntax corrections

This commit is contained in:
Tom Slominski
2015-03-06 22:48:08 +00:00
parent 569d23d01f
commit f5114a9001

View File

@@ -12,7 +12,7 @@ $title = isset( $_REQUEST['title'] ) ? yourls_sanitize_title( $_REQUEST['title
<div class="form-item full-width">
<p><label for="url" class="primary"><?php yourls_e( 'Long URL', 'isq_translation'); ?></label></p>
<p><label for="url" class="secondary"><?php yourls_e( 'Paste the long URL here. This is required.', 'isq_translation'); ?></label></p>
<input type="url" id="url" name="url" value="<?php echo($url); ?>" />
<input type="url" id="url" name="url" value="<?php echo($url); ?>">
</div>
<div class="halves">
@@ -20,13 +20,13 @@ $title = isset( $_REQUEST['title'] ) ? yourls_sanitize_title( $_REQUEST['title
<div class="form-item half-width left">
<p><label for="keyword" class="primary"><?php yourls_e( 'Custom keyword', 'isq_translation'); ?></label></p>
<p><label for="keyword" class="secondary"><?php yourls_e( 'A keyword replaces the default short string.', 'isq_translation'); ?></label></p>
<input type="text" id="keyword" name="keyword" value="<?php echo($keyword); ?>" />
<input type="text" id="keyword" name="keyword" value="<?php echo($keyword); ?>">
</div>
<div class="form-item half-width right">
<p><label for="title" class="primary"><?php yourls_e( 'Custom title', 'isq_translation'); ?></label></p>
<p><label for="title" class="secondary"><?php yourls_e( 'Optional title used when sharing a link from YOURLS using social sharers.', 'isq_translation'); ?></label></p>
<input type="text" id="title" value="<?php echo($title); ?>" />
<input type="text" id="title" value="<?php echo($title); ?>">
</div>
</div>
@@ -38,7 +38,7 @@ $title = isset( $_REQUEST['title'] ) ? yourls_sanitize_title( $_REQUEST['title
</div>
<div class="form-item submit-container">
<input type="submit" value="<?php yourls_e( 'Shorten', 'isq_translation'); ?>" />
<input type="submit" value="<?php yourls_e( 'Shorten', 'isq_translation'); ?>">
</div>
</form>
</div>