Guest User

Untitled

a guest
Mar 20th, 2014
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.98 KB | None | 0 0
  1.  
  2. $text  = '<h1>' . t('Add POWr Social Media Icons to your site and edit right in the page.') . '</h1>';
  3. $text .= '<br />';
  4. $text .= '<h1>' . t('<a target="_blank" href="@tute-url">Full tutorial here.</a>', array('@tute-url' => 'http://www.powr.io/tutorials/how-to-add-social-media-icons-plugin-to-your-drupal-site')) . '</h1>';
  5. $text .= '<br />';
  6. $text .= '<h1>' . t('How to install:') . '</h1>';
  7. $text .= '<ol>';
  8. $text .= '<li>';
  9. $text .= t('Enable the POWr Social Media Icons Module.');
  10. $text .= '<i>' . t('Note: you may need to clear your caches after installing: Configuration->Development->Clear All Caches.') . '</i>';
  11. $text .= '</li><li>';
  12. $text .= '<strong>' . t('To use as a block: ') . '</strong>';
  13. $text .= t('visit %structure -> %blocks and drag the %POWr to your desired block.', array(
  14.             '%structure' => t('Structure'),
  15.             '%POWr' => 'POWr Social Media Icons',
  16.             '%blocks' => t('Blocks'),
  17.             ));
  18. $text .= '</li><li>';
  19. $text .= "<b>" . t('To use within ANY post, article, or other content: ') . "</b> " . t('simply write the Shortcode in any text:') . "<b>[<i></i>powr-social-media-icons label=" . '"' . "your label" . '"' . "]</b>. " . t('You also have instant access to all other POWr plugins, full list at') . " <a href='http://www.powr.io' target='_blank'>POWr.io</a>";
  20. $text .= '</li><li>';
  21. $text .= t('View your site and your Social Media Icons will appear right in the page. Click the gears icon and you can customize right in the page.');
  22. $text .= '</li>';
  23. $text .= '</ol>';
  24. $text .= '<br />';
  25. $text .= '<h1>' . t('Examples') . ':</h1>';
  26. $text .= '<img src="https://s3-us-west-1.amazonaws.com/powr/plugins/socialMediaIcons/screenshot-1.jpg" style="height:300px;" />';
  27. $text .= '<img src="https://s3-us-west-1.amazonaws.com/powr/plugins/socialMediaIcons/screenshot-2.jpg" style="height:300px;" />';
  28. $text .= '<img src="https://s3-us-west-1.amazonaws.com/powr/plugins/socialMediaIcons/screenshot-3.jpg" style="height:300px;" />';
  29. return $text;
Advertisement
Add Comment
Please, Sign In to add comment