Version Description
- Added core support for the BuddyPress 1.8+ - Gantry BuddyPress plugin is no longer required and has been deprecated
- Fix for the Gizmo options not being saved/loaded in the Presets of the theme
- Compatibility fix for the NextGen Gallery plugin
- Fixed rendering of the dollar sign ($) in the site title
- You can now use the %YEAR% and %year% in the Gantry Copyright widget to display the current year
- Fix for the bad path to the font files of the FontAwesome 3.2.1
Download this release
Release Info
Developer | gantry |
Plugin | Gantry 4 Framework |
Version | 4.0.8 |
Comparing to | |
See all releases |
Code changes from version 4.0.7 to 4.0.8
- CHANGELOG.php +9 -1
- admin/admin_assignments.php +13 -10
- admin/forms/fields/imagepicker.php +1 -1
- admin/forms/fields/position.php +57 -0
- admin/forms/fields/updater.php +1 -1
- admin/widgets/colorchooser/css/mooRainbow-2.0.css +1 -1
- admin/widgets/preset/js/preset.js +1 -1
- assets/jui/less/font-awesome/variables.less +1 -1
- core/gantry.class.php +8 -8
- core/renderers/gantrywidgetsrenderer.class.php +3 -1
- core/utilities/gantrycache.class.php +2 -2
- functions.php +1 -1
- gantry.php +1 -1
- gizmos/buddypress.php +149 -0
- gizmos/compatibility.php +9 -1
- languages/gantry-en_US.mo +0 -0
- languages/gantry-en_US.po +111 -1
- languages/gantry.pot +109 -0
- readme.txt +14 -3
- widgets/breadcrumbs.php +1 -1
- widgets/copyright.php +17 -7
- widgets/copyright.xml +2 -10
- widgets/loginbutton.php +1 -1
- widgets/loginform.php +1 -1
CHANGELOG.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Gantry For Wordpress
|
4 |
*
|
5 |
-
* @version $Id: CHANGELOG.php
|
6 |
* @author RocketTheme http://www.rockettheme.com
|
7 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
8 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
@@ -27,6 +27,14 @@ Legend:
|
|
27 |
- -> Removed
|
28 |
! -> Note
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
------- 4.0.7 Release [] ------
|
31 |
+ Added support for Font Awesome 3.2.1
|
32 |
^ Added in performance improvement for Menus in the Rules Engine (thanks David Fritsch)
|
2 |
/**
|
3 |
* Gantry For Wordpress
|
4 |
*
|
5 |
+
* @version $Id: CHANGELOG.php 59959 2013-10-02 19:17:45Z jakub $
|
6 |
* @author RocketTheme http://www.rockettheme.com
|
7 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
8 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
27 |
- -> Removed
|
28 |
! -> Note
|
29 |
|
30 |
+
------- 4.0.8 Release [] ------
|
31 |
+
+ Added core support for the BuddyPress 1.8+ - Gantry BuddyPress plugin is no longer required and has been deprecated
|
32 |
+
# Fix for the Gizmo options not being saved/loaded in the Presets of the theme
|
33 |
+
+ Compatibility fix for the NextGen Gallery plugin
|
34 |
+
# Fixed rendering of the dollar sign ($) in the site title
|
35 |
+
+ You can now use the %YEAR% and %year% in the Gantry Copyright widget to display the current year
|
36 |
+
# Fix for the bad path to the font files of the FontAwesome 3.2.1
|
37 |
+
|
38 |
------- 4.0.7 Release [] ------
|
39 |
+ Added support for Font Awesome 3.2.1
|
40 |
^ Added in performance improvement for Menus in the Rules Engine (thanks David Fritsch)
|
admin/admin_assignments.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @version $Id: admin_assignments.php
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
@@ -52,17 +52,20 @@
|
|
52 |
<?php
|
53 |
} else {
|
54 |
foreach ($value as $item_id) {
|
|
|
55 |
$data = $archetype . '::' . $type . '::' . $item_id;
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
<
|
60 |
-
|
61 |
-
|
62 |
-
<
|
63 |
-
|
64 |
-
|
|
|
65 |
<?php
|
|
|
66 |
}
|
67 |
}
|
68 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @version $Id: admin_assignments.php 59954 2013-10-02 17:54:24Z btowles $
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
52 |
<?php
|
53 |
} else {
|
54 |
foreach ($value as $item_id) {
|
55 |
+
|
56 |
$data = $archetype . '::' . $type . '::' . $item_id;
|
57 |
+
if (isset($gantry_override_assignment_info[$data])){
|
58 |
+
$title = $gantry_override_assignment_info[$data]->title;
|
59 |
+
?>
|
60 |
+
<li class="list-type clearfix">
|
61 |
+
<span class="type"><?php echo $gantry_override_assignment_info[$data]->single_label;?></span>
|
62 |
+
<span class="delete-assigned">×</span>
|
63 |
+
<span class="link">
|
64 |
+
<a class="no-link-item" href="#" rel="<?php echo $data;?>"><?php echo $title;?></a>
|
65 |
+
</span>
|
66 |
+
</li>
|
67 |
<?php
|
68 |
+
}
|
69 |
}
|
70 |
}
|
71 |
}
|
admin/forms/fields/imagepicker.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @version 4.0.
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @version 4.0.8 October 3, 2013
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
admin/forms/fields/position.php
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version $Id: position.php 2381 2012-08-15 04:14:26Z btowles $
|
4 |
+
* @author RocketTheme http://www.rockettheme.com
|
5 |
+
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
+
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
7 |
+
*/
|
8 |
+
defined('GANTRY_VERSION') or die;
|
9 |
+
|
10 |
+
gantry_import('core.config.gantryformfield');
|
11 |
+
|
12 |
+
require_once(gantry_dirname(__FILE__) . '/selectbox.php');
|
13 |
+
|
14 |
+
class GantryFormFieldPosition extends GantryFormFieldSelectBox
|
15 |
+
{
|
16 |
+
/**
|
17 |
+
* The form field type.
|
18 |
+
*
|
19 |
+
* @var string
|
20 |
+
*/
|
21 |
+
public $type = 'position';
|
22 |
+
protected $basetype = 'select';
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Method to get the field options.
|
26 |
+
*
|
27 |
+
* @return array The field option objects.
|
28 |
+
*/
|
29 |
+
protected function getOptions()
|
30 |
+
{
|
31 |
+
|
32 |
+
// Merge any additional options in the XML definition.
|
33 |
+
/** @var $gantry Gantry */
|
34 |
+
global $gantry;
|
35 |
+
$options = parent::getOptions();
|
36 |
+
|
37 |
+
$unique = $this->getBool('unique', false);
|
38 |
+
|
39 |
+
if ($unique) $positions = $gantry->getUniquePositions(); else $positions = $gantry->getPositions();
|
40 |
+
|
41 |
+
$hide_mobile = $this->getBool('hide_mobile', false);
|
42 |
+
|
43 |
+
$options = array();
|
44 |
+
foreach ($positions as $position) {
|
45 |
+
$positionInfo = $gantry->getPositionInfo($position);
|
46 |
+
if ($hide_mobile && $positionInfo->mobile) {
|
47 |
+
continue;
|
48 |
+
}
|
49 |
+
|
50 |
+
$val = $position;
|
51 |
+
$text = $position;
|
52 |
+
$tmp = GantryHtmlSelect::option($val, $text, 'value', 'text', false);
|
53 |
+
$options[] = $tmp;
|
54 |
+
}
|
55 |
+
return $options;
|
56 |
+
}
|
57 |
+
}
|
admin/forms/fields/updater.php
CHANGED
@@ -27,7 +27,7 @@ class GantryFormFieldUpdater extends GantryFormField
|
|
27 |
|
28 |
$currentVersion = GANTRY_VERSION;
|
29 |
|
30 |
-
if ($currentVersion == "\4.0.
|
31 |
|
32 |
// curl check
|
33 |
if (!function_exists('curl_version')) {
|
27 |
|
28 |
$currentVersion = GANTRY_VERSION;
|
29 |
|
30 |
+
if ($currentVersion == "\4.0.8") $currentVersion = "[DEV]";
|
31 |
|
32 |
// curl check
|
33 |
if (!function_exists('curl_version')) {
|
admin/widgets/colorchooser/css/mooRainbow-2.0.css
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/**
|
2 |
-
* @version 4.0.
|
3 |
* @author RocketTheme http://www.rockettheme.com
|
4 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
5 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
1 |
/**
|
2 |
+
* @version 4.0.8 October 3, 2013
|
3 |
* @author RocketTheme http://www.rockettheme.com
|
4 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
5 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
admin/widgets/preset/js/preset.js
CHANGED
@@ -456,7 +456,7 @@ var Scroller = {
|
|
456 |
if (!labels.get(keyPreset)) labels.set(keyPreset, []);
|
457 |
var type = el.get('tag');
|
458 |
|
459 |
-
var panel = el.getParent('.g4-panel').className.replace(/
|
460 |
|
461 |
if (!currentParams[panel]) currentParams[panel] = 0;
|
462 |
currentParams[panel]++;
|
456 |
if (!labels.get(keyPreset)) labels.set(keyPreset, []);
|
457 |
var type = el.get('tag');
|
458 |
|
459 |
+
var panel = el.getParent('.g4-panel').className.replace(/panel|\-|\s|g4/g, '').toInt() - 1;
|
460 |
|
461 |
if (!currentParams[panel]) currentParams[panel] = 0;
|
462 |
currentParams[panel]++;
|
assets/jui/less/font-awesome/variables.less
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
// Variables
|
2 |
// --------------------------
|
3 |
|
4 |
-
@FontAwesomePath: '../../../
|
5 |
//@FontAwesomePath: "//netdna.bootstrapcdn.com/font-awesome/3.2.1/font"; // for referencing Bootstrap CDN font files directly
|
6 |
@FontAwesomeVersion: "3.2.1";
|
7 |
@borderColor: #eee;
|
1 |
// Variables
|
2 |
// --------------------------
|
3 |
|
4 |
+
@FontAwesomePath: '../../../plugins/gantry/assets/jui/fonts';
|
5 |
//@FontAwesomePath: "//netdna.bootstrapcdn.com/font-awesome/3.2.1/font"; // for referencing Bootstrap CDN font files directly
|
6 |
@FontAwesomeVersion: "3.2.1";
|
7 |
@borderColor: #eee;
|
core/gantry.class.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @version $Id: gantry.class.php
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
@@ -1045,7 +1045,7 @@ class Gantry
|
|
1045 |
$path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
|
1046 |
}
|
1047 |
$filename = strtolower(basename($path, '.css')) . rand(0, 1000);
|
1048 |
-
wp_enqueue_style($filename, $path, array(), '4.0.
|
1049 |
$deps[] = $path;
|
1050 |
}
|
1051 |
}
|
@@ -1058,11 +1058,11 @@ class Gantry
|
|
1058 |
if ($this->baseUrl != "/") {
|
1059 |
$path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
|
1060 |
}
|
1061 |
-
wp_enqueue_script($path, $path, $deps, '4.0.
|
1062 |
$deps[] = $path;
|
1063 |
}
|
1064 |
foreach ($this->_full_scripts as $strSrc) {
|
1065 |
-
wp_enqueue_script($strSrc, $strSrc, $deps, '4.0.
|
1066 |
$deps[] = $strSrc;
|
1067 |
}
|
1068 |
|
@@ -1154,7 +1154,7 @@ class Gantry
|
|
1154 |
$this->pageTitle = wp_title('»', false);
|
1155 |
}
|
1156 |
|
1157 |
-
$this->pageTitle = str_replace('$',
|
1158 |
$title = '<title>' . $this->pageTitle . '</title>' . chr(13);
|
1159 |
return $title;
|
1160 |
}
|
@@ -1630,7 +1630,7 @@ class Gantry
|
|
1630 |
if (!defined('GANTRY_FINALIZED')) {
|
1631 |
$this->_styles[$priority][] = $link;
|
1632 |
} else {
|
1633 |
-
wp_enqueue_style($link->getUrl(), $link->getUrl(), array(), '4.0.
|
1634 |
}
|
1635 |
}
|
1636 |
}
|
@@ -1734,7 +1734,7 @@ class Gantry
|
|
1734 |
if (!defined('GANTRY_FINALIZED')) {
|
1735 |
$this->_scripts[$full_path] = $check_url_path . $query_string;
|
1736 |
} else {
|
1737 |
-
wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.
|
1738 |
}
|
1739 |
break;
|
1740 |
}
|
@@ -1768,7 +1768,7 @@ class Gantry
|
|
1768 |
if (!defined('GANTRY_FINALIZED')) {
|
1769 |
$this->_scripts[$check_path] = $check_url_path . $query_string;
|
1770 |
} else {
|
1771 |
-
wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.
|
1772 |
}
|
1773 |
break(2);
|
1774 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @version $Id: gantry.class.php 59952 2013-10-02 17:16:02Z jakub $
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
1045 |
$path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
|
1046 |
}
|
1047 |
$filename = strtolower(basename($path, '.css')) . rand(0, 1000);
|
1048 |
+
wp_enqueue_style($filename, $path, array(), '4.0.8');
|
1049 |
$deps[] = $path;
|
1050 |
}
|
1051 |
}
|
1058 |
if ($this->baseUrl != "/") {
|
1059 |
$path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
|
1060 |
}
|
1061 |
+
wp_enqueue_script($path, $path, $deps, '4.0.8');
|
1062 |
$deps[] = $path;
|
1063 |
}
|
1064 |
foreach ($this->_full_scripts as $strSrc) {
|
1065 |
+
wp_enqueue_script($strSrc, $strSrc, $deps, '4.0.8');
|
1066 |
$deps[] = $strSrc;
|
1067 |
}
|
1068 |
|
1154 |
$this->pageTitle = wp_title('»', false);
|
1155 |
}
|
1156 |
|
1157 |
+
$this->pageTitle = str_replace('$', chr(36), $this->pageTitle);
|
1158 |
$title = '<title>' . $this->pageTitle . '</title>' . chr(13);
|
1159 |
return $title;
|
1160 |
}
|
1630 |
if (!defined('GANTRY_FINALIZED')) {
|
1631 |
$this->_styles[$priority][] = $link;
|
1632 |
} else {
|
1633 |
+
wp_enqueue_style($link->getUrl(), $link->getUrl(), array(), '4.0.8');
|
1634 |
}
|
1635 |
}
|
1636 |
}
|
1734 |
if (!defined('GANTRY_FINALIZED')) {
|
1735 |
$this->_scripts[$full_path] = $check_url_path . $query_string;
|
1736 |
} else {
|
1737 |
+
wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.8');
|
1738 |
}
|
1739 |
break;
|
1740 |
}
|
1768 |
if (!defined('GANTRY_FINALIZED')) {
|
1769 |
$this->_scripts[$check_path] = $check_url_path . $query_string;
|
1770 |
} else {
|
1771 |
+
wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.8');
|
1772 |
}
|
1773 |
break(2);
|
1774 |
}
|
core/renderers/gantrywidgetsrenderer.class.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @version $Id: gantrywidgetsrenderer.class.php
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
@@ -164,6 +164,8 @@ class GantryWidgetsRenderer
|
|
164 |
*/
|
165 |
public static function filterWidget($params)
|
166 |
{
|
|
|
|
|
167 |
/** @global $gantry Gantry */
|
168 |
global $gantry;
|
169 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @version $Id: gantrywidgetsrenderer.class.php 59955 2013-10-02 18:05:06Z btowles $
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
164 |
*/
|
165 |
public static function filterWidget($params)
|
166 |
{
|
167 |
+
if( !isset( $params[0]['widget_map'] )) return $params;
|
168 |
+
|
169 |
/** @global $gantry Gantry */
|
170 |
global $gantry;
|
171 |
|
core/utilities/gantrycache.class.php
CHANGED
@@ -26,7 +26,7 @@ class GantryCache
|
|
26 |
/**
|
27 |
*
|
28 |
*/
|
29 |
-
const ADMIN_GROUP_NAME = 'GantryAdmin-4.0.
|
30 |
|
31 |
const ADMIN_LIFETIME = 86400;
|
32 |
|
@@ -122,7 +122,7 @@ class GantryCache
|
|
122 |
$this->cache->addDriver('frontend', new WpTransientCacheDriver($this->group, $this->lifetime));
|
123 |
} elseif (is_admin()) {
|
124 |
// TODO get lifetime for backend cache
|
125 |
-
$this->group = self::ADMIN_GROUP_NAME . '-4.0.
|
126 |
$this->cache->addDriver('admin', new WpTransientCacheDriver($this->group, self::ADMIN_LIFETIME));
|
127 |
}
|
128 |
}
|
26 |
/**
|
27 |
*
|
28 |
*/
|
29 |
+
const ADMIN_GROUP_NAME = 'GantryAdmin-4.0.8';
|
30 |
|
31 |
const ADMIN_LIFETIME = 86400;
|
32 |
|
122 |
$this->cache->addDriver('frontend', new WpTransientCacheDriver($this->group, $this->lifetime));
|
123 |
} elseif (is_admin()) {
|
124 |
// TODO get lifetime for backend cache
|
125 |
+
$this->group = self::ADMIN_GROUP_NAME . '-4.0.8';
|
126 |
$this->cache->addDriver('admin', new WpTransientCacheDriver($this->group, self::ADMIN_LIFETIME));
|
127 |
}
|
128 |
}
|
functions.php
CHANGED
@@ -168,7 +168,7 @@ function gantry_construct()
|
|
168 |
/**
|
169 |
* @name GANTRY_VERSION
|
170 |
*/
|
171 |
-
define('GANTRY_VERSION', '4.0.
|
172 |
|
173 |
|
174 |
if (!defined('DS')) {
|
168 |
/**
|
169 |
* @name GANTRY_VERSION
|
170 |
*/
|
171 |
+
define('GANTRY_VERSION', '4.0.8');
|
172 |
|
173 |
|
174 |
if (!defined('DS')) {
|
gantry.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
Plugin Name: Gantry Template Framework
|
11 |
Plugin URI: http://www.gantry-framework.org/
|
12 |
Description: This is a Framework to support easily modifiable themes that are very extensible.
|
13 |
-
Version: 4.0.
|
14 |
Author: RocketTheme
|
15 |
Author URI: http://www.rockettheme.com/wordpress
|
16 |
License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
10 |
Plugin Name: Gantry Template Framework
|
11 |
Plugin URI: http://www.gantry-framework.org/
|
12 |
Description: This is a Framework to support easily modifiable themes that are very extensible.
|
13 |
+
Version: 4.0.8
|
14 |
Author: RocketTheme
|
15 |
Author URI: http://www.rockettheme.com/wordpress
|
16 |
License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
gizmos/buddypress.php
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version $Id: buddypress.php 59361 2013-03-13 23:10:27Z btowles $
|
4 |
+
* @author RocketTheme http://www.rockettheme.com
|
5 |
+
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
+
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
7 |
+
*/
|
8 |
+
|
9 |
+
defined( 'GANTRY_VERSION' ) or die();
|
10 |
+
|
11 |
+
gantry_import( 'core.gantrygizmo' );
|
12 |
+
|
13 |
+
/**
|
14 |
+
* @package gantry
|
15 |
+
* @subpackage features
|
16 |
+
*/
|
17 |
+
class GantryGizmoBuddyPress extends GantryGizmo {
|
18 |
+
|
19 |
+
var $_name = 'buddypress';
|
20 |
+
|
21 |
+
function isEnabled() {
|
22 |
+
/** @global $gantry Gantry */
|
23 |
+
global $gantry, $bp;
|
24 |
+
|
25 |
+
if( !function_exists( 'is_plugin_active' ) || !function_exists( 'is_plugin_active_for_network' ) )
|
26 |
+
require_once( ABSPATH . 'wp-admin/includes/plugin.php' );
|
27 |
+
|
28 |
+
// check if BuddyPress is active and it's at least 1.8
|
29 |
+
if( $bp === null || version_compare( $bp->version, '1.8', '<' ) ) {
|
30 |
+
return false;
|
31 |
+
}
|
32 |
+
|
33 |
+
// check if the deprecated Gantry BuddyPress plugin is installed and active
|
34 |
+
if( is_plugin_active( 'gantry-buddypress/loader.php' ) || is_plugin_active_for_network( 'gantry-buddypress/loader.php' ) ) {
|
35 |
+
add_action( 'admin_notices', array( $this, 'admin_nag' ) );
|
36 |
+
return false;
|
37 |
+
}
|
38 |
+
|
39 |
+
// stop loading BuddyPress Template Pack plugin
|
40 |
+
remove_action( 'bp_include', 'bp_tpack_loader' );
|
41 |
+
|
42 |
+
// add new locations for the possible BuddyPress template files
|
43 |
+
add_action( 'after_setup_theme', array( $this, 'add_file_paths' ) );
|
44 |
+
|
45 |
+
// add BuddyPress component types to the WP_Query
|
46 |
+
add_action( 'parse_query', array( $this, 'bp_query_add_components' ) );
|
47 |
+
|
48 |
+
// add BuddyPress component types to the Assignements tab in the admin
|
49 |
+
add_action( 'gantry_admin_page_types', array( $this, 'bp_add_page_types_to_admin' ) );
|
50 |
+
|
51 |
+
return true;
|
52 |
+
}
|
53 |
+
|
54 |
+
function init() {
|
55 |
+
/** @global $gantry Gantry */
|
56 |
+
global $gantry;
|
57 |
+
|
58 |
+
// check for active BuddyPress component and skip the Gantry Title gizmo if needed
|
59 |
+
add_filter( 'gantry_title_gizmo', array( $this, 'check_component_title' ) );
|
60 |
+
|
61 |
+
// add the blog name to the BuddyPress modified page title
|
62 |
+
add_filter( 'bp_modify_page_title', array( $this, 'add_title_blog_name' ), 10, 3 );
|
63 |
+
}
|
64 |
+
|
65 |
+
function query_parsed_init() {
|
66 |
+
/** @global $gantry Gantry */
|
67 |
+
global $gantry;
|
68 |
+
|
69 |
+
// load the template files from the proper Gantry location
|
70 |
+
add_filter( 'gantry_mainbody_include', array( $this, 'page_location' ) );
|
71 |
+
}
|
72 |
+
|
73 |
+
// load the template files from the proper Gantry location
|
74 |
+
function page_location( $tmpl ) {
|
75 |
+
global $gantry;
|
76 |
+
|
77 |
+
if( bp_current_component() ) {
|
78 |
+
foreach( array( 'plugin-buddypress.php', 'buddypress.php', 'community.php', 'generic.php', 'page.php', 'single.php' ) as $template ) {
|
79 |
+
foreach ($gantry->_contentTypePaths as $file_path) {
|
80 |
+
if( file_exists( $file_path . '/' . $template ) ) return $file_path . '/' . $template;
|
81 |
+
}
|
82 |
+
}
|
83 |
+
}
|
84 |
+
|
85 |
+
return $tmpl;
|
86 |
+
}
|
87 |
+
|
88 |
+
// add new locations for the possible BuddyPress template files
|
89 |
+
function add_file_paths() {
|
90 |
+
global $gantry;
|
91 |
+
|
92 |
+
$gantry->addContentTypePath( $gantry->templatePath . '/buddypress' );
|
93 |
+
$gantry->addContentTypePath( $gantry->templatePath . '/community' );
|
94 |
+
}
|
95 |
+
|
96 |
+
// add BuddyPress component types to the WP_Query
|
97 |
+
function bp_query_add_components() {
|
98 |
+
global $wp_query, $bp;
|
99 |
+
|
100 |
+
if ( bp_current_component() ) {
|
101 |
+
$component = bp_current_component();
|
102 |
+
$component = 'is_bp_' . $component;
|
103 |
+
$wp_query->$component = true;
|
104 |
+
}
|
105 |
+
}
|
106 |
+
|
107 |
+
// add BuddyPress component types to the Assignements tab in the admin
|
108 |
+
function bp_add_page_types_to_admin( $page_types ) {
|
109 |
+
$bp_page_types = array(
|
110 |
+
'bp_blogs' => _g( 'BuddyPress Blogs Component' ),
|
111 |
+
'bp_activity' => _g( 'BuddyPress Activity Component' ),
|
112 |
+
'bp_profile' => _g( 'BuddyPress Profile Component' ),
|
113 |
+
'bp_messages' => _g( 'BuddyPress Messages Component' ),
|
114 |
+
'bp_friends' => _g( 'BuddyPress Friends Component' ),
|
115 |
+
'bp_members' => _g( 'BuddyPress Members Component' ),
|
116 |
+
'bp_groups' => _g( 'BuddyPress Groups Component' ),
|
117 |
+
'bp_forums' => _g( 'BuddyPress Forums Component' ),
|
118 |
+
'bp_settings' => _g( 'BuddyPress Settings Component' )
|
119 |
+
);
|
120 |
+
|
121 |
+
$page_types = $page_types + $bp_page_types;
|
122 |
+
return $page_types;
|
123 |
+
}
|
124 |
+
|
125 |
+
// check for active BuddyPress component and skip the Gantry Title gizmo if needed
|
126 |
+
function check_component_title( $title ) {
|
127 |
+
global $gantry;
|
128 |
+
|
129 |
+
if( bp_current_component() ) {
|
130 |
+
return;
|
131 |
+
} else {
|
132 |
+
return $title;
|
133 |
+
}
|
134 |
+
}
|
135 |
+
|
136 |
+
// add the blog name to the BuddyPress modified page title
|
137 |
+
function add_title_blog_name( $title, $pagename, $sep ) {
|
138 |
+
global $gantry;
|
139 |
+
|
140 |
+
$title .= get_bloginfo( 'name' );
|
141 |
+
return $title;
|
142 |
+
}
|
143 |
+
|
144 |
+
// admin nag displayed when the deprecated Gantry BuddyPress plugin is present and active
|
145 |
+
function admin_nag() {
|
146 |
+
$msg = _g( 'The Gantry BuddyPress plugin is no longer required starting with Gantry Framework 4.0.8. You will need to deactivate and/or remove it for this new built-in support to work. This change affects BuddyPress 1.8+.' );
|
147 |
+
echo '<div class="error"><p>' . $msg . '</p></div>';
|
148 |
+
}
|
149 |
+
}
|
gizmos/compatibility.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @version $Id: compatibility.php
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
@@ -95,6 +95,14 @@ class GantryGizmoCompatibility extends GantryGizmo
|
|
95 |
add_action( 'template_redirect', array( 'Cart66', 'enqueueScripts' ) );
|
96 |
}
|
97 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
}
|
99 |
|
100 |
function query_parsed_init()
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @version $Id: compatibility.php 59947 2013-10-01 17:38:04Z jakub $
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
95 |
add_action( 'template_redirect', array( 'Cart66', 'enqueueScripts' ) );
|
96 |
}
|
97 |
|
98 |
+
/**
|
99 |
+
* NextGen Gallery Compatibility
|
100 |
+
*/
|
101 |
+
|
102 |
+
if( class_exists( 'C_Photocrati_Resource_Manager' ) ) {
|
103 |
+
remove_action( 'init', array( C_Photocrati_Resource_Manager::$instance, 'start_buffer' ), 1 );
|
104 |
+
}
|
105 |
+
|
106 |
}
|
107 |
|
108 |
function query_parsed_init()
|
languages/gantry-en_US.mo
CHANGED
Binary file
|
languages/gantry-en_US.po
CHANGED
@@ -8,8 +8,9 @@ msgstr ""
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
-
"X-Generator: Poedit 1.5.
|
12 |
|
|
|
13 |
msgid "MISSING_MENU_THEME_MESSAGE"
|
14 |
msgstr ""
|
15 |
"In order to get your theme working properly, please go to the <strong>Admin "
|
@@ -199,6 +200,9 @@ msgstr "Show Results"
|
|
199 |
msgid "PAGINATION_SHOW_COUNT"
|
200 |
msgstr "Show Count"
|
201 |
|
|
|
|
|
|
|
202 |
msgid "PAGINATION_SHOW_RESULTS_DESC"
|
203 |
msgstr "Displays the number of current and all available pages."
|
204 |
|
@@ -725,3 +729,109 @@ msgstr "Search View"
|
|
725 |
|
726 |
msgid "SAVE_AS_COPY_SUFFIX"
|
727 |
msgstr "Duplicate Override"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"X-Generator: Poedit 1.5.7\n"
|
12 |
|
13 |
+
# ------------------- ADMIN ------------------- #
|
14 |
msgid "MISSING_MENU_THEME_MESSAGE"
|
15 |
msgstr ""
|
16 |
"In order to get your theme working properly, please go to the <strong>Admin "
|
200 |
msgid "PAGINATION_SHOW_COUNT"
|
201 |
msgstr "Show Count"
|
202 |
|
203 |
+
msgid "PAGINATION_SHOW_COUNT_DESC"
|
204 |
+
msgstr "Displays the number of all available pages"
|
205 |
+
|
206 |
msgid "PAGINATION_SHOW_RESULTS_DESC"
|
207 |
msgstr "Displays the number of current and all available pages."
|
208 |
|
729 |
|
730 |
msgid "SAVE_AS_COPY_SUFFIX"
|
731 |
msgstr "Duplicate Override"
|
732 |
+
|
733 |
+
# ------------------- GIZMOS ------------------- #
|
734 |
+
#: gizmos/buddypress.php:110
|
735 |
+
msgid "BuddyPress Blogs Component"
|
736 |
+
msgstr ""
|
737 |
+
|
738 |
+
#: gizmos/buddypress.php:111
|
739 |
+
msgid "BuddyPress Activity Component"
|
740 |
+
msgstr ""
|
741 |
+
|
742 |
+
#: gizmos/buddypress.php:112
|
743 |
+
msgid "BuddyPress Profile Component"
|
744 |
+
msgstr ""
|
745 |
+
|
746 |
+
#: gizmos/buddypress.php:113
|
747 |
+
msgid "BuddyPress Messages Component"
|
748 |
+
msgstr ""
|
749 |
+
|
750 |
+
#: gizmos/buddypress.php:114
|
751 |
+
msgid "BuddyPress Friends Component"
|
752 |
+
msgstr ""
|
753 |
+
|
754 |
+
#: gizmos/buddypress.php:115
|
755 |
+
msgid "BuddyPress Members Component"
|
756 |
+
msgstr ""
|
757 |
+
|
758 |
+
#: gizmos/buddypress.php:116
|
759 |
+
msgid "BuddyPress Groups Component"
|
760 |
+
msgstr ""
|
761 |
+
|
762 |
+
#: gizmos/buddypress.php:117
|
763 |
+
msgid "BuddyPress Forums Component"
|
764 |
+
msgstr ""
|
765 |
+
|
766 |
+
#: gizmos/buddypress.php:118
|
767 |
+
msgid "BuddyPress Settings Component"
|
768 |
+
msgstr ""
|
769 |
+
|
770 |
+
#: gizmos/buddypress.php:146
|
771 |
+
msgid ""
|
772 |
+
"The Gantry BuddyPress plugin is no longer required starting with Gantry "
|
773 |
+
"Framework 4.0.8. You will need to deactivate and/or remove it for this new "
|
774 |
+
"built-in support to work. This change affects BuddyPress 1.8+."
|
775 |
+
msgstr ""
|
776 |
+
|
777 |
+
# ------------------- WIDGETS ------------------- #
|
778 |
+
#: widgets/breadcrumbs.php:38
|
779 |
+
msgid "Home"
|
780 |
+
msgstr ""
|
781 |
+
|
782 |
+
#: widgets/archives.php:59
|
783 |
+
msgid "Select Date"
|
784 |
+
msgstr ""
|
785 |
+
|
786 |
+
#: widgets/meta.php:63
|
787 |
+
msgid "Logout"
|
788 |
+
msgstr ""
|
789 |
+
|
790 |
+
#: widgets/meta.php:67
|
791 |
+
msgid "Login"
|
792 |
+
msgstr ""
|
793 |
+
|
794 |
+
#: widgets/meta.php:71
|
795 |
+
msgid "Syndicate this site using RSS 2.0"
|
796 |
+
msgstr ""
|
797 |
+
|
798 |
+
#: widgets/meta.php:71
|
799 |
+
msgid "Entries <abbr title=\"Really Simple Syndication\">RSS</abbr>"
|
800 |
+
msgstr ""
|
801 |
+
|
802 |
+
#: widgets/meta.php:74
|
803 |
+
msgid "The latest comments to all posts in RSS"
|
804 |
+
msgstr ""
|
805 |
+
|
806 |
+
#: widgets/meta.php:74
|
807 |
+
msgid "Comments <abbr title=\"Really Simple Syndication\">RSS</abbr>"
|
808 |
+
msgstr ""
|
809 |
+
|
810 |
+
#: widgets/meta.php:77
|
811 |
+
msgid ""
|
812 |
+
"Powered by WordPress, state-of-the-art semantic personal publishing platform."
|
813 |
+
msgstr ""
|
814 |
+
|
815 |
+
#: widgets/loginform.php:50
|
816 |
+
msgid "User Name"
|
817 |
+
msgstr ""
|
818 |
+
|
819 |
+
#: widgets/loginform.php:54
|
820 |
+
msgid "Password"
|
821 |
+
msgstr ""
|
822 |
+
|
823 |
+
#: widgets/loginform.php:58
|
824 |
+
msgid "Remember Me"
|
825 |
+
msgstr ""
|
826 |
+
|
827 |
+
#: widgets/loginform.php:61
|
828 |
+
msgid "Log in"
|
829 |
+
msgstr ""
|
830 |
+
|
831 |
+
#: widgets/loginform.php:65
|
832 |
+
msgid "Forgot your password?"
|
833 |
+
msgstr ""
|
834 |
+
|
835 |
+
#: widgets/loginform.php:69
|
836 |
+
msgid "Register"
|
837 |
+
msgstr ""
|
languages/gantry.pot
CHANGED
@@ -10,6 +10,8 @@ msgstr ""
|
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
"X-Generator: Poedit 1.5.5\n"
|
12 |
|
|
|
|
|
13 |
msgid "MISSING_MENU_THEME_MESSAGE"
|
14 |
msgstr "In order to get your theme working properly, please go to the <strong>Admin Dashboard → Appearance → Widgets</strong> and re-save all of your <strong>Gantry Menu</strong> widget instances."
|
15 |
|
@@ -196,6 +198,9 @@ msgstr "Show Results"
|
|
196 |
msgid "PAGINATION_SHOW_COUNT"
|
197 |
msgstr "Show Count"
|
198 |
|
|
|
|
|
|
|
199 |
msgid "PAGINATION_SHOW_RESULTS_DESC"
|
200 |
msgstr "Displays the number of current and all available pages."
|
201 |
|
@@ -722,3 +727,107 @@ msgstr "Search View"
|
|
722 |
|
723 |
msgid "SAVE_AS_COPY_SUFFIX"
|
724 |
msgstr "Duplicate Override"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
11 |
"X-Generator: Poedit 1.5.5\n"
|
12 |
|
13 |
+
# ------------------- ADMIN ------------------- #
|
14 |
+
|
15 |
msgid "MISSING_MENU_THEME_MESSAGE"
|
16 |
msgstr "In order to get your theme working properly, please go to the <strong>Admin Dashboard → Appearance → Widgets</strong> and re-save all of your <strong>Gantry Menu</strong> widget instances."
|
17 |
|
198 |
msgid "PAGINATION_SHOW_COUNT"
|
199 |
msgstr "Show Count"
|
200 |
|
201 |
+
msgid "PAGINATION_SHOW_COUNT_DESC"
|
202 |
+
msgstr "Displays the number of all available pages"
|
203 |
+
|
204 |
msgid "PAGINATION_SHOW_RESULTS_DESC"
|
205 |
msgstr "Displays the number of current and all available pages."
|
206 |
|
727 |
|
728 |
msgid "SAVE_AS_COPY_SUFFIX"
|
729 |
msgstr "Duplicate Override"
|
730 |
+
|
731 |
+
# ------------------- GIZMOS ------------------- #
|
732 |
+
|
733 |
+
#: gizmos/buddypress.php:110
|
734 |
+
msgid "BuddyPress Blogs Component"
|
735 |
+
msgstr ""
|
736 |
+
|
737 |
+
#: gizmos/buddypress.php:111
|
738 |
+
msgid "BuddyPress Activity Component"
|
739 |
+
msgstr ""
|
740 |
+
|
741 |
+
#: gizmos/buddypress.php:112
|
742 |
+
msgid "BuddyPress Profile Component"
|
743 |
+
msgstr ""
|
744 |
+
|
745 |
+
#: gizmos/buddypress.php:113
|
746 |
+
msgid "BuddyPress Messages Component"
|
747 |
+
msgstr ""
|
748 |
+
|
749 |
+
#: gizmos/buddypress.php:114
|
750 |
+
msgid "BuddyPress Friends Component"
|
751 |
+
msgstr ""
|
752 |
+
|
753 |
+
#: gizmos/buddypress.php:115
|
754 |
+
msgid "BuddyPress Members Component"
|
755 |
+
msgstr ""
|
756 |
+
|
757 |
+
#: gizmos/buddypress.php:116
|
758 |
+
msgid "BuddyPress Groups Component"
|
759 |
+
msgstr ""
|
760 |
+
|
761 |
+
#: gizmos/buddypress.php:117
|
762 |
+
msgid "BuddyPress Forums Component"
|
763 |
+
msgstr ""
|
764 |
+
|
765 |
+
#: gizmos/buddypress.php:118
|
766 |
+
msgid "BuddyPress Settings Component"
|
767 |
+
msgstr ""
|
768 |
+
|
769 |
+
#: gizmos/buddypress.php:146
|
770 |
+
msgid "The Gantry BuddyPress plugin is no longer required starting with Gantry Framework 4.0.8. You will need to deactivate and/or remove it for this new built-in support to work. This change affects BuddyPress 1.8+."
|
771 |
+
msgstr ""
|
772 |
+
|
773 |
+
# ------------------- WIDGETS ------------------- #
|
774 |
+
|
775 |
+
#: widgets/breadcrumbs.php:38
|
776 |
+
msgid "Home"
|
777 |
+
msgstr ""
|
778 |
+
|
779 |
+
#: widgets/archives.php:59
|
780 |
+
msgid "Select Date"
|
781 |
+
msgstr ""
|
782 |
+
|
783 |
+
#: widgets/meta.php:63
|
784 |
+
msgid "Logout"
|
785 |
+
msgstr ""
|
786 |
+
|
787 |
+
#: widgets/meta.php:67
|
788 |
+
msgid "Login"
|
789 |
+
msgstr ""
|
790 |
+
|
791 |
+
#: widgets/meta.php:71
|
792 |
+
msgid "Syndicate this site using RSS 2.0"
|
793 |
+
msgstr ""
|
794 |
+
|
795 |
+
#: widgets/meta.php:71
|
796 |
+
msgid "Entries <abbr title=\"Really Simple Syndication\">RSS</abbr>"
|
797 |
+
msgstr ""
|
798 |
+
|
799 |
+
#: widgets/meta.php:74
|
800 |
+
msgid "The latest comments to all posts in RSS"
|
801 |
+
msgstr ""
|
802 |
+
|
803 |
+
#: widgets/meta.php:74
|
804 |
+
msgid "Comments <abbr title=\"Really Simple Syndication\">RSS</abbr>"
|
805 |
+
msgstr ""
|
806 |
+
|
807 |
+
#: widgets/meta.php:77
|
808 |
+
msgid "Powered by WordPress, state-of-the-art semantic personal publishing platform."
|
809 |
+
msgstr ""
|
810 |
+
|
811 |
+
#: widgets/loginform.php:50
|
812 |
+
msgid "User Name"
|
813 |
+
msgstr ""
|
814 |
+
|
815 |
+
#: widgets/loginform.php:54
|
816 |
+
msgid "Password"
|
817 |
+
msgstr ""
|
818 |
+
|
819 |
+
#: widgets/loginform.php:58
|
820 |
+
msgid "Remember Me"
|
821 |
+
msgstr ""
|
822 |
+
|
823 |
+
#: widgets/loginform.php:61
|
824 |
+
msgid "Log in"
|
825 |
+
msgstr ""
|
826 |
+
|
827 |
+
#: widgets/loginform.php:65
|
828 |
+
msgid "Forgot your password?"
|
829 |
+
msgstr ""
|
830 |
+
|
831 |
+
#: widgets/loginform.php:69
|
832 |
+
msgid "Register"
|
833 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Gantry Template Framework ===
|
2 |
Contributors: gantry
|
3 |
Author URI: http://gantry-framework.org
|
4 |
-
Tags: gantry, framework, template, theme, widgets, flexible, extensible, configurable, 960px, grid, columns, powerful
|
5 |
Requires at least: 3.2
|
6 |
-
Tested up to: 3.6
|
7 |
-
Stable tag: 4.0.
|
8 |
|
9 |
Gantry is a comprehensive set of building blocks to enable the rapid development and realization of a design into a flexible and powerful web platform
|
10 |
|
@@ -85,6 +85,14 @@ Once you downloaded and installed Gantry Framework plugin, please download also
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
= 4.0.7 =
|
89 |
* Added support for Font Awesome 3.2.1
|
90 |
* Added in performance improvement for Menus in the Rules Engine (thanks David Fritsch)
|
@@ -337,6 +345,9 @@ Once you downloaded and installed Gantry Framework plugin, please download also
|
|
337 |
|
338 |
== Upgrade Notice ==
|
339 |
|
|
|
|
|
|
|
340 |
= 4.0.7 =
|
341 |
Please remember to create a full site backup (files + database) before performing update.
|
342 |
|
1 |
=== Gantry Template Framework ===
|
2 |
Contributors: gantry
|
3 |
Author URI: http://gantry-framework.org
|
4 |
+
Tags: gantry, framework, template, theme, widgets, flexible, extensible, configurable, 960px, grid, columns, powerful, buddypress
|
5 |
Requires at least: 3.2
|
6 |
+
Tested up to: 3.6.1
|
7 |
+
Stable tag: 4.0.8
|
8 |
|
9 |
Gantry is a comprehensive set of building blocks to enable the rapid development and realization of a design into a flexible and powerful web platform
|
10 |
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 4.0.8 =
|
89 |
+
* Added core support for the BuddyPress 1.8+ - Gantry BuddyPress plugin is no longer required and has been deprecated
|
90 |
+
* Fix for the Gizmo options not being saved/loaded in the Presets of the theme
|
91 |
+
* Compatibility fix for the NextGen Gallery plugin
|
92 |
+
* Fixed rendering of the dollar sign ($) in the site title
|
93 |
+
* You can now use the %YEAR% and %year% in the Gantry Copyright widget to display the current year
|
94 |
+
* Fix for the bad path to the font files of the FontAwesome 3.2.1
|
95 |
+
|
96 |
= 4.0.7 =
|
97 |
* Added support for Font Awesome 3.2.1
|
98 |
* Added in performance improvement for Menus in the Rules Engine (thanks David Fritsch)
|
345 |
|
346 |
== Upgrade Notice ==
|
347 |
|
348 |
+
= 4.0.8 =
|
349 |
+
Please remember to create a full site backup (files + database) before performing update.
|
350 |
+
|
351 |
= 4.0.7 =
|
352 |
Please remember to create a full site backup (files + database) before performing update.
|
353 |
|
widgets/breadcrumbs.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @version 4.0.
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @version 4.0.8 October 3, 2013
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
widgets/copyright.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @version $Id: copyright.php
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
@@ -35,14 +35,24 @@ class GantryWidgetCopyright extends GantryWidget
|
|
35 |
parent::render_widget_open($args, $instance);
|
36 |
}
|
37 |
|
38 |
-
function render($args, $instance)
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
ob_start();
|
43 |
?>
|
|
|
44 |
<a href="http://www.rockettheme.com/" title="rockettheme.com" id="rocket"></a>
|
45 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
<?php
|
47 |
echo ob_get_clean();
|
48 |
}
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @version $Id: copyright.php 59939 2013-09-27 11:44:21Z jakub $
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
35 |
parent::render_widget_open($args, $instance);
|
36 |
}
|
37 |
|
38 |
+
function render($args, $instance) {
|
39 |
+
/** @global $gantry Gantry */
|
40 |
+
global $gantry;
|
41 |
+
|
42 |
+
ob_start();
|
43 |
?>
|
44 |
+
|
45 |
<a href="http://www.rockettheme.com/" title="rockettheme.com" id="rocket"></a>
|
46 |
+
<?php
|
47 |
+
|
48 |
+
$text = $instance['text'];
|
49 |
+
$text = str_replace( '%YEAR%', date( 'Y' ), $text );
|
50 |
+
$text = str_replace( '%year%', date( 'y' ), $text );
|
51 |
+
|
52 |
+
echo $text;
|
53 |
+
|
54 |
+
?>
|
55 |
+
|
56 |
<?php
|
57 |
echo ob_get_clean();
|
58 |
}
|
widgets/copyright.xml
CHANGED
@@ -1,15 +1,7 @@
|
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
-
<!-- $Id: copyright.xml
|
3 |
<form>
|
4 |
<fieldset name="widget">
|
5 |
-
<field
|
6 |
-
name="text"
|
7 |
-
type="text"
|
8 |
-
label="Text"
|
9 |
-
description="Text"
|
10 |
-
class="widefat"
|
11 |
-
size="30"
|
12 |
-
default="Designed by RocketTheme"
|
13 |
-
readonly="false"/>
|
14 |
</fieldset>
|
15 |
</form>
|
1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
+
<!-- $Id: copyright.xml 59939 2013-09-27 11:44:21Z jakub $ -->
|
3 |
<form>
|
4 |
<fieldset name="widget">
|
5 |
+
<field name="text" type="text" label="Text" description="Text" class="widefat" size="30" default="Designed by RocketTheme" readonly="false" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
</fieldset>
|
7 |
</form>
|
widgets/loginbutton.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @version 4.0.
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @version 4.0.8 October 3, 2013
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
widgets/loginform.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* @version 4.0.
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|
1 |
<?php
|
2 |
/**
|
3 |
+
* @version 4.0.8 October 3, 2013
|
4 |
* @author RocketTheme http://www.rockettheme.com
|
5 |
* @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
|
6 |
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
|