%PDF- %PDF-
Direktori : /home1/dimen328/libertysa.com.br/admin/modules/blog/app/views/pjAdminUsers/ |
Current File : //home1/dimen328/libertysa.com.br/admin/modules/blog/app/views/pjAdminUsers/pjActionCreate.php |
<?php if (isset($tpl['status'])) { $status = __('status', true); switch ($tpl['status']) { case 2: pjUtil::printNotice(NULL, $status[2]); break; } } else { ?> <div class="ui-tabs ui-widget ui-widget-content ui-corner-all b10"> <ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all"> <li class="ui-state-default ui-corner-top"><a href="<?php echo $_SERVER['PHP_SELF']; ?>?controller=pjAdminUsers&action=pjActionIndex"><?php __('menuAuthors'); ?></a></li> <li class="ui-state-default ui-corner-top ui-tabs-active ui-state-active"><a href="<?php echo $_SERVER['PHP_SELF']; ?>?controller=pjAdminUsers&action=pjActionCreate"><?php __('lblAddAuthor'); ?></a></li> </ul> </div> <?php pjUtil::printNotice(__('infoAddAuthorTitle', true, false), __('infoAddAuthorBody', true, false)); ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>?controller=pjAdminUsers&action=pjActionCreate" method="post" id="frmCreateUser" class="form pj-form" autocomplete="off"> <input type="hidden" name="user_create" value="1" /> <p> <label class="title"><?php __('lblRole'); ?></label> <span class="inline_block"> <select name="role_id" id="role_id" class="pj-form-field required"> <option value="">-- <?php __('lblChoose'); ?>--</option> <?php foreach ($tpl['role_arr'] as $v) { ?><option value="<?php echo $v['id']; ?>"><?php echo stripslashes($v['role']); ?></option><?php } ?> </select> </span> </p> <p> <label class="title"><?php __('email'); ?></label> <span class="pj-form-field-custom pj-form-field-custom-before"> <span class="pj-form-field-before"><abbr class="pj-form-field-icon-email"></abbr></span> <input type="text" name="email" id="email" class="pj-form-field required email w200" /> </span> </p> <p> <label class="title"><?php __('pass'); ?></label> <span class="pj-form-field-custom pj-form-field-custom-before"> <span class="pj-form-field-before"><abbr class="pj-form-field-icon-password"></abbr></span> <input type="text" name="password" id="password" class="pj-form-field required w200" /> </span> </p> <p> <label class="title"><?php __('lblName'); ?></label> <span class="inline_block"> <input type="text" name="name" id="name" class="pj-form-field w250 required" /> </span> </p> <p> <label class="title"><?php __('lblReceiveNotification'); ?></label> <span class="inline_block"> <select name="receive_notify" id="receive_notify" class="pj-form-field"> <?php foreach (__('receive_notify', true) as $k => $v) { ?><option value="<?php echo $k; ?>"><?php echo $v; ?></option><?php } ?> </select> </span> </p> <p> <label class="title"><?php __('lblStatus'); ?></label> <span class="inline_block"> <select name="status" id="status" class="pj-form-field required"> <option value="">-- <?php __('lblChoose'); ?>--</option> <?php foreach (__('u_statarr', true) as $k => $v) { ?><option value="<?php echo $k; ?>"><?php echo $v; ?></option><?php } ?> </select> </span> </p> <p> <label class="title"> </label> <input type="submit" value="<?php __('btnSave', false, true); ?>" class="pj-button" /> </p> </form> <script type="text/javascript"> var myLabel = myLabel || {}; myLabel.email_taken = "<?php __('pj_email_taken', false, true); ?>"; </script> <?php } ?>