~minos-archive/minos/firefox-minos-settings

« back to all changes in this revision

Viewing changes to mozilla/firefox/h5xyzl6e.default/extensions/{5384767E-00D9-40E9-B72F-9CC39D655D6F}/content/catalog_items.html

  • Committer: Javier Lopez
  • Date: 2015-07-08 01:10:19 UTC
  • Revision ID: git-v1:d8c3500bae00a8a67d74f8f96235ec11d75231be
rename mozilla-minos-settings -> firefox-minos-settings

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8"?>
2
 
 
3
 
<html style="height:100%;">
4
 
<head>
5
 
<link rel="stylesheet" type="text/css" href="chrome://epubreader/content/catalog.css">
6
 
</head>
7
 
 
8
 
<body>
9
 
 
10
 
<script language="javascript" type="text/javascript">
11
 
Components.utils.import("chrome://epubreader/content/Epubreader.jsm");
12
 
 
13
 
var catalog = null;
14
 
 
15
 
var nav_backwards = 1;
16
 
var nav_forwards = 2;
17
 
 
18
 
function getCatalog()
19
 
{
20
 
   if(!catalog)
21
 
   {
22
 
      catalog = Epubreader.getCatalog();
23
 
   }
24
 
 
25
 
   return catalog;
26
 
};
27
 
 
28
 
function showDetails(id)
29
 
{
30
 
   catalog = getCatalog();
31
 
   catalog.showDetails(id);
32
 
}
33
 
 
34
 
function navigate(direction)
35
 
{
36
 
   catalog = getCatalog();
37
 
   catalog.navigate(direction);
38
 
}
39
 
 
40
 
function showBuy(url)
41
 
{
42
 
   catalog = getCatalog();
43
 
   catalog.showBuy(url);
44
 
}
45
 
 
46
 
function showExcerpt(url)
47
 
{
48
 
   catalog = getCatalog();
49
 
   catalog.showExcerpt(url);
50
 
}
51
 
 
52
 
function showSite(url)
53
 
{
54
 
   catalog = getCatalog();
55
 
   catalog.showSite(url);
56
 
}
57
 
</script>
58
 
 
59
 
<table id="catalog_table" />
60
 
 
61
 
</body>
62
 
</html>
 
 
b'\\ No newline at end of file'