diff --git a/install/index.php b/install/index.php index bd9e502d9..0d3977bb7 100755 --- a/install/index.php +++ b/install/index.php @@ -11,6 +11,8 @@ $errors = array(); $successes = array(); +$final = false; + require_once('install_functions.php'); if (isset($_GET['clean'])) { @@ -49,7 +51,6 @@ else if (isset($_POST['install'])) { $errors[] = 'You must install twig before.'; } else { $continue = true; - $final = false; $salt = generate_salt(); $content = file_get_contents('inc/poche/config.inc.default.php'); diff --git a/themes/_global/js/saveLink.js b/themes/_global/js/saveLink.js index a7acd84c3..b7dd7a34f 100755 --- a/themes/_global/js/saveLink.js +++ b/themes/_global/js/saveLink.js @@ -4,6 +4,8 @@ $.fn.ready(function() { $bagitForm = $('#bagit-form'), $bagitFormForm = $('#bagit-form-form'); +$("#tags2add").hide(); + /* ========================================================================== bag it link and close button ========================================================================== */ @@ -78,6 +80,14 @@ $.fn.ready(function() { event.preventDefault(); }); +$('#showtaginput').click(function(){ + $('#tags2add').toggle(); + $('#plainurl').toggle(); + $('#showtaginput').toggleClass('icon-tags'); + $('#showtaginput').toggleClass('icon-check'); +}); + + /* ========================================================================== Keyboard gestion ========================================================================== */ diff --git a/themes/baggy/_pocheit-form.twig b/themes/baggy/_pocheit-form.twig index bf2ae9037..85d338733 100755 --- a/themes/baggy/_pocheit-form.twig +++ b/themes/baggy/_pocheit-form.twig @@ -4,6 +4,10 @@ × +