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
#!/bin/bash | |
# Idea and interface taken from https://github.com/macmade/host-manager | |
path="/etc/hosts" | |
addusage="Usage: `basename $0` --add host address" | |
remusage="Usage: `basename $0` --remove host" | |
listusage="Usage: `basename $0` --list [127.]" | |
case "$1" in | |
--add) | |
if [ $# -eq 3 ]; then |
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 | |
/** | |
* ViewHelper used to render content elements in Fluid page templates | |
* | |
* @author Claus Due, Wildside A/S | |
* @author Dominique Feyer <[email protected]> | |
* @package Fed | |
* @subpackage ViewHelpers/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
<f:layout name="Backoffice"/> | |
<f:section name="PageHeader"> | |
<f:render partial="Backoffice/PageHeader" arguments="{module: 'domainPreferences', configuration: settings.backoffice.domainPreferences.actionMenu}"/> | |
</f:section> | |
<f:section name="Content"> | |
<div class="container"> | |
<f:form action="update" object="{domain}" name="domain" class="form-horizontal well" enctype="multipart/form-data"> | |
<f:render partial="Model/Domain/PreferencesProperty" arguments="{_all}"/> |
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 | |
namespace Ttree\Medialib\Core\Security; | |
/* * | |
* This script belongs to the FLOW3 package "Ttree.Medialib". * | |
* * | |
* It is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU Lesser General Public License, either version 3 * | |
* of the License, or (at your option) any later version. * | |
* * |
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
<?xml version="1.0" encoding="utf-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
version="1.0"> | |
<xsl:output method="xml" | |
version='1.0' | |
encoding='UTF-8' | |
indent="yes"/> | |
<xsl:template name="badge"> | |
<xsl:if test="status = 'approved'"> |
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 | |
namespace Ttree\Medialib\Backoffice\Service\Account\Import; | |
/* * | |
* This script belongs to the FLOW3 package "Ttree.Medialib". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
use TYPO3\Flow\Security\Account; | |
use TYPO3\Flow\Utility\Now; |
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 | |
namespace Ttree\Medialib\Core\Domain\Repository\ElasticSearch; | |
/* * | |
* This script belongs to the FLOW3 package "Ttree.Medialib". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; |
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 | |
namespace Ttree\Medialib\Core\Domain\Repository\Aspect; | |
/* * | |
* This script belongs to the FLOW3 package "Ttree.Medialib". * | |
* * | |
* */ | |
use Ttree\Medialib\Core\Exception; | |
use TYPO3\Flow\Annotations as Flow; |
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 | |
namespace Ttree\Medialib\Analytics\Query\AST; | |
/* * | |
* This script belongs to the FLOW3 package "Ttree.Medialib". * | |
* * | |
* */ | |
use TYPO3\Flow\Annotations as Flow; | |
use \Doctrine\ORM\Query\AST\Functions\FunctionNode; |
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
${q(node).parents('[backgroundImage]').add(q(node)).filter('[backgroundImage]').last().property('backgroundImage')} |
OlderNewer