/[dolibarr]/dolibarr/htdocs/includes/menus/barre_top/eldy_frontoffice.php
ViewVC logotype

Diff of /dolibarr/htdocs/includes/menus/barre_top/eldy_frontoffice.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by eldy, Mon Sep 26 19:37:29 2005 UTC revision 1.3 by eldy, Mon Sep 26 23:05:32 2005 UTC
# Line 128  class MenuTop { Line 128  class MenuTop {
128              if ($conf->produit->enabled && $conf->service->enabled) { $chaine.="/"; }              if ($conf->produit->enabled && $conf->service->enabled) { $chaine.="/"; }
129              if ($conf->service->enabled) { $chaine.=$langs->trans("Services"); }              if ($conf->service->enabled) { $chaine.=$langs->trans("Services"); }
130                    
131    /*
132              if ($user->rights->produit->lire)              if ($user->rights->produit->lire)
133                  print '<a '.$class.' href="'.DOL_URL_ROOT.'/product/index.php?mainmenu=products&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$chaine.'</a>';                  print '<a '.$class.' href="'.DOL_URL_ROOT.'/product/index.php?mainmenu=products&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$chaine.'</a>';
134              else              else
135                  print '<font class="tmenudisabled">'.$chaine.'</font>';                  print '<font class="tmenudisabled">'.$chaine.'</font>';
136    */
137          }          }
138    
139          // Supplier          // Supplier
# Line 149  class MenuTop { Line 151  class MenuTop {
151                  $class = 'class="tmenu"';                  $class = 'class="tmenu"';
152              }              }
153                    
154              print '<a '.$class.' href="'.DOL_URL_ROOT.'/fourn/index.php?mainmenu=suppliers&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("Suppliers").'</a>';  //            print '<a '.$class.' href="'.DOL_URL_ROOT.'/fourn/index.php?mainmenu=suppliers&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("Suppliers").'</a>';
155          }          }
156    
157          // Commercial          // Commercial
# Line 204  class MenuTop { Line 206  class MenuTop {
206                  $class = 'class="tmenu"';                  $class = 'class="tmenu"';
207              }              }
208                    
209              print '<a '.$class.' href="'.DOL_URL_ROOT.'/projet/index.php?mainmenu=project&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("Projects").'</a>';  //            print '<a '.$class.' href="'.DOL_URL_ROOT.'/projet/index.php?mainmenu=project&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("Projects").'</a>';
210          }          }
211    
212          // Tools          // Tools
# Line 241  class MenuTop { Line 243  class MenuTop {
243                  $class = 'class="tmenu"';                  $class = 'class="tmenu"';
244              }              }
245                    
246              print '<a '.$class.' href="'.DOL_URL_ROOT.'/projet/webcal.php?mainmenu=webcal&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("Calendar").'</a>';  //            print '<a '.$class.' href="'.DOL_URL_ROOT.'/projet/webcal.php?mainmenu=webcal&leftmenu="'.($this->atarget?" target=$this->atarget":"").'>'.$langs->trans("Calendar").'</a>';
247          }          }
248                
249      }      }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26