share.php 807 Bytes
Newer Older
1
2
3
4
5
6
<?php
/**
 *
 * @package    mahara
 * @subpackage core
 * @author     Catalyst IT Ltd
7
8
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
 * @copyright  For copyright information on Mahara, please see the README file distributed with this software.
9
10
11
12
13
14
 *
 */

define('INTERNAL', 1);
require(dirname(dirname(__FILE__)) . '/init.php');
require_once(get_config('libroot') . 'view.php');
15
16
define('TITLE', get_string('sharedbyme', 'view'));
define('MENUITEM', 'share/sharedbyme');
17
18
19
define('SECTION_PLUGINTYPE', 'core');
define('SECTION_PLUGINNAME', 'view');
define('SECTION_PAGE', 'share');
20
21
22
$accesslists = View::get_accesslists($USER->get('id'));

$smarty = smarty();
23
setpageicon($smarty, 'icon-share-alt');
24
25
$smarty->assign('accesslists', $accesslists);
$smarty->display('view/share.tpl');