4
0
Эх сурвалжийг харах

Small Fixes

Fixed #148 - Cookie Reset when changing password
Fixed #144 - Made User Modal Fade in - instead of sliding in
Fixed #143 - Removed Tab wiggle - Made it outline instead
Fixed #142 - Removed Software is up-to-date message
Fixed #136 - Incorrect CSS on version history
causefx 9 жил өмнө
parent
commit
93f746cfb9
5 өөрчлөгдсөн 13 нэмэгдсэн , 13 устгасан
  1. 2 3
      css/style.css
  2. 2 1
      index.php
  3. 1 1
      lang/de.ini
  4. 6 8
      settings.php
  5. 2 0
      user.php

+ 2 - 3
css/style.css

@@ -3146,7 +3146,7 @@ ul.inbox-pagination li {
 .cbp_tmtimeline > li .cbp_tmtime {
   display: block;
   width: 25%;
-  padding-right: 100px;
+  padding-right: 10%;
   position: absolute;
 }
 
@@ -5899,8 +5899,7 @@ label {
   right: -webkit-calc(-105%);    
   -webkit-box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.13);
           box-shadow: -1px 1px 5px 0px rgba(0, 0, 0, 0.13);
-  -webkit-transition: all, 1s;
-          transition: all, 1s;
+  
 }
 
 .mini-nav .members-sidebar {

+ 2 - 1
index.php

@@ -544,6 +544,7 @@ if(file_exists("images/settings2.png")) : $iconRotate = "false"; $settingsIcon =
             padding: 5px 10px 5px 10px;
             text-decoration: none;
             font-weight: 700;
+            font-style: normal;
             
         }.login-btn:hover {
             
@@ -1098,7 +1099,7 @@ endif; ?>
             <!--Welcome notification-->
             <div id="welcome"></div>
             
-            <div id="members-sidebar" style="background: <?=$sidebar;?>;" class="members-sidebar">
+            <div id="members-sidebar" style="background: <?=$sidebar;?>;" class="members-sidebar fade in">
                 
                 <h4 class="pull-left zero-m"><?php echo $language->translate("OPTIONS");?></h4>
                 

+ 1 - 1
lang/de.ini

@@ -168,4 +168,4 @@ SHOW_MORE = "Mehr zeigen"
 SHOW_LESS = "Weniger zeigen"
 EDIT_CUSTOM_CSS = "Eigenes CSS"
 CUSTOM_COMPLETE = "EIGENES CSS GESPEICHERT!"
-SAVE_CSS = "CSS speichern"
+SAVE_CSS = "CSS speichern"

+ 6 - 8
settings.php

@@ -694,7 +694,7 @@ endif;
         
     </head>
 
-    <body class="scroller-body" style="padding: 0; background: #273238; overflow-x: hidden !important">
+    <body class="scroller-body" style="padding: 0; background: #273238;">
         
         <style>
 
@@ -733,6 +733,8 @@ endif;
             }.key.wide span {
                 width:auto;
                 padding:0 12px;
+            }.dragging{
+                border: 2px solid;    
             }.todo .action-btns a span {
                 color: #76828e !important;
             }.todo li:nth-child(even) {
@@ -2468,10 +2470,10 @@ endif;?></textarea>
             $("li[class^='list-group-item']").bind('mouseheld', function(e) {
 
                 $(this).find("span[class^='fa fa-hand-paper-o']").attr("class", "fa fa-hand-grab-o");
-                $(this).addClass("animated pulse");
+                $(this).addClass("dragging");
                 $(this).mouseup(function() {
                     $(this).find("span[class^='fa fa-hand-grab-o']").attr("class", "fa fa-hand-paper-o");
-                    $(this).removeClass("animated pulse");
+                    $(this).removeClass("dragging");
                 });
             });
             
@@ -2768,7 +2770,7 @@ endif;?></textarea>
                 dataType: "json",
                 success: function(github) {
                     
-                    var currentVersion = "1.0";
+                    var currentVersion = "1.01";
                    
                     infoTabVersion = $('#about').find('#version');
                     infoTabVersionHistory = $('#about').find('#versionHistory');
@@ -2810,14 +2812,10 @@ endif;?></textarea>
                     }else if(currentVersion === githubVersion){
                     
                     	console.log("You Are on Current Version");
-                        
-                        parent.notify("<?php echo $language->translate("SOFTWARE_IS");?> <strong><?php echo $language->translate("UP_TO_DATE");?></strong>","thumbs-up ","success","5000", "<?=$notifyExplode[0];?>", "<?=$notifyExplode[1];?>");
                     
                     }else{
                     
                     	console.log("something went wrong");
-                        
-                        parent.notify("<strong>WTF!? </strong>Can\'t check version.","thumbs-down","error","5000", "<?=$notifyExplode[0];?>", "<?=$notifyExplode[1];?>");
                     
                     }
 

+ 2 - 0
user.php

@@ -510,12 +510,14 @@ EOT;
                     }
 
                     // active, using the correct token -> authenticated
+                     setcookie("cookiePassword", COOKIEPASSWORD, time() + (86400 * 7), "/");
                      return true;
                     
                 }
                 
             }else{
                 
+                setcookie("cookiePassword", COOKIEPASSWORD, time() + (86400 * 7), "/");
                 return true;
                 
             }