Changeset 2991 for trunk/phpgwapi/templates/default/navbar.inc.php
- Timestamp:
- 07/02/10 13:59:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/templates/default/navbar.inc.php
r2623 r2991 44 44 45 45 if ( $GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'click_or_onmouseover' ] == 'onmouseover' ) 46 $show_menu_event = 'on MouseOver';46 $show_menu_event = 'onmouseover'; 47 47 else 48 $show_menu_event = 'on Click';48 $show_menu_event = 'onclick'; 49 49 50 50 $applications = ''; … … 82 82 83 83 $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 ) . '"/>' 85 85 . "{$indent}\t\t\t</a>"; 86 86 … … 105 105 $tdwidth = 100 / ( $max_icons + 2 ); 106 106 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' : '' ) . '">'; 108 108 109 109 if ( isset( $GLOBALS['phpgw_info']['flags']['navbar_target'] ) && $GLOBALS['phpgw_info']['flags']['navbar_target'] ) … … 115 115 116 116 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" />'; 118 118 119 119 $app_extra_icons .= "{$indent}<tr>"; … … 147 147 } 148 148 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" 150 150 . 'var curr_app = "' . ( ( $curr_app ) ? str_replace( '_','',$curr_app ) . 'id' : '' ) . '";' . "\n\t\t" 151 151 . '</script>'; … … 157 157 $icon = '<img id="logout_id" width="24" height="24" src="' 158 158 . $GLOBALS[ 'phpgw_info' ][ 'navbar' ][ 'logout' ][ 'icon' ] 159 . '" alt="' . $hint . '" title="' . $hint . '" >';159 . '" alt="' . $hint . '" title="' . $hint . '"/>'; 160 160 161 161 if ( $GLOBALS[ 'phpgw_info' ][ 'user' ][ 'preferences' ][ 'common' ][ 'navbar_format' ] == 'icons' ) … … 164 164 $icon = ''; 165 165 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>'; 168 168 } 169 169 … … 171 171 172 172 $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.'"/>'; 174 174 $title = $GLOBALS['phpgw_info']['navbar']['logout']['title']; 175 175 … … 181 181 . "{$indent}\t</td>{$indent}</tr>"; 182 182 183 $app_extra_icons_div = '<script language="javascript">' . "\n\t\t"183 $app_extra_icons_div = '<script type="text/javascript">' . "\n\t\t" 184 184 . ' new ypSlideOutMenu( "menu1", "down", 5, 24, 160, 200, "left" );' . "\n\t\t" 185 185 . '</script>' . "\n\t\t" … … 191 191 . ' <td colspan="2" nowrap="nowrap" align="right" style="background-color:#dddddd;padding:1px;">' . "\n\t\t" 192 192 . ' <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" 194 194 . ' </a>' . "\n\t\t" 195 195 . ' </td>' . "\n\t\t" … … 198 198 . ' <td colspan="1" valign="top" nowrap="nowrap" align="left" style="background-color:#dddddd;padding:1px;">' . "\n\t\t" 199 199 . ' <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" 201 201 . ' </td>' . "\n\t\t" 202 202 . ' <td colspan="1" valign="top" nowrap="nowrap" align="left" style="background-color:#dddddd;padding:1px;">' . "\n\t\t" … … 214 214 $var['app_extra_icons_icon'] = '<td width="26" valign="top" align="right" style="zIndex:10000;padding-right:3px;padding-top:10px;">' 215 215 . $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" />' 217 217 . "{$indent}</a>\n\t\t\t\t\t" 218 218 . '</td>'; … … 255 255 $agreeterm_url = 'http://' . $agreeterm_url; 256 256 257 echo '<script >' .257 echo '<script type="text/javascript">' . 258 258 'if(location.href.indexOf("termo_aceite.php") == -1){' . 259 259 'location.href = "' . $agreeterm_url . '"' . … … 272 272 $changepasswd_url = 'http://' . $changepasswd_url; 273 273 274 echo '<script >' .274 echo '<script type="text/javascript">' . 275 275 'if(location.href.indexOf("changepassword.php") == -1){' . 276 276 'location.href = "' . $changepasswd_url . '"' .
Note: See TracChangeset
for help on using the changeset viewer.