Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
services
t3o sites
typo3.org
typo3.org
Commits
81c12f71
Commit
81c12f71
authored
Dec 20, 2018
by
Thomas Löffler
Browse files
Add Resources folders of project extensions
parent
94120d5f
Pipeline
#5860
failed with stages
in 25 seconds
Changes
46
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extensions/t3o_donation/Resources/Private/.htaccess
0 → 100644
View file @
81c12f71
deny
from
all
\ No newline at end of file
extensions/t3o_donation/Resources/Private/Language/locallang.xlf
0 → 100644
View file @
81c12f71
<?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
extensions/t3o_donation/Resources/Private/Language/locallang_csh_tx_t3odonation_domain_model_account.xlf
0 → 100644
View file @
81c12f71
<?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
extensions/t3o_donation/Resources/Private/Language/locallang_csh_tx_t3odonation_domain_model_donation.xlf
0 → 100644
View file @
81c12f71
<?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
extensions/t3o_donation/Resources/Private/Language/locallang_db.xlf
0 → 100644
View file @
81c12f71
<?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
extensions/t3o_donation/Resources/Private/Layouts/Default.html
0 → 100644
View file @
81c12f71
<div
class=
"container tx-t3o-donations"
>
<f:render
section=
"main"
/>
</div>
extensions/t3o_donation/Resources/Private/Layouts/Mail.html
0 → 100644
View file @
81c12f71
<!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>
extensions/t3o_donation/Resources/Private/Templates/Donation/Form.html
0 → 100644
View file @
81c12f71
<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
extensions/t3o_donation/Resources/Private/Templates/Donation/IpnLog.html
0 → 100644
View file @
81c12f71
<f:layout
name=
"Default"
/>
<f:section
name=
"main"
>
</f:section>
\ No newline at end of file
extensions/t3o_donation/Resources/Private/Templates/Donation/List.html
0 → 100644
View file @
81c12f71
<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>
extensions/t3o_donation/Resources/Private/Templates/Mail/Notification.html
0 → 100644
View file @
81c12f71
<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
extensions/t3o_donation/Resources/Private/Templates/Mail/Thankyou.html
0 → 100644
View file @
81c12f71
<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
extensions/t3o_donation/Resources/Public/Icons/relation.gif
0 → 100644
View file @
81c12f71
233 Bytes
extensions/t3o_donation/Resources/Public/Icons/tx_t3odonation_domain_model_account.gif
0 → 100644
View file @
81c12f71
597 Bytes
extensions/t3o_donation/Resources/Public/Icons/tx_t3odonation_domain_model_donation.gif
0 → 100644
View file @
81c12f71
1.01 KB
extensions/t3o_donation/Resources/Public/Images/paypal_logo.png
0 → 100644
View file @
81c12f71
5.93 KB
extensions/t3o_donation/Resources/Public/JavaScript/donation.js
0 → 100644
View file @
81c12f71
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
);
extensions/t3org_layout/Resources/Private/Extensions/SfEventMgt/Partials/Event/CalendarDayItem.html
0 → 100644
View file @
81c12f71
<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
extensions/t3org_layout/Resources/Private/Extensions/SfEventMgt/Partials/Event/Detail/ImagesAndFiles.html
0 → 100644
View file @
81c12f71
<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>
extensions/t3org_layout/Resources/Private/Extensions/SfEventMgt/Partials/Event/Detail/Location.html
0 → 100644
View file @
81c12f71
<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&output=embed"
></iframe>
</div>
</div>
</f:if>
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment