Example #1
0

//***********************
// List
//***********************
print_fiche_titre($langs->trans("ECMArea").' - '.$langs->trans("Search"));

//print $langs->trans("ECMAreaDesc")."<br>";
//print $langs->trans("ECMAreaDesc2")."<br>";
//print "<br>\n";
print $langs->trans("FeatureNotYetAvailable").'.<br><br>';

if ($mesg) { print $mesg."<br>"; }

// Tool bar
$head = ecm_prepare_head_fm($fac);
//dol_fiche_head($head, 'search_form', '', 1);


print '<table class="border" width="100%"><tr><td width="40%" valign="top">';

// Left area


//print_fiche_titre($langs->trans("ECMSectionsManual"));

print '<form method="post" action="'.DOL_URL_ROOT.'/ecm/search.php">';
print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">';
print '<table class="nobordernopadding" width="100%">';
print "<tr class=\"liste_titre\">";
print '<td colspan="2">'.$langs->trans("ECMSearchByKeywords").'</td></tr>';
Example #2
0
    $sectionauto[] = array('level' => 1, 'module' => 'invoice', 'test' => $conf->facture->enabled, 'label' => $langs->trans("CustomersInvoices"), 'desc' => $langs->trans("ECMDocsByInvoices"));
}
if (!empty($conf->fournisseur->enabled)) {
    $rowspan++;
    $sectionauto[] = array('level' => 1, 'module' => 'invoice_supplier', 'test' => $conf->fournisseur->enabled, 'label' => $langs->trans("SuppliersOrders"), 'desc' => $langs->trans("ECMDocsByOrders"));
}
//***********************
// List
//***********************
print load_fiche_titre($langs->trans("ECMArea") . ' - ' . $langs->trans("Search"));
//print $langs->trans("ECMAreaDesc")."<br>";
//print $langs->trans("ECMAreaDesc2")."<br>";
//print "<br>\n";
print $langs->trans("FeatureNotYetAvailable") . '.<br><br>';
// Tool bar
$head = ecm_prepare_head_fm($ecmdir);
//dol_fiche_head($head, 'search_form', '', 1);
print '<table class="border" width="100%"><tr><td width="40%" valign="top">';
// Left area
//print load_fiche_titre($langs->trans("ECMSectionsManual"));
print '<form method="post" action="' . DOL_URL_ROOT . '/ecm/search.php">';
print '<input type="hidden" name="token" value="' . $_SESSION['newtoken'] . '">';
print '<table class="nobordernopadding" width="100%">';
print "<tr class=\"liste_titre\">";
print '<td colspan="2">' . $langs->trans("ECMSearchByKeywords") . '</td></tr>';
print "<tr " . $bc[false] . "><td>" . $langs->trans("Ref") . ':</td><td align="right"><input type="text" name="search_ref" class="flat" size="14"></td></tr>';
print "<tr " . $bc[false] . "><td>" . $langs->trans("Title") . ':</td><td align="right"><input type="text" name="search_title" class="flat" size="14"></td></tr>';
print "<tr " . $bc[false] . "><td>" . $langs->trans("Keyword") . ':</td><td align="right"><input type="text" name="search_keyword" class="flat" size="14"></td></tr>';
print "<tr " . $bc[false] . '><td colspan="2" align="center"><input type="submit" class="button" value="' . $langs->trans("Search") . '"></td></tr>';
print "</table></form>";
//print $langs->trans("ECMSectionManualDesc");