Changeset 1035 for trunk/admin


Ignore:
Timestamp:
06/20/09 01:07:18 (15 years ago)
Author:
rafaelraymundo
Message:

Ticket #558 - Adicionada funcionalidade de assinatura e criptografia de e-mails.

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/inc/hook_admin.inc.php

    r357 r1035  
    7676                $file['phpInfo']         = $GLOBALS['phpgw']->link('/admin/phpinfo.php'); 
    7777        } 
    78   
     78 
     79        if (! $GLOBALS['phpgw']->acl->check('asyncservice_access',1,'admin')) 
     80        { 
     81                if($GLOBALS['phpgw_info']['server']['use_assinar_criptografar']  ||  $GLOBALS['phpgw_info']['server']['certificado']) 
     82                { 
     83                        $file['CASCRLS']    = $GLOBALS['phpgw']->link('../seguranca/security_admin.php'); 
     84                } 
     85        } 
     86 
     87 
     88        if (! $GLOBALS['phpgw']->acl->check('asyncservice_access',1,'admin')) 
     89        { 
     90                $file['subversion']    = $GLOBALS['phpgw']->link('subversion.php'); 
     91        } 
     92 
    7993        if (! $GLOBALS['phpgw']->acl->check('site_config_access',1,'admin')) 
    8094        { 
  • trunk/admin/templates/default/config.tpl

    r32 r1035  
    118118   <tr class="th"> 
    119119    <td colspan="2">&nbsp;<b>{lang_security}</b></td> 
     120   </tr> 
     121 
     122   <tr class="row_off"> 
     123   <td valign="top"><pre> 
     124Nome, um ponto-e-virgula como separador, e o caminho completo para os drivers dos tokens 
     125que ser&atilde;o suportados (At&eacute; 10):<br/> 
     126 
     127   Ex:  ePass2000Lx;/usr/lib/libepsng_p11.so 
     128        ePass2000Win;c:/windows/system32/ngp11v211.dll 
     129 
     130        Estes s&atilde;o os drivers para o token ePass2000, utilizado no Serpro, 
     131        nos ambientes Linux e Windows respectivamente. 
     132 
     133        <b>Aten&ccedil;&atilde;o</b>: O caminho no ambiente Windows n&atilde;o deve usar contra barra. 
     134         </pre> </td> 
     135    <td> 
     136        <input name="newsettings[test_token11]" value="{value_test_token11}"><br/> 
     137        <input name="newsettings[test_token21]" value="{value_test_token21}"><br/> 
     138        <input name="newsettings[test_token31]" value="{value_test_token31}"><br/> 
     139        <input name="newsettings[test_token41]" value="{value_test_token41}"><br/> 
     140        <input name="newsettings[test_token51]" value="{value_test_token51}"><br/> 
     141        <input name="newsettings[test_token61]" value="{value_test_token61}"><br/> 
     142        <input name="newsettings[test_token71]" value="{value_test_token71}"><br/> 
     143        <input name="newsettings[test_token81]" value="{value_test_token81}"><br/> 
     144        <input name="newsettings[test_token91]" value="{value_test_token91}"><br/> 
     145        <input name="newsettings[test_token101]" value="{value_test_token101}"><br/> 
     146    </td> 
    120147   </tr> 
    121148 
Note: See TracChangeset for help on using the changeset viewer.