]> source.dussan.org Git - nextcloud-server.git/commitdiff
Orders Admin Log Button 567/head
authorroot <root@SRV-WB-Azure-HTTP-02.4hnmjtaz2pauddcuvnayaj34ha.fx.internal.cloudapp.net>
Tue, 26 Jul 2016 09:27:48 +0000 (09:27 +0000)
committerroot <root@SRV-WB-Azure-HTTP-02.4hnmjtaz2pauddcuvnayaj34ha.fx.internal.cloudapp.net>
Tue, 26 Jul 2016 09:27:48 +0000 (09:27 +0000)
settings/css/settings.css
settings/templates/admin.php

index 4cd85598443d59867770bc8c598193ba8a913018..fe586205bdfa17637f2036fd5f80457f7e68803a 100644 (file)
@@ -445,6 +445,9 @@ span.version {
 table.grid td.date{
        white-space: nowrap;
 }
+#log-section p {
+       margin-top:20px;
+}
 
 /* ADMIN */
 #security-warning li {
index 1830e542bbc24357937822aaf98b7bca12cbe838..2524c9c20136d65501a3141b9b38db5bec7e9c3f 100644 (file)
@@ -514,6 +514,16 @@ if ($_['cronErrors']) {
                </tr>
                <?php endforeach;?>
        </table>
+       <p><?php p($l->t('What to log'));?> <select name='loglevel' id='loglevel'>
+       <?php for ($i = 0; $i < 5; $i++):
+               $selected = '';
+               if ($i == $_['loglevel']):
+                       $selected = 'selected="selected"';
+               endif; ?>
+                       <option value='<?php p($i)?>' <?php p($selected) ?>><?php p($levelLabels[$i])?></option>
+       <?php endfor;?>
+       </select></p>
+
        <?php if ($_['logFileSize'] > 0): ?>
        <a href="<?php print_unescaped(OC::$server->getURLGenerator()->linkToRoute('settings.LogSettings.download')); ?>" class="button" id="downloadLog"><?php p($l->t('Download logfile'));?></a>
        <?php endif; ?>
@@ -528,16 +538,6 @@ if ($_['cronErrors']) {
        </em>
        <?php endif; ?>
        <?php endif; ?>
-
-       <p><?php p($l->t('What to log'));?> <select name='loglevel' id='loglevel'>
-       <?php for ($i = 0; $i < 5; $i++):
-               $selected = '';
-               if ($i == $_['loglevel']):
-                       $selected = 'selected="selected"';
-               endif; ?>
-                       <option value='<?php p($i)?>' <?php p($selected) ?>><?php p($levelLabels[$i])?></option>
-       <?php endfor;?>
-       </select></p>
 </div>
 
 <div class="section" id="admin-tips">