Changeset 2991 for trunk


Ignore:
Timestamp:
07/02/10 13:59:24 (14 years ago)
Author:
amuller
Message:

Ticket #1124 - Configurando a página a validação w3c

Location:
trunk
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/index.php

    r2802 r2991  
    2929        /* 
    3030                This is the menuaction driver for the multi-layered design 
    31         */ 
     31         */ 
    3232        if(isset($_GET['menuaction'])) 
    3333        { 
     34 
    3435                list($app,$class,$method) = explode('.',@$_GET['menuaction']); 
    3536                if(! $app || ! $class || ! $method) 
     
    7980                        $target = "XEvents.add( window, 'onload', {$target} );"; 
    8081 
    81                 echo "<script>{$target}</script>"; 
     82                echo "<script type='text/javascript'>{$target}</script>"; 
    8283 
    8384                exit; 
     
    137138                } 
    138139 
    139                 echo '<script>ExpressoLivre.link( "' . $GLOBALS[ 'phpgw' ] -> link( '/home.php' ) . '", true );/* ??? */</script>'; 
     140                echo '<script type="text/javascript">ExpressoLivre.link( "' . $GLOBALS[ 'phpgw' ] -> link( '/home.php' ) . '", true );/* ??? */</script>'; 
    140141                exit; 
    141142        } 
  • trunk/login.php

    r2674 r2991  
    112112                $tmpl->set_var('logo_config',$GLOBALS['phpgw_info']['server']['login_logo_file']); 
    113113        else 
    114                 $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> 
     114                $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" alt="governo" border="0"></a></td> 
    115115                <td><div align="center"><font color="#9a9a9a" face="Verdana, Arial, Helvetica, sans-serif" size="1"> 
    116116<a title="Celepar Inform&aacute;tica do Paran&aacute;" target="_blank" href="http://www.celepar.pr.gov.br/"> 
    117 <img src="phpgwapi/templates/'.$GLOBALS['phpgw_info']['login_template_set'].'/images/logo_celepar.gif" border="0"></a>'); 
     117<img alt="celepar" src="phpgwapi/templates/'.$GLOBALS['phpgw_info']['login_template_set'].'/images/logo_celepar.gif" border="0"></a><br></font></div>'); 
    118118        // !! NOTE !! 
    119119        // Do NOT and I repeat, do NOT touch ANYTHING to do with lang in this file. 
  • trunk/phpgwapi/inc/class.common.inc.php

    r2934 r2991  
    402402                                                . 'keys = ['.$rsa->get_publKey().','.$rsa->get_mod().'];' 
    403403                                                . '</script>' 
    404                                                 . '<script src="' . $GLOBALS[ 'phpgw' ] ->  link( '/phpgwapi/js/ckeditor/ckeditor.js' ) . '"></script>'; 
     404                                                . '<script type="text/javascript" src="' . $GLOBALS[ 'phpgw' ] ->  link( '/phpgwapi/js/ckeditor/ckeditor.js' ) . '"></script>'; 
    405405 
    406406                                        $GLOBALS[ 'phpgw' ] -> js -> validate_file( 'wz_dragdrop', 'wz_dragdrop', NULL, true ); 
  • trunk/phpgwapi/templates/default/css/azul.css

    r2918 r2991  
    9898} 
    9999 
    100 #links_bar, 
     100.links_bar, 
    101101#user_info 
    102102{ 
  • trunk/phpgwapi/templates/default/css/base.css

    r2989 r2991  
    216216        width: 99.5%; 
    217217        -moz-border-radius: 0px 0px 6px 6px; 
     218        -webkit-border-radius: 0px 0px 6px 6px; 
     219        border-radius: 0px 0px 6px 6px; 
    218220} 
    219221 
     
    257259        border-bottom: 1px solid; 
    258260        -moz-border-radius: 0px 0px 0px 0px; 
     261        -webkit-border-radius:0px 0px 0px 0px; 
     262        border-radius:0px 0px 0px 0px; 
    259263} 
    260264 
     
    276280        text-decoration: none; 
    277281        -moz-border-radius: 9px 9px 0px 0px; 
     282        -webkit-border-radius:9px 9px 0px 0px; 
     283        border-radius:9px 9px 0px 0px; 
    278284        -moz-user-select: none; 
    279285} 
  • trunk/phpgwapi/templates/default/head.tpl

    r2623 r2991  
    11<!-- BEGIN head --> 
     2<!-- DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"--> 
    23<html xml:lang="{lang_code}" xmlns="http://www.w3.org/1999/xhtml"> 
    34        <head> 
     
    1011                <meta name="author" content="ExpressoLivre http://www.expressolivre.org" /> 
    1112                <meta name="robots" content="none" /> 
    12                 <meta http-equiv="Default-Style" content="eGroupWareStyle"> 
     13                <meta http-equiv="Default-Style" content="eGroupWareStyle" /> 
    1314                <link rel="icon" href="{img_icon}" type="image/x-ico" /> 
    1415                <link rel="shortcut icon" href="{img_shortcut}" /> 
  • trunk/phpgwapi/templates/default/navbar.inc.php

    r2623 r2991  
    4444 
    4545        if ( $GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'click_or_onmouseover' ] == 'onmouseover' ) 
    46                 $show_menu_event = 'onMouseOver'; 
     46                $show_menu_event = 'onmouseover'; 
    4747        else 
    48                 $show_menu_event = 'onClick'; 
     48                $show_menu_event = 'onclick'; 
    4949 
    5050        $applications = ''; 
     
    8282 
    8383                        $icon .= "{$indent}\t\t\t\t" . '<img id="'.str_replace('_','',$app).'id" src="' . $app_data['icon'] . '" alt="' . $title . '" title="'. $title 
    84                                 . '" border="0" width="' . ( $current_app ? 35 : 24 ) . '" height="' . ( $current_app ? 35 : 24 ) . '" nowrap="nowrap"/>' 
     84                                . '" border="0" width="' . ( $current_app ? 35 : 24 ) . '" height="' . ( $current_app ? 35 : 24 ) . '"/>' 
    8585                                . "{$indent}\t\t\t</a>"; 
    8686 
     
    105105                                        $tdwidth = 100 / ( $max_icons + 2 ); 
    106106 
    107                                 $app_icons .= "{$indent}\t\t" . '<td nowrap class="navbar_but' . ( $current_app ? 'Out' : '' ) . '">'; 
     107                                $app_icons .= "{$indent}\t\t" . '<td nowrap="nowrap" class="navbar_but' . ( $current_app ? 'Out' : '' ) . '">'; 
    108108 
    109109                                if ( isset( $GLOBALS['phpgw_info']['flags']['navbar_target'] ) && $GLOBALS['phpgw_info']['flags']['navbar_target'] ) 
     
    115115 
    116116 
    117                         $icon = "{$indent}\t\t\t" . '<img align="center" src="' . $app_data['icon'] . '" alt="' . $title . '" width="16" title="'. $title . '" border="0" />'; 
     117                        $icon = "{$indent}\t\t\t" . '<img align="middle" src="' . $app_data['icon'] . '" alt="' . $title . '" width="16" title="'. $title . '" border="0" />'; 
    118118 
    119119                        $app_extra_icons .= "{$indent}<tr>"; 
     
    147147        } 
    148148 
    149         $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'java_script' ] .= "\n\t\t<script>\n\t\t\t" 
     149        $GLOBALS[ 'phpgw_info' ][ 'flags' ][ 'java_script' ] .= "\n\t\t<script type=\"text/javascript\">\n\t\t\t" 
    150150                . 'var curr_app = "' . ( ( $curr_app ) ? str_replace( '_','',$curr_app ) . 'id' : '' ) . '";' . "\n\t\t" 
    151151                . '</script>'; 
     
    157157                $icon = '<img id="logout_id" width="24" height="24" src="' 
    158158                        . $GLOBALS[ 'phpgw_info' ][ 'navbar' ][ 'logout' ][ 'icon' ] 
    159                         . '" alt="' . $hint . '" title="' . $hint . '">'; 
     159                        . '" alt="' . $hint . '" title="' . $hint . '"/>'; 
    160160 
    161161                if ( $GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'navbar_format' ] == 'icons' ) 
     
    164164                        $icon = ''; 
    165165 
    166                 $app_icons .= '<td nowrap class="navbar_but"><a onclick="location.href=\'' 
    167                         . $GLOBALS[ 'phpgw_info' ][ 'navbar' ][ 'logout' ][ 'url' ] . '\'">' . $icon . '</td>'; 
     166                $app_icons .= '<td nowrap="nowrap" class="navbar_but"><a onclick="location.href=\'' 
     167                        . $GLOBALS[ 'phpgw_info' ][ 'navbar' ][ 'logout' ][ 'url' ] . '\'">' . $icon . '</a></td>'; 
    168168        } 
    169169 
     
    171171 
    172172        $hint = $GLOBALS['phpgw_info']['navbar']['logout']['title']; 
    173         $icon = "{$indent}\t\t\t" . '<img src="'.$GLOBALS['phpgw_info']['navbar']['logout']['icon'].'"  alt="'.$hint.'" title="'.$hint.'">'; 
     173        $icon = "{$indent}\t\t\t" . '<img src="'.$GLOBALS['phpgw_info']['navbar']['logout']['icon'].'"  alt="'.$hint.'" title="'.$hint.'"/>'; 
    174174        $title = $GLOBALS['phpgw_info']['navbar']['logout']['title']; 
    175175 
     
    181181                . "{$indent}\t</td>{$indent}</tr>"; 
    182182 
    183         $app_extra_icons_div = '<script language="javascript">' . "\n\t\t" 
     183        $app_extra_icons_div = '<script type="text/javascript">' . "\n\t\t" 
    184184                . '     new ypSlideOutMenu( "menu1", "down", 5, 24, 160, 200, "left" );' . "\n\t\t" 
    185185                . '</script>' . "\n\t\t" 
     
    191191                . '                                     <td colspan="2" nowrap="nowrap" align="right" style="background-color:#dddddd;padding:1px;">' . "\n\t\t" 
    192192                . '                                             <a ' . $show_menu_event . '="ypSlideOutMenu.hide(\'menu1\')" title="' . lang('close') . '">' . "\n\t\t" 
    193                 . '                                                     <img style="" border="0" src="' . $var[ 'img_root' ] . '/close.png"/>' . "\n\t\t" 
     193                . '                                                     <img style="" alt="close" border="0" src="' . $var[ 'img_root' ] . '/close.png"/>' . "\n\t\t" 
    194194                . '                                             </a>' . "\n\t\t" 
    195195                . '                                     </td>' . "\n\t\t" 
     
    198198                . '                                     <td colspan="1" valign="top" nowrap="nowrap" align="left" style="background-color:#dddddd;padding:1px;">' . "\n\t\t" 
    199199                . '                                             <a href="javascript:ypSlideOutMenu.hide(\'menu1\');showBar()" title="'.lang('Expand Menu').'">' . "\n\t\t" 
    200                 . '                                                     <img src = "' . $var[ 'img_root' ] . '/down.button.png"></a>' . "\n\t\t" 
     200                . '                                                     <img src="' . $var[ 'img_root' ] . '/down.button.png" alt="down"/></a>' . "\n\t\t" 
    201201                . '                                     </td>' . "\n\t\t" 
    202202                . '                                     <td colspan="1" valign="top" nowrap="nowrap" align="left" style="background-color:#dddddd;padding:1px;">' . "\n\t\t" 
     
    214214        $var['app_extra_icons_icon'] = '<td width="26" valign="top" align="right" style="zIndex:10000;padding-right:3px;padding-top:10px;">' 
    215215                . $indent . '<a title="' . lang( 'show_more_apps' ) . '" ' . $show_menu_event . '="ypSlideOutMenu.showMenu(\'menu1\')">' 
    216                 . "{$indent}\t" . '<img src="' . $var[ 'img_root' ] . '/extra_icons.png" border="0" />' 
     216                . "{$indent}\t" . '<img src="' . $var[ 'img_root' ] . '/extra_icons.png" alt="'. lang( 'show_more_apps' ) .'" border="0" />' 
    217217                . "{$indent}</a>\n\t\t\t\t\t" 
    218218                . '</td>'; 
     
    255255                                        $agreeterm_url = 'http://' . $agreeterm_url; 
    256256 
    257                                 echo '<script>' . 
     257                                echo '<script type="text/javascript">' . 
    258258                                        'if(location.href.indexOf("termo_aceite.php") == -1){' . 
    259259                                        'location.href = "' . $agreeterm_url . '"' . 
     
    272272                                        $changepasswd_url = 'http://' . $changepasswd_url; 
    273273 
    274                                 echo '<script>' . 
     274                                echo '<script type="text/javascript">' . 
    275275                                        'if(location.href.indexOf("changepassword.php") == -1){' . 
    276276                                        'location.href = "' . $changepasswd_url . '"' . 
  • trunk/phpgwapi/templates/default/navbar.tpl

    r2918 r2991  
    1313                                <table width="100%" border="0" cellspacing="0" cellpadding="0"> 
    1414                                        <tr> 
    15                                                 <td width="30%" align="left" id="user_info" nowrap>{user_info}{frontend_name}</td> 
    16                                                 <td width="30%" id="admin_info" nowrap>{current_users}</td> 
    17                                                 <td style="padding-right:10px" width="*" align="right" valign="center" nowrap="true"> 
    18                                                         <a href="{dir_root}/preferences/" title="{title_my_preferences}" alt="{title_my_preferences}" cacheit="true" onmouseover="javascript:self.status='{title_my_preferences}'" onmouseout="javascript:self.status=''"> 
    19                                                                 <img height="15px" src="{dir_root}/phpgwapi/templates/{template}/images/preferences.png" /> 
    20                                                                 <font id="links_bar">{my_preferences}</font> 
     15                                                <td width="30%" align="left" id="user_info" nowrap="nowrap">{user_info}{frontend_name}</td> 
     16                                                <td width="30%" id="admin_info" nowrap="nowrap">{current_users}</td> 
     17                                                <td style="padding-right:10px" width="*" align="right" valign="middle" nowrap="nowrap"> 
     18                                                        <a href="{dir_root}/preferences/" title="{title_my_preferences}" cacheit="true" onmouseover="javascript:self.status='{title_my_preferences}'" onmouseout="javascript:self.status=''"> 
     19                                                                <img  alt="{title_my_preferences}" style="height:15px" src="{dir_root}/phpgwapi/templates/{template}/images/preferences.png" /> 
     20                                                                <font class="links_bar">{my_preferences}</font> 
    2121                                                        </a> 
    2222                                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    23                                                         <a href="javascript:openWindow(400,550,'{dir_root}/help/enviasugestao.php')" title="{title_suggestions}" alt="{title_suggestions}" onmouseover="javascript:self.status='{title_suggestions}'" onmouseout="javascript:self.status=''"> 
    24                                                                 <img src="{dir_root}/phpgwapi/templates/{template}/images/critic.png" /> 
    25                                                                 <font id="links_bar">{suggestions}</font> 
     23                                                        <a href="javascript:openWindow(400,550,'{dir_root}/help/enviasugestao.php')" title="{title_suggestions}" onmouseover="javascript:self.status='{title_suggestions}'" onmouseout="javascript:self.status=''"> 
     24                                                                <img  alt="{title_suggestions}" src="{dir_root}/phpgwapi/templates/{template}/images/critic.png" /> 
     25                                                                <font class="links_bar">{suggestions}</font> 
    2626                                                        </a> 
    2727                                                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
    28                                                         <a href="javascript:openWindow(480,510,'{dir_root}/help')" title="{title_help}" alt="{title_help}" onmouseover="javascript:self.status='{title_help}'" onmouseout="javascript:self.status=''"> 
    29                                                                 <img src="{dir_root}/phpgwapi/templates/{template}/images/help.png" width="16px" /> 
    30                                                                 <font id="links_bar">{help}</font> 
     28                                                        <a href="javascript:openWindow(480,510,'{dir_root}/help')" title="{title_help}" onmouseover="javascript:self.status='{title_help}'" onmouseout="javascript:self.status=''"> 
     29                                                                <img alt="{title_help}" src="{dir_root}/phpgwapi/templates/{template}/images/help.png" width="16px" /> 
     30                                                                <font class="links_bar">{help}</font> 
    3131                                                        </a> 
    3232                                                </td> 
     
    3434                                </table> 
    3535                        </div> 
    36                         <table border="0" height="50px" width="100%" cellpadding=0 cellspacing=0> 
     36                        <table border="0" style="height:50px" width="100%" cellpadding="0" cellspacing="0"> 
    3737                                <tr> 
    38                                         <td class="logo_expresso">&nbsp;<br></td> 
     38                                        <td class="logo_expresso">&nbsp;<br/></td> 
    3939                                        <td align="center"> 
    4040                                                <table id="app_icons" width="auto" border="0" cellpadding="0" cellspacing="0"> 
     
    4343                                                </table> 
    4444                                        </td> 
    45                                         <td style="padding-left:0px;padding-right:25px" align="right" nowrap></td> 
     45                                        <td style="padding-left:0px;padding-right:25px" align="right" nowrap="nowrap"></td> 
    4646                                </tr> 
    4747                        </table> 
     
    5757 
    5858<!-- BEGIN sidebox_hide_header --> 
    59                 <script language="javascript"> 
     59                <script type="text/javascript"> 
    6060                        new ypSlideOutMenu("menu2", "right", 0, 165, 160, 200) 
    6161                </script> 
    6262                <div id="sideboxdragarea" style="position:absolute;left:0px;top:175px"> 
    6363                        <a href="javascript:" {show_menu_event}="ypSlideOutMenu.showMenu('menu2')" onmouseover="//ypSlideOutMenu.showMenu('menu2')" title="{lang_show_menu}"> 
    64                                 <img src="{img_root}/dragarea_right.png" /> 
     64                                <img alt="dragarea" src="{img_root}/dragarea_right.png" /> 
    6565                        </a> 
    6666                </div> 
     
    7777                                                </td> 
    7878                                                <td style="padding-top:10px" valign="top"> 
    79                                                         <a href="javascript:" onClick="ypSlideOutMenu.hide('menu2')" > 
    80                                                                 <img src="{img_root}/dragarea_left.png" align="right" /> 
     79                                                        <a href="javascript:" onclick="ypSlideOutMenu.hide('menu2')" > 
     80                                                                <img alt="dragarea" src="{img_root}/dragarea_left.png" align="right" /> 
    8181                                                        </a> 
    8282                                                </td> 
     
    8585                        </div> 
    8686                </div> 
    87                 <script language="Javascript"> 
     87                <script type="text/javascript"> 
    8888                        initBar(GetCookie("showHeader")); 
    8989                </script> 
     
    106106                                                                        <div class="divSideboxHeader"><span>{lang_title}</span></div> 
    107107                                                                        <div> 
    108                                                                                 <table width="100%" cellspacing="0" cellpadding="0" border=0> 
     108                                                                                <table width="100%" cellspacing="0" cellpadding="0" border="0"> 
    109109<!-- END extra_blocks_header --> 
    110110 
     
    122122<!-- BEGIN extra_block_spacer --> 
    123123                                                                                        <tr class="divSideboxEntry"> 
    124                                                                                                 <td colspan="2" height="8" class="textSidebox">&nbsp;</td> 
     124                                                                                                <td colspan="2" style="height:8" class="textSidebox">&nbsp;</td> 
    125125                                                                                        </tr> 
    126126<!-- END extra_block_spacer --> 
Note: See TracChangeset for help on using the changeset viewer.