Commit 81c12f71 authored by Thomas Löffler's avatar Thomas Löffler

Add Resources folders of project extensions

parent 94120d5f
Pipeline #5860 failed with stages
in 25 seconds
deny from all
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2017-03-02T21:45:03Z"
product-name="t3odonation">
<header/>
<body>
<trans-unit id="form_label_one_time_payment">
<source>One-Time Donation</source>
</trans-unit>
<trans-unit id="form_label_subscription_payment">
<source>Monthly Recurring Donation</source>
</trans-unit>
<trans-unit id="form_label_amount">
<source>Amount EUR</source>
</trans-unit>
<trans-unit id="form_input_title_amount">
<source>Please put in the amount you would like to donate.</source>
</trans-unit>
<trans-unit id="form_submit_button">
<source>Donate</source>
</trans-unit>
<trans-unit id="list_header_name">
<source>Name</source>
</trans-unit>
<trans-unit id="list_header_amount">
<source>Amount</source>
</trans-unit>
<trans-unit id="list_header_date">
<source>Date</source>
</trans-unit>
<trans-unit id="thankyou_message_title">
<source>Thank you</source>
</trans-unit>
<trans-unit id="thankyou_message_body">
<source>Thank you for donating.</source>
</trans-unit>
<trans-unit id="mail_notification_subject">
<source>New donation to %1$s from %2$s</source>
</trans-unit>
<trans-unit id="mail_body_header">
<source>A new donation has been made to %1$s on site %2$s.</source>
</trans-unit>
<trans-unit id="mail_donation_name_label">
<source>Donor</source>
</trans-unit>
<trans-unit id="mail_donation_company_label">
<source>Company</source>
</trans-unit>
<trans-unit id="mail_donation_address_label">
<source>Address</source>
</trans-unit>
<trans-unit id="mail_donation_mail_label">
<source>E-Mail</source>
</trans-unit>
<trans-unit id="mail_donation_url_label">
<source>URL</source>
</trans-unit>
<trans-unit id="mail_donation_amount_label">
<source>Amount</source>
</trans-unit>
<trans-unit id="mail_donation_fee_label">
<source>Fee</source>
</trans-unit>
<trans-unit id="mail_donation_comment_label">
<source>Comment</source>
</trans-unit>
<trans-unit id="mail_thankyou_greeting">
<source>Hello %1$s,</source>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2017-03-02T21:45:03Z"
product-name="t3odonation">
<header/>
<body>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2017-03-02T21:45:03Z"
product-name="t3odonation">
<header/>
<body>
</body>
</file>
</xliff>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<xliff version="1.0">
<file source-language="en" datatype="plaintext" original="messages" date="2017-03-02T21:45:03Z"
product-name="t3odonation">
<header/>
<body>
<trans-unit id="tx_t3odonation_domain_model_donation">
<source>Donation</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.status">
<source>Status</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.name">
<source>Name</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.company">
<source>Company</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.address">
<source>Address</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.address_street">
<source>Street</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.address_zip">
<source>ZIP</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.address_city">
<source>City</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.address_state">
<source>State</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.address_country">
<source>Country</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.address_country_code">
<source>Country Code</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.email">
<source>E-Mail</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.amount">
<source>Amount</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.fee">
<source>Fee</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.currency">
<source>Currency</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.feuser">
<source>Frontend User</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.url">
<source>URL</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.comment">
<source>Comment</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.paypal_transaction_id">
<source>Paypal Transaction ID</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.date">
<source>Payment Date</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_donation.account">
<source>Account</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_account">
<source>Donation Account</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_account.name">
<source>Name</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_account.email_notification">
<source>Notification E-Mail (separate multiple emails with comma)</source>
</trans-unit>
<trans-unit id="tx_t3odonation_domain_model_account.email_paypal">
<source>Paypal E-Mail</source>
</trans-unit>
</body>
</file>
</xliff>
\ No newline at end of file
<div class="container tx-t3o-donations">
<f:render section="main" />
</div>
<!DOCTYPE HTML>
<html>
<head>
<title>{subject}</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div width="600" style="width: 600px">
<f:render section="content" />
</div>
</body>
</html>
<f:layout name="Default"/>
<f:section name="main">
<div class="tx-t3o-donation-form form-horizontal">
<f:flashMessages/>
<form name="tx_t3o_donation_paypal" action="{actionUrl}" method="post">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="business" value="{account.emailPaypal}">
<input type="hidden" name="page_style" value="Donations">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="return" value="{f:uri.action(action: 'thankyou', absolute: 1)}">
<input type="hidden" name="cancel_return" value="{f:uri.action(action: 'form', absolute: 1)}">
<input type="hidden" name="notify_url" value="{f:uri.action(action: 'ipnlog', absolute: 1 )}">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="custom" value="{account.uid}|{userId}">
<div class="hidden" data-additional-fields="subscription">
<input type="hidden" name="p3" value="1">
<input type="hidden" name="t3" value="M">
<input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1">
<input type="hidden" name="item_name" value="{settings.subscriptionItemName}">
<input type="hidden" name="bn" value="PP-SubscriptionsBF">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
</div>
<div class="hidden" data-additional-fields="one-time">
<input type="hidden" name="item_name" value="{settings.oneTimeItemName}">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="hidden" name="cmd" value="_donations">
</div>
<div class="b-form-row">
<div>
<div class="radio">
<label for="donationOneTime">
<input id="donationOneTime" type="radio" name="donationtype" value="one-time">
<f:translate key="form_label_one_time_payment"/>
</label>
</div>
</div>
</div>
<div class="b-form-row">
<div>
<div class="radio">
<label for="donationSubscription">
<input id="donationSubscription" type="radio" name="donationtype" value="subscription"
checked="yes">
<f:translate key="form_label_subscription_payment"/>
</label>
</div>
</div>
</div>
<div>
<label class="control-label">
<f:translate key="form_label_amount"/>
<input class="col-sm-offset-2" id="donationAmountField" type="number" name="a3"
value="{settings.defaultAmount}" title="{f:translate(key: 'form_input_title_amount')}" min="0"
>
</label>
</div>
<div class="form-group">
<div>
<button type="submit" class="btn btn-primary">
<f:translate key="form_submit_button"/>
</button>
</div>
</div>
</form>
</div>
</f:section>
\ No newline at end of file
<f:layout name="Default"/>
<f:section name="main">
</f:section>
\ No newline at end of file
<f:layout name="Default"/>
<f:section name="main">
<f:flashMessages/>
<f:widget.paginate objects="{donations}" as="paginatedDonations"
configuration="{itemsPerPage: 25, insertAbove: 0, insertBelow: 1, maximumNumberOfLinks: 10}">
<table class="table table-striped">
<thead>
<tr>
<th>
<f:translate key="list_header_name"/>
</th>
<th>
<f:translate key="list_header_amount"/>
</th>
<th>
<f:translate key="list_header_date"/>
</th>
</tr>
</thead>
<tbody>
<f:for each="{paginatedDonations}" as="donation">
<tr>
<td>
<f:if condition="{donation.url}">
<f:then>
<f:link.external uri="{donation.url}">{donation.name}</f:link.external>
</f:then>
<f:else>
{donation.name}
</f:else>
</f:if>
</td>
<td>
<f:format.currency currencySign="{donation.currency}" decimalSeparator="."
thousandsSeparator="," prependCurrency="true">{donation.amount}
</f:format.currency>
</td>
<td>
<f:format.date date="{donation.date}"/>
</td>
</tr>
</f:for>
</tbody>
</table>
</f:widget.paginate>
</f:section>
<f:layout name="Mail" />
<f:section name="content">
<h1>
<f:translate key="mail_body_header" extensionName="donation" arguments="{0: account.name, 1: siteUrl}"/>
</h1>
<p>
<b><f:translate key="mail_donation_name_label" extensionName="donation" />:</b> {donation.name}<br />
<b><f:translate key="mail_donation_company_label" extensionName="donation" />:</b> {donation.company}<br />
<b><f:translate key="mail_donation_address_label" extensionName="donation" />:</b><br />
{donation.addressStreet}<br />
{donation.addressZip} {donation.addressCity}<br />
{donation.addressCountry} {donation.addressState}
</p>
<p>
<b><f:translate key="mail_donation_mail_label" extensionName="donation" />:</b> {donation.email}<br />
<b><f:translate key="mail_donation_url_label" extensionName="donation" />:</b> {donation.url}<br />
</p>
<p>
<b><f:translate key="mail_donation_amount_label" extensionName="donation" />:</b> {donation.amount}<br />
<b><f:translate key="mail_donation_fee_label" extensionName="donation" />:</b> {donation.fee}<br />
<b><f:translate key="mail_donation_comment_label" extensionName="donation" />:</b> {donation.comment}<br />
</p>
</f:section>
\ No newline at end of file
<f:layout name="Mail" />
<f:section name="content">
<f:translate key="mail_thankyou_greeting" extensionName="donation" arguments="{0: donation.name}"/><br>
<f:format.raw>
{bodyText}
</f:format.raw>
</f:section>
\ No newline at end of file
function initDonationPayPalForm() {
var form = document.forms["tx_t3o_donation_paypal"];
if (!form) {
return;
}
var donationType = form.elements['donationtype'];
if (!donationType) {
return;
}
var additionalFields = form.querySelectorAll('[data-additional-fields]');
if (additionalFields && additionalFields.length >= 0) {
donationType.forEach(function (type) {
type.addEventListener('change', changeDonationType);
});
}
function changeDonationType() {
var value = donationType.value;
var amountField = document.getElementById('donationAmountField');
if (amountField) {
if(value === 'subscription') {
amountField.name = 'a3';
} else {
amountField.name = 'amount';
}
}
additionalFields.forEach(function (wrapper) {
const disabled = wrapper.dataset['additionalFields'] !== value;
wrapper.querySelectorAll('input').forEach(function (element) {
element.disabled = disabled;
})
});
}
changeDonationType();
}
document.addEventListener("DOMContentLoaded", initDonationPayPalForm);
<li class="event-calendar__day event-calendar__day{f:format.date(date: day.timestamp, format: 'N')} {f:if(condition: '{day.isCurrentMonth}', then: '', else: 'event-calendar__day-other-month')}{f:if(condition: '{day.events}', then: ' has-events')}{f:if(condition: '{day.isCurrentDay}', then: ' event-calendar__day-today')}">
<f:if condition="{day.events}">
<f:then>
<div class="event-calendar__day-date">{day.day}</div>
<f:for each="{day.events}" as="event">
<div class="event-calendar__day-event">
<f:link.action action="detail" arguments="{event : event}" pageUid="{settings.detailPid}">{event.title}</f:link.action>
<div class="event-calendar__day-event-time">
<f:if condition="{day.timestamp -> f:format.date(format: 'd.m.Y')} == {event.startdate -> f:format.date(format: 'd.m.Y')}">
<f:then>
<f:format.date format="H:i">{event.startdate}</f:format.date>
</f:then>
</f:if>
<f:if condition="{event.enddate}">
<f:then>
<f:if condition="{event.startdate -> f:format.date(format: 'd.m.Y')} == {event.enddate -> f:format.date(format: 'd.m.Y')}">
<f:then>
- <f:format.date format="H:i">{event.enddate}</f:format.date>
</f:then>
</f:if>
</f:then>
</f:if>
</div>
</div>
</f:for>
</f:then>
<f:else>
<div class="event-calendar__day-date">{day.day}</div>
</f:else>
</f:if>
</li>
\ No newline at end of file
<f:if condition="{event.image}">
<div class="event-detail-row">
<div class="event-detail-value event-image row">
<f:for each="{event.image}" as="image">
<div class="col-sm-6">
<f:render partial="Rendering/Image" arguments="{file: image, maxWidth: {phone: '768', tablet: '248', desktop: '800', full: '800'}}" />
</div>
</f:for>
</div>
<div class="clear"></div>
</div>
</f:if>
<f:if condition="{event.additionalImage}">
<div class="event-detail-row">
<div class="event-detail-value event-additional-image row">
<f:for each="{event.additionalImage}" as="image">
<div class="col-sm-6">
<f:render partial="Rendering/Image" arguments="{file: image, maxWidth: {phone: '768', tablet: '248', desktop: '800', full: '800'}}" />
</div>
</f:for>
</div>
<div class="clear"></div>
</div>
</f:if>
<f:if condition="{event.files}">
<div class="event-detail-row">
<div class="event-detail-value files">
<f:for each="{event.files}" as="file">
<f:if condition="{file.originalResource.title}">
<f:then>
<a href="{file.originalResource.publicUrl}" target="_blank">{file.originalResource.title}</a>
</f:then>
<f:else>
<a href="{file.originalResource.publicUrl}" target="_blank">
<f:translate key="detail.download" />
</a>
</f:else>
</f:if>
</f:for>
</div>
<div class="clear"></div>
</div>
</f:if>
<f:if condition="{event.location}">
<div class="card card-size-small">
<div class="row">
<div class="col-md-4 hidden-sm-down text-center">
<i class="fa fa-map-marker fa-5x text-primary" aria-hidden="true"></i></div>
<div class="col-md-8">
<h3>
<f:translate key="tx_sfeventmgt_domain_model_event.location" />
</h3>
<address>
{event.location.address}<br>
{event.location.zip} {event.location.city}<br>
{event.location.country}
</address>
</div>
</div>
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" width="500" height="280" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?q={event.location.longitude},{event.location.latitude}&hl=es;z=14&amp;output=embed"></iframe>
</div>
</div>
</f:if>
<f:if condition="{event.program}">
<h3>Program / Schedule</h3>
<div class="row">
<div class="col">{event.program -> f:format.html()}</div>
</div>
</f:if>
<div class="card card-size-small">
<div class="row">
<f:if condition="{event.skills}">
<f:then></f:then>
<f:else>
<div class="col-md-4 hidden-sm-down text-center">
<i class="fa fa-check-circle fa-3x text-primary" aria-hidden="true"></i>
</div>
</f:else>
</f:if>
<div class="col-md-8">
<f:if condition="{event.skills}">
<f:then>
<h3>
Skills needed
</h3>
<ul class="list-style-t3o">
<f:for each="{event.skills.skills}" as="item">
<li>{item.skill.title}</li>
</f:for>
</ul>
</f:then>
<f:else>
<h3>
No special skills needed
</h3>
</f:else>
</f:if>
</div>
</div>
</div>
<div class="card card-size-small pt-3">
<div class="row">
<div class="col-md-4 hidden-sm-down text-center">
<i class="fa fa-camera fa-3x text-primary" aria-hidden="true"></i>
</div>
<div class="col-md-8">
<h3>Social media</h3>
<p>
<a class="btn btn-outline-secondary" href="https://twitter.com"> Twitter</a>
</p>
<p>
<a class="btn btn-outline-secondary" href="https://flickr.com"> Flickr</a>
</p>
</div>
</div>
</div>
<f:comment>
event => title => protected'TYPO3 Developer Days 2017 Malmö' (32 chars) teaser => protected'' (0 chars) description => protected'
<p>Welcome to the 12th TYPO3 Developer days. Continuing the tradition of mee ting new people, sparking inspiration, and
having a good time while explorin g TYPO3.
<br /> Three fantastic days at Quality Hotel™ View in Malmö, Swed en. Meet TYPO3 developers from around the world. A great
experience, not to be missed! We look forward to seeing you there.</p>
<p>Thursday 13th July, 13:00h, to Sunday 16th July, 14:00h.</p>' (420 chars) program => protected'' (0 chars) startdate
=> protectedDateTimeprototypeobject (2017-07-13T11:00:00+02:00, 1499936400) enddate => protectedDateTimeprototypeobject
(2017-07-16T12:00:00+02:00, 1500199200) maxParticipants => protected0 (integer) maxRegistrationsPerUser => protected1
(integer) price => protected0 (double) currency => protected'' (0 chars) enablePayment => protectedFALSE restrictPaymentMethods
=> protectedFALSE selectedPaymentMethods => protected'' (0 chars) category => protectedTYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorageprototypeobject
(1 items) related => protectedTYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorageprototypeobject (empty) registration
=> protectedTYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorageprototypeobject (empty) registrationWaitlist => protectedTYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorageprototypeobject
(empty) registrationDeadline => protectedNULL image => protectedTYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorageprototypeobject
(empty) files => protectedTYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorageprototypeobject (empty) youtube => protected''
(0 chars) location => protectedDERHANSEN\SfEventMgt\Domain\Model\Locationprototypepersistent entity (uid=1, pid=180)
enableRegistration => protectedFALSE enableWaitlist => protectedFALSE link => protected'https://t3dd17.typo3.org' (24
chars) topEvent => protectedFALSE additionalImage => protectedTYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorageprototypeobject
(empty) organisator => protectedNULL notifyAdmin => protectedTRUE notifyOrganisator => protectedFALSE enableCancel =>
protectedFALSE cancelDeadline => protectedNULL enableAutoconfirm => protectedFALSE uniqueEmailCheck => protectedFALSE
priceOptions => protectedTYPO3\CMS\Extbase\Persistence\Generic\LazyObjectStorageprototypeobject (empty) uid => protected1
(integer) _localizedUid => protected1 (integer)modified _languageUid => protected0 (integer)modified _versionedUid =>
protected1 (integer)modified pid => protected180 (integer)
</f:comment>
<div class="event">
<div class="event-header" role="tab">
<div class="event-header__wrp collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseEvent{event.uid}"
aria-controls="collapseEvent{event.uid}">
<div class="event-header__date">
<f:if condition="{event.startdate -> f:format.date(format:'d.m')} == {event.enddate -> f:format.date(format:'d.m')}">
<f:then>
<div class="event-header__date-single">
<time datetime="{f:format.date(date:event.startdate, format:'Y-m-d')}">
<span class="day"><f:format.date date="{event.startdate}" format="j" /></span>
<span class="month"><f:format.date date="{event.startdate}" format="M" /></span>
</time>
</div>
</f:then>
<f:else>
<div class="event-header__date-start">
<time datetime="{f:format.date(date:event.startdate, format:'Y-m-d')}">
<span class="day"><f:format.date date="{event.startdate}" format="j" /></span>
<span class="month"><f:format.date date="{event.startdate}" format="M" /></span>
</time>
</div>
</f:else>
</f:if>
<f:if condition="{event.startdate -> f:format.date(format:'d.m')} != {event.enddate -> f:format.date(format:'d.m')}">
<div class="event-header__date-end">
<time datetime="{f:format.date(date:event.enddate, format:'Y-m-d')}">
<span class="day"><f:format.date date="{event.enddate}" format="j" /></span>
<span class="month"><f:format.date date="{event.enddate}" format="M" /></span>
</time>
</div>
</f:if>
<div class="event-header__date-year">
<time datetime="{f:format.date(date:event.startdate, format:'Y-m-d')}">
<f:format.date date="{event.startdate}" format="Y" />
</time>
</div>
</div>
<div class="event-header__title">
<h4>{event.title}</h4>
<f:if condition="{event.location.city}">
<p>{event.location.city}, {event.location.country}</p>
</f:if>
</div>
</div>
</div>
<div id="collapseEvent{event.uid}" class="collapse" role="tabpanel" aria-labelledby="collapseEvent{event.uid}">
<div class="event-content">
{event.description -> f:format.html()}
<f:if condition="{event.image}">
<f:for each="{event.image}" as="file">
<f:render partial="Rendering/Image" arguments="{file: file, maxWidth: {phone: '768', tablet: '248', desktop: '800', full: '800'}}"
/>
</f:for>
</f:if>
<div class="event__actions text-right mt-3">
<f:if condition="{event.enableRegistration}">
<f:link.action action="registration" arguments="{event : event}" pageUid="{settings.registrationPid}" class="btn btn-primary">
<f:translate key="t3o.event.button.signup" default="Signup" />
</f:link.action>
</f:if>