Small consistency changes for the embeddable widgets

This commit is contained in:
Albert Santoni 2015-06-10 18:02:25 -04:00
parent 7dafb0e280
commit 7c6f15984d
3 changed files with 4 additions and 4 deletions

View File

@ -81,7 +81,7 @@ $pages = array(
'resource' => 'listenerstat' 'resource' => 'listenerstat'
), ),
array( array(
'label' => _('Widgets'), 'label' => _('Embeddable Widgets'),
'module' => 'default', 'module' => 'default',
'controller' => 'embeddablewidgets', 'controller' => 'embeddablewidgets',
'action' => 'index' 'action' => 'index'

View File

@ -29,8 +29,8 @@ class EmbeddableWidgetsController extends Zend_Controller_Action
} }
if (!$apiEnabled) { if (!$apiEnabled) {
$this->view->weekly_schedule_error_msg = _("To use the embeddable weekly schedule you must:<br><br> $this->view->weekly_schedule_error_msg = _("To use the embeddable weekly schedule widget you must:<br><br>
1. Enable the Public Airtime API under System -> Preferences"); Enable the Public Airtime API under System -> Preferences");
} }
} }
} }

View File

@ -1,5 +1,5 @@
<div id="widget-menu" class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong "> <div id="widget-menu" class="ui-widget ui-widget-content block-shadow simple-formblock clearfix padded-strong ">
<h2><?php echo _("Widgets:"); ?></h2> <h2><?php echo _("Embeddable Widgets"); ?></h2>
<a href="#player-widget">Player</a> <a href="#player-widget">Player</a>
<a href="#weekly-schedule-widget">Weekly Schedule</a> <a href="#weekly-schedule-widget">Weekly Schedule</a>
</div> </div>