-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontentmap.php
More file actions
executable file
·70 lines (54 loc) · 3.08 KB
/
contentmap.php
File metadata and controls
executable file
·70 lines (54 loc) · 3.08 KB
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
<?php defined('_JEXEC') or die('Restricted access');
/*
This file is part of "Content Map Joomla Extension".
Author: Open Source solutions http://www.opensourcesolutions.es
You can redistribute and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation,
either version 2 of the License, or (at your option) any later version.
GNU/GPL license gives you the freedom:
* to use this software for both commercial and non-commercial purposes
* to share, copy, distribute and install this software and charge for it if you wish.
Under the following conditions:
* You must attribute the work to the original author
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this software. If not, see http://www.gnu.org/licenses/gpl-2.0.html.
@copyright Copyright (C) 2012 Open Source Solutions S.L.U. All rights reserved.
*/
require_once(JPATH_ROOT . '/' . "libraries" . '/' . "contentmap" . '/' . "language" . '/' . "contentmap.inc");
$language = JFactory::getLanguage();
$language->load("com_contentmap.sys", realpath(dirname(__FILE__)));
$langcode = preg_replace("/-.*/", "", $language->get("tag"));
?>
<h1><?php echo($language->_("COM_CONTENTMAP")); ?></h1>
<?php if ($GLOBALS["contentmap"]["version"][strlen($GLOBALS["contentmap"]["version"]) - 1] == " ") { ?>
<div style="float:left;margin-right:16px;margin-left:10px;">
<a href="http://www.opensourcesolutions.es/ext/contentmap.html" target="_blank">
<img src="../media/contentmap/images/buy_now.jpg" border="0" alt="Buy now">
</a>
</div>
<p><strong><?php echo($language->_("COM_CONTENTMAP_PURCHASE")); ?></strong></p>
<br style="clear:both;" />
<?php } ?>
<table width="90%">
<tr>
<td align="left" valign="bottom">
<a href="https://www.facebook.com/groups/2748397055385944/" target="blank" class="btn btn-large btn-warning"><i class="icon-users"></i> COMMUNITY</a>
<a href="https://github.com/AlexRed/contentmap" target="blank" class="btn btn-large btn-inverse"><i class="icon-cogs"></i> GitHub</a>
<a href="http://www.opensourcesolutions.es/ext/contentmap.html" target="blank" class="btn btn-large btn-success"><i class="icon-download"></i> INFO & DOWNLOAD</a>
<a href="http://www.opensourcesolutions.es/ext/contentmap.html" target="blank" class="btn btn-large btn-info"><i class="icon-eye"></i> DEMO</a>
<br /><br />
</td>
</tr>
<tr><td>
<h1><?php echo($language->_("COM_CONTENTMAP_INSTRUCTIONS_LBL")); ?></h1>
<h2><?php echo($language->_("COM_CONTENTMAP_INSTRUCTIONS_TITLE")); ?></h2>
<?php echo($language->_("COM_CONTENTMAP_INSTRUCTIONS_DSC")); ?>
<h2><?php echo($language->_("MOD_CONTENTMAP_INSTRUCTIONS_TITLE")); ?></h2>
<?php echo($language->_("MOD_CONTENTMAP_INSTRUCTIONS_DSC")); ?>
</td></tr>
</table>
<p><?php echo(sprintf($language->_("JGLOBAL_ISFREESOFTWARE"), "ContentMap")); ?></p>