Fix css
@ -1045,7 +1045,7 @@ else
|
|||||||
{
|
{
|
||||||
if ($object->photo) print "<br>\n";
|
if ($object->photo) print "<br>\n";
|
||||||
print '<table class="nobordernopadding">';
|
print '<table class="nobordernopadding">';
|
||||||
if ($object->photo) print '<tr><td align="center"><input type="checkbox" class="flat" name="deletephoto" id="photodelete"> '.$langs->trans("Delete").'<br><br></td></tr>';
|
if ($object->photo) print '<tr><td align="center"><input type="checkbox" class="flat photodelete" name="deletephoto" id="photodelete"> '.$langs->trans("Delete").'<br><br></td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("PhotoFile").'</td></tr>';
|
print '<tr><td>'.$langs->trans("PhotoFile").'</td></tr>';
|
||||||
print '<tr><td><input type="file" class="flat" name="photo" id="photoinput"></td></tr>';
|
print '<tr><td><input type="file" class="flat" name="photo" id="photoinput"></td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
@ -53,7 +53,9 @@ print '<br><br>';
|
|||||||
|
|
||||||
|
|
||||||
// Show logo
|
// Show logo
|
||||||
print '<div class="center"><div class="logo_setup"></div></div>';
|
//print '<div class="center"><div class="logo_setup"></div></div>';
|
||||||
|
print '<center><div class="logo_setup"></div></center>'; // For a reason I don't know, the div class="center does not works, we must keep the <center>
|
||||||
|
|
||||||
|
|
||||||
llxFooter();
|
llxFooter();
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|||||||
@ -4839,13 +4839,13 @@ class Form
|
|||||||
{
|
{
|
||||||
// TODO Link to large image
|
// TODO Link to large image
|
||||||
$ret.='<a href="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.$entity.'&file='.urlencode($file).'&cache='.$cache.'">';
|
$ret.='<a href="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.$entity.'&file='.urlencode($file).'&cache='.$cache.'">';
|
||||||
$ret.='<img alt="Photo" id="photologo'.(preg_replace('/[^a-z]/i','_',$file)).'" class="photologo" border="0"'.($width?' width="'.$width.'"':'').($height?' height="'.$height.'"':'').' src="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.$entity.'&file='.urlencode($file).'&cache='.$cache.'">';
|
$ret.='<img alt="Photo" id="photologo'.(preg_replace('/[^a-z]/i','_',$file)).'" class="photologo" '.($width?' width="'.$width.'"':'').($height?' height="'.$height.'"':'').' src="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.$entity.'&file='.urlencode($file).'&cache='.$cache.'">';
|
||||||
$ret.='</a>';
|
$ret.='</a>';
|
||||||
}
|
}
|
||||||
else if ($altfile && file_exists($dir."/".$altfile))
|
else if ($altfile && file_exists($dir."/".$altfile))
|
||||||
{
|
{
|
||||||
$ret.='<a href="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.$entity.'&file='.urlencode($file).'&cache='.$cache.'">';
|
$ret.='<a href="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.$entity.'&file='.urlencode($file).'&cache='.$cache.'">';
|
||||||
$ret.='<img alt="Photo alt" id="photologo'.(preg_replace('/[^a-z]/i','_',$file)).'" class="photologo" border="0"'.($width?' width="'.$width.'"':'').($height?' height="'.$height.'"':'').' src="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.$entity.'&file='.urlencode($altfile).'&cache='.$cache.'">';
|
$ret.='<img alt="Photo alt" id="photologo'.(preg_replace('/[^a-z]/i','_',$file)).'" class="photologo" '.($width?' width="'.$width.'"':'').($height?' height="'.$height.'"':'').' src="'.DOL_URL_ROOT.'/viewimage.php?modulepart='.$modulepart.'&entity='.$entity.'&file='.urlencode($altfile).'&cache='.$cache.'">';
|
||||||
$ret.='</a>';
|
$ret.='</a>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -4874,7 +4874,7 @@ class Form
|
|||||||
{
|
{
|
||||||
if ($object->photo) $ret.="<br>\n";
|
if ($object->photo) $ret.="<br>\n";
|
||||||
$ret.='<table class="nobordernopadding hideonsmartphone">';
|
$ret.='<table class="nobordernopadding hideonsmartphone">';
|
||||||
if ($object->photo) $ret.='<tr><td align="center"><input type="checkbox" class="flat" name="deletephoto" id="photodelete"> '.$langs->trans("Delete").'<br><br></td></tr>';
|
if ($object->photo) $ret.='<tr><td align="center"><input type="checkbox" class="flat photodelete" name="deletephoto" id="photodelete"> '.$langs->trans("Delete").'<br><br></td></tr>';
|
||||||
$ret.='<tr><td>'.$langs->trans("PhotoFile").'</td></tr>';
|
$ret.='<tr><td>'.$langs->trans("PhotoFile").'</td></tr>';
|
||||||
$ret.='<tr><td><input type="file" class="flat" name="photo" id="photoinput"></td></tr>';
|
$ret.='<tr><td><input type="file" class="flat" name="photo" id="photoinput"></td></tr>';
|
||||||
$ret.='</table>';
|
$ret.='</table>';
|
||||||
|
|||||||
@ -1738,7 +1738,7 @@ else
|
|||||||
{
|
{
|
||||||
if ($object->logo) print "<br>\n";
|
if ($object->logo) print "<br>\n";
|
||||||
print '<table class="nobordernopadding">';
|
print '<table class="nobordernopadding">';
|
||||||
if ($object->logo) print '<tr><td><input type="checkbox" class="flat" name="deletephoto" id="photodelete"> '.$langs->trans("Delete").'<br><br></td></tr>';
|
if ($object->logo) print '<tr><td><input type="checkbox" class="flat" name="deletephoto photodelete" id="photodelete"> '.$langs->trans("Delete").'<br><br></td></tr>';
|
||||||
//print '<tr><td>'.$langs->trans("PhotoFile").'</td></tr>';
|
//print '<tr><td>'.$langs->trans("PhotoFile").'</td></tr>';
|
||||||
print '<tr><td><input type="file" class="flat" name="photo" id="photoinput"></td></tr>';
|
print '<tr><td><input type="file" class="flat" name="photo" id="photoinput"></td></tr>';
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|||||||
BIN
htdocs/theme/amarok/img/title_accountancy.png
Normal file
|
After Width: | Height: | Size: 1019 B |
BIN
htdocs/theme/amarok/img/title_bank.png
Normal file
|
After Width: | Height: | Size: 796 B |
BIN
htdocs/theme/amarok/img/title_commercial.png
Normal file
|
After Width: | Height: | Size: 828 B |
BIN
htdocs/theme/amarok/img/title_companies.png
Normal file
|
After Width: | Height: | Size: 562 B |
BIN
htdocs/theme/amarok/img/title_generic.png
Normal file
|
After Width: | Height: | Size: 789 B |
BIN
htdocs/theme/amarok/img/title_home.png
Normal file
|
After Width: | Height: | Size: 721 B |
BIN
htdocs/theme/amarok/img/title_products.png
Normal file
|
After Width: | Height: | Size: 678 B |
BIN
htdocs/theme/amarok/img/title_project.png
Normal file
|
After Width: | Height: | Size: 604 B |
BIN
htdocs/theme/amarok/img/title_setup.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
htdocs/theme/auguria/img/title_accountancy.png
Normal file
|
After Width: | Height: | Size: 1019 B |
BIN
htdocs/theme/auguria/img/title_bank.png
Normal file
|
After Width: | Height: | Size: 796 B |
BIN
htdocs/theme/auguria/img/title_commercial.png
Normal file
|
After Width: | Height: | Size: 828 B |
BIN
htdocs/theme/auguria/img/title_companies.png
Normal file
|
After Width: | Height: | Size: 562 B |
BIN
htdocs/theme/auguria/img/title_generic.png
Normal file
|
After Width: | Height: | Size: 789 B |
BIN
htdocs/theme/auguria/img/title_home.png
Normal file
|
After Width: | Height: | Size: 721 B |
BIN
htdocs/theme/auguria/img/title_products.png
Normal file
|
After Width: | Height: | Size: 678 B |
BIN
htdocs/theme/auguria/img/title_project.png
Normal file
|
After Width: | Height: | Size: 604 B |
BIN
htdocs/theme/auguria/img/title_setup.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
htdocs/theme/bureau2crea/img/title_accountancy.png
Normal file
|
After Width: | Height: | Size: 1019 B |
BIN
htdocs/theme/bureau2crea/img/title_bank.png
Normal file
|
After Width: | Height: | Size: 796 B |
BIN
htdocs/theme/bureau2crea/img/title_commercial.png
Normal file
|
After Width: | Height: | Size: 828 B |
BIN
htdocs/theme/bureau2crea/img/title_companies.png
Normal file
|
After Width: | Height: | Size: 562 B |
BIN
htdocs/theme/bureau2crea/img/title_generic.png
Normal file
|
After Width: | Height: | Size: 789 B |
BIN
htdocs/theme/bureau2crea/img/title_home.png
Normal file
|
After Width: | Height: | Size: 721 B |
BIN
htdocs/theme/bureau2crea/img/title_products.png
Normal file
|
After Width: | Height: | Size: 678 B |
BIN
htdocs/theme/bureau2crea/img/title_project.png
Normal file
|
After Width: | Height: | Size: 604 B |
BIN
htdocs/theme/bureau2crea/img/title_setup.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
htdocs/theme/cameleo/img/title_accountancy.png
Normal file
|
After Width: | Height: | Size: 1019 B |
BIN
htdocs/theme/cameleo/img/title_bank.png
Normal file
|
After Width: | Height: | Size: 796 B |
BIN
htdocs/theme/cameleo/img/title_commercial.png
Normal file
|
After Width: | Height: | Size: 828 B |
BIN
htdocs/theme/cameleo/img/title_companies.png
Normal file
|
After Width: | Height: | Size: 562 B |
BIN
htdocs/theme/cameleo/img/title_generic.png
Normal file
|
After Width: | Height: | Size: 789 B |
BIN
htdocs/theme/cameleo/img/title_home.png
Normal file
|
After Width: | Height: | Size: 721 B |
BIN
htdocs/theme/cameleo/img/title_products.png
Normal file
|
After Width: | Height: | Size: 678 B |
BIN
htdocs/theme/cameleo/img/title_project.png
Normal file
|
After Width: | Height: | Size: 604 B |
BIN
htdocs/theme/cameleo/img/title_setup.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
@ -448,6 +448,7 @@ textarea.centpercent {
|
|||||||
#formuserfile_link {
|
#formuserfile_link {
|
||||||
margin-left: 1px;
|
margin-left: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Style to move picto into left of button */
|
/* Style to move picto into left of button */
|
||||||
/*
|
/*
|
||||||
.buttonactionview {
|
.buttonactionview {
|
||||||
@ -2434,14 +2435,19 @@ div.dolgraph div.legend table tbody tr { height: auto; }
|
|||||||
margin-bottom: 2px;
|
margin-bottom: 2px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
}
|
}
|
||||||
.photointooltip {
|
.photointooltip, .photologo {
|
||||||
-webkit-box-shadow: 0px 0px 3px #777;
|
-webkit-box-shadow: 0px 0px 3px #777;
|
||||||
-moz-box-shadow: 0px 0px 3px #777;
|
-moz-box-shadow: 0px 0px 3px #777;
|
||||||
box-shadow: 0px 0px 3px #777;
|
box-shadow: 0px 0px 3px #777;
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
|
}
|
||||||
|
.photointoolitp {
|
||||||
float: left;
|
float: left;
|
||||||
/*text-align: center; */
|
/*text-align: center; */
|
||||||
}
|
}
|
||||||
|
.photodelete {
|
||||||
|
margin-top: 6px !important;
|
||||||
|
}
|
||||||
|
|
||||||
.logo_setup
|
.logo_setup
|
||||||
{
|
{
|
||||||
|
|||||||