PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
osta
/
old
/
include
/
staff
/
templates
<?php global $cfg; if (!$info['title']) $info['title'] = sprintf(__('Register: %s'), Format::htmlchars($user->getName())); if (!$_POST) { $info['sendemail'] = true; // send email confirmation. } ?> <h3 class="drag-handle"><?php echo $info['title']; ?></h3> <b><a class="close" href="#"><i class="icon-remove-circle"></i></a></b> <div class="clear"></div> <hr/> <?php if ($info['error']) { echo sprintf('<p id="msg_error">%s</p>', $info['error']); } elseif ($info['msg']) { echo sprintf('<p id="msg_notice">%s</p>', $info['msg']); } ?> <div><p id="msg_info"><i class="icon-info-sign"></i> <?php echo sprintf(__( 'Complete the form below to create a user account for <b>%s</b>.' ), Format::htmlchars($user->getName()->getOriginal()) ); ?> </p></div> <div id="user-registration" style="display:block; margin:5px;"> <form method="post" class="user" action="#users/<?php echo $user->getId(); ?>/register"> <input type="hidden" name="id" value="<?php echo $user->getId(); ?>" /> <table width="100%"> <tbody> <tr> <th colspan="2"> <em><strong><?php echo __('User Account Login'); ?></strong></em> </th> </tr> <tr> <td><?php echo __('Authentication Sources'); ?>:</td> <td> <select name="backend" id="backend-selection" onchange="javascript: if (this.value != '' && this.value != 'client') { $('#activation').hide(); $('#password').hide(); } else { $('#activation').show(); if ($('#sendemail').is(':checked')) $('#password').hide(); else $('#password').show(); } "> <option value="">— <?php echo __('Use any available backend'); ?> —</option> <?php foreach (UserAuthenticationBackend::allRegistered() as $ab) { if (!$ab->supportsInteractiveAuthentication()) continue; ?> <option value="<?php echo $ab->getBkId(); ?>" <?php if ($info['backend'] == $ab->getBkId()) echo 'selected="selected"'; ?>><?php echo $ab->getName(); ?></option> <?php } ?> </select> </td> </tr> <tr> <td width="180"> <?php echo __('Username'); ?>: </td> <td> <input type="text" size="35" name="username" value="<?php echo $info['username'] ? Format::htmlchars($info['username']) : $user->getEmail(); ?>"> <span class="error"> <?php echo Format::htmlchars($errors['username']); ?></span> </td> </tr> </tbody> <tbody id="activation"> <tr> <td width="180"> <?php echo __('Status'); ?>: </td> <td> <input type="checkbox" id="sendemail" name="sendemail" value="1" <?php echo $info['sendemail'] ? 'checked="checked"' : ''; ?> ><?php echo sprintf(__( 'Send account activation email to %s.'), $user->getEmail()); ?> </td> </tr> </tbody> <tbody id="password" style="<?php echo $info['sendemail'] ? 'display:none;' : ''; ?>" > <tr> <td width="180"> <?php echo __('Temporary Password'); ?>: </td> <td> <input type="password" size="35" name="passwd1" maxlength="128" value="<?php echo $info['passwd1']; ?>"> <span class="error"> <?php echo $errors['passwd1']; ?></span> </td> </tr> <tr> <td width="180"> <?php echo __('Confirm Password'); ?>: </td> <td> <input type="password" size="35" name="passwd2" maxlength="128" value="<?php echo $info['passwd2']; ?>"> <span class="error"> <?php echo $errors['passwd2']; ?></span> </td> </tr> <tr> <td> <?php echo __('Password Change'); ?>: </td> <td colspan=2> <input type="checkbox" name="pwreset-flag" value="1" <?php echo $info['pwreset-flag'] ? 'checked="checked"' : ''; ?>> <?php echo __('Require password change on login'); ?> <br/> <input type="checkbox" name="forbid-pwreset-flag" value="1" <?php echo $info['forbid-pwreset-flag'] ? 'checked="checked"' : ''; ?>> <?php echo __('User cannot change password'); ?> </td> </tr> </tbody> <tbody> <tr> <th colspan="2"><em><strong><?php echo __('User Preferences'); ?></strong></em></th> </tr> <td><?php echo __('Time Zone'); ?>:</td> <td> <?php $TZ_NAME = 'timezone'; $TZ_TIMEZONE = $info['timezone']; include STAFFINC_DIR.'templates/timezone.tmpl.php'; ?> <div class="error"><?php echo $errors['timezone']; ?></div> </td> </tr> </tbody> </table> <hr> <p class="full-width"> <span class="buttons pull-left"> <input type="reset" value="<?php echo __('Reset'); ?>"> <input type="button" name="cancel" class="close" value="<?php echo __('Cancel'); ?>"> </span> <span class="buttons pull-right"> <input type="submit" value="<?php echo __('Create Account'); ?>"> </span> </p> </form> </div> <div class="clear"></div> <script type="text/javascript"> $(function() { $(document).on('click', 'input#sendemail', function(e) { if ($(this).prop('checked')) $('tbody#password').hide(); else $('tbody#password').show(); }); }); </script>
[+]
..
[-] queue-export.tmpl.php
[edit]
[-] queue-preview.tmpl.php
[edit]
[-] queue-column-condition.tmpl.php
[edit]
[-] queue-sorting-add.tmpl.php
[edit]
[-] refer.tmpl.php
[edit]
[-] form-manage.tmpl.php
[edit]
[-] confirm.tmpl.php
[edit]
[-] queue-column-condition-prop.tmpl.php
[edit]
[-] user-lookup.tmpl.php
[edit]
[-] thread-entry.tmpl.php
[edit]
[-] quick-add-role.tmpl.php
[edit]
[-] simple-form.tmpl.php
[edit]
[-] sequence-manage.tmpl.php
[edit]
[-] reset-agent-permissions.tmpl.php
[edit]
[-] email-basicauth.tmpl.php
[edit]
[-] user-register.tmpl.php
[edit]
[-] thread-entry-edit.tmpl.php
[edit]
[-] queue-savedsearches-nav.tmpl.php
[edit]
[-] assign.tmpl.php
[edit]
[-] user-delete.tmpl.php
[edit]
[-] tickets.tmpl.php
[edit]
[-] export.tmpl.php
[edit]
[-] ticket-status.tmpl.php
[edit]
[-] merge-tickets.tmpl.php
[edit]
[-] notes.tmpl.php
[edit]
[-] queue-column-add.tmpl.php
[edit]
[-] user-import.tmpl.php
[edit]
[-] queue-fields.tmpl.php
[edit]
[-] dynamic-form-simple.tmpl.php
[edit]
[-] queue-quickfilter.tmpl.php
[edit]
[-] merge-preview.tmpl.php
[edit]
[-] field-edit.tmpl.php
[edit]
[-] org.tmpl.php
[edit]
[-] list-import.tmpl.php
[edit]
[-] thread-event.tmpl.php
[edit]
[-] tickets-actions.tmpl.php
[edit]
[-] queue-column-edit.tmpl.php
[edit]
[-] status-options.tmpl.php
[edit]
[-] navigation.tmpl.php
[edit]
[-] field-view.tmpl.php
[edit]
[-] tasks-queue-sort.tmpl.php
[edit]
[-] ticket-preview.tmpl.php
[edit]
[-] list-items.tmpl.php
[edit]
[-] thread-entries.tmpl.php
[edit]
[-] queue-tickets.tmpl.php
[edit]
[-] list-item-properties.tmpl.php
[edit]
[-] email-smtp.tmpl.php
[edit]
[-] release.tmpl.php
[edit]
[-] advanced-search.tmpl.php
[edit]
[-] schedule-holidays.tmpl.php
[edit]
[-] delete.tmpl.php
[edit]
[-] plugin-instance-modal.tmpl.php
[edit]
[-] thread-entry-view.tmpl.php
[edit]
[-] list-item-row.tmpl.php
[edit]
[-] faq-print.tmpl.php
[edit]
[-] sub-navigation.tmpl.php
[edit]
[-] plugin-instances.tmpl.php
[edit]
[-] collaborators.tmpl.php
[edit]
[-] list-item-preview.tmpl.php
[edit]
[-] task-edit.tmpl.php
[edit]
[-] set-password.tmpl.php
[edit]
[-] users.tmpl.php
[edit]
[-] queue-sort.tmpl.php
[edit]
[-] dynamic-field-config.tmpl.php
[edit]
[-] thread-email-recipients.tmpl.php
[edit]
[-] task-print.tmpl.php
[edit]
[-] org-delete.tmpl.php
[edit]
[-] 2fas.tmpl.php
[edit]
[-] advanced-search-criteria.tmpl.php
[edit]
[-] mark-as.tmpl.php
[edit]
[-] queue-subnavigation.tmpl.php
[edit]
[-] user-account.tmpl.php
[edit]
[-] queue-sorting.tmpl.php
[edit]
[-] advanced-search-field.tmpl.php
[edit]
[-] schedule-diagnostic.tmpl.php
[edit]
[-] schedule-entry.tmpl.php
[edit]
[-] inline-form.tmpl.php
[edit]
[-] task-view.tmpl.php
[edit]
[-] dynamic-form.tmpl.php
[edit]
[-] queue-navigation.tmpl.php
[edit]
[-] quick-add.tmpl.php
[edit]
[-] note.tmpl.php
[edit]
[-] thread-email-headers.tmpl.php
[edit]
[-] queue-sorting-edit.tmpl.php
[edit]
[-] queue-columns.tmpl.php
[edit]
[-] email-oauth2auth.tmpl.php
[edit]
[-] org-lookup.tmpl.php
[edit]
[-] user.tmpl.php
[edit]
[-] thread-entries-preview.tmpl.php
[edit]
[-] dynamic-form-fields-view.tmpl.php
[edit]
[-] savedqueue-settings.tmpl.php
[edit]
[-] tasks-actions.tmpl.php
[edit]
[-] thread-entry-resend.tmpl.php
[edit]
[-] plugin-instance.tmpl.php
[edit]
[-] content-manage.tmpl.php
[edit]
[-] timezone.tmpl.php
[edit]
[-] schedule-add.tmpl.php
[edit]
[-] task-status.tmpl.php
[edit]
[-] email-mailbox.tmpl.php
[edit]
[-] transfer.tmpl.php
[edit]
[-] collaborators-preview.tmpl.php
[edit]
[-] task.tmpl.php
[edit]
[-] org-profile.tmpl.php
[edit]
[-] queue-column.tmpl.php
[edit]
[-] schedule-entries.tmpl.php
[edit]
[-] task-preview.tmpl.php
[edit]
[-] ticket-print.tmpl.php
[edit]