blob: 4d002efaa1294a1d6a813895b7d6393872383077 (
plain)
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
|
<?php
header("Content-type: text/cache-manifest");
require_once dirname(dirname(dirname(__FILE__))).'/engine/start.php';
global $CONFIG;
$viewtype = get_input('viewtype', 'default');
$manifest = <<<MANIFEST
CACHE MANIFEST
# Viewtype: $viewtype
# Lastcache: {$CONFIG->lastcache}
CACHE:
# CSS
{$CONFIG->url}_css/css.css?lastcache={$CONFIG->lastcache}&viewtype=$viewtype
# Scripts
{$CONFIG->url}vendors/jquery/jquery-1.3.2.min.js
{$CONFIG->url}vendors/jquery/jquery-ui-1.7.2.min.js
{$CONFIG->url}vendors/jquery/jquery.form.js
{$CONFIG->url}vendors/jquery/jquery.easing.1.3.packed.js
{$CONFIG->url}_css/js.php?lastcache={$CONFIG->lastcache}&js=initialise_elgg&viewtype=$viewtype
{$CONFIG->url}_css/js.php?lastcache={$CONFIG->lastcache}&js=friendsPickerv1&viewtype=$viewtype
NETWORK:
*
MANIFEST;
echo $manifest;
|