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
window.Becklyn = (function (Becklyn, window, document) { | |
"use strict"; | |
/** | |
* The settings as set by the initialization | |
* | |
* @type {Object} | |
*/ | |
var settings; |
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 Codepad | |
{ | |
/** | |
* Generates a new id and the file behind | |
* | |
* @return string | |
*/ | |
public function generateNewId () |
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
diff --git cms-page-order.php cms-page-order.php | |
index 51d2b9e333c3cc83c75842fbbcf7e8ab65b41e06..ddfabb28bd6dfec09067eb36f8b8a028a4678e62 100644 | |
--- cms-page-order.php | |
+++ cms-page-order.php | |
@@ -350,15 +350,15 @@ function cmspo_do_err() { | |
/** Special Walker for the Pages */ | |
class PO_Walker extends Walker_Page { | |
- function start_lvl(&$output, $depth) { | |
+ function start_lvl(&$output, $depth = 0, $args = array() ) { |
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 | |
return array ( 'AF' => 'Afghanistan', 'EG' => 'Ägypten', 'AX' => 'Alandinseln', 'AL' => 'Albanien', 'DZ' => 'Algerien', 'UM' => 'Amerikanisch-Ozeanien', 'AS' => 'Amerikanisch-Samoa', 'VI' => 'Amerikanische Jungferninseln', 'AD' => 'Andorra', 'AO' => 'Angola', 'AI' => 'Anguilla', 'AQ' => 'Antarktis', 'AG' => 'Antigua und Barbuda', 'GQ' => 'Äquatorialguinea', 'AR' => 'Argentinien', 'AM' => 'Armenien', 'AW' => 'Aruba', 'AZ' => 'Aserbaidschan', 'ET' => 'Äthiopien', 'QO' => 'Äußeres Ozeanien', 'AU' => 'Australien', 'BS' => 'Bahamas', 'BH' => 'Bahrain', 'BD' => 'Bangladesch', 'BB' => 'Barbados', 'BY' => 'Belarus', 'BE' => 'Belgien', 'BZ' => 'Belize', 'BJ' => 'Benin', 'BM' => 'Bermuda', 'BT' => 'Bhutan', 'BO' => 'Bolivien', 'BA' => 'Bosnien und Herzegowina', 'BW' => 'Botsuana', 'BV' => 'Bouvetinsel', 'BR' => 'Brasilien', 'VG' => 'Britische Jungferninseln', 'IO' => 'Britisches Territorium im Indischen Ozean', 'BN' => 'Brunei Darussalam', 'BG' => 'Bulgarien', 'BF' => 'Burkina Faso', 'BI' => 'Burundi', 'CL' => ' |
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 Extension extends Twig_Extension | |
{ | |
public function myFunc () | |
{ | |
var_dump(func_get_args()); | |
} | |
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 _scrollToTop () | |
{ | |
FB.Canvas.getPageInfo( | |
function(pageInfo) | |
{ | |
$({ y: pageInfo.scrollTop }).animate( | |
{ y: 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
<!doctype html> | |
<html> | |
<head> | |
<title>CSS Sprites + Retina</title> | |
<meta charset="utf-8" /> | |
<style type="text/css"> | |
.with-retina, | |
.without-retina { |
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 | |
$participantModel = new ParticipantModel($this->container); | |
$filename = "participations_" . date("d_m_Y__H_i") . "_export.xls"; | |
$excel = $participantModel->getExcelHandler(); | |
$writer = \PHPExcel_IOFactory::createWriter($excel, "Excel5"); | |
$handle = fopen("php://temp", "a"); | |
$writer->save($handle); |
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
parameters: | |
test: ["a", "b", 123] | |
# or | |
parameters: | |
test: | |
- "a" | |
- "b" | |
- 123 |