Skip to content

Commit

Permalink
Linked features from dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
rgalindo05 authored and danielbachhuber committed Mar 18, 2013
1 parent fd52687 commit d0dbfb9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion modules/calendar/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ function __construct() {

$this->module_url = $this->get_module_url( __FILE__ );
// Register the module with Edit Flow
$cal_link = 'index.php?page=calendar';
$args = array(
'title' => __( 'Calendar', 'edit-flow' ),
'short_description' => __( 'View upcoming content in a customizable calendar.', 'edit-flow' ),
'short_description' => sprintf( 'View upcoming content in a <a href="%s">customizable calendar</a>.', $cal_link, 'edit-flow' ),
'extended_description' => __( 'Edit Flow’s calendar lets you see your posts over a customizable date range. Filter by status or click on the post title to see its details. Drag and drop posts between days to change their publication date date.', 'edit-flow' ),
'module_url' => $this->module_url,
'img_url' => $this->module_url . 'lib/calendar_s128.png',
Expand Down
2 changes: 1 addition & 1 deletion modules/settings/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function print_modules() {
echo '<img src="' . esc_url( $mod_data->img_url ) . '" height="24px" width="24px" class="float-right module-icon" />';
echo '<form method="get" action="' . get_admin_url( null, 'options.php' ) . '">';
echo '<h4>' . esc_html( $mod_data->title ) . '</h4>';
echo '<p>' . esc_html( $mod_data->short_description ) . '</p>';
echo '<p>' . wp_kses($mod_data->short_description, 'a') . '</p>';
echo '<p class="edit-flow-module-actions">';
if ( $mod_data->configure_page_cb ) {
$configure_url = add_query_arg( 'page', $mod_data->settings_slug, get_admin_url( null, 'admin.php' ) );
Expand Down
3 changes: 2 additions & 1 deletion modules/story-budget/story-budget.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,10 @@ function __construct() {

$this->module_url = $this->get_module_url( __FILE__ );
// Register the module with Edit Flow
$story_link = 'index.php?page=story-budget';
$args = array(
'title' => __( 'Story Budget', 'edit-flow' ),
'short_description' => __( 'View the status of all your content at a glance.', 'edit-flow' ),
'short_description' => sprintf( 'View the status of all your content <a href="%s">at a glance</a>.', $story_link, 'edit-flow' ),
'extended_description' => __( 'Use the story budget to see how content on your site is progressing. Filter by specific categories or date ranges to see details about each post in progress.', 'edit-flow' ),
'module_url' => $this->module_url,
'img_url' => $this->module_url . 'lib/story_budget_s128.png',
Expand Down

0 comments on commit d0dbfb9

Please sign in to comment.