This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.position-static { | |
position: static !important; | |
} | |
.position-fixed { | |
position: fixed !important; | |
} | |
.position-absolute { | |
position: absolute !important; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class CockpitHelper { | |
public static $_COCKPIT_RESTAPI_TOKEN = null; | |
public static $_COCKPIT_BACKEND_URL = null; | |
public static $_COCKPIT_ADMIN_RESTAPI_TOKEN = null; | |
public static $_ASC = 1; | |
public static $_DESC = -1; | |
/** | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- ... html html html --> | |
<script src="vendor.js"></script> | |
<script src="switch.js"></script> | |
<script src="another_vendor.js"></script> | |
<script src="switch.js"></script> | |
<!-- html html html... --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Singleton { | |
protected static $inst = null; | |
protected static function getInstance($c2i) { | |
if(self::$inst === null) | |
self::$inst = new $c2i; | |
return self::$inst; | |
} | |
} | |