/[drupal]/contributions/modules/og_joinrole/og_joinrole.js
ViewVC logotype

Contents of /contributions/modules/og_joinrole/og_joinrole.js

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download) (as text)
Wed Apr 4 12:59:16 2007 UTC (2 years, 7 months ago) by ultimike
Branch: MAIN
CVS Tags: HEAD
Branch point for: DRUPAL-6--1
File MIME type: text/javascript
Initial development release of OG Join Role
1 // $Id$
2
3 if (Drupal.jsEnabled) {
4 $(document).ready(function(){
5 //----- replaces any subscribe links
6 theparent = $("a[@href*=og/subscribe]").parent();
7 theparent.empty();
8 theparent.append(og_joinrole_replacementtext);
9
10 //----- replaces any "you must register/login in order..." text
11 theli = $("div[@id^=block-og] li").contains("in order to post into this group");
12 theli.empty();
13 theli.append(og_joinrole_replacementtext);
14 });
15 }

  ViewVC Help
Powered by ViewVC 1.1.2