BUG 7816 Adjust the size of the company logo.

This commit is contained in:
Hector Cortez
2011-10-19 19:09:55 -04:00
parent 725e45185a
commit fa37900ccd
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
<td id="pm_header" valign="top">
<table width="100%" height="32" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
<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">
<div align="right" class="logout">
<small>

View File

@@ -63,7 +63,7 @@ try {
$template->assign ('LOG0_IMAGE' , "/images/processmaker.logo.jpg");
$logopm="Restore_the_default_logo";
//$template->assign ('LOG0_NAME' , str_replace("_"," ",$logopm));
$template->assign ('LOGO_WIDTH' , "200");
$template->assign ('LOGO_WIDTH' , "250");
$template->assign ('LOGO_HEIGHT' , "80" );
$template->assign ('LOG0_SIZE' , "15.36");
$template->assign ('LOG0_DELETE' , "onclick ='changeLogo(\" \");return false;'");
@@ -130,7 +130,7 @@ try {
G::uploadFile( $tpnfile, $dir . '/', 'tmp'.$fileName );
$error = false;
try {
G::resizeImage($dir . '/tmp' . $fileName, 200, 80, $dir . '/' .$fileName);
G::resizeImage($dir . '/tmp' . $fileName, 250, 80, $dir . '/' .$fileName);
} catch (Exception $e) {
$error = $e->getMessage();
}