Commit: d23388ed50c8fca6d3f20dfd688739d2841d0433 Author: Peter Cowburn <[email protected]> Mon, 24 Jun 2013 22:23:38 +0100 Parents: 286d840b8b13d39b1244d2dd097fc8f5d8ae6ee9 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=d23388ed50c8fca6d3f20dfd688739d2841d0433 Log: add uservoice widget to beta site Changed paths: M include/header.inc A include/uservoice.inc Diff: diff --git a/include/header.inc b/include/header.inc index 7f548a8..554c864 100644 --- a/include/header.inc +++ b/include/header.inc @@ -267,5 +267,8 @@ if (isset($shortname) && $shortname) { </ul> </aside> <?php endif; ?> + +<?php include 'uservoice.inc' ?> + <section class="layout-content <?php echo $curr ?>"> diff --git a/include/uservoice.inc b/include/uservoice.inc new file mode 100644 index 0000000..eaee2b0 --- /dev/null +++ b/include/uservoice.inc @@ -0,0 +1,18 @@ +<!-- UserVoice JavaScript SDK (only needed once on a page) --> +<script>(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/zDo1PI3X0lzE9SaQxC3LQ.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()</script> + +<!-- A tab to launch the Classic Widget --> +<script> +UserVoice = window.UserVoice || []; +UserVoice.push(['showTab', 'classic_widget', { + mode: 'feedback', + primary_color: '#9999cc', + link_color: '#3f438d', + forum_id: 211823, + feedback_tab_name: 'Give feedback', + tab_label: 'Feedback & Ideas', + tab_color: '#666699', + tab_position: 'middle-right', + tab_inverted: false +}]); +</script> \ No newline at end of file -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
