Changeset 548


Ignore:
Timestamp:
Nov 18, 2014 10:10:04 AM (11 years ago)
Author:
quyenla
Message:

frontend

Location:
pro-violet-viettel/sourcecode/application/modules/frontend
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/frontend/controllers/user.php

    r542 r548  
    7575        parse_str($user_info['user'], $info);
    7676        if (isset($input['fullname'])) {
    77             if (strlen($input['fullname']) < 10) {
    78                 $result['errors'][] = "Vui lòng nhập tên đầy đủ tối thiểu 10 kí tá»±";
    79             }
    80             if (strlen($input['school']) < 10) {
    81                 $result['errors'][] = "Vui lòng nhập đơn vị quí vị đang cÃŽng tác tối thiểu 10 kí tá»±";               
     77            if (strlen($input['fullname']) < 1) {
     78                $result['errors'][] = "Vui lòng nhập họ tên đầy đủ tiếng Việt";
     79            }
     80            if (strlen($input['school']) < 1) {
     81                $result['errors'][] = "Vui lòng nhập đơn vị cÃŽng tác";               
    8282            }
    8383            if (!isset($result['errors'])) {
  • pro-violet-viettel/sourcecode/application/modules/frontend/views/package_register_modal.php

    r547 r548  
    2727                            <div class="col-sm-8">
    2828                                <input name="fullname" <?php if ($can_edit == 0) { ?>  disabled <?php } ?> type="text" value="<?php echo $info['fullname']; ?>" placeholder="Họ và tên" id="form-field-first" class="input-large">
     29                            <br />
     30                                    <?php if ($can_edit == 1) { ?>
     31                        (Lưu Ü: Quí vị cần điền đầy đủ Họ tên chính xác bằng tiếng Việt có dấu, các tên đơn vị sẜ khÃŽng được chấp nhận. ThÃŽng tin Họ tên sẜ khÃŽng thể thay đổi sau khi Quí vị Đăng kí Sá»­ dụng dịch vụ.
     32                   <?php } ?>
    2933                            </div>
    3034                        </div>
     
    3943                            </div>
    4044                        </div>
    41                          <?php if ($can_edit == 1) { ?>
    42                         (Lưu Ü: Quí vị cần điền đầy đủ Họ tên chính xác bằng tiếng Việt có dấu, các tên đơn vị sẜ khÃŽng được chấp nhận. ThÃŽng tin Họ tên sẜ khÃŽng thể thay đổi sau khi Quí vị Đăng kí Sá»­ dụng dịch vụ.<br />
    43                    <?php } ?>
     45                         
    4446                    </form>
    4547                <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.