コード例 #1
0
ファイル: form.php プロジェクト: goudaelalfy/erp
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('fax'));
    $guiTools->cellLabelValue('60px', $fax);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('email'));
    $guiTools->cellLabelValue('200px', $email);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('notes'));
    $guiTools->cellLabelValue('200px', $notes);
    $guiTools->endRow();
} else {
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('120px', $this->lang->line('code'));
    $guiTools->cellTextbox('800px', '10', '10', 'txt_code', 'txt_code', $code);
    //The 750px width to have agood apearence.
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('100px', $this->lang->line('name'));
    $guiTools->cellTextbox('200px', '50', '50', 'txt_name', 'txt_name', $name);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('stock_manager'));
    $guiTools->cellTextbox('200px', '50', '50', 'txt_stock_manager', 'txt_stock_manager', $stock_manager);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('address'));
    $guiTools->cellTextbox('400px', '100', '100', 'txt_address', 'txt_address', $address);
    $guiTools->endRow();
コード例 #2
0
ファイル: form.php プロジェクト: goudaelalfy/erp
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('notes'));
    $guiTools->cellLabelValue('200px', $notes);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('100px', $this->lang->line('user_group'));
    $guiTools->cellLabelValue('200px', $user_group);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('120px', $this->lang->line('user_rule'));
    $guiTools->cellLabelValue('200px', $user_rule);
    $guiTools->endRow();
} else {
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('120px', $this->lang->line('username'));
    $guiTools->cellTextbox('700px', '20', '20', 'txt_username', 'txt_username', $username);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('100px', $this->lang->line('password'));
    $guiTools->cellPassword('200px', '30', '30', 'txt_password', 'txt_password', $password);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle_Required('100px', $this->lang->line('name'));
    $guiTools->cellTextbox('200px', '40', '50', 'txt_name', 'txt_name', $name);
    $guiTools->endRow();
    $guiTools->beginRow();
    $guiTools->cellLabelTitle('120px', $this->lang->line('mobile'));
    $guiTools->cellTextbox('200px', '30', '30', 'txt_mobile', 'txt_mobile', $mobile);
    $guiTools->endRow();
    $guiTools->beginRow();