Dre4m Shell
Server IP : 127.0.0.2  /  Your IP : 3.15.160.18
Web Server : Apache/2.4.18 (Ubuntu)
System :
User : www-data ( )
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : disk_free_space,disk_total_space,diskfreespace,dl,exec,fpaththru,getmyuid,getmypid,highlight_file,ignore_user_abord,leak,listen,link,opcache_get_configuration,opcache_get_status,passthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,php_uname,phpinfo,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,pclose,popen,proc_open,proc_close,proc_get_status,proc_nice,proc_terminate,shell_exec,source,show_source,system,virtual
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /opt/odoo/addons/website_mass_mailing/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /opt/odoo/addons/website_mass_mailing/views/unsubscribe_templates.xml
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <template id="unsubscribe">
        <div class="container o_unsubscribe_form">
            <div class="row">
                <form action="/mail/mailing/unsubscribe" method="POST" id="unsubscribe_form">
                    <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
                    <input type="hidden" name="email" t-att-value="email"/>
                    <input type="hidden" name="mailing_id" t-att-value="mailing_id"/>

                    <div class="col-md-6 col-md-offset-3">

                        <h1 class="page-header">Mailing Subscriptions</h1>

                        <t t-if="contacts">
                            <div class="alert alert-info text-center">
                                <p>Choose your mailing subscriptions.</p>
                            </div>

                            <ul class="list-group">
                                <t t-foreach="contacts" t-as="contact">
                                    <li class="list-group-item">
                                        <input type="checkbox" class="mail_list_checkbox" name="contact_ids"
                                            t-att-value="contact['id']" t-att-checked="'checked' if contact['opt_out'] == False else None"/>
                                        <t t-esc="contact.list_id.name"/>
                                    </li>
                                </t>
                            </ul>

                            <div class="text-center mb16">
                                <input type="submit" id="send_form" class="btn btn-primary" value="Update my subscriptions"/>
                            </div>
                        </t>

                        <t t-if="contacts == False">
                            <div class="alert alert-info text-center">
                                <p>You are not subscribed to any of our mailing list.</p>
                            </div>
                        </t>
                    </div>
                </form>
            </div>
        </div>
    </template>

    <template id="unsubscribed">
        <div class="container mt8">
            <div class="row">
                <div class="col-md-6 col-md-offset-3">
                    <h1 class="page-header">Mailing Subscriptions</h1>

                    <div class="alert alert-success text-center">
                        <p>Your changes have been saved.</p>
                    </div>
                </div>
            </div>
        </div>
    </template>

    <template id="page_unsubscribe" name="Unsubscribe">
        <t t-call="website.layout">
            <t t-call="website_mass_mailing.unsubscribe"/>
        </t>
    </template>

    <template id="page_unsubscribed" name="Unsubscribed">
        <t t-call="website.layout">
            <t t-call="website_mass_mailing.unsubscribed"/>
        </t>
    </template>
</odoo>

Anon7 - 2022
AnonSec Team