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
# redirect www to non-www | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] | |
RewriteRule ^(.*)$ http://%1$1 [R=301,L] | |
</IfModule> |
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
#---------------------------------------------------------------------- | |
# | |
# Main template | |
# | |
#---------------------------------------------------------------------- | |
page = PAGE | |
page { |
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
# ----------------------------------------------------------------- | |
# Sprachen + Spalten | |
# ----------------------------------------------------------------- | |
mod.SHARED { | |
defaultLanguageFlag=de | |
defaultLanguageLabel=Deutsch | |
} | |
# ----------------------------------------------------------------- | |
# Rechte für Benutzergruppe 'global' | |
# ----------------------------------------------------------------- |
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
<INCLUDE_TYPOSCRIPT: source="FILE:fileadmin/templates/typoscript/ts_setup.ts"> | |
<INCLUDE_TYPOSCRIPT: source="DIR:fileadmin/templates/typoscript"> |
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
# | |
# browserweiche | |
# | |
[browser = msie] AND [version = <8] | |
page.includeCSS.iehacks = fileadmin/templates/css/patches/iehacks.css | |
[global] | |
# |
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
# block comment spam by denying access to no-referrer requests | |
RewriteEngine On | |
RewriteCond %{REQUEST_METHOD} POST | |
RewriteCond %{REQUEST_URI} .myform\.php* [OR] | |
RewriteCond %{REQUEST_URI} .myotherform\.php* | |
RewriteCond %{HTTP_REFERER} !.*mysite.de.* [OR] | |
RewriteCond %{HTTP_USER_AGENT} ^$ |
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
// wait so that interchange can change the images | |
setTimeout(function(){ | |
$('#slick').slick({ | |
autoplay: true, | |
pauseOnHover: true, | |
speed: 400, | |
autoplaySpeed: 5000, | |
touchThreshold: 7, | |
dots: true, | |
onAfterChange: function(el, i) { |
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
require 'csv' | |
VALID_EMAIL_REGEX = /\A[^@\s]+@([^@\s]+\.)+[^@\s]+\z/i | |
def valid_email?(email) | |
email =~ VALID_EMAIL_REGEX | |
end | |
# hier das textfile einlesen (liegt parallel zum script) | |
csv_text = File.expand_path("../liste.csv", __FILE__) |
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
jQuery(function($) { | |
var script = document.createElement('script'); | |
script.src = "https://maps.googleapis.com/maps/api/js?v=3.exp&callback=initialize"; | |
document.body.appendChild(script); | |
}); | |
function initialize() { | |
var map; |
OlderNewer