Changeset 25 for trunk/phpgwapi


Ignore:
Timestamp:
05/10/07 17:16:06 (17 years ago)
Author:
niltonneto
Message:

* empty log message *

Location:
trunk/phpgwapi/templates/celepar
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/templates/celepar/login.tpl

    r17 r25  
    1212<script language="Javascript"> 
    1313<!-- 
    14         function submitIt(event){ 
    15                 /*if(event.keyCode == 13) 
    16                         document.login.submit();*/               
    17         } 
    1814 
    1915        function setLogin(){ 
    20                 if( document.login.organization != null) 
    21                         document.login.login.value = document.login.organization.value+'-'+document.login.user.value; 
     16                if( document.form_login.organization != null) 
     17                        document.form_login.login.value = document.form_login.organization.value+'-'+document.form_login.user.value; 
    2218                else 
    23                         document.login.login.value = document.login.user.value;                  
     19                        document.form_login.login.value = document.form_login.user.value;                        
    2420        } 
    2521         
    2622        function getLogin(){ 
    2723                var cookie = '{cookie}'; 
    28                 if( document.login.organization != null) 
    29                         document.login.user.value= cookie.substring(cookie.indexOf('-')+1,cookie.length); 
     24                if( document.form_login.organization != null) 
     25                        document.form_login.user.value= cookie.substring(cookie.indexOf('-')+1,cookie.length); 
    3026                else     
    31                         document.login.user.value= cookie; 
     27                        document.form_login.user.value= cookie; 
    3228 
    33                 if(document.login.user.value == '') { 
    34                         if(document.login.organization != null) 
    35                                 document.login.organization.focus(); 
     29                if(document.form_login.user.value == '') { 
     30                        if(document.form_login.organization != null) 
     31                                document.form_login.organization.focus(); 
    3632                        else 
    37                                 document.login.user.focus(); 
     33                                document.form_login.user.focus(); 
    3834                } 
    3935                else 
    40                         document.login.passwd.focus(); 
     36                        document.form_login.passwd.focus(); 
    4137        } 
    4238         
     
    5955    <td bgcolor="#e8eef7"  height="100%"> 
    6056    <table cellpadding="0" height="100%" cellspacing="0" width="100%" border="0"><tr><td width="60%">&nbsp;</td><td> 
    61         <div align="center" class="msgInicial">{cd}<br>{lang_message}<br>{website_title} - 01<br><br></div> 
     57        <div align="center" class="msgInicial">{cd}<br>{lang_message}<br>{website_title}{frontend_name}<br><br></div> 
    6258        <table border="0" bordercolor="#cfcfcf" cellpadding="0" cellspacing="0" width="300"> 
    6359          <tbody><tr> 
    64                                 <FORM name="login" method="post" action="{login_url}" {autocomplete}> 
     60                                <FORM name="form_login" method="post" action="{login_url}" {autocomplete}> 
    6561                                <input type="hidden" name="passwd_type" value="text"> 
    66                                 <input type="hidden" name="login"><tr><td width="60%">&nbsp;</td><td> 
    67                                 <input type="hidden" name="account type" value="u">           
     62                                <input type="hidden" name="account type" value="u"> 
     63                                <input type="hidden" name="login"> 
     64                                <tr><td width="60%">&nbsp;</td><td>                                        
    6865                <td bgcolor="#f7f7f7" style="border:1px solid black"> 
    69                                         <table  border="0" cellpadding="0" cellspacing="0" class="tableLogin"> 
    70                                                 <tr><td height="2px">&nbsp;</td></tr> 
     66                                        <table border="0" cellpadding="0" cellspacing="0" class="tableLogin"> 
     67                                                <tr><td width="96" colspan="3">&nbsp;</td></tr>                                                                                          
    7168                                                {select_organization} 
    72                                           <tr> 
    73                                                 <td width="96" class="loginLabel">{lang_username}:&nbsp;</td> 
    74                                                 <td width="105"><input name="user" size="15"></td> 
    75                                                 <td>{select_domain}</td> 
    76                                                 <td width="43" rowspan="3"><img src="phpgwapi/templates/celepar/images/icon_login.gif" width="43" height="64"></td> 
     69                                            <tr><td width="96" class="loginLabel" align="right">{lang_username}:&nbsp;</td> 
     70                                                <td width="96"><input name="user" size="15"></td> 
     71                                                <td width="43" rowspan="3" colspan=2><img src="phpgwapi/templates/celepar/images/icon_login.gif" width="43" height="64"></td> 
    7772                                          </tr> 
    7873                                          <tr> 
    79                                                 <td width="66" class="loginLabel">{lang_password}:&nbsp;</td> 
    80                                                 <td width="135"><input name="passwd" type="password" size="15" onKeyDown="javascript:submitIt(event)"></td> 
    81                                                 <td>&nbsp;</td>          
     74                                                <td width="96" class="loginLabel"  align="right">{lang_password}:&nbsp;</td> 
     75                                                <td width="135"><input name="passwd" type="password" size="15"></td> 
     76 
    8277                                          </tr> 
    8378                                          <tr> 
  • trunk/phpgwapi/templates/celepar/navbar.inc.php

    r2 r25  
    225225                        . lang($GLOBALS['phpgw']->common->show_date($now,'l')) . ' ' 
    226226                        . $GLOBALS['phpgw']->common->show_date($now,$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']); 
     227                         
     228                        if($GLOBALS['phpgw_info']['server']['use_frontend_name']) 
     229                                $var['frontend_name'] = " - ".$GLOBALS['phpgw_info']['server']['use_frontend_name']; 
    227230 
    228231                        if($GLOBALS['phpgw_info']['user']['lastpasswd_change'] == 0) 
  • trunk/phpgwapi/templates/celepar/navbar.tpl

    r2 r25  
    7070<table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    7171 <tr> 
    72   <td width="30%" align="left" id="user_info" nowrap>{user_info} - 01</td> 
     72  <td width="30%" align="left" id="user_info" nowrap>{user_info}{frontend_name}</td> 
    7373  <td width="30%" id="admin_info" nowrap>{current_users}</td> 
    7474  <td style="padding-right:10px" width="*" align="right" valign="center" nowrap="true"> 
Note: See TracChangeset for help on using the changeset viewer.