-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrfxcom.php
134 lines (133 loc) · 6.68 KB
/
rfxcom.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<?php
header( 'content-type: text/html; charset=utf-8' );
$type=$_GET['type'];
$locale = "fr_FR.UTF-8";
if (isSet($_GET["locale"])) $locale = $_GET["locale"];
putenv("LC_MESSAGES=$locale");
setlocale(LC_MESSAGES, $locale);
bindtextdomain("rfxcom", "./locale");
textdomain("rfxcom");
?>
<!DOCTYPE html>
<html>
<head>
<title>Jeedom - <?= _("Guide RfxCom");?></title>
<meta charset="utf-8">
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<script src="3rdparty/jquery/jquery.min.js"></script>
<script src="3rdparty/bootstrap/bootstrap.min.js"></script>
<script src="3rdparty/jquery.steps/jquery.steps.min.js"></script>
<script src="3rdparty/ekko-lightbox/ekko-lightbox.min.js"></script>
<link href="3rdparty/ekko-lightbox/ekko-lightbox.min.css" rel="stylesheet">
<link href="css/flag-icon.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="3rdparty/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="3rdparty/jquery.steps/jquery.steps.css" rel="stylesheet">
<link href="3rdparty/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<script>
$(document).delegate('*[data-toggle="lightbox"]', 'click', function(event) {
event.preventDefault();
$(this).ekkoLightbox();
});
</script>
</head>
<body>
<div class="row">
<div class="col-md-1"></div>
<div class="col-md-3"><h2><a href="index.php?locale=fr_FR.UTF-8" class="btn btn-sm btn-info"><span class="fa fa-th-large"></span> Retour au menu</a></div>
<div class="col-md-1"><img alt="Jeedom" src="img/logo.png" style="width: 70px;"></div>
<div class="col-md-4"><h2><?= _("Guide RfxCom");?></h2></div>
<div class="col-md-3"><h2>
<a href="rfxcom.php?locale=fr_FR.UTF-8&type=<?= $type;?>" class="btn btn-sm btn-info"><span class="flag-icon flag-icon-fr"></span> Français</a> <a href="rfxcom.php?locale=en_US.UTF-8&type=<?= $type;?>" class="btn btn-sm btn-info"><span class="flag-icon flag-icon-gb"></span> English</a>
</h2></div>
</div>
<div class="row" align="center">
<div class="col-xs-2"></div>
<div class="col-md-12" align="center">
<div id="wizard">
<h1><?= _("Branchements");?></h1>
<div>
<div class="row">
<div class="col-md-4">
<h2><?= _("Etape 1 :");?></h2>
<div class="thumbnail">
<a data-toggle="lightbox" href="img/antenne-rfxcom.jpg"><img alt="antenne-rfxcom" src="img/antenne-rfxcom.jpg" style="width: 200px;"></a>
<div class="caption"><center><?= _("Vissez l'antenne au RfxCom ou celle du RFP1000");?></center></div>
</div>
</div>
<div class="col-md-4">
<h2><?= _("Etape 2 :");?></h2>
<div class="thumbnail">
<a data-toggle="lightbox" href="img/usb-rfxcom.jpg"><img alt="usb-rfxcom" src="img/usb-rfxcom.jpg" style="width: 200px;"></a>
<div class="caption"><center><?= _("Connectez le cable USB à votre RfxCom ou la clé RFP1000");?></center></div>
</div>
</div>
<div class="col-md-4">
<h2><?= _("Etape 3 :");?></h2>
<div class="thumbnail">
<a data-toggle="lightbox" href="img/rfxcom-usb-jeedom.jpg"><img alt="rfxcom-usb-jeedom" src="img/rfxcom-usb-jeedom.jpg" style="width: 200px;"></a>
<div class="caption"><center><?= _("Connectez le cable USB à votre box Jeedom");?></center></div>
</div>
</div>
</div>
</div>
<h1><?= _("Installation du plugin RfxCom");?></h1>
<div>
<div class="row">
<div class="col-md-4">
<h2><?= _("Etape 1 :");?></h2>
<div class="thumbnail">
<a data-toggle="lightbox" href="img/button-market.jpg"><img alt="market" src="img/button-market.jpg" style="width: 200px;"></a>
<div class="caption"><center><?= _("Cliquez sur le bouton <span class='label label-info'>Market</span>.");?><br> </center></div>
</div>
</div>
<div class="col-md-4">
<h2><?= _("Etape 2 :");?></h2>
<div class="thumbnail">
<a data-toggle="lightbox" href="img/plugin-rfxcom.jpg"><img alt="plugin-rfxcom" src="img/plugin-rfxcom.jpg" style="width: 200px;"></a>
<div class="caption"><center><?= _("Recherchez le plugin RfxCom ou RFPlayer2 puis cliquez dessus.");?> <br> </center></div>
</div>
</div>
<div class="col-md-4">
<h2><?= _("Etape 3 :");?></h2>
<div class="thumbnail">
<a data-toggle="lightbox" href="img/install-rfxcom.jpg"><img alt="install-rfxcom" src="img/install-rfxcom.jpg" style="width: 200px;"></a>
<div class="caption"><center><?= _("Cliquez ensuite sur <span class='label label-info'>Installer Stable</span> afin d'installer le plugin RfxCom.");?></center></div>
</div>
</div>
</div>
</div>
<h1><?= _("Premiers pas avec la box Jeedom");?></h1>
<div>
<center><h2><?= _("Félicitation !");?></h2></center>
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="thumbnail">
<img alt="done" src="img/check.jpg" style="width: 300px;">
<div class="caption"><center><?=_("Votre Box Jeedom est désormais totalement opérationnelle.");?><br><br><?=_("Afin de profiter des dernières nouveautés, nous vous conseillons de mettre à jour votre Jeedom.");?><br><?=_("Nous vous invitons à consulter<br> ");?> <a href="https://www.jeedom.com/doc/" target="_blank" class="btn btn-primary" role="button"><i class="fa fa-book"></i> <?=_("la documentation complète");?> </a> <br><?=_("notamment la catégorie Premiers pas, afin d'optimiser l'utilisation de votre box Jeedom.");?></center></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
$("#wizard").steps({
headerTag: "h1",
bodyTag: "div",
transitionEffect: "slideLeft",
labels: {
cancel: '<?= _("Annuler");?>',
current: '<?= _("Etape en cours");?>',
pagination: '<?= _("Pagination");?>',
finish: '<?= _("Fin");?>',
next: '<?= _("Suivant");?>',
previous: '<?= _("Précédent");?>',
loading: '<?= _("Chargement");?>'
}
});
</script>
</body>
</html>