View | Details | Raw Unified | Return to bug 22210
Collapse All | Expand All

(-)a/admin/share_content.pl (-4 / +2 lines)
Lines 58-69 if ( $op eq 'reset' ) { Link Here
58
}
58
}
59
59
60
if ( $op eq 'send' ) {
60
if ( $op eq 'send' ) {
61
    my $name = $query->param('lastname');
61
    my $name = $query->param('name');
62
    my $firstname = $query->param('firstname');
63
    my $email = $query->param('email');
62
    my $email = $query->param('email');
64
63
65
    my $content = to_json({firstname => $firstname,
64
    my $content = to_json({name => $name,
66
                           lastname => $name,
67
                           email => $email});
65
                           email => $email});
68
66
69
    my $mana_ip = C4::Context->config('mana_config');
67
    my $mana_ip = C4::Context->config('mana_config');
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/share_content.tt (-8 / +4 lines)
Lines 91-97 Link Here
91
                [% UNLESS Koha.Preference('ManaToken') %]
91
                [% UNLESS Koha.Preference('ManaToken') %]
92
                    <h3>Configure Mana KB</h3>
92
                    <h3>Configure Mana KB</h3>
93
93
94
                    <p>Once you have enabled Mana it must be configured. Type your first name, last name, and email address and submit. This will send a account creation request to Mana KB that will respond back with a Mana KB token (an encrypted ID that uniquely identifies your Koha installation). This token will automatically be saved in your database. After that you will receive an email. Read it and follow the instructions.</p>
94
                    <p>Once you have enabled Mana it must be configured. Type your name, and email address and submit. This will send a account creation request to Mana KB that will respond back with a Mana KB token (an encrypted ID that uniquely identifies your Koha installation). This token will automatically be saved in your database. After that you will receive an email. Read it and follow the instructions.</p>
95
                [% END %]
95
                [% END %]
96
96
97
                [% IF Koha.Preference('ManaToken') %]
97
                [% IF Koha.Preference('ManaToken') %]
Lines 116-127 Link Here
116
                        <fieldset class="rows" id="mana_subscription">
116
                        <fieldset class="rows" id="mana_subscription">
117
                            <ol>
117
                            <ol>
118
                                <li>
118
                                <li>
119
                                    <label for="firstname">First name: </label>
119
                                    <label for="name">Your name: </label>
120
                                    <input id="firstname" type="text" name="firstname" />
120
                                    <input id="name" type="text" name="name" />
121
                                </li>
121
                                    <div class="hint">Enter a personal or organization name.</div>
122
                                <li>
123
                                    <label for="lastname">Last name: </label>
124
                                    <input id="lastname" type="text" name="lastname" />
125
                                </li>
122
                                </li>
126
                                <li>
123
                                <li>
127
                                    <label for="email">Email: </label>
124
                                    <label for="email">Email: </label>
128
- 

Return to bug 22210