/[dolibarr]/dolibarr/htdocs/lib/functions.inc.php
ViewVC logotype

Diff of /dolibarr/htdocs/lib/functions.inc.php

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

revision 1.136 by eldy, Mon Aug 29 21:12:48 2005 UTC revision 1.137 by rodolphe, Tue Aug 30 14:15:28 2005 UTC
# Line 792  function img_tick($alt = "default") Line 792  function img_tick($alt = "default")
792    return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tick.png" border="0" alt="'.$alt.'" title="'.$alt.'">';    return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tick.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
793  }  }
794    
795    /**
796            \brief      Affiche le logo tick si allow
797            \param      allow       Authorise ou non
798            \return     string      Retourne tag img
799    */
800    function img_allow($allow)
801    {
802      global $conf,$langs;
803      if ($alt=="default") $alt=$langs->trans("Active");
804    
805      if ($allow == 1)
806        {
807          return '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/tick.png" border="0" alt="'.$alt.'" title="'.$alt.'">';
808        }
809      else
810        {
811          return "-";
812        }
813    }
814    
815  /**  /**
816                  \brief      Affiche formulaire de login                  \brief      Affiche formulaire de login

Legend:
Removed from v.1.136  
changed lines
  Added in v.1.137

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