BUG 7816 Adjust the size of the company logo.
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<td id="pm_header" valign="top">
|
<td id="pm_header" valign="top">
|
||||||
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
|
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
|
||||||
<tr>
|
<tr>
|
||||||
<td width="50%" rowspan="2" valign="top"><img src="{$logo_company}"/></td>
|
<td width="50%" rowspan="2" valign="center"><img src="{$logo_company}"/></td>
|
||||||
<td width="50%" height="16" align="right" valign="top">
|
<td width="50%" height="16" align="right" valign="top">
|
||||||
<div align="right" class="logout">
|
<div align="right" class="logout">
|
||||||
<small>
|
<small>
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ try {
|
|||||||
$template->assign ('LOG0_IMAGE' , "/images/processmaker.logo.jpg");
|
$template->assign ('LOG0_IMAGE' , "/images/processmaker.logo.jpg");
|
||||||
$logopm="Restore_the_default_logo";
|
$logopm="Restore_the_default_logo";
|
||||||
//$template->assign ('LOG0_NAME' , str_replace("_"," ",$logopm));
|
//$template->assign ('LOG0_NAME' , str_replace("_"," ",$logopm));
|
||||||
$template->assign ('LOGO_WIDTH' , "200");
|
$template->assign ('LOGO_WIDTH' , "250");
|
||||||
$template->assign ('LOGO_HEIGHT' , "80" );
|
$template->assign ('LOGO_HEIGHT' , "80" );
|
||||||
$template->assign ('LOG0_SIZE' , "15.36");
|
$template->assign ('LOG0_SIZE' , "15.36");
|
||||||
$template->assign ('LOG0_DELETE' , "onclick ='changeLogo(\" \");return false;'");
|
$template->assign ('LOG0_DELETE' , "onclick ='changeLogo(\" \");return false;'");
|
||||||
@@ -130,7 +130,7 @@ try {
|
|||||||
G::uploadFile( $tpnfile, $dir . '/', 'tmp'.$fileName );
|
G::uploadFile( $tpnfile, $dir . '/', 'tmp'.$fileName );
|
||||||
$error = false;
|
$error = false;
|
||||||
try {
|
try {
|
||||||
G::resizeImage($dir . '/tmp' . $fileName, 200, 80, $dir . '/' .$fileName);
|
G::resizeImage($dir . '/tmp' . $fileName, 250, 80, $dir . '/' .$fileName);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$error = $e->getMessage();
|
$error = $e->getMessage();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user