• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

PHP llxHeader函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: _printHeader

function _printHeader(&$langs, &$user)
{
    llxHeader('', $langs->trans('PaymentImport'), '', '');
    if (!$user->rights->facture->paiement) {
        accessforbidden();
    }
}
开发者ID:ATM-Consulting,项目名称:dolibarr_module_paymentimport,代码行数:7,代码来源:card.php


示例2: _liste

function _liste()
{
    global $langs, $db, $user, $conf;
    $langs->load('asset@asset');
    llxHeader('', $langs->trans('ListControl'), '', '');
    getStandartJS();
    if (isset($_SESSION['AssetMsg'])) {
        print_r('<div class="info">' . $langs->trans($_SESSION['AssetMsg']) . '</div>');
        unset($_SESSION['AssetMsg']);
    }
    $form = new TFormCore();
    $assetControl = new TAssetControl();
    $r = new TSSRenderControler($assetControl);
    $sql = 'SELECT rowid as id, libelle, type, question, "" as action FROM ' . MAIN_DB_PREFIX . 'asset_control';
    $THide = array('id');
    $form = new TFormCore($_SERVER['PHP_SELF'], 'form', 'GET');
    $ATMdb = new TPDOdb();
    $r->liste($ATMdb, $sql, array('limit' => array('nbLine' => '30'), 'subQuery' => array(), 'link' => array('libelle' => '<a href="' . DOL_URL_ROOT . '/custom/asset/control.php?id=@id@">' . img_picto('', 'object_generic.png', '', 0) . '@val@</a>', 'question' => '<a href="' . DOL_URL_ROOT . '/custom/asset/control.php?id=@id@">@val@</a>', 'action' => '<a title="Modifier" href="control.php?id=@id@&action=edit">' . img_picto('', 'edit.png', '', 0) . '</a>&nbsp;&nbsp;&nbsp;<a title="Supprimer" onclick="if (!window.confirm(\'Confirmez-vous la suppression ?\')) return false;" href="control.php?id=@id@&action=delete">' . img_picto('', 'delete.png', '', 0) . "</a>"), 'search' => array('libelle' => array('recherche' => true, 'table' => '')), 'translate' => array(), 'hide' => $THide, 'liste' => array('titre' => $langs->trans('ListControl'), 'image' => img_picto('', 'title.png', '', 0), 'picto_precedent' => img_picto('', 'back.png', '', 0), 'picto_suivant' => img_picto('', 'next.png', '', 0), 'noheader' => 0, 'messageNothing' => $langs->trans('AssetEmptyControl'), 'picto_search' => img_picto('', 'search.png', '', 0)), 'title' => array('libelle' => 'Libelle', 'type' => 'Type', 'nb_value' => 'Nombre de valeurs associés', 'question' => 'Question', 'action' => 'Action'), 'eval' => array('type' => 'TAssetControl::$TType["@val@"]')));
    $form->end();
    echo '<div class="tabsAction">';
    echo '<a class="butAction" href="control.php?action=new">' . $langs->trans('AssetCreateControl') . '</a>';
    echo '</div>';
    $ATMdb->close();
    llxFooter('');
}
开发者ID:ATM-Consulting,项目名称:dolibarr_module_of,代码行数:25,代码来源:list_control.php


示例3: _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


示例4: _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


示例5: Loan

$object = new Loan($db);
if ($id > 0) {
    $object->fetch($id);
}
$permissionnote = $user->rights->loan->write;
// Used by the include of actions_setnotes.inc.php
/*
 *  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
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:note.php


示例6: Product

    } else {
        $action = 'edit';
        $mesg = '<div class="error">' . $object->error . '</div>';
    }
}
if ($_POST["cancel"] == $langs->trans("Cancel")) {
    $action = '';
}
/*
 * View
 */
$productstatic = new Product($db);
$form = new Form($db);
$formcompany = new FormCompany($db);
$help_url = 'EN:Module_Stocks_En|FR:Module_Stock|ES:M&oacute;dulo_Stocks';
llxHeader("", $langs->trans("WarehouseCard"), $help_url);
if ($action == 'create') {
    print_fiche_titre($langs->trans("NewWarehouse"));
    print "<form action=\"fiche.php\" method=\"post\">\n";
    print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
    print '<input type="hidden" name="action" value="add">';
    print '<input type="hidden" name="type" value="' . $type . '">' . "\n";
    dol_htmloutput_mesg($mesg);
    print '<table class="border" width="100%">';
    // Ref
    print '<tr><td width="25%" class="fieldrequired">' . $langs->trans("Ref") . '</td><td colspan="3"><input name="libelle" size="20" value=""></td></tr>';
    print '<tr><td >' . $langs->trans("LocationSummary") . '</td><td colspan="3"><input name="lieu" size="40" value="' . $object->lieu . '"></td></tr>';
    // Description
    print '<tr><td valign="top">' . $langs->trans("Description") . '</td><td colspan="3">';
    // Editeur wysiwyg
    require_once DOL_DOCUMENT_ROOT . '/core/class/doleditor.class.php';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:fiche.php


示例7: llxHeader

	}

	$result=delivery_order_pdf_create($db, $delivery,$_REQUEST['model'],$outputlangs);
	if ($result <= 0)
	{
		dol_print_error($db,$result);
		exit;
	}
}


/*
 *	View
 */

llxHeader('',$langs->trans('Delivery'),'Livraison');

$html = new Form($db);
$formfile = new FormFile($db);

/*********************************************************************
 *
 * Mode creation
 *
 *********************************************************************/
if ($_GET["action"] == 'create')
{

	print_fiche_titre($langs->trans("CreateADeliveryOrder"));

	if ($mesg)
开发者ID:remyyounes,项目名称:dolibarr,代码行数:31,代码来源:fiche.php


示例8: GETPOST

$socid = GETPOST('socid', 'int');
if ($user->societe_id) {
    $socid = $user->societe_id;
}
$result = restrictedArea($user, 'tax', '', '', 'charges');
/*
 * View
 */
$morequerystring = '';
$listofparams = array('date_startmonth', 'date_startyear', 'date_startday', 'date_endmonth', 'date_endyear', 'date_endday');
foreach ($listofparams as $param) {
    if (GETPOST($param) != '') {
        $morequerystring .= ($morequerystring ? '&' : '') . $param . '=' . GETPOST($param);
    }
}
llxHeader('', '', '', '', 0, 0, '', '', $morequerystring);
$form = new Form($db);
$company_static = new Societe($db);
$invoice_customer = new Facture($db);
$invoice_supplier = new FactureFournisseur($db);
$product_static = new Product($db);
$payment_static = new Paiement($db);
$paymentfourn_static = new PaiementFourn($db);
//print load_fiche_titre($langs->trans("VAT"),"");
//$fsearch.='<br>';
$fsearch .= '  <input type="hidden" name="year" value="' . $year . '">';
$fsearch .= '  <input type="hidden" name="modetax" value="' . $modetax . '">';
//$fsearch.='  '.$langs->trans("SalesTurnoverMinimum").': ';
//$fsearch.='  <input type="text" name="min" value="'.$min.'">';
// Affiche en-tete du rapport
if ($modetax == 1) {
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:quadri_detail.php


示例9: Form

if ($id > 0) {
    $object->fetch($id);
}
$permissionnote = $user->rights->societe->creer;
// Used by the include of actions_setnotes.inc.php
/*
 * Actions
 */
include DOL_DOCUMENT_ROOT . '/core/actions_setnotes.inc.php';
// 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');
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:note.php


示例10: Entrepot

     $product->fetch($idproduct);
 }
 if ($id > 0) {
     $entrepot = new Entrepot($db);
     $result = $entrepot->fetch($id);
     if ($result < 0) {
         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>';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:mouvement.intentohector.php


示例11: llxHeader

// Security check
if ($user->societe_id > 0)
{
	$action = '';
	$socid = $user->societe_id;
}


/*
 * View
 */

$now=gmmktime();

llxHeader('',$langs->trans("BillsSuppliersUnpaid"));

$facturestatic=new FactureFournisseur($db);
$companystatic=new Societe($db);


/***************************************************************************
*                                                                         *
*                      Mode Liste                                         *
*                                                                         *
***************************************************************************/

$sortfield = GETPOST("sortfield",'alpha');
$sortorder = GETPOST("sortorder",'alpha');
$page = GETPOST("page",'int');
if ($page == -1) { $page = 0; }
开发者ID:remyyounes,项目名称:dolibarr,代码行数:30,代码来源:impayees.php


示例12: Usergroup

    if ($result > 0) {
        $editgroup->addrights($rights, $module);
    }
}
if ($action == 'delrights' && $caneditperms) {
    $editgroup = new Usergroup($db);
    $result = $editgroup->fetch($id);
    if ($result > 0) {
        $editgroup->delrights($rights, $module);
    }
}
/**
 * View
 */
$form = new Form($db);
llxHeader('', $langs->trans("Permissions"));
if ($id) {
    $fgroup = new Usergroup($db);
    $fgroup->fetch($id);
    $fgroup->getrights();
    /*
     * Affichage onglets
     */
    $head = group_prepare_head($fgroup);
    $title = $langs->trans("Group");
    dol_fiche_head($head, 'rights', $title, 0, 'group');
    // Charge les modules soumis a permissions
    $modules = array();
    $modulesdir = dolGetModulesDirs();
    $db->begin();
    foreach ($modulesdir as $dir) {
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:perms.php


示例13: header

            header("Location: " . $backtourl);
            exit;
        } else {
            header("Location: " . DOL_URL_ROOT . "/product/document.php?id=" . $id . '&file=' . urldecode($_POST["file"]));
            exit;
        }
    } else {
        setEventMessages($result, null, 'errors');
        $_GET['file'] = $_POST["file"];
        $action = '';
    }
}
/*
 * View
 */
llxHeader($head, $langs->trans("Image"), '', '', 0, 0, array('/includes/jquery/plugins/jcrop/js/jquery.Jcrop.min.js', '/core/js/lib_photosresize.js'), array('/includes/jquery/plugins/jcrop/css/jquery.Jcrop.css'));
print load_fiche_titre($langs->trans("ImageEditor"));
$infoarray = dol_getImageSize($dir . "/" . urldecode($_GET["file"]));
$height = $infoarray['height'];
$width = $infoarray['width'];
print $langs->trans("CurrentInformationOnImage") . ': ';
print $langs->trans("Width") . ': <strong>' . $width . '</strong> x ' . $langs->trans("Height") . ': <strong>' . $height . '</strong><br>';
print '<br>' . "\n";
/*
 * Resize image
 */
print '<!-- Form to resize -->' . "\n";
print '<form name="redim_file" action="' . $_SERVER["PHP_SELF"] . '?id=' . $id . '" method="POST">';
print '<fieldset id="redim_file">';
print '<legend>' . $langs->trans("Resize") . '</legend>';
print $langs->trans("ResizeDesc") . '<br>';
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:photos_resize.php


示例14: GETPOST

require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formfile.class.php';
require_once DOL_DOCUMENT_ROOT . '/fourn/class/fournisseur.commande.class.php';
require_once DOL_DOCUMENT_ROOT . '/contact/class/contact.class.php';
// Security check
$orderid = GETPOST('orderid');
if ($user->societe_id) {
    $socid = $user->societe_id;
}
$result = restrictedArea($user, 'fournisseur', $orderid, '', 'commande');
$langs->load("suppliers");
$langs->load("orders");
/*
 * 	View
 */
llxHeader('', $langs->trans("SuppliersOrdersArea"));
$commandestatic = new CommandeFournisseur($db);
$userstatic = new User($db);
$formfile = new FormFile($db);
print load_fiche_titre($langs->trans("SuppliersOrdersArea"));
print '<table class="notopnoleftnoright" width="100%">';
print '<tr valign="top"><td class="notopnoleft" width="30%">';
/*
 * Search form
 */
$var = false;
print '<form method="post" action="list.php">';
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
print '<table class="noborder nohover" width="100%">';
print '<tr class="liste_titre"><td colspan="3">' . $langs->trans("Search") . '</td></tr>';
print '<tr ' . $bc[$var] . '><td>';
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:index.php


示例15: accessforbidden

    // From "custom" directory
}
// Libraries
require_once DOL_DOCUMENT_ROOT . "/core/lib/admin.lib.php";
require_once '../lib/lcr.lib.php';
// Translations
$langs->load("lcr@lcr");
// Access control
if (!$user->admin) {
    accessforbidden();
}
/*
 * View
 */
$page_name = "lcrAbout";
llxHeader('', $langs->trans($page_name));
// Subheader
$linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">' . $langs->trans("BackToModuleList") . '</a>';
print_fiche_titre($langs->trans($page_name), $linkback);
// Configuration header
$head = lcrAdminPrepareHead();
dol_fiche_head($head, 'about', $langs->trans("Module104940Name"), 0, 'lcr@lcr');
// About page goes here
print '<div style="float: left;"><img src="../img/Dolibarr_Preferred_Partner_logo.png" /></div>';
print '<div>' . $langs->trans('ATMAbout') . '</div>';
dol_fiche_end();
print '<br><center>';
print '<a href="http://www.atm-consulting.fr" target="_blank"><img src="../img/ATM_logo.jpg" /></a>';
print '</center>';
llxFooter();
$db->close();
开发者ID:ATM-Consulting,项目名称:dolibarr_module_lcr,代码行数:31,代码来源:lcr_about.php


示例16: GETPOST

$socid = GETPOST('socid', 'int');
if (isset($user->societe_id) && $user->societe_id > 0) {
    $action = '';
    $socid = $user->societe_id;
}
$result = restrictedArea($user, 'supplier_proposal');
/*
 * View
 */
$now = dol_now();
$supplier_proposalstatic = new SupplierProposal($db);
$companystatic = new Societe($db);
$form = new Form($db);
$formfile = new FormFile($db);
$help_url = "EN:Module_Ask_Price_Supplier|FR:Module_Demande_de_prix_fournisseur";
llxHeader("", $langs->trans("SupplierProposalArea"), $help_url);
print load_fiche_titre($langs->trans("SupplierProposalArea"));
print '<div class="fichecenter"><div class="fichethirdleft">';
/*
 * Search form
 */
$var = false;
print '<form method="post" action="' . DOL_URL_ROOT . '/supplier_proposal/list.php">';
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
print '<table class="noborder nohover" width="100%">';
print '<tr class="liste_titre"><td colspan="3">' . $langs->trans("SearchRequest") . '</td></tr>';
print '<tr ' . $bc[$var] . '><td>';
print $langs->trans("Ref") . ':</td><td><input type="text" class="flat" name="sref" size=18></td><td rowspan="2"><input type="submit" value="' . $langs->trans("Search") . '" class="button"></td></tr>';
print '<tr ' . $bc[$var] . '><td class="nowrap">' . $langs->trans("Other") . ':</td><td><input type="text" class="flat" name="sall" size="18"></td>';
print '</tr>';
print "</table></form><br>\n";
开发者ID:Samara94,项目名称:dolibarr,代码行数:31,代码来源:index.php


示例17: GETPOST

$attrname = GETPOST('attrname', 'alpha');
$elementtype = 'categories';
//Must be the $element of the class that manage extrafield
if (!$user->admin) {
    accessforbidden();
}
/*
 * Actions
 */
require DOL_DOCUMENT_ROOT . '/core/actions_extrafields.inc.php';
/*
 * View
 */
$textobject = $langs->transnoentitiesnoconv("Categories");
$help_url = 'EN:Module Categories|FR:Module Catégories|ES:Módulo Categorías';
llxHeader('', $langs->trans("Categories"), $help_url);
$linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">' . $langs->trans("BackToModuleList") . '</a>';
print_fiche_titre($langs->trans("CategoriesSetup"), $linkback, 'title_setup');
$head = categoriesadmin_prepare_head();
dol_fiche_head($head, 'attributes_categories', $langs->trans("Categories"), 0, 'category');
require DOL_DOCUMENT_ROOT . '/core/tpl/admin_extrafields_view.tpl.php';
dol_fiche_end();
// Buttons
if ($action != 'create' && $action != 'edit') {
    print '<div class="tabsAction">';
    print "<a class=\"butAction\" href=\"" . $_SERVER["PHP_SELF"] . "?action=create\">" . $langs->trans("NewAttribute") . "</a>";
    print "</div>";
}
/* ************************************************************************** */
/*                                                                            */
/* Creation d'un champ optionnel
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:categorie_extrafields.php


示例18: isset

    }
}
/*
 *	View
 */
// Define height of file area (depends on $_SESSION["dol_screenheight"])
//print $_SESSION["dol_screenheight"];
$maxheightwin = isset($_SESSION["dol_screenheight"]) && $_SESSION["dol_screenheight"] > 466 ? $_SESSION["dol_screenheight"] - 186 : 660;
// Also into index.php file
$morejs = array();
if (empty($conf->global->MAIN_ECM_DISABLE_JS)) {
    $morejs = array("/includes/jquery/plugins/jqueryFileTree/jqueryFileTree.js");
}
$moreheadcss = "\n<!-- dol_screenheight=" . $_SESSION["dol_screenheight"] . " -->\n<style type=\"text/css\">\n    #containerlayout {\n        height:     " . $maxheightwin . "px;\n        margin:     0 auto;\n        width:      100%;\n        min-width:  700px;\n        _width:     700px; /* min-width for IE6 */\n    }\n</style>";
$moreheadjs = empty($conf->use_javascript_ajax) ? "" : "\n<script type=\"text/javascript\">\n    jQuery(document).ready(function () {\n        jQuery('#containerlayout').layout({\n        \tname: \"ecmlayout\"\n        ,   paneClass:    \"ecm-layout-pane\"\n        ,   resizerClass: \"ecm-layout-resizer\"\n        ,   togglerClass: \"ecm-layout-toggler\"\n        ,   center__paneSelector:   \"#ecm-layout-center\"\n        ,   north__paneSelector:    \"#ecm-layout-north\"\n        ,   west__paneSelector:     \"#ecm-layout-west\"\n        ,   resizable: true\n        ,   north__size:        32\n        ,   north__resizable:   false\n        ,   north__closable:    false\n        ,   west__size:         340\n        ,   west__minSize:      280\n        ,   west__slidable:     true\n        ,   west__resizable:    true\n        ,   west__togglerLength_closed: '100%'\n        ,   useStateCookie:     true\n            });\n\n        jQuery('#ecm-layout-center').layout({\n            center__paneSelector:   \".ecm-in-layout-center\"\n        ,   resizable: false\n            });\n    });\n</script>";
llxHeader($moreheadcss . $moreheadjs, $langs->trans("ECMArea"), '', '', '', '', $morejs, '', 0, 0);
// Add sections to manage
$rowspan = 0;
$sectionauto = array();
if (!empty($conf->global->ECM_AUTO_TREE_ENABLED)) {
    if (!empty($conf->product->enabled) || !empty($conf->service->enabled)) {
        $langs->load("products");
        $rowspan++;
        $sectionauto[] = array('level' => 1, 'module' => 'product', 'test' => !empty($conf->product->enabled) || !empty($conf->service->enabled), 'label' => $langs->trans("ProductsAndServices"), 'desc' => $langs->trans("ECMDocsByProducts"));
    }
    if (!empty($conf->societe->enabled)) {
        $rowspan++;
        $sectionauto[] = array('level' => 1, 'module' => 'company', 'test' => $conf->societe->enabled, 'label' => $langs->trans("ThirdParties"), 'desc' => $langs->trans("ECMDocsByThirdParties"));
    }
    if (!empty($conf->propal->enabled)) {
        $rowspan++;
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:index_auto.php


示例19: GETPOST

                                // La constante qui a ete lue en avant du nouveau set
                                // on passe donc par une variable pour avoir un affichage coherent
                                $conf->global->COMMANDE_ADDON_PDF_ODT_PATH = GETPOST('value1');
                            }
                        }
                    }
                }
            }
        }
    }
}
/*
 * View
 */
$dirmodels = array_merge(array('/'), (array) $conf->modules_parts['models']);
llxHeader("", $langs->trans("OrdersSetup"));
$form = new Form($db);
$linkback = '<a href="' . DOL_URL_ROOT . '/admin/modules.php">' . $langs->trans("BackToModuleList") . '</a>';
print_fiche_titre($langs->trans("OrdersSetup"), $linkback, 'setup');
print '<br>';
$head = order_admin_prepare_head(null);
dol_fiche_head($head, 'general', $langs->trans("Orders"), 0, 'order');
/*
 * Orders Numbering model
 */
print_titre($langs->trans("OrdersNumberingModules"));
print '<table class="noborder" width="100%">';
print '<tr class="liste_titre">';
print '<td>' . $langs->trans("Name") . '</td>';
print '<td>' . $langs->trans("Description") . '</td>';
print '<td class="nowrap">' . $langs->trans("Example") . '</td>';
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:31,代码来源:commande.php


示例20: array

}
// Initialize technical object to manage hooks of thirdparties. Note that conf->hooks_modules contains array array
$hookmanager->initHooks(array('propallist'));
/*
 * Actions
 */
$parameters = array('socid' => $socid);
$reshook = $hookmanager->executeHooks('doActions', $parameters, $object, $action);
// Note that $action and $object may have been modified by some hooks
if ($reshook < 0) {
    setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
}
/*
 * View
 */
llxHeader('', $langs->trans('Proposal'), 'EN:Commercial_Proposals|FR:Proposition_commerciale|ES:Presupuestos');
$form = new Form($db);
$formother = new FormOther($db);
$formfile = new FormFile($db);
$formpropal = new FormPropal($db);
$companystatic = new Societe($db);
$now = dol_now();
$sortfield = GETPOST("sortfield", 'alpha');
$sortorder = GETPOST("sortorder", 'alpha');
$page = GETPOST("page", 'int');
if ($page == -1) {
    $page = 0;
}
$offset = $conf->liste_limit * $page;
$pageprev = $page - 1;
$pagenext = $page + 1;
开发者ID:TAASA,项目名称:Dolibarr-ERP-3.8.1,代码行数:31,代码来源:list.php



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
PHP llxHeaderVierge函数代码示例发布时间:2022-05-15
下一篇:
PHP llxFooter函数代码示例发布时间:2022-05-15
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap