diff --git a/.gitignore b/.gitignore index 695924d..8669f8b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # Ignore everything -* +/* +/*/ # Except Infinity Squared !public/ @@ -8,3 +9,6 @@ !header.php !footer.php !.gitignore + +# Specifically ignore the config file +public/config.php diff --git a/footer.php b/footer.php index 87452fc..9a5ef87 100644 --- a/footer.php +++ b/footer.php @@ -1,12 +1,11 @@ -
' . yourls__( 'View the details of your short URL below.', 'isq_translation') . '
'; - } elseif ( $message = $url. yourls__( 'already exists in database', 'isq_translation') ) { - $error = $genericerror . '' . yourls__( 'This URL already exists in this database. This website does not allow a single URL to have multiple short links.', 'isq_translation') . '
'; - } elseif ( $message = yourls__( 'Short URL', 'isq_translation') . $url . yourls__( 'already exists in database or is reserved', 'isq_translation') ) { - $error = $genericerror . '' . yourls__( 'This short URL already exists in this database or is reserved. This website does not allow a single URL to have multiple short links. It could\'ve also been reserved by the admin.', 'isq_translation') . '
'; - } elseif ( $message = yourls__( 'Missing URL input', 'isq_translation') ) { - $error = $genericerror . '' . yourls__( 'You did not enter the URL you want to shorten or the server lost it. Please try again.', 'isq_translation') . '
'; - } elseif ( $message = yourls__( 'This URL is a short URL', 'isq_translation') ) { - $error = $genericerror . '' . yourls__( 'You cannot shorten a short URL!', 'isq_translation') . '
'; - } +// Load reCAPTCHA +require_once('public/recaptchalib.php'); ?> @@ -34,29 +23,12 @@ if ( $message = $url. yourls__( 'added to database', 'isq_translation') ) {' . yourls__( 'The reCAPTCHA wasn\'t entered correctly. Go back and try it again.', 'isq_translation' ) . '
' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . ''; } ?>
-' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . ''; } ?>
-' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . ''; } ?>
+' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . ''; } ?>
+' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . ''; } ?>
+' . yourls__( 'Copy to Clipboard', 'isq-translation' ) . ''; } ?>
'; } ?>
-Tweet'; } ?>
-'; } ?>
-'; } ?>
-
+
'; } ?>
+Tweet'; } ?>
+'; } ?>
+'; } ?>
+
'; } ?>