-
Notifications
You must be signed in to change notification settings - Fork 7
/
repository-flash.php
84 lines (74 loc) · 2.46 KB
/
repository-flash.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
<?php
require_once('internal/app.php');
require('internal/includes/login.php');
if ( !$loggedIn)
{
$title = 'Obojobo Repository';
include("assets/templates/login.php");
exit;
}
?><!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<meta charset="UTF-8" />
<title>Repository | Obojobo™</title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<style type="text/css" media="screen">
html, body{
overflow: hidden;
margin:0 !important;
padding:0;
height:100%;
}
</style>
<script>
var SWF_URL = "Repository_2_1_9.swf";
// START PREVENT CLOSE
window.onbeforeunload = confirmExit;
function thisMovie(movieName) {
if (navigator.appName.indexOf("Microsoft") != -1) {
return window[movieName];
} else {
return document[movieName];
}
}
function confirmExit(){
$isCloseable = thisMovie(SWF_URL).isCloseable();
if($isCloseable !== true){
return $isCloseable;
}
}
// END PREVENT CLOSE
</script>
<script defer="defer">
// SWFOBJECT
var flashvars = new Object();
flashvars.view = "";
flashvars.preview = "";
var params = new Object();
params.menu = "false";
params.allowScriptAccess = "sameDomain";
params.allowFullScreen = "true";
params.base = "/assets/flash/";
params.bgcolor = "#869ca7";
var attributes = new Object();
attributes.id = SWF_URL;
attributes.name = SWF_URL;
swfobject.embedSWF( "/assets/flash/" + SWF_URL, "flexApp", "100%", "100%", "10", "/assets/flash/expressInstall.swf", flashvars, params, attributes);
</script>
<?php include(\AppCfg::DIR_BASE . 'assets/templates/google_analytics.php'); ?>
</head>
<body >
<div id="flexApp">
<div style="margin: 0 auto; margin-top: 4em; border: thin solid gray; padding: 20px; width: 500px; color: #222222; font-family: Verdana,sans-serif; font-size: 73%; line-height: 130%;">
<a style="padding-right: 20px; width: 158px; float: left; border: 0px;" href="http://www.adobe.com/go/getflashplayer"><img src="/assets/images/get_adobe_flash_player.png" alt="Download Flash Player" /></a>
<p style="padding: 0; margin: 0; float: left; width: 320px;">
Obojobo requires that you have the Flash Player plug-in (version 10 or greater) installed.<br /><a href="http://www.adobe.com/go/getflashplayer">Click here to download the latest version.</a>
</p>
<div style="clear:both;"></div>
</div>
</div>
</body>
</html>