forked from lynxlab/ada2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
credits.php
92 lines (80 loc) · 2.61 KB
/
credits.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<?php
/**
* CREDITS.
*
* @package main
* @author Stefano Penge <steve@lynxlab.com>
* @author Maurizio "Graffio" Mazzoneschi <graffio@lynxlab.com>
* @author Vito Modena <vito@lynxlab.com>
* @copyright Copyright (c) 2009, Lynx s.r.l.
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU Public License v.2
* @link info
* @version 0.1
*/
/**
* Base config file
*/
require_once realpath(dirname(__FILE__)).'/config_path.inc.php';
/**
* Clear node and layout variable in $_SESSION
*/
$variableToClearAR = array('node', 'layout', 'course', 'course_instance');
/**
* Users (types) allowed to access this module.
*/
$allowedUsersAr = array(AMA_TYPE_VISITOR, AMA_TYPE_STUDENT,AMA_TYPE_ADMIN,AMA_TYPE_AUTHOR, AMA_TYPE_TUTOR);
/**
* Performs basic controls before entering this module
*/
$neededObjAr = array(
AMA_TYPE_VISITOR => array('layout'),
AMA_TYPE_STUDENT => array('layout'),
AMA_TYPE_TUTOR => array('layout'),
AMA_TYPE_AUTHOR => array('layout'),
AMA_TYPE_ADMIN => array('layout')
);
require_once ROOT_DIR.'/include/module_init.inc.php';
/**
* Get needed objects
*/
include_once ROOT_DIR.'/browsing/include/browsing_functions.inc.php';
$self = 'default';
$credits_data = "<p>"
. translateFN("ADA è un software libero sviluppato da")
. ' ' ."<a href='http://www.lynxlab.coml'; target='_blank'>Lynx s.r.l.</a>"
. "<p>".translateFN("E' rilasciato con licenza ")." <a href='".HTTP_ROOT_DIR . "/browsing/external_link.php?file=gpl.txt'; target='_blank'>GNU GPL.</a></p>".
"Hanno contribuito allo sviluppo:".
"<ul>
<li>Maurizio Mazzoneschi</li>
<li>Stefano Penge</li>
<li>Vito Modena</li>
<li>Giorgio Consorti</li>
<li>Valerio Riva</li>
<li>Guglielmo Celata</li>
<li>Stamatis Filippis</li>
</ul>".
"Hanno contribuito al disegno dell'interfaccia:".
"<ul>
<li>Gianluca Toni</li>
<li>Francesco Fagnini</li>
<li>Chiara Codino</li>
</ul>".
"</p>";
//$banner = include ROOT_DIR.'/include/banner.inc.php';
$title=translateFN('Credits');
$content_dataAr = array(
'home'=>$home,
'user_name' => $user_name,
'user_type' => $user_type,
'user_level' => $user_level,
'status' => $status,
'help'=>$credits_data,
'menu'=>$menu,
'path' => translateFN("Credits"),
//'banner'=>$banner,
'message'=>$message,
'agenda_link'=>$agenda_link,
'msg_link'=>$msg_link
);
ARE::render($layout_dataAr, $content_dataAr);
?>