marketing n'est plus, modification du nom de fonction
authorx2000habouzit <x2000habouzit>
Mon, 26 Jan 2004 09:24:30 +0000 (09:24 +0000)
committerx2000habouzit <x2000habouzit>
Mon, 26 Jan 2004 09:24:30 +0000 (09:24 +0000)
plugins/block.perms.php [moved from plugins/block.min_perms.php with 76% similarity]

similarity index 76%
rename from plugins/block.min_perms.php
rename to plugins/block.perms.php
index 56244eb..061478d 100644 (file)
@@ -8,12 +8,11 @@
  * Purpose:  
  * -------------------------------------------------------------
  */
-function smarty_block_min_perms($params, $content, &$smarty)
+function smarty_block_perms($params, $content, &$smarty)
 {
     if( empty($content) || empty($params['level'] ))
         return;
     if( ($params['level'] == 'public') ||
-        ($params['level'] == 'marketing' && has_perms($marketing_admin)) ||
         ($params['level'] == 'admin' && has_perms()) )
         return $content;
 }