first commit
This commit is contained in:
27
web/newsletter.php
Normal file
27
web/newsletter.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
use KupShop\KupShopBundle\Util\Compat\SymfonyBridge;
|
||||
|
||||
if (!empty($_REQUEST['unsubscribe'])) {
|
||||
SymfonyBridge::handleController('ContentBundle:Newsletter:unsubscribe');
|
||||
}
|
||||
|
||||
if (getVal('subscribe')) {
|
||||
SymfonyBridge::handleController('ContentBundle:Newsletter:subscribe');
|
||||
}
|
||||
|
||||
if (getVal('generate')) {
|
||||
SymfonyBridge::handleController('ContentBundle:Newsletter:generate');
|
||||
}
|
||||
|
||||
if (getVal('generate') == null && getVal('subscribe') == null && !isset($_REQUEST['unsubscribe'])) {
|
||||
SymfonyBridge::handleController('ContentBundle:Newsletter:other');
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<style type="text/css">
|
||||
.webHidden {
|
||||
display: none !important;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user