Location: PHPKode > scripts > Open Review Script > themes/manager/manager_light/template/user/add.tpl
{{
/**
 * OpenReviewScript
 *
 * An Open Source Review Site Script
 *
 * @package		OpenReviewScript
 * @subpackage          manager
 * @author		OpenReviewScript.org
 * @copyright           Copyright (c) 2011-2012, OpenReviewScript.org
 * @license		This file is part of OpenReviewScript - free software licensed under the GNU General Public License version 2 - http://OpenReviewScript.org/license
 * @link		http://OpenReviewScript.org
 */
// ------------------------------------------------------------------------
//
/**    This file is part of OpenReviewScript.
 *
 *    OpenReviewScript is free software: you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation, either version 2 of the License, or
 *    (at your option) any later version.
 *
 *    OpenReviewScript is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 *
 *    You should have received a copy of the GNU General Public License
 *    along with OpenReviewScript.  If not, see <http://www.gnu.org/licenses/>.
 */

 }}
<div id="content">
      <div class="myform">
            <div class="header_row">{{= lang('manager_page_add_title') }}</div  >
            <p>&nbsp;</p>
            <p class="manager_right_link"><strong>-> {{= anchor('manager/users', lang('manager_user_manage_back_to_users')) }}</strong></p>
            <p>&nbsp;</p>
            {{ if(isset($message)): }}
                  <p>&nbsp;</p>
                  <h3>{{= $message }}</h3>
                  <p>&nbsp;</p>
            {{ endif }}
            <form id="form" class="myform" name="form" method="post" action="{{= base_url() . 'manager/user/add' }}">
                  <div class="formblock">
                        <div class="formleft">
                              <label>{{= lang('manager_user_form_name') }}
                                    <span class="small">{{= lang('manager_user_form_name_info') }}</span>

                              </label>
                        </div>
                        <div class="formright">
                              <input class="strong" type="text" name="name" id="name" value="{{= set_value('name',$user->name) }}"/>
                              {{= form_error('name') }}
                              {{ if(isset($name_error)): }}
                                    <span id="darkblue">{{= $name_error }}</span>
                              {{ endif }}
                        </div>
                  </div>
                  <div class="formblock">
                        <div class="formleft">
                              <label>{{= lang('manager_user_form_password') }}
                                    <span class="small">{{= lang('manager_user_form_password_info') }}</span>
                              </label>
                        </div>
                        <div class="formright">
                              <input class="strong" type="password" name="password" id="password" value="{{= set_value('password',$user->password) }}"/>
                              {{= form_error('password') }}
                        </div>
                  </div>
                  <div class="formblock">
                        <div class="formleft">
                              <label>{{= lang('manager_user_form_email') }}
                                    <span class="small">{{= lang('manager_user_form_email_info') }}</span>

                              </label>
                        </div>
                        <div class="formright">
                              <input class="strong" type="text" name="email" id="email" value="{{= set_value('email',$user->email) }}"/>
                              {{= form_error('email') }}
                              {{ if(isset($email_error)): }}
                                    <span id="darkblue">{{= $email_error }}</span>
                              {{ endif }}
                        </div>
                  </div>
                  <div class="formblock">
                        <div class="formleft">
                              <label>{{= lang('manager_user_form_level') }}
                                    <span class="small">{{= lang('manager_user_form_level_info') }}</span>
                              </label>
                        </div>
                        <div class="formright">
                              <input class="strong" type="text" name="level" id="level" value="{{= set_value('level',$user->level) }}"/>
                              {{= form_error('level') }}
                        </div>
                  </div>
                  <input type="submit" name="user_submit" id="button" value="{{= lang('manager_user_form_submit_button') }}" />
            </form>
      </div>
</div>
Return current item: Open Review Script