Commit 97d05686 authored by japerry's avatar japerry

Issue #2408729 by japerry, DamienMcKenna: Hardcode the last released Panels...

Issue #2408729 by japerry, DamienMcKenna: Hardcode the last released Panels version in the info file
parent 03414915
......@@ -2,6 +2,7 @@ name = Panels
description = Core Panels display functions; provides no external UI, at least one other Panels module should be enabled.
core = 7.x
package = "Panels"
version = PANELS_VERSION
configure = admin/structure/panels
dependencies[] = ctools (>1.5)
files[] = panels.module
......
......@@ -6,7 +6,22 @@
* Core functionality for the Panels engine.
*/
define('PANELS_REQUIRED_CTOOLS_API', '2.0-alpha');
define('PANELS_REQUIRED_CTOOLS_API', '2.0.8');
/**
* The current working panels version.
*
* In a release, it should be 7.x-3.x, which should match what drush make will
* create. In a dev format, it should be 7.x-3.(x+1)-dev, which will allow
* modules depending on new features in panels to depend on panels > 7.x-3.x.
*
* To define a specific version of Panels as a dependency for another module,
* simply include a dependency line in that module's info file, e.g.:
* ; Requires Panels v7.x-3.4 or newer.
* dependencies[] = panels (>=3.4)
*/
define('PANELS_VERSION', '7.x-3.5-dev');
define('PANELS_TITLE_FIXED', 0); // Hide title use to be true/false. So false remains old behavior.
define('PANELS_TITLE_NONE', 1); // And true meant no title.
......@@ -1332,10 +1347,6 @@ function template_preprocess_panels_pane(&$vars) {
$vars['more'] = l($content->more['title'], $content->more['href'], $content->more);
}
if (!empty($content->attributes)) {
$vars['attributes_array'] = array_merge($vars['attributes_array'], $content->attributes);
}
$vars['content'] = !empty($content->content) ? $content->content : '';
}
......
name = Panels In-Place Editor
description = Provide a UI for managing some Panels directly on the frontend, instead of having to use the backend.
package = "Panels"
version = PANELS_VERSION
dependencies[] = panels
core = 7.x
configure = admin/structure/panels
......
name = Mini panels
description = Create mini panels that can be used as blocks by Drupal and panes by other panel modules.
package = "Panels"
version = PANELS_VERSION
dependencies[] = panels
core = 7.x
files[] = plugins/export_ui/panels_mini_ui.class.php
\ No newline at end of file
name = Panel nodes
description = Create nodes that are divided into areas with selectable content.
package = "Panels"
version = PANELS_VERSION
dependencies[] = panels
configure = admin/structure/panels
core = 7.x
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment