Anonymous avatar Anonymous committed 5aa967c

Add a class to the share-this paragraph.

Comments (0)

Files changed (3)

 .navbar, .menu_floaty, .menu_floaty .sub_menu, .banner,
 .leading_path, .invisible, .page_toc, .wishlist_notice, .lang_switch,
-.bt_nav, img[alt="Back to my Homepage"]
+.bt_nav, img[alt="Back to my Homepage"], p.share
 { 
     display: none;
 }

lib/rest-of-template.wml

 
 <latemp_after_body>
 # <if "<get-var disable_disqus />" "" "<disqus_thread />" />
-<share_this_button /><br />
+<share_this_button />
 # <google_adsense_code_after_text />
 ;;; For the div class=hebrew.
 <if "<get-var rtl_layout />" "</div>" />

lib/share-this.wml

 
 <define-tag share_this_button>
 # This is the addtoany.com button.
-<p>
-<a href="http://www.addtoany.com/share_save?linkurl=<: use CGI; use URI::Escape; print CGI::escapeHTML(uri_escape(MyNavData::get_hosts()->{$nav_bar->current_host()}->{'base_url'} . $nav_bar->path_info()));:>&amp;linkname="><img src="$(ROOT)/images/share_save_171_16.png" width="171" height="16" class="bless" alt="Share/Bookmark" /></a>
+<p class="share">
+<a href="http://www.addtoany.com/share_save?linkurl=<: use CGI; use URI::Escape; print CGI::escapeHTML(uri_escape(MyNavData::get_hosts()->{$nav_bar->current_host()}->{'base_url'} . $nav_bar->path_info()));:>&amp;linkname="><img src="$(ROOT)/images/share_save_171_16.png" width="171" height="16" class="bless" alt="Share/Bookmark" /></a><br />
 </p>
 # <script src="http://slashdot.org/slashdot-it.js" type="text/javascript"></script>
 </define-tag>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.