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 Company\Extension\UserFunctions; | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2014 Armin Rüdiger Vieweg <[email protected]> | |
* | |
* All rights reserved | |
* |
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 strict'; | |
app.filter('crop', function(){ | |
return function(input, limit, respectWordBoundaries, suffix){ | |
if (input === null || input === undefined || limit === null || limit === undefined || limit === '') { | |
return input; | |
} | |
if (angular.isUndefined(respectWordBoundaries)) { | |
respectWordBoundaries = true; | |
} | |
if (angular.isUndefined(suffix)) { |
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 | |
/** | |
* Converts given array to TypoScript | |
* | |
* @param array $typoScriptArray The array to convert to string | |
* @param string $addKey Prefix given values with given key (eg. lib.whatever = {...}) | |
* @param integer $tab Internal | |
* @param boolean $init Internal | |
* @return string TypoScript |
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 | |
// Classes/Command/WhateverCommandController.php | |
/** | |
* Whatever controller | |
* | |
* @license http://www.gnu.org/licenses/gpl.html GNU General Public License, version 3 or later | |
* | |
*/ |
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
page = PAGE | |
page { | |
typeNum = 0 | |
10 =< lib.templates.base | |
} |
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 sunzinet\Typo3szBase\Provider; | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2014 Armin Rüdiger Vieweg <[email protected]> | |
* | |
* All rights reserved | |
* |
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 Sunzinet\SzPagesettings\Hooks; | |
/** | |
* Class OverrideIconOverlay | |
* | |
* @package Sunzinet\SzFalExpiredate\Hooks | |
*/ | |
class OverrideIconOverlayHook { |
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
<config> | |
<type>inline</type> | |
<foreign_table>sys_file_reference</foreign_table> | |
<foreign_field>uid_foreign</foreign_field> | |
<foreign_sortby>sorting_foreign</foreign_sortby> | |
<foreign_table_field>tablenames</foreign_table_field> | |
<foreign_match_fields> | |
<fieldname>images</fieldname> <!-- Name of variable! --> | |
</foreign_match_fields> | |
<foreign_label>uid_local</foreign_label> |
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
{namespace dce=ArminVieweg\Dce\ViewHelpers} | |
<f:layout name="Default" /> | |
<f:section name="main"> | |
<f:for each="{dce:fal(field:'images', contentObject:contentObject)}" as="image"> | |
<!-- This is the normal unresponsive way --> | |
<f:image image="{image}" /> | |
<!-- Here we referer to typoscript to render the responsive image --> | |
<f:cObject typoscriptObjectPath="lib.responsiveImage" data="{image.uid}"></f:cObject> | |
</f:for> |
OlderNewer