Skip to content

Instantly share code, notes, and snippets.

View joachimdoerr's full-sized avatar

Joachim Dörr joachimdoerr

  • Germany
View GitHub Profile

PHPSecLib User Testing

The following is an extract of a poem. This is the text we will be using as our example input for encrypting with a password.

Twisted and gnarled, these roots run deep into realms that open whilst I sleep;
designing a counterfeit system composed of intricately versed poem.

Next, we have the password in which we shall encrypt everything with.

// jQuery.support.transition
// to verify that CSS3 transition is supported (or any of its browser-specific implementations)
$.support.transition = (function(){
var thisBody = document.body || document.documentElement,
thisStyle = thisBody.style,
support = thisStyle.transition !== undefined || thisStyle.WebkitTransition !== undefined || thisStyle.MozTransition !== undefined || thisStyle.MsTransition !== undefined || thisStyle.OTransition !== undefined;
return support;
})();
<?php
$nav = new advanced_rex_navigation();
$main_navigation = $nav->get(0,3,FALSE,TRUE,'main');
// 'main' ist der name des navigationstyps
// bitte anpassen je nach einstellung im meta-info-addon
/* weitere setter methoden:
$nav->setClasses(array('menu_item'));
$nav->setSeperator('/');