Standardize name of page
This commit is contained in:
parent
c98f28ffc8
commit
2262646391
@ -247,7 +247,7 @@ class ConferenceOrBooth extends ActionComm
|
|||||||
|
|
||||||
$result = parent::fetch($id, $ref, $ref_ext, $email_msgid);
|
$result = parent::fetch($id, $ref, $ref_ext, $email_msgid);
|
||||||
|
|
||||||
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_register.php?id='.urlencode($id).'&type=conf';
|
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_new.php?id='.urlencode($id).'&type=conf';
|
||||||
|
|
||||||
$encodedsecurekey = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$id, 2);
|
$encodedsecurekey = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$id, 2);
|
||||||
$link_subscription .= '&securekey='.urlencode($encodedsecurekey);
|
$link_subscription .= '&securekey='.urlencode($encodedsecurekey);
|
||||||
|
|||||||
@ -450,7 +450,7 @@ if ($projectid > 0) {
|
|||||||
print $langs->trans("PublicAttendeeSubscriptionGlobalPage");
|
print $langs->trans("PublicAttendeeSubscriptionGlobalPage");
|
||||||
//print '</span>';
|
//print '</span>';
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_register.php?id='.((int) $project->id).'&type=global';
|
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_new.php?id='.((int) $project->id).'&type=global';
|
||||||
$encodedsecurekey = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.((int) $project->id), 'md5');
|
$encodedsecurekey = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.((int) $project->id), 'md5');
|
||||||
$link_subscription .= '&securekey='.urlencode($encodedsecurekey);
|
$link_subscription .= '&securekey='.urlencode($encodedsecurekey);
|
||||||
//print '<div class="urllink">';
|
//print '<div class="urllink">';
|
||||||
|
|||||||
@ -397,7 +397,7 @@ if (!empty($withproject)) {
|
|||||||
print $langs->trans("PublicAttendeeSubscriptionGlobalPage");
|
print $langs->trans("PublicAttendeeSubscriptionGlobalPage");
|
||||||
//print '</span>';
|
//print '</span>';
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_register.php?id='.$projectstatic->id.'&type=global';
|
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_new.php?id='.$projectstatic->id.'&type=global';
|
||||||
$encodedsecurekey = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$projectstatic->id, 'md5');
|
$encodedsecurekey = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$projectstatic->id, 'md5');
|
||||||
$link_subscription .= '&securekey='.urlencode($encodedsecurekey);
|
$link_subscription .= '&securekey='.urlencode($encodedsecurekey);
|
||||||
//print '<div class="urllink">';
|
//print '<div class="urllink">';
|
||||||
|
|||||||
@ -577,7 +577,7 @@ if ($projectstatic->id > 0 || $confOrBooth > 0) {
|
|||||||
print $langs->trans("PublicAttendeeSubscriptionGlobalPage");
|
print $langs->trans("PublicAttendeeSubscriptionGlobalPage");
|
||||||
//print '</span>';
|
//print '</span>';
|
||||||
print '</td><td>';
|
print '</td><td>';
|
||||||
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_register.php?id='.$projectstatic->id.'&type=global';
|
$link_subscription = $dolibarr_main_url_root.'/public/eventorganization/attendee_new.php?id='.$projectstatic->id.'&type=global';
|
||||||
$encodedsecurekey = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$projectstatic->id, 'md5');
|
$encodedsecurekey = dol_hash($conf->global->EVENTORGANIZATION_SECUREKEY.'conferenceorbooth'.$projectstatic->id, 'md5');
|
||||||
$link_subscription .= '&securekey='.urlencode($encodedsecurekey);
|
$link_subscription .= '&securekey='.urlencode($encodedsecurekey);
|
||||||
//print '<div class="urllink">';
|
//print '<div class="urllink">';
|
||||||
|
|||||||
@ -283,3 +283,4 @@ PROJECT_CLASSIFY_CLOSED_WHEN_ALL_TASKS_DONE=Classify project as closed when all
|
|||||||
PROJECT_CLASSIFY_CLOSED_WHEN_ALL_TASKS_DONE_help=Note: existing projects with all tasks at 100 %% progress won't be affected: you will have to close them manually. This option only affects open projects.
|
PROJECT_CLASSIFY_CLOSED_WHEN_ALL_TASKS_DONE_help=Note: existing projects with all tasks at 100 %% progress won't be affected: you will have to close them manually. This option only affects open projects.
|
||||||
SelectLinesOfTimeSpentToInvoice=Select lines of time spent that are unbilled, then bulk action "Generate Invoice" to bill them
|
SelectLinesOfTimeSpentToInvoice=Select lines of time spent that are unbilled, then bulk action "Generate Invoice" to bill them
|
||||||
ProjectTasksWithoutTimeSpent=Project tasks without time spent
|
ProjectTasksWithoutTimeSpent=Project tasks without time spent
|
||||||
|
FormForNewLeadDesc=Thanks to fill the following form to contact us. You can also send us an email directly to <b>%s</b>.
|
||||||
@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \file htdocs/public/eventorganization/attendee_register.php
|
* \file htdocs/public/eventorganization/attendee_new.php
|
||||||
* \ingroup project
|
* \ingroup project
|
||||||
* \brief Example of form to subscribe to an event
|
* \brief Example of form to subscribe to an event
|
||||||
*
|
*
|
||||||
@ -24,7 +24,7 @@
|
|||||||
/**
|
/**
|
||||||
* \file htdocs/public/project/new.php
|
* \file htdocs/public/project/new.php
|
||||||
* \ingroup project
|
* \ingroup project
|
||||||
* \brief Example of form to add a new lead
|
* \brief Page to record a message/lead into a project/lead
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('NOLOGIN')) {
|
if (!defined('NOLOGIN')) {
|
||||||
@ -65,7 +65,7 @@ $backtopage = GETPOST('backtopage', 'alpha');
|
|||||||
$action = GETPOST('action', 'aZ09');
|
$action = GETPOST('action', 'aZ09');
|
||||||
|
|
||||||
// Load translation files
|
// Load translation files
|
||||||
$langs->loadLangs(array("members", "companies", "install", "other"));
|
$langs->loadLangs(array("members", "companies", "install", "other", "projects"));
|
||||||
|
|
||||||
if (empty($conf->global->PROJECT_ENABLE_PUBLIC)) {
|
if (empty($conf->global->PROJECT_ENABLE_PUBLIC)) {
|
||||||
print $langs->trans("Form for public lead registration has not been enabled");
|
print $langs->trans("Form for public lead registration has not been enabled");
|
||||||
@ -381,7 +381,7 @@ print '<div class="center subscriptionformhelptext justify">';
|
|||||||
if (!empty($conf->global->PROJECT_NEWFORM_TEXT)) {
|
if (!empty($conf->global->PROJECT_NEWFORM_TEXT)) {
|
||||||
print $langs->trans($conf->global->PROJECT_NEWFORM_TEXT)."<br>\n";
|
print $langs->trans($conf->global->PROJECT_NEWFORM_TEXT)."<br>\n";
|
||||||
} else {
|
} else {
|
||||||
print $langs->trans("NewLeadDesc", $conf->global->MAIN_INFO_SOCIETE_MAIL)."<br>\n";
|
print $langs->trans("FormForNewLeadDesc", $conf->global->MAIN_INFO_SOCIETE_MAIL)."<br>\n";
|
||||||
}
|
}
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user