Code Search for Developers
 
 
  

module_permissions.php from Group-Office groupware at Krugle


Show module_permissions.php syntax highlighted

<?php
/*
   Copyright Intermesh 2003
   Author: Merijn Schering <mschering@intermesh.nl>
   Version: 1.0 Release date: 08 July 2003

   This program is free software; you can redistribute it and/or modify it
   under the terms of the GNU General Public License as published by the
   Free Software Foundation; either version 2 of the License, or (at your
   option) any later version.
 */

require_once("../../Group-Office.php");
$GO_SECURITY->authenticate(true);

load_basic_controls();
load_control('tabtable');

$module = $GO_MODULES->get_module($_REQUEST['module_id']);

$page_title=$module['id'];

require_once($GO_THEME->theme_path."header.inc");
?>
<form method="post" name="permissions" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="hidden" name="close" value="false" />
<input type="hidden" name="module_id" value="<?php echo $_REQUEST['module_id']; ?>" />
<?php

$tabtable = new tabtable('module_tab', $module['id'],'100%','','120','',true);
$tabtable->add_tab('read', $strReadRights);
$tabtable->add_tab('write', $strWriteRights);

$tabtable->print_head();

switch($tabtable->get_active_tab_id())
{	
	case 'read':
		print_acl($module["acl_read"]);
	break;
	
	case 'write':
		print_acl($module["acl_write"]);
	break;
}
echo '<br /><br />';
$button = new button($cmdClose, 'javascript:window.close()');
echo $button->get_html();

$tabtable->print_foot();
?>
</form>
<?php
require_once($GO_THEME->theme_path."footer.inc");




See more files for this project here

Group-Office groupware

Group-Office is a powerfull modular Internet/Intranet application framework. It features calendaring, project management, e-mail, tasks, addressbook, file management.

Project homepage: http://sourceforge.net/projects/group-office
Programming language(s): JavaScript,Pascal,PHP
License: other

  language/
    bu.inc
    ca.inc
    cs.inc
    da.inc
    de.inc
    en.inc
    es.inc
    fi.inc
    fr.inc
    he.inc
    hu.inc
    it.inc
    ja.inc
    nl.inc
    no.inc
    pt-br.inc
    pt.inc
    ru.inc
    sl.inc
    sv.inc
    th.inc
    tr.inc
    zh-tw.inc
    zh_TW_big5.inc
  index.php
  module.info
  module_permissions.php
  modules.inc