- if ($data['_PAGE_'] == Router::$PAGE_LINKLIST) {
- $data['buttons_toolbar'][] = file_get_contents(PluginManager::$PLUGINS_PATH . '/playvideos/playvideos.html');
+ if ($data['_PAGE_'] == TemplatePage::LINKLIST) {
+ $playvideo = array(
+ 'attr' => array(
+ 'href' => '#',
+ 'title' => t('Video player'),
+ 'id' => 'playvideos',
+ ),
+ 'html' => '► '. t('Play Videos')
+ );
+ $data['buttons_toolbar'][] = $playvideo;