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
# Use the front controller as index file. It serves as a fallback solution when | |
# every other rewrite/redirect fails (e.g. in an aliased environment without | |
# mod_rewrite). Additionally, this reduces the matching process for the | |
# start page (path "/") because otherwise Apache will apply the rewriting rules | |
# to each configured DirectoryIndex file (e.g. index.php, index.html, index.pl). | |
DirectoryIndex app.php | |
# Disabling MultiViews prevents unwanted negotiation, e.g. "/app" should not resolve | |
# to the front controller "/app.php" but be rewritten to "/app.php/app". | |
<IfModule mod_negotiation.c> |
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
export AppBar from 'react-toolbox/lib/app_bar/AppBar'; | |
export Autocomplete from 'react-toolbox/lib/autocomplete/Autocomplete'; | |
export Avatar from 'react-toolbox/lib/avatar/Avatar'; | |
export Button from 'react-toolbox/lib/button/Button'; | |
export BrowseButton from 'react-toolbox/lib/button/BrowseButton'; | |
export IconButton from 'react-toolbox/lib/button/IconButton'; |
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() { | |
'use strict'; | |
// the css selector for the container that the image should be attached to as a background-image | |
var imgContainer = '.cover-img picture'; | |
function getCurrentSrc(element, cb) | |
{ | |
var getSrc; | |
if (!window.HTMLPictureElement) { |
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
use Zend\Form\FieldsetInterface; | |
/** | |
* Remove all errors in a form recursively | |
* pass a form or a fieldset as parameter | |
* | |
* @param FieldsetInterface $form | |
* @return void | |
*/ | |
public function clearFormErrors(FieldsetInterface $form) |