Fix public pages
This commit is contained in:
parent
a823b10b58
commit
d388ac58be
@ -1,5 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2021 Dorian Vabre <dorian.vabre@gmail.com>
|
||||
* Copyright (C) 2023 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
@ -680,22 +681,25 @@ $formcompany = new FormCompany($db);
|
||||
|
||||
llxHeaderVierge($langs->trans("NewRegistration"));
|
||||
|
||||
print '<br>';
|
||||
print load_fiche_titre($langs->trans("NewRegistration"), '', '', 0, 0, 'center');
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
print '<div id="divsubscribe">';
|
||||
print '<div class="center subscriptionformhelptext justify">';
|
||||
|
||||
// Sub banner
|
||||
print '<div class="center subscriptionformbanner subbanner justify margintoponly paddingtop marginbottomonly padingbottom">';
|
||||
print load_fiche_titre($langs->trans("NewRegistration"), '', '', 0, 0, 'center');
|
||||
// Welcome message
|
||||
print '<span class="opacitymedium">'.$langs->trans("EvntOrgWelcomeMessage").'</span>';
|
||||
print '<br>';
|
||||
|
||||
// Title
|
||||
print '<span class="eventlabel">'.dol_escape_htmltag($project->title . ' '. $conference->label).'</span><br>';
|
||||
print '<span class="eventlabel large">'.dol_escape_htmltag($project->title . ' '. $conference->label).'</span><br>';
|
||||
print '</div>';
|
||||
|
||||
// Help text
|
||||
print '<div class="justify subscriptionformhelptext">';
|
||||
|
||||
if ($project->date_start_event || $project->date_end_event) {
|
||||
print '<br><span class="fa fa-calendar pictofixedwidth"></span>';
|
||||
print '<br><span class="fa fa-calendar pictofixedwidth opacitymedium"></span>';
|
||||
}
|
||||
if ($project->date_start_event) {
|
||||
$format = 'day';
|
||||
@ -720,29 +724,31 @@ if ($project->date_start_event || $project->date_end_event) {
|
||||
print '<br>';
|
||||
}
|
||||
if ($project->location) {
|
||||
print '<span class="fa fa-map-marked-alt pictofixedwidth"></span>'.dol_escape_htmltag($project->location).'<br>';
|
||||
print '<span class="fa fa-map-marked-alt pictofixedwidth opacitymedium"></span>'.dol_escape_htmltag($project->location).'<br>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
|
||||
$maxattendees = 0;
|
||||
if ($conference->id > 0) {
|
||||
/* date of project is not date of event so commented
|
||||
print $langs->trans("Date").': ';
|
||||
print dol_print_date($conference->datep);
|
||||
if ($conference->date_end) {
|
||||
print ' - ';
|
||||
print dol_print_date($conference->datef);
|
||||
}*/
|
||||
print $langs->trans("Date").': ';
|
||||
print dol_print_date($conference->datep);
|
||||
if ($conference->date_end) {
|
||||
print ' - ';
|
||||
print dol_print_date($conference->datef);
|
||||
}*/
|
||||
} else {
|
||||
/* date of project is not date of event so commented
|
||||
print $langs->trans("Date").': ';
|
||||
print dol_print_date($project->date_start);
|
||||
if ($project->date_end) {
|
||||
print ' - ';
|
||||
print dol_print_date($project->date_end);
|
||||
}*/
|
||||
print $langs->trans("Date").': ';
|
||||
print dol_print_date($project->date_start);
|
||||
if ($project->date_end) {
|
||||
print ' - ';
|
||||
print dol_print_date($project->date_end);
|
||||
}*/
|
||||
$maxattendees = $project->max_attendees; // Max attendeed for the project/event
|
||||
}
|
||||
print '</div>';
|
||||
|
||||
if ($maxattendees && $currentnbofattendees >= $maxattendees) {
|
||||
print '<br>';
|
||||
@ -884,12 +890,15 @@ if ((!empty($conference->id) && $conference->status == ConferenceOrBooth::STATUS
|
||||
print "</form>\n";
|
||||
|
||||
print "<br>";
|
||||
print '</div></div>';
|
||||
}
|
||||
} else {
|
||||
print '<br><br>';
|
||||
print $langs->trans("ConferenceIsNotConfirmed");
|
||||
print '<br><br>';
|
||||
}
|
||||
|
||||
print '</div></div>';
|
||||
|
||||
llxFooterVierge();
|
||||
|
||||
$db->close();
|
||||
|
||||
@ -124,10 +124,14 @@ $conf->dol_hide_topmenu = 1;
|
||||
$conf->dol_hide_leftmenu = 1;
|
||||
|
||||
$replacemainarea = (empty($conf->dol_hide_leftmenu) ? '<div>' : '').'<div>';
|
||||
llxHeader($head, $langs->trans("SuggestForm"), '', '', 0, 0, '', '', '', 'onlinepaymentbody', $replacemainarea);
|
||||
|
||||
|
||||
llxHeaderVierge($langs->trans("SuggestForm"));
|
||||
|
||||
|
||||
print '<span id="dolpaymentspan"></span>'."\n";
|
||||
print '<div class="center">'."\n";
|
||||
|
||||
print '<form id="dolpaymentform" class="center" name="paymentform" action="'.$_SERVER["PHP_SELF"].'" method="POST">'."\n";
|
||||
print '<input type="hidden" name="token" value="'.newToken().'">'."\n";
|
||||
print '<input type="hidden" name="action" value="dopayment">'."\n";
|
||||
@ -150,7 +154,7 @@ if (!empty($conf->global->$paramlogo)) {
|
||||
} elseif (!empty($conf->global->ONLINE_PAYMENT_LOGO)) {
|
||||
$logosmall = $conf->global->ONLINE_PAYMENT_LOGO;
|
||||
}
|
||||
//print '<!-- Show logo (logosmall='.$logosmall.' logo='.$logo.') -->'."\n";
|
||||
//print '- Show logo (logosmall='.$logosmall.' logo='.$logo.') '."\n";
|
||||
// Define urllogo
|
||||
$urllogo = '';
|
||||
$urllogofull = '';
|
||||
@ -184,21 +188,55 @@ if (!empty($conf->global->PROJECT_IMAGE_PUBLIC_ORGANIZEDEVENT)) {
|
||||
print '<br>';
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
print '<div id="divsubscribe">';
|
||||
|
||||
|
||||
// Event summary
|
||||
print '<div class="center">';
|
||||
print '<span class="large">'.$project->title.'</span><br>';
|
||||
print img_picto('', 'calendar', 'class="pictofixedwidth"').$langs->trans("Date").': ';
|
||||
print dol_print_date($project->date_start, 'daytext');
|
||||
if ($project->date_end && $project->date_start != $project->date_end) {
|
||||
print ' - '.dol_print_date($project->date_end, 'daytext');
|
||||
}
|
||||
print '<span class="eventlabel large">'.dol_escape_htmltag($project->title . ' '. $project->label).'</span><br>';
|
||||
print '<br><br>'."\n";
|
||||
print $langs->trans("EvntOrgRegistrationWelcomeMessage")."\n";
|
||||
print '<span class="opacitymedium">'.$langs->trans("EvntOrgRegistrationWelcomeMessage")."</span>\n";
|
||||
print $project->note_public."\n";
|
||||
//print img_picto('', 'map-marker-alt').$langs->trans("Location").': xxxx';
|
||||
print '</div>';
|
||||
|
||||
|
||||
// Help text
|
||||
print '<div class="center subscriptionformhelptext">';
|
||||
|
||||
if ($project->date_start_event || $project->date_end_event) {
|
||||
print '<br><span class="fa fa-calendar pictofixedwidth opacitymedium"></span>';
|
||||
}
|
||||
if ($project->date_start_event) {
|
||||
$format = 'day';
|
||||
$tmparray = dol_getdate($project->date_start_event, false, '');
|
||||
if ($tmparray['hours'] || $tmparray['minutes'] || $tmparray['minutes']) {
|
||||
$format = 'dayhour';
|
||||
}
|
||||
print dol_print_date($project->date_start_event, $format);
|
||||
}
|
||||
if ($project->date_start_event && $project->date_end_event) {
|
||||
print ' - ';
|
||||
}
|
||||
if ($project->date_end_event) {
|
||||
$format = 'day';
|
||||
$tmparray = dol_getdate($project->date_end_event, false, '');
|
||||
if ($tmparray['hours'] || $tmparray['minutes'] || $tmparray['minutes']) {
|
||||
$format = 'dayhour';
|
||||
}
|
||||
print dol_print_date($project->date_end_event, $format);
|
||||
}
|
||||
if ($project->date_start_event || $project->date_end_event) {
|
||||
print '<br>';
|
||||
}
|
||||
if ($project->location) {
|
||||
print '<span class="fa fa-map-marked-alt pictofixedwidth opacitymedium"></span>'.dol_escape_htmltag($project->location).'<br>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
|
||||
print '<br>';
|
||||
|
||||
print '<table id="dolpaymenttable" summary="Payment form" class="center">'."\n";
|
||||
@ -245,6 +283,10 @@ print '</td></tr>'."\n";
|
||||
|
||||
print '</table>'."\n";
|
||||
|
||||
|
||||
print '</div></div>';
|
||||
|
||||
|
||||
print '</form>'."\n";
|
||||
print '</div>'."\n";
|
||||
print '<br>';
|
||||
@ -255,3 +297,61 @@ htmlPrintOnlinePaymentFooter($mysoc, $langs, 1, $suffix, $object);
|
||||
llxFooter('', 'public');
|
||||
|
||||
$db->close();
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Show header for new member
|
||||
*
|
||||
* @param string $title Title
|
||||
* @param string $head Head array
|
||||
* @param int $disablejs More content into html header
|
||||
* @param int $disablehead More content into html header
|
||||
* @param array $arrayofjs Array of complementary js files
|
||||
* @param array $arrayofcss Array of complementary css files
|
||||
* @return void
|
||||
*/
|
||||
function llxHeaderVierge($title, $head = "", $disablejs = 0, $disablehead = 0, $arrayofjs = '', $arrayofcss = '')
|
||||
{
|
||||
global $user, $conf, $langs, $mysoc;
|
||||
|
||||
top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss); // Show html headers
|
||||
|
||||
print '<body id="mainbody" class="publicnewmemberform">';
|
||||
|
||||
// Define urllogo
|
||||
$urllogo = DOL_URL_ROOT.'/theme/common/login_logo.png';
|
||||
|
||||
if (!empty($mysoc->logo_small) && is_readable($conf->mycompany->dir_output.'/logos/thumbs/'.$mysoc->logo_small)) {
|
||||
$urllogo = DOL_URL_ROOT.'/viewimage.php?cache=1&modulepart=mycompany&file='.urlencode('logos/thumbs/'.$mysoc->logo_small);
|
||||
} elseif (!empty($mysoc->logo) && is_readable($conf->mycompany->dir_output.'/logos/'.$mysoc->logo)) {
|
||||
$urllogo = DOL_URL_ROOT.'/viewimage.php?cache=1&modulepart=mycompany&file='.urlencode('logos/'.$mysoc->logo);
|
||||
} elseif (is_readable(DOL_DOCUMENT_ROOT.'/theme/dolibarr_logo.svg')) {
|
||||
$urllogo = DOL_URL_ROOT.'/theme/dolibarr_logo.svg';
|
||||
}
|
||||
|
||||
print '<div class="center">';
|
||||
|
||||
// Output html code for logo
|
||||
if ($urllogo) {
|
||||
print '<div class="backgreypublicpayment">';
|
||||
print '<div class="logopublicpayment">';
|
||||
print '<img id="dolpaymentlogo" src="'.$urllogo.'"';
|
||||
print '>';
|
||||
print '</div>';
|
||||
if (empty($conf->global->MAIN_HIDE_POWERED_BY)) {
|
||||
print '<div class="poweredbypublicpayment opacitymedium right"><a class="poweredbyhref" href="https://www.dolibarr.org?utm_medium=website&utm_source=poweredby" target="dolibarr" rel="noopener">'.$langs->trans("PoweredBy").'<br><img class="poweredbyimg" src="'.DOL_URL_ROOT.'/theme/dolibarr_logo.svg" width="80px"></a></div>';
|
||||
}
|
||||
print '</div>';
|
||||
}
|
||||
|
||||
if (!empty($conf->global->PROJECT_IMAGE_PUBLIC_SUGGEST_CONFERENCE)) {
|
||||
print '<div class="backimagepublicsuggestconference">';
|
||||
print '<img id="idPROJECT_IMAGE_PUBLIC_SUGGEST_CONFERENCE" src="'.$conf->global->PROJECT_IMAGE_PUBLIC_SUGGEST_CONFERENCE.'">';
|
||||
print '</div>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
print '<div class="divmainbodylarge">';
|
||||
}
|
||||
|
||||
@ -477,6 +477,7 @@ if (empty($reshook) && $action == 'add') {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!$error) {
|
||||
$db->commit();
|
||||
|
||||
@ -542,30 +543,61 @@ $formcompany = new FormCompany($db);
|
||||
|
||||
llxHeaderVierge($langs->trans("NewSuggestionOfBooth"));
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
print '<div id="divsubscribe">';
|
||||
|
||||
print '<br>';
|
||||
|
||||
// Event summary
|
||||
print '<div class="center">';
|
||||
print '<span class="large">'.$project->title.'</span><br>';
|
||||
print img_picto('', 'calendar', 'class="pictofixedwidth"').$langs->trans("Date").': ';
|
||||
print dol_print_date($project->date_start, 'daytext');
|
||||
if ($project->date_end && $project->date_start != $project->date_end) {
|
||||
print ' - '.dol_print_date($project->date_end, 'daytext');
|
||||
}
|
||||
print '<span class="eventlabel large">'.dol_escape_htmltag($project->title . ' '. $project->label).'</span><br>';
|
||||
print '<br><br>'."\n";
|
||||
//print $langs->trans("EvntOrgRegistrationWelcomeMessage")."\n";
|
||||
//print $project->note_public."\n";
|
||||
print '<span class="opacitymedium">'.$langs->trans("EvntOrgRegistrationWelcomeMessage")."</span>\n";
|
||||
print $project->note_public."\n";
|
||||
//print img_picto('', 'map-marker-alt').$langs->trans("Location").': xxxx';
|
||||
print '</div>';
|
||||
|
||||
|
||||
// Help text
|
||||
print '<div class="center subscriptionformhelptext">';
|
||||
|
||||
if ($project->date_start_event || $project->date_end_event) {
|
||||
print '<br><span class="fa fa-calendar pictofixedwidth opacitymedium"></span>';
|
||||
}
|
||||
if ($project->date_start_event) {
|
||||
$format = 'day';
|
||||
$tmparray = dol_getdate($project->date_start_event, false, '');
|
||||
if ($tmparray['hours'] || $tmparray['minutes'] || $tmparray['minutes']) {
|
||||
$format = 'dayhour';
|
||||
}
|
||||
print dol_print_date($project->date_start_event, $format);
|
||||
}
|
||||
if ($project->date_start_event && $project->date_end_event) {
|
||||
print ' - ';
|
||||
}
|
||||
if ($project->date_end_event) {
|
||||
$format = 'day';
|
||||
$tmparray = dol_getdate($project->date_end_event, false, '');
|
||||
if ($tmparray['hours'] || $tmparray['minutes'] || $tmparray['minutes']) {
|
||||
$format = 'dayhour';
|
||||
}
|
||||
print dol_print_date($project->date_end_event, $format);
|
||||
}
|
||||
if ($project->date_start_event || $project->date_end_event) {
|
||||
print '<br>';
|
||||
}
|
||||
if ($project->location) {
|
||||
print '<span class="fa fa-map-marked-alt pictofixedwidth opacitymedium"></span>'.dol_escape_htmltag($project->location).'<br>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
print '<br>';
|
||||
|
||||
print load_fiche_titre($langs->trans("NewSuggestionOfBooth"), '', '', 0, 0, 'center');
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
print '<div id="divsubscribe">';
|
||||
print '<div class="center subscriptionformhelptext opacitymedium justify">';
|
||||
|
||||
dol_htmloutput_errors($errmsg);
|
||||
|
||||
// Print form
|
||||
@ -576,7 +608,6 @@ print '<input type="hidden" name="action" value="add" />';
|
||||
print '<input type="hidden" name="id" value="'.$id.'" />';
|
||||
print '<input type="hidden" name="securekey" value="'.$securekeyreceived.'" />';
|
||||
|
||||
print '<br>';
|
||||
|
||||
print '<br><span class="opacitymedium">'.$langs->trans("FieldsWithAreMandatory", '*').'</span><br>';
|
||||
//print $langs->trans("FieldsWithIsForPublic",'**').'<br>';
|
||||
@ -616,8 +647,7 @@ print $formcompany->select_ziptown(GETPOST('town'), 'town', array('zipcode', 'se
|
||||
print '</td></tr>';
|
||||
// Country
|
||||
print '<tr><td>'.$langs->trans('Country');
|
||||
print '<span style="color:red">*</span>';
|
||||
|
||||
print '<span class="star">*</span>';
|
||||
print '</td><td>';
|
||||
$country_id = GETPOST('country_id');
|
||||
if (!$country_id && !empty($conf->global->MEMBER_NEWFORM_FORCECOUNTRYCODE)) {
|
||||
@ -670,7 +700,6 @@ print '</div>';
|
||||
print '<br><br>';
|
||||
|
||||
|
||||
|
||||
print "</form>\n";
|
||||
print "<br>";
|
||||
print '</div></div>';
|
||||
|
||||
@ -72,8 +72,8 @@ $email = GETPOST("email");
|
||||
$societe = GETPOST("societe");
|
||||
$label = GETPOST("label");
|
||||
$note = GETPOST("note");
|
||||
$datestart = GETPOST("datestart");
|
||||
$dateend = GETPOST("dateend");
|
||||
$datestart = dol_mktime(0, 0, 0, GETPOST('datestartmonth', 'int'), GETPOST('datestartday', 'int'), GETPOST('datestartyear', 'int'));
|
||||
$dateend = dol_mktime(23, 59, 59, GETPOST('dateendmonth', 'int'), GETPOST('dateendday', 'int'), GETPOST('dateendyear', 'int'));
|
||||
|
||||
$id = GETPOST('id');
|
||||
|
||||
@ -454,6 +454,7 @@ if (empty($reshook) && $action == 'add') {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!$error) {
|
||||
$db->commit();
|
||||
$securekeyurl = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$id, 2);
|
||||
@ -475,29 +476,60 @@ $formcompany = new FormCompany($db);
|
||||
|
||||
llxHeaderVierge($langs->trans("NewSuggestionOfConference"));
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
print '<div id="divsubscribe">';
|
||||
|
||||
print '<br>';
|
||||
|
||||
// Event summary
|
||||
print '<div class="center">';
|
||||
print '<span class="large">'.$project->title.'</span><br>';
|
||||
print img_picto('', 'calendar', 'class="pictofixedwidth"').$langs->trans("Date").': ';
|
||||
print dol_print_date($project->date_start, 'daytext');
|
||||
if ($project->date_end && $project->date_start != $project->date_end) {
|
||||
print ' - '.dol_print_date($project->date_end, 'daytext');
|
||||
}
|
||||
print '<span class="eventlabel large">'.dol_escape_htmltag($project->title . ' '. $project->label).'</span><br>';
|
||||
print '<br><br>'."\n";
|
||||
//print $langs->trans("EvntOrgRegistrationWelcomeMessage")."\n";
|
||||
//print $project->note_public."\n";
|
||||
print '<span class="opacitymedium">'.$langs->trans("EvntOrgRegistrationWelcomeMessage")."</span>\n";
|
||||
print $project->note_public."\n";
|
||||
//print img_picto('', 'map-marker-alt').$langs->trans("Location").': xxxx';
|
||||
print '</div>';
|
||||
|
||||
// Help text
|
||||
print '<div class="center subscriptionformhelptext">';
|
||||
|
||||
if ($project->date_start_event || $project->date_end_event) {
|
||||
print '<br><span class="fa fa-calendar pictofixedwidth opacitymedium"></span>';
|
||||
}
|
||||
if ($project->date_start_event) {
|
||||
$format = 'day';
|
||||
$tmparray = dol_getdate($project->date_start_event, false, '');
|
||||
if ($tmparray['hours'] || $tmparray['minutes'] || $tmparray['minutes']) {
|
||||
$format = 'dayhour';
|
||||
}
|
||||
print dol_print_date($project->date_start_event, $format);
|
||||
}
|
||||
if ($project->date_start_event && $project->date_end_event) {
|
||||
print ' - ';
|
||||
}
|
||||
if ($project->date_end_event) {
|
||||
$format = 'day';
|
||||
$tmparray = dol_getdate($project->date_end_event, false, '');
|
||||
if ($tmparray['hours'] || $tmparray['minutes'] || $tmparray['minutes']) {
|
||||
$format = 'dayhour';
|
||||
}
|
||||
print dol_print_date($project->date_end_event, $format);
|
||||
}
|
||||
if ($project->date_start_event || $project->date_end_event) {
|
||||
print '<br>';
|
||||
}
|
||||
if ($project->location) {
|
||||
print '<span class="fa fa-map-marked-alt pictofixedwidth opacitymedium"></span>'.dol_escape_htmltag($project->location).'<br>';
|
||||
}
|
||||
|
||||
print '</div>';
|
||||
|
||||
print '<br>';
|
||||
|
||||
print load_fiche_titre($langs->trans("NewSuggestionOfConference"), '', '', 0, 0, 'center');
|
||||
|
||||
|
||||
print '<div align="center">';
|
||||
print '<div id="divsubscribe">';
|
||||
print '<div class="center subscriptionformhelptext opacitymedium justify">';
|
||||
|
||||
dol_htmloutput_errors($errmsg, $errors);
|
||||
|
||||
@ -509,8 +541,6 @@ print '<input type="hidden" name="action" value="add" />';
|
||||
print '<input type="hidden" name="id" value="'.$id.'" />';
|
||||
print '<input type="hidden" name="securekey" value="'.$securekeyreceived.'" />';
|
||||
|
||||
print '<br>';
|
||||
|
||||
print '<br><span class="opacitymedium">'.$langs->trans("FieldsWithAreMandatory", '*').'</span><br>';
|
||||
//print $langs->trans("FieldsWithIsForPublic",'**').'<br>';
|
||||
|
||||
@ -585,11 +615,11 @@ if (empty($conf->global->SOCIETE_DISABLE_STATE)) {
|
||||
print '<tr><td>'.$langs->trans("Format").'<span style="color: red">*</span></td>'."\n";
|
||||
print '<td>'.Form::selectarray('eventtype', $arrayofconfboothtype, $eventtype, 1).'</td>';
|
||||
// Label
|
||||
print '<tr><td>'.$langs->trans("LabelOfconference").'<span style="color: red">*</span></td>'."\n";
|
||||
print '</td><td><input type="text" name="label" class="minwidth150" value="'.dol_escape_htmltag(GETPOST('label')).'"></td></tr>'."\n";
|
||||
print '<tr><td>'.$langs->trans("LabelOfconference").'<span class="star">*</span></td>'."\n";
|
||||
print '</td><td><input type="text" name="label" class="minwidth300" value="'.dol_escape_htmltag(GETPOST('label')).'"></td></tr>'."\n";
|
||||
// Note
|
||||
print '<tr><td>'.$langs->trans("Description").'<span style="color: red">*</span></td>'."\n";
|
||||
print '<td><textarea name="note" id="note" wrap="soft" class="quatrevingtpercent" rows="'.ROWS_3.'">'.dol_escape_htmltag(GETPOST('note', 'restricthtml'), 0, 1).'</textarea></td></tr>'."\n";
|
||||
print '<tr><td>'.$langs->trans("Description").'<span class="star">*</span></td>'."\n";
|
||||
print '<td><textarea name="note" id="note" wrap="soft" class="quatrevingtpercent" rows="'.ROWS_4.'">'.dol_escape_htmltag(GETPOST('note', 'restricthtml'), 0, 1).'</textarea></td></tr>'."\n";
|
||||
|
||||
print "</table>\n";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user