~ubuntu-branches/ubuntu/trusty/ldap-account-manager/trusty

« back to all changes in this revision

Viewing changes to templates/3rdParty/pla/htdocs/add_value_form.php

  • Committer: Package Import Robot
  • Author(s): Roland Gruber
  • Date: 2012-03-25 11:00:20 UTC
  • mfrom: (1.1.22) (4.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20120325110020-bggr97wusvitsvqg
Tags: 3.7-1
* new upstream release
* Fix "[INTL:nl] Dutch translation of debconf templates" (Closes: #658463)
* Fix "[INTL:da] Danish translation of the debconf templates ldap-
  account-manager" (Closes: #661950)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
# Render the form
35
35
if (! strcasecmp($request['attr'],'objectclass') || get_request('meth','REQUEST') != 'ajax') {
36
36
        # Render the form.
37
 
        $request['page']->drawTitle(sprintf(_('Add new <b>%s</b> value to <b>%s</b>'),htmlspecialchars($request['attr']),htmlspecialchars(get_rdn($request['dn']))));
 
37
        $request['page']->drawTitle(sprintf(_('Add new <b>%s</b> value to <b>%s</b>'), htmlspecialchars($request['attr']),htmlspecialchars(get_rdn($request['dn']))));
38
38
        $request['page']->drawSubTitle();
39
39
 
40
40
        if (! strcasecmp($request['attr'],'objectclass')) {
88
88
        echo '</tr>';
89
89
 
90
90
        echo '<tr>';
91
 
        printf('<td class="top">%s</td>',_('Enter the value(s) you would like to add:'));
 
91
        printf('<td class="top">%s</td>',_('Enter the values you would like to add:'));
92
92
        echo '<td>';
93
93
 
94
94
        if (! strcasecmp($request['attr'],'objectclass')) {
122
122
 
123
123
                if ($_SESSION[APPCONFIG]->getValue('appearance','show_hints'))
124
124
                        printf('<tr><td colspan="2"><small><br /><img src="%s/light.png" alt="Hint" /><span class="hint">%s</span></small></td></tr>',
125
 
                                IMGDIR,_('Note: You may be required to enter new attributes that these objectClass(es) require'));
 
125
                                IMGDIR,_('Note: You may be required to enter new attributes that these object classes require'));
126
126
 
127
127
                echo '</table>';
128
128
                echo '</form>';