Giter Club home page Giter Club logo

legal's People

Contributors

cmfcmf avatar craigh avatar damon18 avatar github-actions[bot] avatar guite avatar hvorragend avatar nmpetkov avatar rmburkhead avatar rojblake avatar shefik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

nmpetkov damon18 gfr

legal's Issues

Legal doesn't install on the current 1.3.6 branch

The following exception is triggered after install. Refs zikula/core#985

InactiveScopeException: You cannot create a service ("request") of an inactive scope ("request").
in C:\xampp\htdocs\Zikula\core_1_3_dev\src\app\cache\dev\appDevDebugProjectContainer.php line 2182
at appDevDebugProjectContainer->getRequestService() in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\Container.php line 319
at Container->get('request', '1') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\DependencyInjection\ContainerBuilder.php line 465
at ContainerBuilder->get('request') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\legacy\Zikula\ServiceManager.php line 131
at Zikula_ServiceManager->getService('request') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\modules\Legal\Listener\UsersUiHandler.php line 70
at Legal_Listener_UsersUiHandler->__construct(object(Zikula_EventManager))
at ReflectionClass->newInstance(object(Zikula_EventManager)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\legacy\Zikula\Core.php line 351
at Zikula_Core->attachEventHandler('Legal_Listener_UsersUiHandler') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\util\EventUtil.php line 138
at EventUtil::attachEventHandler('Legal_Listener_UsersUiHandler') in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\util\EventUtil.php line 321
at EventUtil::loadPersistentEvents() in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\EventHandlers\SystemListeners.php line 159
at SystemListeners->systemPlugins(object(GenericEvent), 'core.init', object(Zikula_EventManager))
at call_user_func(array(object(SystemListeners), 'systemPlugins'), object(GenericEvent), 'core.init', object(Zikula_EventManager)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php line 164
at EventDispatcher->doDispatch(array(array(object(SystemListeners), 'sessionLogging'), array(object(SystemListeners), 'systemPlugins'), array(object(SystemListeners), 'setupAutoloaderForGeneratedCategoryModels'), array(object(SystemListeners), 'setupCsfrProtection')), 'core.init', object(GenericEvent)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\EventDispatcher.php line 53
at EventDispatcher->dispatch('core.init', object(GenericEvent)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\vendor\symfony\symfony\src\Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher.php line 167
at ContainerAwareEventDispatcher->dispatch('core.init', object(GenericEvent), null) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\legacy\Zikula\EventManager.php line 99
at Zikula_EventManager->dispatch('core.init', object(GenericEvent)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\lib\legacy\Zikula\Core.php line 464
at Zikula_Core->init('4095', object(Zikula_Request_Http)) in C:\xampp\htdocs\Zikula\core_1_3_dev\src\index.php line 19

the legal version shipped with 1.4.2 gives error during installation

Oops! An Error Occurred
The server returned a "500 Internal Server Error".
Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

Zikula\LegalModule\LegalModuleInstaller must implement ExtensionInstallerInterface

Custom URL for each language

Only a language independat setting is possible
grafik

My proposal is to have for each language the chance to add a custom URL per setting

Interactive upgrade

I've noticed that after upgrading the Core the user must suddenly accept the conditions.
Unfortunately the administrator has no way to control this practice. And some users might be surprised.

As we have already discussed, it would be an advantage if we ask the admin in an interactive module upgrade how to proceed.

Separate Logic and Data Layers

In preparation for converting the module to be database-driven instead of hard-coded and module variable-driven, separate the logic and data access layers. Model the data access layer classes in a manner compatible with the eventual implementation of Doctrine2 in version 3.0.0 of the module.

Reset Acceptance should not be on Settings page

The "Reset user group's acceptance of 'Terms of use'" item should probably not be on the Settings page for Legal. It is an action, not a setting. It should probably also allow the selective resetting of the acceptance of the other policies.

It should be moved to its own item on the Legal admin page.

Migrate to 2.0 spec

  • Raise version to 3.0.0
  • CS fixes
  • Basic adaptions for core 1.4.x
    • Add Zikula manifest file
    • Use composer instead of old version class
    • Use link container
    • Use new installer class
  • New controller classes
    • Create dedicated config controller
    • Migrate Admin controller
    • Migrate User controller
  • Migrate to Twig
    • Reimplement Smarty plugins as Twig functions
  • Listeners
  • Todo markers
  • Testing

Get a commit into the 1.3.x version of Legal

It would be nice to get this commit into the 1.3.x version of Legal, as there might be another 1.3.x core released some day. I can do so, if you tell me if the following is correct:

  • checkout release-2.0.1 branch
  • add new release-2.0.2 branch
  • apply the commit
  • raise version number to 2.0.2 in Version.php
  • tag it 2.0.2
  • update the core build script to fetch Legal version 2.0.2 instead of 2.0.1
  • bump the current version in the Legal master branch to 2.1.0

@Drak

The important notice is not valid for zk1.4

Important Usage Note: The provided legal statements are samples only. They need to be adapted to your specific needs and locales. You will find the content of the statements in files in the "/modules/Legal/Resources/views/en" directory. These templates can be overridden by theme templates, or by global templates you would create in the "config/templates/legal/" directory (in the appropriate sub-directory for the language you are writing for).

The link "overridding" to the wiki is also wrong (404)

Terms acceptance for admin broken

In a recent commit, determineAcceptanceState() was updated to ensure that special users (e.g., admin where uid == 2) are always found to have accepted the specified policy. In that commit, the date/time string returned to signify acceptance was the beginning of the Unix Epoch. This was incorrect. To always signify acceptance, the date/time string returned should always be the latest possible date/time (e.g., now).

Undefined index: cancellationRight

Zikula 1.3.7 build 722

At this page:

/index.php?module=users&type=admin&func=approveRegistration&uid=72&force=1

The following error is thrown:

"Notice: Undefined index: cancellationRight"

Controller functions do not redirect to custom URLs

The current "standard" user controller functions that point to legal documents return the templated documents instead of redirecting to the customer URLs, as was added in 88cf32f

@Guite - Was there a reason you did not have the controller functions (e.g., the termsOfUse() function in src/modules/Legal/lib/Legal/Controller/User.php) redirect to the custom URLs if they were present?

Implement Doctrine1

Convert the module to be database-driven, and implement this using Doctrine1 in order to remain compatible with release-1.3 and certain users' requirements to be able to run Zikula without the use of namespaces.

[CLI] PHP Fatal error: Class 'Zikula\LegalModule\Listener\UsersUiListener' not found

When running a command via CLI, the following error is thrown:

PHP Fatal error: Class 'Zikula\LegalModule\Listener\UsersUiListener' not found in /src/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php on line 142
PHP Stack trace:
PHP 1. {main}() /src/app/console:0
PHP 2. Symfony\Component\Console\Application->run() /src/app/console:22
PHP 3. Symfony\Bundle\FrameworkBundle\Console\Application->doRun() /src/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:121
PHP 4. Zikula_ServiceManager->get() /src/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:86
PHP 5. Symfony\Component\DependencyInjection\ContainerBuilder->get() /src/lib/legacy/Zikula/ServiceManager.php:117
PHP 6. Symfony\Component\DependencyInjection\Container->get() /src/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php:464
PHP 7. appDevDebugProjectContainer->getDebug_EventDispatcherService() /src/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php:326
PHP 8. Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->addSubscriberService() /src/app/cache/dev/appDevDebugProjectContainer.php:609
PHP 9. Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->__call() /src/app/cache/dev/appDevDebugProjectContainer.php:609
PHP 10. call_user_func_array() /src/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php:188
PHP 11. Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->addSubscriberService() /src/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php:188

Unused variable in validateEdit()

UsersUiHandler.php, validateEdit(), the $isRegistration variable near line 349 (in the case where someone is logged in) appears to not be used.

Legal Notice doc type cannot be disabled

The document type 'legalnotice' cannot be disabled from the admin panel settings page. When this type was added, the control used on the form was a check box. When a check box is cleared (no check mark) and submitted the control is not "successful" according to the HTML specification, and therefore no variable is added to the $_POST variable for that control. Since no variable is set on the post, updateConfig()'s call to request->getPost()->get() will use its default, but the default was set to true when the code was added.

The implication of the code is that the developer expected to be returned a post variable with a value of 0 if the type was to be disabled. As described above, check boxes do not operate this way. Setting true as the default installation active state for the type in the installer is fine, but if check boxes are to be used on the settings page, then the default for the get() call must be false.

Validation: if uid of acct != uid for Legal part of validation, then fail

When validating a modified user record (either a user modifying his own, or an admin modifying any), if the uid for policy acceptance (acceptedpolicies_uid) does not match the uid on the parent user record, then nothing bad happens, and probably should.

See if ($goodUidUser && $goodUidAcceptPolicies && ($user['uid'] == $uid)) { near line 395 and } elseif (!$goodUidUser || !$goodUidAcceptPolicies) { near line 411

Path to legal docs default text is wrong in "Important Usage Note:"

Looking at the Legal settings admin page
/index.php?module=legalmod&type=admin&func=modifyConfig

It says "You will find the content of the statements in files in the modules/legal/pntemplates/en directory."

However they are actually at
/modules/Legal/Resources/views/en

Implement Doctrine2

Update the module to be database-driven, rather than hard-coding document types and managing dynamic elements in module variables.

Unable to Install Legal Module

Zikula 1.3.7 build 718 throws this error, when trying to install the Legal module:

"ContextErrorException: Catchable Fatal Error: Argument 1 passed to Profile_Listener_UsersUiHandler::__construct() must be an instance of Zikula_EventManager, instance of Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher given in /modules/Profile/Listener/UsersUiHandler.php line 65"

Even though the error message says "Profile" in the module path, I did attempt to install the "Legal" module.

Adding Support for Webshim and Polyfill

The Zikula core supports Webshim, which is a polyfill library that enables you to reliably use HTML5 features across browsers, even if native support is lacking.

The module Legal should be updated to take advantage of its features.

Also, the module Legal can potentially add additional custom validations, by just attaching to the "blur" event on fields.

Refs. zikula/core#2377

A fatal system error has occurred

If the Legal module is installed and running, then I cannot check "my entries" in the user administration.

  • URL: index.php?module=users&type=admin&func=modify&userid=2&lang=en
  • Click on "Check your entries"
  • Javascript error message: "A fatal system error has occurred"

Reset Acceptance broken

The current reset acceptance function is broken. It uses the old method of setting the Users module's activated field to a value of 2, which once signified that the user had to re-accept the terms and conditions. That method is no longer used. It should instead reset the appropriate attribute on the user's record. For the current limited functionality of resetting the terms of use, it should reset the Legal_Constant::ATTRIBUTE_TERMSOFUSE_ACCEPTED attribute on the user record to an empty value.

Streamline Form at User Registration

In an attempt to streamline the User Registration form, combine all of the checkboxes from the Legal module (Terms of Use, Privacy Policy, etc.) into one checkbox that the user needs to check. You will still have information and links next to the checkbox, to explain what items are represented.

In the back-end, if this one checkbox is checked, then you can still store the acceptance into separate values for each item represented.

This will help to have the user register at the site faster, and with less clicks needed.

Form Does Not Retain State at User Registration

When the User Registration form is submitted, the "Legal" checkboxes do not retain their checked state, if the form is returned to the user in the event of form validation errors in other fields that may exist elsewhere in the form.

The user should not need to re-check the checkboxes, if they have already checked them.

Upgrade to core version 1.4

Upgrade the code base to core Zikula version 1.4. Remove all deprecated function calls, class access, and other constructs. Ensure that the new code base operates under core version 1.4 without requiring legacy or compatibility layers, and does not generate PHP errors or warnings.

The Module Var "legalNoticeActive" Doesn't Do Anything When Set

When you set the module var "legalNoticeActive" to true here:

index.php?module=legalmod&type=admin&func=modifyConfig

It doesn't do anything in the User Registration form. Even when you set a value for "legalNoticeUrl", it still does not display anything.

Twig_Error_Runtime: Key "termsOfUse" does not exist as the array is empty

creating a new user is showing this issue:
see also zikula/core#3253

[1] Twig_Error_Runtime: Key "termsOfUse" does not exist as the array is empty in "@ZikulaLegalModule/Include/acceptPolicies.html.twig" at line 13.
    at n/a
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 552

    at Twig_Template->getAttribute(array(), 'termsOfUse', array())
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/app/cache/prod/twig/6f/6f1d018c2f2ac52cd8b7516c9af6871f233936feb7a871b59ad35997681248ef.php line 55

    at __TwigTemplate_d1925e03647dc05dfd520deef71209d3030f2f0fe5c98ebe1f140766418a79de->doDisplay(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 428

    at Twig_Template->displayWithErrorHandling(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 396

    at Twig_Template->display(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 407

    at Twig_Template->render(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Extension/Core.php line 1396

    at twig_include(object(Twig_Environment), array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), '@ZikulaLegalModule/Include/acceptPolicies.html.twig')
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/app/cache/prod/twig/47/47fcc8ba9ae8db006b51087c74c3fba3d4eb7c0937a1a6317b4eb6758c8353cf.php line 34

    at __TwigTemplate_1404b4d5f1e99317ed5b300bd8b3f06fddf0e21f10a1271a0c5adfcbaee934c3->doDisplay(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 428

    at Twig_Template->displayWithErrorHandling(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA==', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 396

    at Twig_Template->display(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA=='))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 407

    at Twig_Template->render(array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA=='))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Environment.php line 362

    at Twig_Environment->render('@ZikulaLegalModule/UsersUI/editRegistration.html.twig', array('activePolicies' => array('termsOfUse' => '1', 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'originalAcceptedPolicies' => array(), 'acceptedPolicies' => array('termsOfUse' => false, 'privacyPolicy' => false, 'agePolicy' => false, 'cancellationRightPolicy' => false, 'tradeConditions' => false), 'fieldErrors' => array(), 'csrfToken' => 'NTg0MzAwMGFkMWU1NTguNTUyOTUzNTE6MzQ3ZjkzNWY1NGY3YjQ4OGMyOGNlN2YwNzE1YmMzODI6MTQ4MDc4NTkzMA=='))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/modules/zikula/legal-module/Listener/UsersUiListener.php line 274

    at Zikula\LegalModule\Listener\UsersUiListener->uiEdit(object(GenericEvent), 'module.users.ui.form_edit.new_registration', object(TraceableEventDispatcher))
        in  line 

    at call_user_func(array(object(UsersUiListener), 'uiEdit'), object(GenericEvent), 'module.users.ui.form_edit.new_registration', object(TraceableEventDispatcher))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php line 61

    at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GenericEvent), 'module.users.ui.form_edit.new_registration', object(Zikula_EventManager))
        in  line 

    at call_user_func(object(WrappedListener), object(GenericEvent), 'module.users.ui.form_edit.new_registration', object(Zikula_EventManager))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 184

    at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener)), 'module.users.ui.form_edit.new_registration', object(GenericEvent))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php line 46

    at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('module.users.ui.form_edit.new_registration', object(GenericEvent), null)
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/lib/legacy/Zikula/EventManager.php line 95

    at Zikula_EventManager->dispatch('module.users.ui.form_edit.new_registration', object(GenericEvent))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php line 140

    at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('module.users.ui.form_edit.new_registration', object(GenericEvent))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/lib/Zikula/Bundle/CoreBundle/Twig/Extension/SimpleFunction/DispatchEventSimpleFunction.php line 41

    at Zikula\Bundle\CoreBundle\Twig\Extension\SimpleFunction\DispatchEventSimpleFunction->dispatchEvent('module.users.ui.form_edit.new_registration')
        in  line 

    at call_user_func_array(array(object(DispatchEventSimpleFunction), 'dispatchEvent'), array('module.users.ui.form_edit.new_registration'))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/app/cache/prod/twig/a6/a64b9cc349f30b5181e1cfc30fd26e825adf7800c6b3f616931cfcc545d20634.php line 128

    at __TwigTemplate_a1d17e2d3a4433116ae209999791066a03c6a0dfe795281ecae2e414fad10220->doDisplay(array('form' => object(FormView), 'domain' => 'zikula', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 428

    at Twig_Template->displayWithErrorHandling(array('form' => object(FormView), 'domain' => 'zikula', 'app' => object(AppVariable), 'pagevars' => object(ParameterBag), 'themevars' => object(ParameterBag), 'currentUser' => object(CurrentUserApi), 'localeApi' => object(LocaleApi)), array())
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 396

    at Twig_Template->display(array('form' => object(FormView), 'domain' => 'zikula'))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/twig/twig/lib/Twig/Template.php line 407

    at Twig_Template->render(array('form' => object(FormView), 'domain' => 'zikula'))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/system/ThemeModule/Bridge/Twig/EventEnabledTwigEngine.php line 49

    at Zikula\ThemeModule\Bridge\Twig\EventEnabledTwigEngine->render('@ZikulaZAuthModule/Authentication/register.html.twig', array('form' => object(FormView), 'domain' => 'zikula'))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php line 97

    at Symfony\Bundle\TwigBundle\TwigEngine->renderResponse('@ZikulaZAuthModule/Authentication/register.html.twig', array('form' => object(FormView), 'domain' => 'zikula'), null)
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 185

    at Symfony\Bundle\FrameworkBundle\Controller\Controller->render('@ZikulaZAuthModule/Authentication/register.html.twig', array('form' => object(FormView), 'domain' => 'zikula'), null)
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/lib/Zikula/Core/Controller/AbstractController.php line 99

    at Zikula\Core\Controller\AbstractController->render('@ZikulaZAuthModule/Authentication/register.html.twig', array('form' => object(FormView)))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/system/UsersModule/Controller/RegistrationController.php line 178

    at Zikula\UsersModule\Controller\RegistrationController->registerAction(object(Zikula_Request_Http))
        in  line 

    at call_user_func_array(array(object(RegistrationController), 'registerAction'), array(object(Zikula_Request_Http)))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 144

    at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Zikula_Request_Http), '1')
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 64

    at Symfony\Component\HttpKernel\HttpKernel->handle(object(Zikula_Request_Http), '1', true)
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php line 69

    at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Zikula_Request_Http), '1', true)
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 185

    at Symfony\Component\HttpKernel\Kernel->handle(object(Zikula_Request_Http))
        in /home/www/www.oldtimer-ig-osnabrueck.de/Zikula_Core-1.4.4/index.php line 23

Open Legal Info in Modal

At the User Registration form here:

/index.php?module=users&type=user&func=register

perhaps it will be better to have the Legal info for "Terms of Use" and "Privacy Policy" open in a Bootstrap modal, instead of a new window.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.