]> source.dussan.org Git - nextcloud-server.git/commitdiff
Moving Advanced button out of datadirField fieldset
authorvsapronov <vladimir.sapronov@gmail.com>
Sat, 5 Oct 2013 00:46:00 +0000 (20:46 -0400)
committervsapronov <vladimir.sapronov@gmail.com>
Sat, 5 Oct 2013 00:46:00 +0000 (20:46 -0400)
core/templates/installation.php

index 342383fdb28418742163a3aa48b0f7fb5e5dc296..ef20d8672e9137e50c3e531996122b4996419748 100644 (file)
                </p>
        </fieldset>
 
+       <?php if(!$_['directoryIsSet'] OR !$_['dbIsSet']): ?>
+       <fieldset id="advancedHeader">
+               <legend><a id="showAdvanced"><?php p($l->t( 'Advanced' )); ?> <img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a></legend>
+       </fieldset>
+       <?php endif; ?>
+
        <?php if(!$_['directoryIsSet']): ?>
        <fieldset id="datadirField">
-               <legend><a id="showAdvanced"><?php p($l->t( 'Advanced' )); ?> <img class="svg" src="<?php print_unescaped(image_path('', 'actions/caret.svg')); ?>" /></a></legend>
                <div id="datadirContent">
                        <label for="directory"><?php p($l->t( 'Data folder' )); ?></label>
                        <input type="text" name="directory" id="directory"