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
/** | |
* Tapatalk mobile detection | |
* | |
* @author Sascha Greuel <sascha@softcreatr.de> | |
* @copyright 2013 Sascha Greuel | |
* @license Creative Commons BY-SA <http://creativecommons.org/licenses/by-sa/3.0/> | |
*/ | |
function detectTapatalk() { | |
var tapatalk_msg = 'This forum has an app for [platform]! Click OK to learn more about Tapatalk.', |
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
(function ($) { | |
$.fn.qrcode = function (options) { | |
// if options is string, | |
if (typeof options === 'string') { | |
options = { | |
text: options | |
}; | |
} | |
// set default values |
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
/** | |
* QRCode generator | |
* | |
* @author Sascha Greuel | |
* @copyright 2010-2013 Sascha Greuel | |
* @license Creative Commons BY-SA <http://creativecommons.org/licenses/by-sa/3.0/> | |
*/ | |
var qrgen = function () { | |
// Get options |
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 | |
// Imports | |
require_once('./global.php'); | |
/** | |
* Simulate a default api call. If no errors occur, the SFS plugin should work | |
* | |
* @author Sascha Greuel <sascha@softcreatr.de> | |
* @copyright 2010-2013 Sascha Greuel | |
* @license Creative Commons BY-SA <http://creativecommons.org/licenses/by-sa/3.0/> |
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
$("a.externalURL").each(function() { | |
$(this).removeClass('externalURL'); | |
$(this).prepend('<img src="//www.google.com/s2/favicons?domain=' + this.href + '" alt="" /> '); | |
}); |
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
$(".messageContent").dblclick(function() { | |
var $btn = $(".messageOptions a.button.jsMessageEditButton", this); | |
if($btn.length) { | |
$btn.dblclick(); | |
} | |
}); |
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
/** | |
* Message autosave related classes for WCF (WIP) | |
* | |
* @author Sascha Greuel | |
* @copyright 2014 Sascha Greuel | |
* @license Creative Commons Attribution-NoDerivatives <http://creativecommons.org/licenses/by-nd/4.0/legalcode> | |
*/ | |
/** | |
* Displays and manages an info box for autosaved contents. |
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
iVBORw0KGgoAAAANSUhEUgAAAEAAAABAAgMAAADXB5lNAAAACVBMVEVTU1P///9TU1P8g2f9AAAAAnRSTlMAAHaTzTgAAAB0SURBVHhe1dMxCgMxDAXRIaVOkXrvs/f79ZwyEGNITKwUgcBOZR4upEKcSxeCmSrAFko1r5Cv4J8A6EGzgwLQQAdHD5ljbUFU08Gz8AOwgWX1HlBNC6WyBVWMOBpq5C2pz3ALUIGsP1ZAKtznmxoAAtc5wgegV/QjpyQHeQAAAABJRU5ErkJggg==iVBORw0KGgoAAAANSUhEUgAAAIAAAACAAgMAAAC+UIlYAAAACVBMVEVTU1P///9TU1P8g2f9AAAAAnRSTlMAAHaTzTgAAACFSURBVHhe7dY9CoBADITRqfd+XnJOKco6EC32h4VRzFdEMK9II4it0fdAggT3WEPNAKjmAfxA2UEC7QzA/mHxcaMNFDoBz6k8gNqT8IAQ8FeAtQBTAG4QBWxAAgZALY5xPkNtoARiYwDAWlDYC+pl1FBNoFYBXqOMAF0ooPed4G2/7gkS7LQn0KpfZWb2AAAAAElFTkSuQmCC |
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
# Sascha Greuel <sascha@softcreatr.de> | |
# 2014-08-06 | |
# Rev. 1 | |
# ========== | |
# WoltLab Community Framework | |
# ========== | |
if ($args ~ "page=Portal") { | |
rewrite ^.*$ /index.php/Dashboard/? permanent; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer