This file contains hidden or 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 /* #?ini charset="utf-8"? | |
[General] | |
AllowedTypes[] | |
AllowedTypes[]=Nyheter | |
[Nyheter] | |
Name=Nyheter | |
ManualAddingOfItems=disabled | |
ViewList[]=news |
This file contains hidden or 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 /* #?ini charset="utf-8"? | |
[ExtensionSettings] | |
DesignExtensions[]=demo | |
[JavaScriptSettings] | |
HeaderJavaScriptList[] | |
HeaderJavaScriptList[]=galleria-1.2.6.js | |
FooterJavaScriptList[] |
This file contains hidden or 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
{def | |
$currentlanguage = ezini('RegionalSettings', 'ContentObjectLocale', 'site.ini') | |
$istranslated = false() | |
$tolanguagename = '' | |
$tositeaccesscode = '' | |
$tourlalias = '' | |
} | |
{if $currentlanguage|compare('eng-GB')} | |
{set | |
$istranslated = cond($node.object.available_languages|contains('nor-NO'), true(), false()) |
This file contains hidden or 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
{def $meta = hash( | |
'og:title', $node.name|wash(), | |
'og:description', $node.data_map.excerpt.content.output.output_text|striphtml()|trim() | |
)} | |
{* The template stuff... *} | |
{include uri='design:meta/relay.tpl' meta=$meta} |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8" ?> | |
<software> | |
<metadata> | |
<name>keyteq-devcore</name> | |
<info_url>http://git.keyteq.no/keyteq/keyteq-devcore</info_url> | |
</metadata> | |
<dependencies> | |
<extends> | |
<extension name="keyteq-ezcore" /> | |
</extends> |
This file contains hidden or 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
[alias] | |
st = status | |
br = branch | |
ci = commit --no-verify | |
out = push | |
in = pull --summary | |
type = cat-file -t | |
dump = cat-file -p | |
hi = log --pretty=format:'%h | %ad | %s%d [%an]' --date=short | |
hime = log --pretty=format:'%h | %ad | %s' --date=short --author=username |
This file contains hidden or 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
.* | |
compiled/ |
This file contains hidden or 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
var uploader; | |
$(function() | |
{ | |
uploader = new plupload.Uploader( | |
{ | |
runtimes: 'flash,html5,html4', | |
container: 'upl-img-wrap', | |
browse_button: 'edit-user-upload-image', | |
max_file_size: '4mb', |
This file contains hidden or 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() | |
{ | |
// Listen to custom event and add more Facebook SDK dependent functionality | |
$(document).bind('fbAsyncInit', function() | |
{ | |
FB.XFBML.parse($FacebookLikeButton); | |
FB.Event.subscribe('edge.create', function(response) | |
{ | |
// Fire an AJAX call to increase the like count in the local database |
This file contains hidden or 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
if(!Array.prototype.indexOf) | |
{ | |
Array.prototype.indexOf = function (searchElement /*, fromIndex */ ) { | |
"use strict"; | |
if (this == null) { | |
throw new TypeError(); | |
} | |
var t = Object(this); | |
var len = t.length >>> 0; | |
if (len === 0) { |
OlderNewer