This commit is contained in:
Laurent Destailleur 2021-01-23 13:50:06 +01:00
parent 7e8d06e8b8
commit 791f5f3f62
3 changed files with 19 additions and 1 deletions

View File

@ -1690,7 +1690,7 @@ class FormFile
$fulllink = $urlwithroot.'/document.php'.($paramlink ? '?'.$paramlink : '');
print img_picto($langs->trans("FileSharedViaALink"), 'globe').' ';
print '<input type="text" class="quatrevingtpercent width100" id="downloadlink" name="downloadexternallink" value="'.dol_escape_htmltag($fulllink).'">';
print '<input type="text" class="quatrevingtpercent width100 nopadding" id="downloadlink" name="downloadexternallink" value="'.dol_escape_htmltag($fulllink).'">';
}
//if (! empty($useinecm) && $useinecm != 6) print '<a data-ajax="false" href="'.DOL_URL_ROOT.'/document.php?modulepart='.$modulepart;
//if ($forcedownload) print '&attachment=1';

View File

@ -670,6 +670,15 @@ textarea.centpercent {
.nounderline {
text-decoration: none;
}
.nopadding {
padding: 0;
}
.nopaddingleft {
padding-left: 0;
}
.nopaddingright {
padding-right: 0;
}
.paddingleft {
padding-<?php print $left; ?>: 4px;
}

View File

@ -770,6 +770,15 @@ textarea.centpercent {
.nounderline {
text-decoration: none;
}
.nopadding {
padding: 0;
}
.nopaddingleft {
padding-left: 0;
}
.nopaddingright {
padding-right: 0;
}
.paddingleft {
padding-<?php print $left; ?>: 4px;
}