Look and feel v14
This commit is contained in:
parent
ddbfb5d734
commit
be97d66f5b
@ -32,10 +32,12 @@ ListOfPartnerships=List of partnership
|
||||
PartnershipSetup=Partnership setup
|
||||
PartnershipAbout=About Partnership
|
||||
PartnershipAboutPage=Partnership about page
|
||||
partnershipforthirdpartyormember=Partnership is for a 'thirdparty' or for a 'member'
|
||||
partnershipforthirdpartyormember=Partner status must be set on a 'thirdparty' or a 'member'
|
||||
PARTNERSHIP_IS_MANAGED_FOR=Partnership managed for
|
||||
PARTNERSHIP_BACKLINKS_TO_CHECK=Backlinks to check
|
||||
PARTNERSHIP_NBDAYS_AFTER_MEMBER_EXPIRATION_BEFORE_CANCEL=Nb of days before cancel status of partnership when subscription is expired
|
||||
ReferingWebsiteCheck=Check of website referring
|
||||
ReferingWebsiteCheckDesc=You can enable a feature to check that your partners has added a backlink to your website domains on their own website.
|
||||
|
||||
#
|
||||
# Object
|
||||
|
||||
@ -98,7 +98,7 @@ llxHeader('', $title, $help_url);
|
||||
|
||||
|
||||
$linkback = '<a href="'.DOL_URL_ROOT.'/admin/modules.php?restore_lastsearch_values=1">'.$langs->trans("BackToModuleList").'</a>';
|
||||
print load_fiche_titre($langs->trans("PartnershipSetup"), $linkback, 'object_partnership');
|
||||
print load_fiche_titre($langs->trans("PartnershipSetup"), $linkback, 'title_setup');
|
||||
|
||||
|
||||
$head = partnershipAdminPrepareHead();
|
||||
|
||||
@ -139,22 +139,22 @@ print '<input type="hidden" name="token" value="'.newToken().'">';
|
||||
print '<input type="hidden" name="action" value="setting">';
|
||||
print '<input type="hidden" name="page_y" value="">';
|
||||
|
||||
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
|
||||
print '<table class="noborder centpercent">';
|
||||
|
||||
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td class="titlefield">'.$langs->trans("Setting").'</td>';
|
||||
print '<td class="left">'.$langs->trans("Value").'</td>';
|
||||
print '<td class="left">'.$langs->trans("Examples").'</td>';
|
||||
print '<td>'.$langs->trans("Setting").'</td>';
|
||||
print '<td>'.$langs->trans("Value").'</td>';
|
||||
print '<td>'.$langs->trans("Examples").'</td>';
|
||||
print '</tr>';
|
||||
|
||||
|
||||
print '<tr class="oddeven"><td>'.$langs->trans("PARTNERSHIP_IS_MANAGED_FOR").'</td>';
|
||||
print '<td>';
|
||||
print '<select class="flat minwidth100" id="select_PARTNERSHIP_IS_MANAGED_FOR" name="PARTNERSHIP_IS_MANAGED_FOR">';
|
||||
print '<option value="thirdparty" '.(($conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'thirdparty') ? 'selected' : '').'>'.$langs->trans("ThirdParty").'</option>';
|
||||
print '<option value="member" '.(($conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'member') ? 'selected' : '').'>'.$langs->trans("Members").'</option>';
|
||||
print '</select>';
|
||||
print ajax_combobox('select_PARTNERSHIP_IS_MANAGED_FOR');
|
||||
print '</td>';
|
||||
print '<td><span class="opacitymedium">'.$langs->trans("partnershipforthirdpartyormember").'</span></td>';
|
||||
print '</tr>';
|
||||
@ -163,7 +163,7 @@ print '</tr>';
|
||||
if ($conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'member') {
|
||||
print '<tr class="oddeven"><td>'.$langs->trans("PARTNERSHIP_NBDAYS_AFTER_MEMBER_EXPIRATION_BEFORE_CANCEL").'</td>';
|
||||
print '<td>';
|
||||
$dnbdays = '7';
|
||||
$dnbdays = '15';
|
||||
$backlinks = (!empty($conf->global->PARTNERSHIP_NBDAYS_AFTER_MEMBER_EXPIRATION_BEFORE_CANCEL)) ? $conf->global->PARTNERSHIP_NBDAYS_AFTER_MEMBER_EXPIRATION_BEFORE_CANCEL : $dnbdays;
|
||||
print '<input class="maxwidth50" type="text" name="PARTNERSHIP_NBDAYS_AFTER_MEMBER_EXPIRATION_BEFORE_CANCEL" value="'.$backlinks.'">';
|
||||
print '</td>';
|
||||
@ -171,6 +171,25 @@ if ($conf->global->PARTNERSHIP_IS_MANAGED_FOR == 'member') {
|
||||
print '</tr>';
|
||||
}
|
||||
|
||||
print '</table>';
|
||||
print '</div>';
|
||||
|
||||
print '<br>';
|
||||
|
||||
|
||||
print_fiche_titre($langs->trans("ReferingWebsiteCheck"), '', '');
|
||||
|
||||
print '<span class="opacitymedium">'.$langs->trans("ReferingWebsiteCheckDesc").'</span><br>';
|
||||
print '<br>';
|
||||
|
||||
print '<div class="div-table-responsive-no-min">'; // You can use div-table-responsive-no-min if you dont need reserved height for your table
|
||||
print '<table class="noborder centpercent">';
|
||||
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("Setting").'</td>';
|
||||
print '<td>'.$langs->trans("Value").'</td>';
|
||||
print '<td>'.$langs->trans("Examples").'</td>';
|
||||
print '</tr>';
|
||||
|
||||
print '<tr class="oddeven"><td>'.$langs->trans("PARTNERSHIP_BACKLINKS_TO_CHECK").'</td>';
|
||||
print '<td>';
|
||||
@ -181,8 +200,10 @@ print '</td>';
|
||||
print '<td><span class="opacitymedium">'.$dbacklinks.'</span></td>';
|
||||
print '</tr>';
|
||||
|
||||
|
||||
print '</table>';
|
||||
print '</div>';
|
||||
|
||||
|
||||
print '<div class="center">';
|
||||
print '<input type="submit" class="button reposition" value="'.$langs->trans("Modify").'">';
|
||||
print '</div>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user