Changeset 496


Ignore:
Timestamp:
10/01/08 16:31:01 (16 years ago)
Author:
niltonneto
Message:

Inclusão da função "Permitir Acesso" no ContactCenter?.

Location:
trunk/preferences
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/preferences/inc/class.uiaclprefs2.inc.php

    r84 r496  
    177177                        $this->template->set_var("remove", lang("Remove")); 
    178178                        $this->template->set_var("cancel", lang("Cancel")); 
     179                         
     180                        if($acl_app=='contactcenter') { 
     181                                $this->template->set_var("add_invisible", "style='display:none'"); 
     182                                $this->template->set_var("private_invisible", "style='display:none'");                           
     183                        } 
     184                        else { 
     185                                $this->template->set_var("add_invisible", ""); 
     186                                $this->template->set_var("private_invisible", "");                               
     187                        } 
    179188 
    180189                        if ($submit) 
  • trunk/preferences/templates/celepar/preference_acl.tpl

    r101 r496  
    2020                        </center> 
    2121                </td>                    
    22                 <td> 
     22                <td valign = 'top'>  
    2323                        <table border="0"> 
    2424                                <tr> 
    2525                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    2626                                        <td>Ler</td> 
    27                                 </tr><tr> 
     27                                </tr> 
     28                                <tr {add_invisible}> 
    2829                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    2930                                        <td>Adicionar</td> 
    30                                 </tr><tr>                                                                                                        
     31                                </tr> 
     32                                <tr>                                                                                                     
    3133                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    3234                                        <td>Editar</td>                          
    33                                 </tr><tr>                                        
     35                                </tr> 
     36                                <tr>                                     
    3437                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    3538                                        <td>Excluir</td> 
    36                                 </tr><tr> 
     39                                </tr> 
     40                                 
     41                                <tr {private_invisible}> 
    3742                                        <td><input type="checkbox" name="checkAttr" value="Y" onclick="javascript:execAction('SAVE')"></td> 
    3843                                        <td>Privado</td> 
    3944                                </tr> 
     45                                 
    4046                        </table> 
    4147                         
Note: See TracChangeset for help on using the changeset viewer.