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


PHP dol_fiche_head函数代码示例

本文整理汇总了PHP中dol_fiche_head函数的典型用法代码示例。如果您正苦于以下问题:PHP dol_fiche_head函数的具体用法?PHP dol_fiche_head怎么用?PHP dol_fiche_head使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


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

示例1: report_header

/**
*    Show header of a VAT report
*    @param      nom             Name of report
*    @param      variante        Link for alternate report
*    @param      period          Period of report
*    @param      periodlink      Link to switch period
*    @param      description     Description
*    @param      builddate       Date generation
*    @param      exportlink      Link for export or ''
*/
function report_header($nom,$variante='',$period,$periodlink,$description,$builddate,$exportlink='')
{
	global $langs;

	print "\n\n<!-- debut cartouche rapport -->\n";

	$h=0;
	$head[$h][0] = $_SERVER["PHP_SELF"];
	$head[$h][1] = $langs->trans("Report");
	dol_fiche_head($head, $hselected, $societe->nom);

	print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'">';
	print '<table width="100%" class="border">';

	// Ligne de titre
	print '<tr>';
	print '<td valign="top" width="110">'.$langs->trans("ReportName").'</td>';
	if (! $variante) print '<td colspan="3">';
	else print '<td>';
	print $nom;
	if ($variante) print '</td><td colspan="2">'.$variante;
	print '</td>';
	print '</tr>';

	// Ligne de la periode d'analyse du rapport
	print '<tr>';
	print '<td>'.$langs->trans("ReportPeriod").'</td>';
	if (! $periodlink) print '<td colspan="3">';
	else print '<td>';
	if ($period) print $period;
	if ($periodlink) print '</td><td colspan="2">'.$periodlink;
	print '</td>';
	print '</tr>';

	// Ligne de description
	print '<tr>';
	print '<td valign="top">'.$langs->trans("ReportDescription").'</td>';
	print '<td colspan="3">'.$description.'</td>';
	print '</tr>';

	// Ligne d'export
	print '<tr>';
	print '<td>'.$langs->trans("GeneratedOn").'</td>';
	if (! $exportlink) print '<td colspan="3">';
	else print '<td>';
	print dol_print_date($builddate);
	if ($exportlink) print '</td><td>'.$langs->trans("Export").'</td><td>'.$exportlink;
	print '</td></tr>';

	print '<tr>';
	print '<td colspan="4" align="center"><input type="submit" class="button" name="submit" value="'.$langs->trans("Refresh").'"></td>';
	print '</tr>';

	print '</table>';

	print '</form>';

	print '</div>';
	print "\n<!-- fin cartouche rapport -->\n\n";
}
开发者ID:remyyounes,项目名称:dolibarr,代码行数:70,代码来源:report.lib.php

示例2: _list

function _list(&$PDOdb)
{
    global $langs, $conf, $user, $db;
    llxHeader();
    dol_fiche_head(array(), 'menu', 'Menu');
    $l = new TListviewTBS('lMenu');
    $sql = "SELECT rowid,title, type_menu, tab_object, mainmenu,leftmenu,date_cre \n\tFROM " . MAIN_DB_PREFIX . "query_menu \n\tWHERE entity IN (0," . $conf->entity . ")";
    $menu_static = new TQueryMenu();
    echo $l->render($PDOdb, $sql, array('title' => array('title' => $langs->trans('Title'), 'leftmenu' => $langs->trans('LeftMenu'), 'mainmenu' => $langs->trans('MainMenu'), 'date_cre' => $langs->trans('Date'), 'tab_object' => $langs->trans('TabsObject'), 'type_menu' => $langs->trans('TypeMenu')), 'translate' => array('tab_object' => $menu_static->TTabObject, 'type_menu' => $menu_static->TTypeMenu), 'link' => array('title' => '<a href="?id=@rowid@&action=edit">@val@</a>'), 'hide' => array('rowid'), 'type' => array('date_cre' => 'date')));
    /*$kiwi = new TKiwi;
    	$kiwi->fk_soc = $object->id;
    	$kiwi->fk_product = 1;
    	$kiwi->save($PDOdb);
    	*/
    // pied de page
    dol_fiche_end();
    llxFooter();
}
开发者ID:ATM-Consulting,项目名称:dolibarr_module_query,代码行数:18,代码来源:menu.php

示例3: _list

function _list(&$PDOdb)
{
    global $langs, $conf, $user, $db;
    llxHeader();
    $url = 'lib/adminer/?';
    //TODO genrate read profile
    /*
    $url.='&server='.$dolibarr_main_db_host;
    $url.='&db='.$dolibarr_main_db_name;
    $url.='&username='.$dolibarr_main_db_user;
    $url.='&password='.$dolibarr_main_db_pass;
    $url.='&driver='.$dolibarr_main_db_type;
    */
    ?>
	
	<a href="<?php 
    echo $url;
    ?>
" class="butAction" target="_blank">Accès à la base de données</a>
	
<?php 
    if (!empty($user->rights->query->bdd->use_other_db)) {
        dol_fiche_head(array(), 'bdd', 'BDD');
        $l = new TListviewTBS('lMenu');
        $sql = "SELECT rowid, host, db_name,login,port,charset, '' as 'alive'\n\tFROM " . MAIN_DB_PREFIX . "query_bdd_connector \n\tWHERE entity IN (0," . $conf->entity . ")";
        echo $l->render($PDOdb, $sql, array('title' => array('host' => $langs->trans('Host'), 'db_name' => $langs->trans('DBName'), 'port' => $langs->trans('Port'), 'charset' => $langs->trans('Charset'), 'login' => $langs->trans('Login'), 'alive' => $langs->trans('Alive')), 'link' => array('host' => '<a href="?id=@rowid@&action=edit">@val@</a>'), 'hide' => array('rowid'), 'type' => array('date_cre' => 'date'), 'eval' => array('alive' => '_test_alive(@rowid@)')));
        /*$kiwi = new TKiwi;
        	$kiwi->fk_soc = $object->id;
        	$kiwi->fk_product = 1;
        	$kiwi->save($PDOdb);
        	*/
        // pied de page
        dol_fiche_end();
    }
    llxFooter();
}
开发者ID:ATM-Consulting,项目名称:dolibarr_module_query,代码行数:36,代码来源:bdd.php

示例4: Form

/*
 *  Actions
 */
include DOL_DOCUMENT_ROOT . '/core/actions_setnotes.inc.php';
// Must be include, not include_once
/*
 *  View
 */
$form = new Form($db);
llxHeader('', $langs->trans("LoanArea") . ' - ' . $langs->trans("Notes"), '');
if ($id > 0) {
    /*
     * Affichage onglets
     */
    $head = loan_prepare_head($object);
    dol_fiche_head($head, 'note', $langs->trans("Loan"), 0, 'loan');
    print '<form method="POST" action="' . $_SERVER['PHP_SELF'] . '">';
    print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
    print '<table class="border" width="100%">';
    // Ref
    print '<tr><td width="25%">' . $langs->trans('Ref') . '</td>';
    print '<td colspan="3">';
    print $form->showrefnav($object, 'id', '', '', 'rowid', 'ref');
    print '</td></tr>';
    // Name
    print '<tr><td width="20%">' . $langs->trans("Name") . '</td>';
    print '<td colspan="3">' . $object->label . '</td></tr>';
    print "</table>";
    print '<br>';
    $colwidth = '25';
    $permission = $user->rights->loan->write;
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:note.php

示例5: Expedition

		$expedition=new Expedition($db);
		$result = $expedition->fetch($delivery->origin_id);
		$typeobject = $expedition->origin;

		if ($delivery->origin_id)
		{
			$delivery->fetch_origin();
		}

		if ( $delivery->id > 0)
		{
			$soc = new Societe($db);
			$soc->fetch($delivery->socid);

			$head=delivery_prepare_head($delivery);
			dol_fiche_head($head, 'delivery', $langs->trans("Sending"), 0, 'sending');

			/*
			 * Confirmation de la suppression
			 *
			 */
			if ($_GET["action"] == 'delete')
			{
				$expedition_id = $_GET["expid"];
				$ret=$html->form_confirm($_SERVER['PHP_SELF'].'?id='.$delivery->id.'&amp;expid='.$expedition_id,$langs->trans("DeleteDeliveryReceipt"),$langs->trans("DeleteDeliveryReceiptConfirm",$delivery->ref),'confirm_delete','','',1);
				if ($ret == 'html') print '<br>';
			}

			/*
			 * Confirmation de la validation
			 *
开发者ID:remyyounes,项目名称:dolibarr,代码行数:31,代码来源:fiche.php

示例6: Form

// Must be include, not includ_once
/*
 *	View
 */
$form = new Form($db);
$help_url = 'EN:Module_Third_Parties|FR:Module_Tiers|ES:Empresas';
llxHeader('', $langs->trans("ThirdParty") . ' - ' . $langs->trans("Notes"), $help_url);
if ($id > 0) {
    /*
     * Affichage onglets
     */
    if (!empty($conf->notification->enabled)) {
        $langs->load("mails");
    }
    $head = societe_prepare_head($object);
    dol_fiche_head($head, 'note', $langs->trans("ThirdParty"), 0, 'company');
    print '<form method="POST" action="' . $_SERVER['PHP_SELF'] . '">';
    print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
    print '<table class="border" width="100%">';
    print '<tr><td width="25%">' . $langs->trans('ThirdPartyName') . '</td>';
    print '<td colspan="3">';
    print $form->showrefnav($object, 'socid', '', $user->societe_id ? 0 : 1, 'rowid', 'nom');
    print '</td></tr>';
    // Alias names (commercial, trademark or alias names)
    print '<tr><td>' . $langs->trans('AliasNames') . '</td><td colspan="3">';
    print $object->name_alias;
    print "</td></tr>";
    if (!empty($conf->global->SOCIETE_USEPREFIX)) {
        print '<tr><td>' . $langs->trans('Prefix') . '</td><td colspan="3">' . $object->prefix_comm . '</td></tr>';
    }
    if ($object->client) {
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:note.php

示例7: dol_print_error

         dol_print_error($db);
     }
 }
 $i = 0;
 $help_url = 'EN:Module_Stocks_En|FR:Module_Stock|ES:M&oacute;dulo_Stocks';
 $texte = $langs->trans("ListOfStockMovements");
 if ($id) {
     $texte .= ' (' . $langs->trans("ForThisWarehouse") . ')';
 }
 llxHeader("", $texte, $help_url);
 /*
  * Show tab only if we ask a particular warehouse
  */
 if ($id) {
     $head = stock_prepare_head($entrepot);
     dol_fiche_head($head, 'movements', $langs->trans("Warehouse"), 0, 'stock');
     print '<table class="border" width="100%">';
     $linkback = '<a href="' . DOL_URL_ROOT . '/adherents/liste.php">' . $langs->trans("BackToList") . '</a>';
     // Ref
     print '<tr><td width="25%">' . $langs->trans("Ref") . '</td><td colspan="3">';
     print $form->showrefnav($entrepot, 'id', $linkback, 1, 'rowid', 'libelle');
     print '</td>';
     print '<tr><td>' . $langs->trans("LocationSummary") . '</td><td colspan="3">' . $entrepot->lieu . '</td></tr>';
     // Description
     print '<tr><td valign="top">' . $langs->trans("Description") . '</td><td colspan="3">' . dol_htmlentitiesbr($entrepot->description) . '</td></tr>';
     // Address
     print '<tr><td>' . $langs->trans('Address') . '</td><td colspan="3">';
     print $entrepot->address;
     print '</td></tr>';
     // Town
     print '<tr><td width="25%">' . $langs->trans('Zip') . '</td><td width="25%">' . $entrepot->zip . '</td>';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:mouvement.intentohector.php

示例8: Form

if ($action == 'addthumb' && $_GET["file"]) {
    $object->add_thumb($dir . "/" . $_GET["file"]);
}
/*
 *	View
 */
$form = new Form($db);
if ($object->id) {
    llxHeader("", "", $langs->trans("CardProduct" . $object->type));
    /*
     *  En mode visu
     */
    $head = product_prepare_head($object, $user);
    $titre = $langs->trans("CardProduct" . $object->type);
    $picto = $object->type == 1 ? 'service' : 'product';
    dol_fiche_head($head, 'photos', $titre, 0, $picto);
    /*
     * Confirmation de la suppression de photo
     */
    if ($action == 'delete') {
        print $form->formconfirm($_SERVER["PHP_SELF"] . '?id=' . $object->id . '&file=' . $_GET["file"], $langs->trans('DeletePicture'), $langs->trans('ConfirmDeletePicture'), 'confirm_delete', '', 0, 1);
    }
    print $mesg;
    print '<table class="border" width="100%">';
    // Reference
    print '<tr>';
    print '<td width="15%">' . $langs->trans("Ref") . '</td><td colspan="2">';
    print $form->showrefnav($object, 'ref', '', 1, 'ref');
    print '</td>';
    print '</tr>';
    // Libelle
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:photos.php

示例9: urlencode

print $langs->trans("ECMAreaDesc2")."<br>";
print "<br>\n";
print '</div>';
*/
// Confirm remove file (for non javascript users)
if ($action == 'delete' && empty($conf->use_javascript_ajax)) {
    print $form->formconfirm($_SERVER["PHP_SELF"] . '?section=' . $section . '&urlfile=' . urlencode($_GET["urlfile"]), $langs->trans('DeleteFile'), $langs->trans('ConfirmDeleteFile'), 'confirm_deletefile', '', '', 1);
}
if (!empty($conf->use_javascript_ajax)) {
    $classviewhide = 'hidden';
} else {
    $classviewhide = 'visible';
}
if (empty($conf->dol_use_jmobile)) {
    $head = ecm_prepare_dasboard_head('');
    dol_fiche_head($head, 'index_auto', '', 1, '');
}
// Start container of all panels
?>
<div id="containerlayout"> <!-- begin div id="containerlayout" -->
<div id="ecm-layout-north" class="toolbar largebutton">
<?php 
// Start top panel, toolbar
print '<div class="toolbarbutton">';
// Toolbar
$url = !empty($conf->use_javascript_ajax) && empty($conf->global->MAIN_ECM_DISABLE_JS) ? '#' : $_SERVER["PHP_SELF"] . '?action=refreshmanual' . ($module ? '&amp;module=' . $module : '') . ($section ? '&amp;section=' . $section : '');
print '<a href="' . $url . '" class="toolbarbutton" title="' . dol_escape_htmltag($langs->trans('Refresh')) . '">';
print '<img id="refreshbutton" class="toolbarbutton" border="0" src="' . DOL_URL_ROOT . '/theme/common/view-refresh.png">';
print '</a>';
print '</div>';
// End top panel, toolbar
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:index_auto.php

示例10: array

     $parameters = array('colspan' => ' colspan="3"', 'colspanvalue' => '3', 'id' => $object->id);
     $reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action);
     // Note that $action and $object may have been modified by hook
     if (empty($reshook) && !empty($extrafields->attribute_label)) {
         print $object->showOptionals($extrafields, 'edit');
     }
     print '</table>';
     dol_fiche_end();
     print '<div class="center">';
     print '<input type="submit" class="button" name="edit" value="' . $langs->trans("Save") . '">';
     print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
     print '<input type="submit" class="button" name="cancel" value="' . $langs->trans("Cancel") . '">';
     print '</div>';
     print '</form>';
 } else {
     dol_fiche_head($head, 'card', $langs->trans("Action"), 0, 'action');
     // Clone event
     if ($action == 'clone') {
         $formconfirm = $form->formconfirm($_SERVER["PHP_SELF"] . '?id=' . GETPOST('id'), $langs->trans('CloneAction'), $langs->trans('ConfirmCloneAction', $object->label), 'confirm_clone', $formquestion, 'yes', 1);
         print $formconfirm;
     }
     // Affichage fiche action en mode visu
     print '<table class="border" width="100%">';
     $linkback = '<a href="' . DOL_URL_ROOT . '/comm/action/listactions.php">' . $langs->trans("BackToList") . '</a>';
     // Ref
     print '<tr><td width="30%">' . $langs->trans("Ref") . '</td><td colspan="3">';
     print $form->showrefnav($object, 'id', $linkback, $user->societe_id ? 0 : 1, 'id', 'ref', '');
     print '</td></tr>';
     // Type
     if (!empty($conf->global->AGENDA_USE_EVENT_TYPE)) {
         print '<tr><td>' . $langs->trans("Type") . '</td><td colspan="3">' . $object->type . '</td></tr>';
开发者ID:Albertopf,项目名称:prueba,代码行数:31,代码来源:card.php

示例11: accessforbidden

    accessforbidden();
}
/*
* Actions
*/
require DOL_DOCUMENT_ROOT . '/core/actions_extrafields.inc.php';
/*
* View
*/
$textobject = strtolower($langs->transnoentitiesnoconv("BillsCustomers"));
llxHeader('', $langs->trans("BillsSetup"));
$linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">' . $langs->trans("BackToModuleList") . '</a>';
print_fiche_titre($langs->trans("BillsSetup"), $linkback, 'setup');
print '<br>';
$head = invoice_admin_prepare_head(null);
dol_fiche_head($head, 'attributeslines', $langs->trans("Invoices"), 0, 'invoice');
print $langs->trans("DefineHereComplementaryAttributes", $textobject) . '<br><br>' . "\n";
// Load attribute_label
$extrafields->fetch_name_optionals_label($elementtype);
print "<table summary=\"listofattributes\" class=\"noborder\" width=\"100%\">";
print '<tr class="liste_titre">';
print '<td align="center">' . $langs->trans("Position") . '</td>';
print '<td>' . $langs->trans("Label") . '</td>';
print '<td>' . $langs->trans("AttributeCode") . '</td>';
print '<td>' . $langs->trans("Type") . '</td>';
print '<td align="right">' . $langs->trans("Size") . '</td>';
print '<td align="center">' . $langs->trans("Unique") . '</td>';
print '<td align="center">' . $langs->trans("Required") . '</td>';
print '<td width="80">&nbsp;</td>';
print "</tr>\n";
$var = True;
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:facturedet_cust_extrafields.php

示例12: dol_fiche_head

    print "</form>\n";
    print "</div>\n";
}
/* ************************************************************ */
/*                                                              */
/* Fiche don en mode visu                                       */
/*                                                              */
/* ************************************************************ */
if (!empty($id) && $action != 'edit') {
    $result = $don->fetch($id);
    $h = 0;
    $head[$h][0] = $_SERVER['PHP_SELF'] . "?id=" . $don->id;
    $head[$h][1] = $langs->trans("Card");
    $hselected = $h;
    $h++;
    dol_fiche_head($head, $hselected, $langs->trans("Donation"), 0, 'generic');
    print "<form action=\"fiche.php\" method=\"post\">";
    print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
    print '<table class="border" width="100%">';
    $linkback = '<a href="' . DOL_URL_ROOT . '/compta/dons/liste.php' . (!empty($socid) ? '?socid=' . $socid : '') . '">' . $langs->trans("BackToList") . '</a>';
    $nbrows = 12;
    if (!empty($conf->projet->enabled)) {
        $nbrows++;
    }
    // Ref
    print "<tr>" . '<td>' . $langs->trans("Ref") . '</td><td colspan="2">';
    print $form->showrefnav($don, 'rowid', $linkback, 1, 'rowid', 'ref', '');
    print '</td>';
    print '</tr>';
    // Date
    print '<tr><td width="25%">' . $langs->trans("Date") . '</td><td>';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:fiche.php

示例13: array

    $parameters = array('colspan' => ' colspan="2"');
    $reshook = $hookmanager->executeHooks('formObjectOptions', $parameters, $object, $action);
    // Note that $action and $object may have been modified by hook
    print '</table>';
    print '<br><div class="center">';
    print '<input class="button" type="submit" value="' . $langs->trans("Save") . '">';
    print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
    print '<input class="button" type="submit" name="cancel" value="' . $langs->trans("Cancel") . '">';
    print '</div>';
    print '</form>';
} else {
    if ($id) {
        $result = $object->fetch($id);
        if ($result > 0) {
            $head = trip_prepare_head($object);
            dol_fiche_head($head, 'card', $langs->trans("TripCard"), 0, 'trip');
            if ($action == 'edit' && $user->rights->deplacement->creer) {
                //WYSIWYG Editor
                require_once DOL_DOCUMENT_ROOT . '/core/class/doleditor.class.php';
                $soc = new Societe($db);
                if ($object->socid) {
                    $soc->fetch($object->socid);
                }
                print '<form name="update" action="' . $_SERVER["PHP_SELF"] . '" method="POST">' . "\n";
                print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
                print '<input type="hidden" name="action" value="update">';
                print '<input type="hidden" name="id" value="' . $id . '">';
                print '<table class="border" width="100%">';
                // Ref
                print "<tr>";
                print '<td width="20%">' . $langs->trans("Ref") . '</td><td>';
开发者ID:Albertopf,项目名称:prueba,代码行数:31,代码来源:card.php

示例14: array

$data = $stats->getAllByYear();
$arrayyears = array();
foreach ($data as $val) {
    $arrayyears[$val['year']] = $val['year'];
}
if (!count($arrayyears)) {
    $arrayyears[$nowyear] = $nowyear;
}
$h = 0;
$head = array();
$head[$h][0] = DOL_URL_ROOT . '/compta/expensereport/stats/index.php';
$head[$h][1] = $langs->trans("ByMonthYear");
$head[$h][2] = 'byyear';
$h++;
complete_head_from_modules($conf, $langs, null, $head, $h, 'trip_stats');
dol_fiche_head($head, 'byyear', $langs->trans("Statistics"));
print '<div class="fichecenter"><div class="fichethirdleft">';
// Show filter box
print '<form name="stats" method="POST" action="' . $_SERVER["PHP_SELF"] . '">';
print '<input type="hidden" name="mode" value="' . $mode . '">';
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>';
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:index.php

示例15: setEventMessages

            if ($printer->listAvailablePrinters() == 0) {
                print $printer->resprint;
            } else {
                setEventMessages($printer->error, $printer->errors, 'errors');
            }
        } else {
            print $langs->trans('PleaseConfigureDriverfromList');
        }
    } else {
        print $langs->trans('PleaseSelectaDriverfromList');
    }
    print '</table>';
    dol_fiche_end();
}
if ($mode == 'userconf' && $user->admin) {
    dol_fiche_head($head, $mode, $langs->trans("ModuleSetup"), 0, 'technic');
    print $langs->trans('PrintUserConfDesc' . $driver) . "<br><br>\n";
    print '<table class="noborder" width="100%">';
    $var = true;
    print '<tr class="liste_titre">';
    print '<th>' . $langs->trans("User") . '</th>';
    print '<th>' . $langs->trans("PrintModule") . '</th>';
    print '<th>' . $langs->trans("PrintDriver") . '</th>';
    print '<th>' . $langs->trans("Printer") . '</th>';
    print '<th>' . $langs->trans("PrinterLocation") . '</th>';
    print '<th>' . $langs->trans("PrinterId") . '</th>';
    print '<th>' . $langs->trans("NumberOfCopy") . '</th>';
    print '<th class="center">' . $langs->trans("Delete") . '</th>';
    print "</tr>\n";
    $sql = 'SELECT p.rowid, p.printer_name, p.printer_location, p.printer_id, p.copy, p.module, p.driver, p.userid, u.login FROM ' . MAIN_DB_PREFIX . 'printing as p, ' . MAIN_DB_PREFIX . 'user as u WHERE p.userid=u.rowid';
    $resql = $db->query($sql);
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:printing.php


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