当前位置: 首页>>代码示例>>PHP>>正文


PHP Form::select_dolusers方法代码示例

本文整理汇总了PHP中Form::select_dolusers方法的典型用法代码示例。如果您正苦于以下问题:PHP Form::select_dolusers方法的具体用法?PHP Form::select_dolusers怎么用?PHP Form::select_dolusers使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Form的用法示例。


在下文中一共展示了Form::select_dolusers方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: print_form_filter

function print_form_filter($userid)
{
    global $db, $langs;
    $langs->load('users');
    $form = new Form($db);
    print '<form name="filter" methode="GET" action="' . $_SERVER['PHP_SELF'] . '">';
    print $langs->trans('HierarchicalResponsible');
    print $form->select_dolusers($userid, 'userid', 1, '', 0, '', '', 0, 0, 0, '', 0, '', '', 1);
    print '<br /><br />';
    $date_deb = explode('/', $_REQUEST['date_deb']);
    $date_deb = implode('/', array_reverse($date_deb));
    $date_fin = explode('/', $_REQUEST['date_fin']);
    $date_fin = implode('/', array_reverse($date_fin));
    print 'Du ';
    $form->select_date(strtotime($date_deb), 'date_deb');
    print 'Au ';
    $form->select_date(strtotime($date_fin), 'date_fin');
    print '<input type="SUBMIT" class="butAction" value="Filtrer" />';
    print '</form>';
    print '<br />';
}
开发者ID:ATM-Consulting,项目名称:dolibarr_module_mandarin,代码行数:21,代码来源:graph_project_by_user.php

示例2: GETPOST

 // Ligne ajout pour contact interne
 print "<tr " . $bc[$var] . ">";
 print '<td class="nowrap">';
 print img_object('', 'user') . ' ' . $langs->trans("Users");
 print '</td>';
 print '<td colspan="1">';
 print $conf->global->MAIN_INFO_SOCIETE_NOM;
 print '</td>';
 print '<td colspan="1">';
 // On recupere les id des users deja selectionnes
 if ($object->project->public) {
     $contactsofproject = '';
 } else {
     $contactsofproject = $projectstatic->getListContactId('internal');
 }
 print $form->select_dolusers(GETPOST('contactid') ? GETPOST('contactid') : $user->id, 'contactid', 0, '', 0, '', $contactsofproject, 0, 0, 0, '', 1, $langs->trans("ResourceNotAssignedToProject"));
 print '</td>';
 print '<td>';
 $formcompany->selectTypeContact($object, '', 'type', 'internal', 'rowid');
 print '</td>';
 print '<td align="right" colspan="3" ><input type="submit" class="button" value="' . $langs->trans("Add") . '"></td>';
 print '</tr>';
 print '</form>';
 // Line to add an external contact. Only if project linked to a third party.
 if ($projectstatic->socid) {
     print '<form action="' . $_SERVER["PHP_SELF"] . '?id=' . $object->id . '" method="POST">';
     print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
     print '<input type="hidden" name="action" value="addcontact">';
     print '<input type="hidden" name="source" value="external">';
     print '<input type="hidden" name="id" value="' . $object->id . '">';
     if ($withproject) {
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:contact.php

示例3: GETPOST

         $listofuserid = json_decode($_SESSION['assignedtouser'], true);
     }
 }
 print '<div class="assignedtouser">';
 print $form->select_dolusers_forevent($action == 'create' ? 'add' : 'update', 'assignedtouser', 1, '', 0, '', '', 0, 0, 0, 'AND u.statut != 0');
 print '</div>';
 if (in_array($user->id, array_keys($listofuserid))) {
     print '<div class="myavailability">';
     print $langs->trans("MyAvailability") . ': <input id="transparency" type="checkbox" name="transparency"' . (!isset($_GET['transparency']) && !isset($_POST['transparency']) || GETPOST('transparency') ? ' checked' : '') . '> ' . $langs->trans("Busy");
     print '</div>';
 }
 print '</td></tr>';
 // Realised by
 if (!empty($conf->global->AGENDA_ENABLE_DONEBY)) {
     print '<tr><td class="nowrap">' . $langs->trans("ActionDoneBy") . '</td><td>';
     print $form->select_dolusers(GETPOST("doneby") ? GETPOST("doneby") : (!empty($object->userdoneid) && $percent == 100 ? $object->userdoneid : 0), 'doneby', 1);
     print '</td></tr>';
 }
 print '</table>';
 print '<br><br>';
 print '<table class="border" width="100%">';
 // Societe, contact
 print '<tr><td width="30%" class="nowrap">' . $langs->trans("ActionOnCompany") . '</td><td>';
 if (GETPOST('socid', 'int') > 0) {
     $societe = new Societe($db);
     $societe->fetch(GETPOST('socid', 'int'));
     print $societe->getNomUrl(1);
     print '<input type="hidden" id="socid" name="socid" value="' . GETPOST('socid', 'int') . '">';
 } else {
     $events = array();
     $events[] = array('method' => 'getContacts', 'url' => dol_buildpath('/core/ajax/contacts.php?showempty=1', 1), 'htmlname' => 'contactid', 'params' => array('add-customer-contact' => 'disabled'));
开发者ID:Albertopf,项目名称:prueba,代码行数:31,代码来源:card.php

示例4:

print '<table class="noborder" width="100%">';
print '<tr class="liste_titre"><td class="liste_titre" colspan="2">' . $langs->trans("Filter") . '</td></tr>';
// Company
/*
print '<tr><td>'.$langs->trans("ThirdParty").'</td><td>';
$filter='';
print $form->select_company($socid,'socid',$filter,1,1);
print '</td></tr>';
*/
// User
print '<tr><td>' . $langs->trans("User") . '</td><td>';
$include = '';
if (empty($user->rights->expensereport->readall) && empty($user->rights->expensereport->lire_tous)) {
    $include = 'hierarchy';
}
print $form->select_dolusers($userid, 'userid', 1, '', 0, $include, '', 0, 0, 0, '', 0, '', 'maxwidth300');
print '</td></tr>';
// Year
print '<tr><td>' . $langs->trans("Year") . '</td><td>';
if (!in_array($year, $arrayyears)) {
    $arrayyears[$year] = $year;
}
arsort($arrayyears);
print $form->selectarray('year', $arrayyears, $year, 0);
print '</td></tr>';
print '<tr><td align="center" colspan="2"><input type="submit" name="submit" class="button" value="' . $langs->trans("Refresh") . '"></td></tr>';
print '</table>';
print '</form>';
print '<br><br>';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre" height="24">';
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:index.php

示例5: Societe

$companystatic = new Societe($db);
$invoicestatic = new Facture($db);
$form = new Form($db);
llxHeader('', $langs->trans("Margins") . ' - ' . $langs->trans("Agents"));
$text = $langs->trans("Margins");
print_fiche_titre($text);
// Show tabs
$head = marges_prepare_head($user);
$titre = $langs->trans("Margins");
$picto = 'margin';
dol_fiche_head($head, 'agentMargins', $titre, 0, $picto);
print '<form method="post" name="sel" action="' . $_SERVER['PHP_SELF'] . '">';
print '<table class="border" width="100%">';
print '<tr><td width="20%">' . $langs->trans('SalesRepresentative') . '</td>';
print '<td colspan="4">';
print $form->select_dolusers($agentid, 'agentid', 1);
print '</td></tr>';
// Start date
print '<td>' . $langs->trans('StartDate') . ' (' . $langs->trans("DateValidation") . ')</td>';
print '<td width="20%">';
$form->select_date($startdate, 'startdate', '', '', 1, "sel", 1, 1);
print '</td>';
print '<td width="20%">' . $langs->trans('EndDate') . ' (' . $langs->trans("DateValidation") . ')</td>';
print '<td width="20%">';
$form->select_date($enddate, 'enddate', '', '', 1, "sel", 1, 1);
print '</td>';
print '<td style="text-align: center;">';
print '<input type="submit" class="button" value="' . dol_escape_htmltag($langs->trans('Launch')) . '" />';
print '</td></tr>';
print "</table>";
print '</form>';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:agentMargins.php

示例6:

     print '<td width="80">&nbsp;</td>';
     print "</tr>\n";
     print '<tr ' . $bc[false] . '>';
     // Date
     print '<td class="nowrap">';
     $newdate = dol_mktime(12, 0, 0, $_POST["timemonth"], $_POST["timeday"], $_POST["timeyear"]);
     print $form->select_date($newdate, 'time', '', '', '', "timespent_date");
     print '</td>';
     // Contributor
     print '<td class="nowrap">';
     $restrictaddtimetocontactoftask = 0;
     if (empty($conf->global->PROJECT_TIME_ON_ALL_TASKS_MY_PROJECTS)) {
         $restrictaddtimetocontactoftask = $object->getListContactId('internal');
     }
     print img_object('', 'user');
     print $form->select_dolusers($_POST["userid"] ? $_POST["userid"] : $user->id, 'userid', 0, '', 0, '', $restrictaddtimetocontactoftask);
     // Note: If user is not allowed it will be disabled into combo list and userid not posted
     print '</td>';
     // Note
     print '<td class="nowrap">';
     print '<textarea name="timespent_note" cols="80" rows="' . ROWS_3 . '">' . ($_POST['timespent_note'] ? $_POST['timespent_note'] : '') . '</textarea>';
     print '</td>';
     // Duration
     print '<td class="nowrap" align="right">';
     print $form->select_duration('timespent_duration', $_POST['timespent_duration'] ? $_POST['timespent_duration'] : '', 0, 'text');
     print '</td>';
     print '<td align="center">';
     print '<input type="submit" class="button" value="' . $langs->trans("Add") . '">';
     print '</td></tr>';
     print '</table></form>';
 }
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:time.php

示例7: in

print '<input type="hidden" name="mode" value="' . $mode . '">';
print '<table class="border" width="100%">';
print '<tr class="liste_titre"><td class="liste_titre" colspan="2">' . $langs->trans("Filter") . '</td></tr>';
// Company
print '<tr><td align="left">' . $langs->trans("ThirdParty") . '</td><td align="left">';
if ($mode == 'customer') {
    $filter = 's.client in (1,2,3)';
}
if ($mode == 'supplier') {
    $filter = 's.fournisseur = 1';
}
print $form->select_company($socid, 'socid', $filter, 1);
print '</td></tr>';
// User
print '<tr><td align="left">' . $langs->trans("CreatedBy") . '</td><td align="left">';
print $form->select_dolusers($userid, 'userid', 1);
print '</td></tr>';
// Year
print '<tr><td align="left">' . $langs->trans("Year") . '</td><td align="left">';
if (!in_array($year, $arrayyears)) {
    $arrayyears[$year] = $year;
}
if (!in_array($nowyear, $arrayyears)) {
    $arrayyears[$nowyear] = $nowyear;
}
arsort($arrayyears);
print $form->selectarray('year', $arrayyears, $year, 0);
print '</td></tr>';
print '<tr><td align="center" colspan="2"><input type="submit" name="submit" class="button" value="' . $langs->trans("Refresh") . '"></td></tr>';
print '</table>';
print '</form>';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:index.php

示例8: foreach

print '<input type="hidden" name="type" value="' . $type . '">';
if ($search_all) {
    foreach ($fieldstosearchall as $key => $val) {
        $fieldstosearchall[$key] = $langs->trans($val);
    }
    print $langs->trans("FilterOnInto", $search_all, join(', ', $fieldstosearchall));
}
// If the user can view users
//if ($mine) $search_project_user=$user->id;    // We want by default all project. "mine" is a filter for task contact on this page
$moreforfilter .= '<div class="divsearchfield">';
$moreforfilter .= $langs->trans('ProjectsWithThisUserAsContact') . ' ';
$includeonly = '';
if (empty($user->rights->user->user->lire)) {
    $includeonly = array($user->id);
}
$moreforfilter .= $form->select_dolusers($search_project_user, 'search_project_user', 1, '', 0, $includeonly, '', 0, 0, 0, '', 0, '', 'maxwidth300');
$moreforfilter .= '</div>';
// If the user can view users
$moreforfilter .= '<div class="divsearchfield">';
$moreforfilter .= $langs->trans('TasksWithThisUserAsContact') . ': ';
$includeonly = '';
if (empty($user->rights->user->user->lire)) {
    $includeonly = array($user->id);
}
$moreforfilter .= $form->select_dolusers($search_task_user, 'search_task_user', 1, '', 0, $includeonly, '', 0, 0, 0, '', 0, '', 'maxwidth300');
$moreforfilter .= '</div>';
if (!empty($moreforfilter)) {
    print '<div class="liste_titre liste_titre_bydiv centpercent">';
    print $moreforfilter;
    $parameters = array();
    $reshook = $hookmanager->executeHooks('printFieldPreListTitle', $parameters);
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:list.php

示例9: round

     $nb_holiday += $nb_type;
     $out .= ' - ' . $val['label'] . ': <strong>' . ($nb_type ? price2num($nb_type) : 0) . '</strong><br>';
 }
 print $langs->trans('SoldeCPUser', round($nb_holiday, 5)) . '<br>';
 print $out;
 dol_fiche_end();
 dol_fiche_head();
 //print '<span>'.$langs->trans('DelayToRequestCP',$cp->getConfCP('delayForRequest')).'</span><br /><br />';
 print '<table class="border" width="100%">';
 print '<tbody>';
 // User
 print '<tr>';
 print '<td class="fieldrequired">' . $langs->trans("User") . '</td>';
 print '<td>';
 if (empty($user->rights->holiday->write_all)) {
     print $form->select_dolusers($userid, 'useridbis', 0, '', 1, '', '', 0, 0, 0, '', 0, '', 'maxwidth300');
     print '<input type="hidden" name="userid" value="' . $userid . '">';
 } else {
     print $form->select_dolusers(GETPOST('userid') ? GETPOST('userid') : $user->id, 'userid', 0, '', 0);
 }
 print '</td>';
 print '</tr>';
 // Type
 print '<tr>';
 print '<td class="fieldrequired">' . $langs->trans("Type") . '</td>';
 print '<td>';
 $typeleaves = $cp->getTypes(1, 1);
 $arraytypeleaves = array();
 foreach ($typeleaves as $key => $val) {
     $labeltoshow = $val['label'];
     $labeltoshow .= $val['delay'] > 0 ? ' (' . $langs->trans("NoticePeriod") . ': ' . $val['delay'] . ' ' . $langs->trans("days") . ')' : '';
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:card.php

示例10: array

 $exclude = array();
 if (!empty($object->members)) {
     if (!(!empty($conf->multicompany->enabled) && !empty($conf->multicompany->transverse_mode))) {
         foreach ($object->members as $useringroup) {
             $exclude[] = $useringroup->id;
         }
     }
 }
 if ($caneditperms) {
     print '<form action="' . $_SERVER['PHP_SELF'] . '?id=' . $object->id . '" method="POST">' . "\n";
     print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
     print '<input type="hidden" name="action" value="adduser">';
     print '<table class="noborder" width="100%">' . "\n";
     print '<tr class="liste_titre"><td class="liste_titre" width="25%">' . $langs->trans("NonAffectedUsers") . '</td>' . "\n";
     print '<td>';
     print $form->select_dolusers('', 'user', 1, $exclude, 0, '', '', $object->entity);
     print ' &nbsp; ';
     // Multicompany
     if (!empty($conf->multicompany->enabled)) {
         if ($conf->entity == 1 && $conf->multicompany->transverse_mode) {
             print '</td><td valign="top">' . $langs->trans("Entity") . '</td>';
             print "<td>" . $mc->select_entities($conf->entity);
         } else {
             print '<input type="hidden" name="entity" value="' . $conf->entity . '" />';
         }
     } else {
         print '<input type="hidden" name="entity" value="' . $conf->entity . '">';
     }
     print '<input type="submit" class="button" value="' . $langs->trans("Add") . '">';
     print '</td></tr>' . "\n";
     print '</table></form>' . "\n";
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:card.php

示例11: in

print '<form name="stats" method="POST" action="' . $_SERVER["PHP_SELF"] . '">';
print '<table class="border" width="100%">';
print '<tr class="liste_titre"><td class="liste_titre" colspan="2">' . $langs->trans("Filter") . '</td></tr>';
// Company
print '<tr><td>' . $langs->trans("ThirdParty") . '</td><td>';
if ($mode == 'customer') {
    $filter = 's.client in (1,2,3)';
}
if ($mode == 'supplier') {
    $filter = 's.fournisseur = 1';
}
print $form->select_company($socid, 'socid', $filter, 1);
print '</td></tr>';
// User
print '<tr><td>' . $langs->trans("LeadCommercial") . '</td><td>';
print $form->select_dolusers($userid, 'userid', 1, array(), 0, $includeuserlist);
print '</td></tr>';
// Year
print '<tr><td>' . $langs->trans("Year") . '</td><td>';
if (!in_array($year, $arrayyears)) {
    $arrayyears[$year] = $year;
}
if (!in_array($nowyear, $arrayyears)) {
    $arrayyears[$nowyear] = $nowyear;
}
arsort($arrayyears);
print $form->selectarray('year', $arrayyears, $year, 0);
print '</td></tr>';
print '<tr><td align="center" colspan="2"><input type="submit" name="submit" class="button" value="' . $langs->trans("Refresh") . '"></td></tr>';
print '</table>';
print '</form>';
开发者ID:BebZ,项目名称:lead,代码行数:31,代码来源:index.php

示例12: setEventMessage

        $holiday->updateSoldeCP($userCP, $new_holiday);
        setEventMessage($langs->trans('AddEventToUserOkCP'));
    }
}
$langs->load('users');
$var = true;
$i = 0;
$cp_events = $holiday->fetchEventsCP();
if ($cp_events == 1) {
    print '<br><form method="POST" action="' . $_SERVER["PHP_SELF"] . '">' . "\n";
    print '<input type="hidden" name="action" value="add_event" />';
    print_fiche_titre($langs->trans('DefineEventUserCP'), '', '');
    print $langs->trans('MotifCP') . ' : ';
    print $holiday->selectEventCP();
    print ' &nbsp; ' . $langs->trans('UserCP') . ' : ';
    print $form->select_dolusers('', "userCP", 1, "", 0, '');
    print ' <input type="submit" value="' . $langs->trans("addEventToUserCP") . '" name="bouton" class="button"/>';
    print '</form><br>';
}
print '<form method="POST" action="' . $_SERVER["PHP_SELF"] . '">' . "\n";
print '<input type="hidden" name="action" value="update" />';
print '<table class="noborder" width="100%;">';
print "<tr class=\"liste_titre\">";
print '<td width="55%">' . $langs->trans('Employee') . '</td>';
print '<td width="20%" style="text-align:center">' . $langs->trans('Available') . '</td>';
print '<td width="20%" style="text-align:center">' . $langs->trans('Note') . '</td>';
print '<td></td>';
print '</tr>';
foreach ($listUsers as $users) {
    $var = !$var;
    print '<tr ' . $bc[$var] . ' style="height: 20px;">';
开发者ID:ADDAdev,项目名称:Dolibarr,代码行数:31,代码来源:define_holiday.php

示例13: setEventMessages

// Create users into table holiday if they don't exists. TODO Remove this whif we use field into table user.
if ($result < 0) {
    setEventMessages($holiday->error, $holiday->errors, 'errors');
}
$listUsers = $holiday->fetchUsers(false, true);
$var = true;
$i = 0;
$cp_events = $holiday->fetchEventsCP();
if ($cp_events == 1) {
    print '<br><form method="POST" action="' . $_SERVER["PHP_SELF"] . '">' . "\n";
    print '<input type="hidden" name="action" value="add_event" />';
    print load_fiche_titre($langs->trans('DefineEventUserCP'), '', '');
    print $langs->trans('MotifCP') . ' : ';
    print $holiday->selectEventCP();
    print ' &nbsp; ' . $langs->trans('UserCP') . ' : ';
    print $form->select_dolusers('', 'userCP', 1, '', 0, '', '', 0, 0, 0, '', 0, '', 'maxwidth300');
    print ' <input type="submit" value="' . $langs->trans("addEventToUserCP") . '" name="bouton" class="button"/>';
    print '</form><br>';
}
$typeleaves = $holiday->getTypes(1, 1);
print '<form method="POST" action="' . $_SERVER["PHP_SELF"] . '">' . "\n";
print '<input type="hidden" name="action" value="update" />';
print '<table class="noborder" width="100%;">';
print "<tr class=\"liste_titre\">";
print '<td width="55%">' . $langs->trans('Employee') . '</td>';
foreach ($typeleaves as $key => $val) {
    print '<td width="20%" style="text-align:center">' . $val['label'] . '</td>';
}
print '<td width="20%" style="text-align:center">' . $langs->trans('Note') . '</td>';
print '<td></td>';
print '</tr>';
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:define_holiday.php

示例14:

llxHeader('', $langs->trans("WithdrawalsSetup"));
$linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">' . $langs->trans("BackToModuleList") . '</a>';
print_fiche_titre($langs->trans("WithdrawalsSetup"), $linkback, 'title_setup');
print '<br>';
print '<form method="post" action="prelevement.php?action=set">';
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';
print '<td width="30%">' . $langs->trans("Parameter") . '</td>';
print '<td width="40%">' . $langs->trans("Value") . '</td>';
print "</tr>";
//User
print '<tr class="impair"><td>' . $langs->trans("ResponsibleUser") . '</td>';
print '<td align="left">';
print '<input type="hidden" name="nom0" value="PRELEVEMENT_USER">';
print $form->select_dolusers($conf->global->PRELEVEMENT_USER, 'value0', 1);
print '</td>';
print '</tr>';
//Profid1 of Transmitter
print '<tr class="pair"><td>' . $langs->trans("NumeroNationalEmetter") . ' - ' . $langs->transcountry('ProfId1', $mysoc->country_code) . '</td>';
print '<td align="left">';
print '<input type="hidden" name="nom1" value="PRELEVEMENT_NUMERO_NATIONAL_EMETTEUR">';
print '<input type="text"   name="value1" value="' . $conf->global->PRELEVEMENT_NUMERO_NATIONAL_EMETTEUR . '" size="9" ></td>';
print '</tr>';
// Bank account (from Banks module)
print '<tr class="impair"><td>' . $langs->trans("BankToReceiveWithdraw") . '</td>';
print '<td align="left">';
$form->select_comptes($conf->global->PRELEVEMENT_ID_BANKACCOUNT, 'PRELEVEMENT_ID_BANKACCOUNT', 0, "courant=1", 1);
print '</td></tr>';
// ICS
print '<tr class="pair"><td>' . $langs->trans("ICS") . '</td>';
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:prelevement.php

示例15: FormLead

$formlead = new FormLead($db);
$now = dol_now();
// Add new proposal
if ($action == 'create' && $user->rights->lead->write) {
    print_fiche_titre($langs->trans("LeadCreate"), '', dol_buildpath('/lead/img/object_lead.png', 1), 1);
    print '<form name="addlead" action="' . $_SERVER["PHP_SELF"] . '" method="POST">';
    print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
    print '<input type="hidden" name="propalid" value="' . GETPOST('propalid', 'int') . '">';
    print '<input type="hidden" name="action" value="add">';
    print '<table class="border" width="100%">';
    print '<tr>';
    print '<td class="fieldrequired"  width="20%">';
    print $langs->trans('LeadCommercial');
    print '</td>';
    print '<td>';
    print $form->select_dolusers(empty($userid) ? $user->id : $userid, 'userid', 0, array(), 0, $includeuserlist);
    print '</td>';
    print '</tr>';
    print '<tr>';
    print '<td class="fieldrequired"  width="20%">';
    print $langs->trans('LeadRefInt');
    print '</td>';
    print '<td>';
    print '<input type="text" name="ref_int" size="10" value="' . $ref_int . '"/>';
    print '</td>';
    print '</tr>';
    print '<tr>';
    print '<td class="fieldrequired"  width="20%">';
    print $langs->trans('LeadStatus');
    print '</td>';
    print '<td>';
开发者ID:BebZ,项目名称:lead,代码行数:31,代码来源:card.php


注:本文中的Form::select_dolusers方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。