Changeset 1743


Ignore:
Timestamp:
12/03/09 14:22:48 (11 years ago)
Author:
niltonneto
Message:

Ticket #805 - Corrigido problemas no login do template classic.

Location:
branches/2.0
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/login.php

    r1152 r1743  
    110110                $tmpl->set_var('logo_config',$GLOBALS['phpgw_info']['server']['login_logo_file']); 
    111111        else 
    112                 $tmpl->set_var('logo_config','<a title="Governo do Paran&aacute" href="http://www.pr.gov.br" target="_blank"><img src="phpgwapi/templates/default/images/logo_governo.gif" border="0"></a></td> 
     112                $tmpl->set_var('logo_config','<a title="Governo do Paran&aacute" href="http://www.pr.gov.br" target="_blank"><img src="phpgwapi/templates/'.$GLOBALS['phpgw_info']['login_template_set'].'/images/logo_governo.gif" border="0"></a></td> 
    113113                <td><div align="center"><font color="#9a9a9a" face="Verdana, Arial, Helvetica, sans-serif" size="1"> 
    114114<a title="Celepar Inform&aacute;tica do Paran&aacute;" target="_blank" href="http://www.celepar.pr.gov.br/"> 
    115 <img src="phpgwapi/templates/default/images/logo_celepar.gif" border="0"></a>'); 
     115<img src="phpgwapi/templates/'.$GLOBALS['phpgw_info']['login_template_set'].'/images/logo_celepar.gif" border="0"></a>'); 
    116116        // !! NOTE !! 
    117117        // Do NOT and I repeat, do NOT touch ANYTHING to do with lang in this file. 
     
    131131        { 
    132132                $aux = explode('phpgwapi',$GLOBALS['phpgw_info']['server']['template_dir']); 
    133                 $login_include = $aux[0] . 'phpgwapi/templates/default/login_default.php'; 
     133                $login_include = $aux[0] . 'phpgwapi/templates/'.$GLOBALS['phpgw_info']['login_template_set'].'/login_'.$GLOBALS['phpgw_info']['login_template_set'].'.php'; 
    134134        } 
    135135 
  • branches/2.0/phpgwapi/templates/classic/login.tpl

    r1151 r1743  
    111111        <tr>     
    112112    <td bgcolor="#f7f7f7" valign="top"><div align="right"> 
    113         <table border="0" cellpadding="0" cellspacing="0" width="300px"> 
    114           <tbody><tr>  
    115             <td><a title="Governo do Paran&aacute;" href="http://www.pr.gov.br" target="_blank"><img border=0 src="phpgwapi/templates/celepar/images/logo_governo.gif"/></a></td> 
    116             <td><div align="center"><a title="Celepar Inform&aacute;tica do Paran&aacute;" target="_blank" href="http://www.celepar.pr.gov.br/"><img border=0 src="phpgwapi/templates/celepar/images/logo_celepar.gif"></a><a title="eGroupWare" style="text-decoration:none" target="_blank" href="http://www.egroupware.org/"><font color="#9a9a9a" face="Verdana, Arial, Helvetica, sans-serif" size="1"><br>Powered by eGroupWare {version}</a></font></div></td> 
    117           </tr> 
    118         </tbody></table><br> 
    119       </div></td> 
     113                <table border="0" cellpadding="0" cellspacing="0" width="300px"> 
     114                        <tbody> 
     115                        <tr>  
     116                        <td>{logo_config} 
     117                                                <br><a style="text-decoration:none" title="Projeto Expresso Livre" target="_blank" href="http://www.expressolivre.org/"><font color="#9a9a9a" face="Verdana, Arial, Helvetica, sans-serif" size="1">Expresso Livre</font></a> {version} 
     118                                                <br><a style="text-decoration:none" title="eGroupWare" target="_blank" href="http://www.egroupware.org/"><font color="#9a9a9a" face="Verdana, Arial, Helvetica, sans-serif" size="1">Powered by eGroupWare</font></a> 
     119                                        </td> 
     120                        </tr> 
     121                </tbody> 
     122        </table> 
     123     </td> 
    120124         <td bgcolor="#f7f7f7" height="100%"></td> 
    121125        </tr>    
Note: See TracChangeset for help on using the changeset viewer.