Software Freedom Law Center

Changeset 81

Show
Ignore:
Timestamp:
08/27/07 11:55:07 (10 months ago)
Author:
orion
Message:

live version as of now

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/email-submission/email.html

    r76 r81  
    7272<p>Send comments on the GFDL draft to: <a href="mailto:gfdl-comments@gplv3.fsf.org">gfdl-comments at gplv3.fsf.org</a></p> 
    7373<p>Send comments on the GSFDL draft to: <a href="mailto:gsfdl-comments@gplv3.fsf.org">gsfdl-comments at gplv3.fsf.org</a></p> 
     74<p>Send comments on the AGPL draft to: <a href="mailto:agpl-comments@gplv3.fsf.org">agpl-comments at gplv3.fsf.org</a></p> 
    7475</div> 
    7576</html> 
  • trunk/rtNoAuth/changeshown.html

    r69 r81  
    9494<OPTION VALUE="Drafter">Drafters' comments</OPTION> 
    9595% } 
     96%# committee queues: A->8182, B->8183, C->8184, D->8185, T->8186 [for testing] 
     97%    foreach my $id ("CommitteeA","CommitteeB","CommitteeC","CommitteeD","CommitteeT") { 
     98%       $drafterQ->Load($id); 
     99%       if ($drafterQ->CurrentUserHasRight('CreateTicket')) { 
     100<OPTION VALUE="<% $id %>"><% $id %></OPTION> 
     101%       } 
     102%    } 
     103 
    96104</SELECT> 
    97105</td></tr> 
     
    197205</td> 
    198206<td> 
    199 <input disabled name="ValueOf&#39;CF.NoteUrl&#39;" size="20" value="gplv3-draft-1"> 
     207<input name="ValueOf&#39;CF.NoteUrl&#39;" size="20" value="<% $filename %>"> 
    200208</td></tr> 
    201209 
    202210<input type="hidden" NAME="&#39;CF.NoteUrl&#39;Op" VALUE="LIKE"> 
    203 <input type="hidden" name="ValueOf&#39;CF.NoteUrl&#39;" value="gplv3-draft-1"
     211<!-- <input type="hidden" name="ValueOf&#39;CF.NoteUrl&#39;" value="<% $filename %>"> --
    204212 
    205213 
     
    10201028# {{{ Show the results, if we were asked. 
    10211029if ( $ARGS{"DoSearch"} ) { 
     1030if ($came_from !~ m#^/comment#) { $came_from = "/comments/$came_from"; } 
    10221031my $redirurl = "$came_from?Query=$Query&Order=$Order&OrderBy=$OrderBy&Rows=$RowsPerPage"; 
    10231032   $m->redirect($redirurl); 
     
    10561065$Delete => 1 
    10571066$NewQuery => 1 
     1067$filename => undef 
    10581068</%ARGS> 
    10591069 
  • trunk/rtNoAuth/getannotations-devel.html

    r69 r81  
    7272 
    7373($CurrentUser, $resp, $name) = getUser("foo"); 
    74 print STDERR "Currentuser $CurrentUser, $resp\n"; 
     74print STDERR "Currentuser ".$CurrentUser->Name.", $resp\n"; 
    7575 
    7676my $drafter = ''; 
    7777my $DrafterQueue = RT::Queue->new($CurrentUser); 
    7878$DrafterQueue->Load('Drafter'); 
    79 if ($DrafterQueue->CurrentUserHasRight('SeeQueue')) { 
     79if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 
    8080  $drafter = "drafter"; 
    8181} 
     82else { 
     83# committee queues: A->8182, B->8183, C->8184, D->8185, T->8186 [for testing] 
     84    foreach my $id ("CommitteeA","CommitteeB","CommitteeC","CommitteeD","CommitteeT") { 
     85        $DrafterQueue->Load($id); 
     86        if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 
     87            $drafter = "$id"; 
     88        } 
     89    } 
     90} 
     91 
    8292 
    8393$r->content_type('text/xml'); 
  • trunk/rtNoAuth/getannotations.html

    r69 r81  
    7272 
    7373($CurrentUser, $resp, $name) = getUser("foo"); 
    74 print STDERR "Currentuser $CurrentUser, $resp\n"; 
     74print STDERR "Currentuser ".$CurrentUser->Name.", $resp\n"; 
    7575 
    7676my $drafter = ''; 
    7777my $DrafterQueue = RT::Queue->new($CurrentUser); 
    7878$DrafterQueue->Load('Drafter'); 
    79 if ($DrafterQueue->CurrentUserHasRight('SeeQueue')) { 
     79if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 
    8080  $drafter = "drafter"; 
    8181} 
     82else { 
     83# committee queues: A->8182, B->8183, C->8184, D->8185, T->8186 [for testing] 
     84    foreach my $id ("CommitteeA","CommitteeB","CommitteeC","CommitteeD","CommitteeT") { 
     85        $DrafterQueue->Load($id); 
     86        if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 
     87            $drafter = "$id"; 
     88        } 
     89    } 
     90} 
     91 
    8292 
    8393$r->content_type('text/xml'); 
  • trunk/rtNoAuth/readsay.html

    r69 r81  
    6464%   if ($Tickets->CountAll() > $Rows) { 
    6565%       if ($StartAt > 1 ) { 
    66       <a href="/comments/rt/readsay.html?filename=<% $filename %>&Query=<% $ARGS{'Query'} |n %>&amp;Rows=<%$Rows%>&amp;StartAt=<% (($StartAt - $Rows) < 0) ? 1 : ($StartAt - $Rows) |n%>">prev <% $Rows %></a> 
     66      <a href="/comments/rt/readsay.html?filename=<% $filename %>&Query=<% $ARGS{'Query'} |n %>&amp;Rows=<%$Rows%>&amp;StartAt=<% (($StartAt - $Rows) < 0) ? 1 : ($StartAt - $Rows) |n%>&Order=<% $Order %>">prev <% $Rows %></a> 
    6767%       } 
    6868%   if (($Tickets->CountAll() > $Rows) && ($Tickets->CountAll() < $StartAt + $Rows)) { 
     
    7070%   } 
    7171%   if ($Tickets->CountAll() > $StartAt + $Rows) { 
    72          <a href="/comments/rt/readsay.html?filename=<% $filename %>&Query=<% $ARGS{'Query'} |n %>&amp;Rows=<%$Rows%>&amp;StartAt=<% $StartAt + $Rows %>">next <% $Rows %></a> 
     72         <a href="/comments/rt/readsay.html?filename=<% $filename %>&Query=<% $ARGS{'Query'} |n %>&amp;Rows=<%$Rows%>&amp;StartAt=<% $StartAt + $Rows %>&Order=<% $Order %>">next <% $Rows %></a> 
    7373%   } 
    7474%} 
     
    9898% 
    9999% while (my $item = $Tickets ? $Tickets->Next : $Ticket) { 
    100 % my $showactions = $Tickets ? 0 : 1; 
     100 
     101# DISABLES ADDITIONAL ACTIONS FOR DRAFTERS 
     102 
     103% my $showactions = ($Tickets || !$resp) ? 0 : 1; 
    101104<% displayTicket(\$item,$showactions,0) %> 
    102105% $Ticket = ''; 
     
    253256% } 
    254257 <br> 
    255 %  if ($resp == 1) { 
     258%  if (($resp == 1) && ($item->CreatorObj->Name ne "ratiodoc")) { 
    256259        <input type=hidden name="UpdateType" value="public"> 
    257260        <span class="TktLabel">Add comments:</span> <br/> 
     
    277280use CGI qw/:standard/; 
    278281use HTML::Scrubber; 
    279 our $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br ] ] ); 
     282use DateTime; 
     283 
     284our $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br q blockquote ] ] ); 
    280285require "/var/www/stet/stetsubs.pl"; 
    281286our $issuequeue = 5;  
     
    285290my ($pass, $agr_vals, $thing); 
    286291($CurrentUser, $resp, $name) = getUser("foo"); 
     292 
     293 
    287294$CurrentUser = $session{'CurrentUser'}; 
    288295 
     
    328335} 
    329336 
     337# DISABLE SPECIFIC LICENSES HERE: 
     338 if ($filename =~ m/^(gplv3-|lgpl-)/) { $resp = 0; } 
     339 
     340 
    330341my $NewQueueObj = RT::Queue->new( $CurrentUser ); 
    331342$NewQueueObj->Load($issuequeue);  
     
    367378    my $Transactions = $item->Transactions; 
    368379    my $allcomments = ''; 
    369     my $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br ] ] ); 
     380    my $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br q blockquote ] ] ); 
    370381    while (my $Transaction = $Transactions->Next) { 
    371382         
     
    424435    my $itemref = shift; 
    425436    my $item = $$itemref; 
    426     $item->Created =~ m/(\d\d\d\d-\d\d-\d\d) (\d\d:\d\d):\d\d/; 
    427     return  "$1 at $2 ". getTZ($item->Created); 
     437    $item->Created =~ m/(\d\d\d\d)-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)/; 
     438    my $dt = DateTime->new( year => $1, 
     439                              month => $2, 
     440                              day => $3, 
     441                              hour => $4, 
     442                              minute => $5, 
     443                              second => $6, 
     444                             time_zone => 'UTC'); 
     445    $dt->set_time_zone("America/New_York"); 
     446    return  $dt->strftime("%Y-%m-%d at %H:%M %Z"); 
    428447} 
    429448 
     
    440459} 
    441460 
    442 return $eastern; 
     461#return $eastern; 
     462return "UTC"; 
    443463} 
    444464 
  • trunk/rtNoAuth/readsay2.html

    r80 r81  
    253253% } 
    254254 <br> 
    255 %  if ($resp == 1) { 
     255%  if (($resp == 1) && ($item->CreatorObj->Name != "ratiodoc")) { 
    256256        <input type=hidden name="UpdateType" value="public"> 
    257257        <span class="TktLabel">Add comments:</span> <br/> 
     
    277277use CGI qw/:standard/; 
    278278use HTML::Scrubber; 
    279 our $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br ] ] ); 
     279use DateTime; 
     280 
     281our $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br q blockquote ] ] ); 
    280282require "/var/www/stet/stetsubs.pl"; 
    281283our $issuequeue = 5;  
     
    367369    my $Transactions = $item->Transactions; 
    368370    my $allcomments = ''; 
    369     my $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br ] ] ); 
     371    my $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br q blockquote ] ] ); 
    370372    while (my $Transaction = $Transactions->Next) { 
    371373         
     
    424426    my $itemref = shift; 
    425427    my $item = $$itemref; 
    426     $item->Created =~ m/(\d\d\d\d-\d\d-\d\d) (\d\d:\d\d):\d\d/; 
    427     return  "$1 at $2 ". getTZ($item->Created); 
     428    $item->Created =~ m/(\d\d\d\d)-(\d\d)-(\d\d) (\d\d):(\d\d):(\d\d)/; 
     429    my $dt = DateTime->new( year => $1, 
     430                              month => $2, 
     431                              day => $3, 
     432                              hour => $4, 
     433                              minute => $5, 
     434                              second => $6, 
     435                             time_zone => 'UTC'); 
     436    $dt->set_time_zone("America/New_York"); 
     437    return  $dt->strftime("%Y-%m-%d at %H:%M %Z"); 
    428438} 
    429439 
     
    440450} 
    441451 
    442 return $eastern; 
     452#return $eastern; 
     453return "UTC"; 
    443454} 
    444455 
  • trunk/rtNoAuth/submitcomment-cachetoo.html

    r69 r81  
    8080$urlpath =~ s/http:\/\/([^\/]+)\/?(.*)\?.*/$2/; 
    8181 
    82  print STDERR "url $url\nurlpath $urlpath\n\n"; 
     82# print STDERR "url $url\nurlpath $urlpath\n\n"; 
    8383 $dompath = $ARGS{'DomPath'}; 
    8484 $selectedtext = URI::Escape::uri_unescape($ARGS{'Selection'}); 
     
    112112                    Subject => $notesubj, 
    113113#                      Owner => 'Nobody', 
    114                       Requestor => $name, # will work with new users 
     114                      Requestor => $CurrentUser->EmailAddress, # name, # will work with new users 
    115115                      #InitialPriority => '11', 
    116116                      #FinalPriority => '20', 
     
    125125                      ); 
    126126  ($id, my $transaction_object, my $err) = $ticket->Create(%ticket_vals); 
    127   print STDERR $err . "\n" if $err; 
     127  print STDERR "submitcomment-cachetoo err: $err \n" if $err; 
    128128  system("/home/orion/cacheresults.sh ".$urlpath." &"); 
    129129} 
  • trunk/rtNoAuth/xmlresults-debug.html

    r38 r81  
    2525<response> 
    2626% if ($Tickets) { 
    27 %#    my $tick = $Tickets->Next; 
    28 <cs>Showing comments: <% humanQuery($ARGS{'Query'}) |n %> <a class="rsslink" href="<% $rsslink %>">[rss]</a> <a href="<% $listlink %>">[list]</a> <a href="http://gplv3.fsf.org/comments/gplv3-draft-1?Query=%20Creator%20=%20'ratiodoc'%20%20AND%20'CF.NoteUrl'%20LIKE%20'gplv3-draft-1'%20&amp;Order=DESC&amp;OrderBy=id&amp;StartAt=1&amp;Rows=80">[rationale]</a> <br/> ( found <% $Tickets->CountAll()%>, showing <% $StartAt %>-<% (($StartAt + $Rows) > $Tickets->CountAll()) ? $Tickets->CountAll() : ($StartAt + $Rows - 1) %>: [probably fewer: being fixed] 
     27<d><% $drafter %></d> 
     28<cs> 
     29<say>Showing comments </say> 
     30<say>Showing comments </say> 
     31<q><% humanQuery($ARGS{'Query'}) |n %></q> 
     32<r><% $rsslink %></r> 
     33<l><% $listlink %></l> 
     34<ra>http://gplv3.fsf.org/comments/<% $filename %>?Query=%20Creator%20=%20'ratiodoc'%20%20AND%20'CF.NoteUrl'%20LIKE%20'<% $filename %>'%20&amp;Order=DESC&amp;OrderBy=id&amp;StartAt=1&amp;Rows=80</ra> 
     35<t><% $Tickets->CountAll()%></t> 
     36<rng><% $StartAt %>-<% (($StartAt + $Rows) > $Tickets->CountAll()) ? $Tickets->CountAll() : ($StartAt + $Rows - 1) %></rng> 
    2937%   if ($Tickets->CountAll() > $Rows) { 
    3038%       if ($StartAt > 1 ) { 
    31              <a href="/comments/<% stripCrap($Tickets->First->FirstCustomFieldValue('NoteUrl')) %>?Query=<% $ARGS{'Query'} |n %>&amp;Rows=<%$Rows%>&amp;StartAt=<% (($StartAt - $Rows) < 0) ? 1 : ($StartAt - $Rows) |n%>">prev</a
     39<pr>/comments/<% stripCrap($Tickets->First->FirstCustomFieldValue('NoteUrl')) %>?Query=<% $ARGS{'Query'} |n %>&amp;Rows=<%$Rows%>&amp;StartAt=<% (($StartAt - $Rows) < 0) ? 1 : ($StartAt - $Rows) |n%></pr
    3240%       } 
    33 %   if (($Tickets->CountAll() > $Rows) && ($Tickets->CountAll() < $StartAt + $Rows)) { 
    34 
     41%       if ($Tickets->CountAll() > $StartAt + $Rows) { 
     42<nx>/comments/<% stripCrap($Tickets->First->FirstCustomFieldValue('NoteUrl')) %>?Query=<% $ARGS{'Query'} |n %>&amp;Rows=<%$Rows%>&amp;StartAt=<% $StartAt + $Rows %></nx> 
    3543% } 
    36 %       if ($Tickets->CountAll() > $StartAt + $Rows) { 
    37              <a href="/comments/<% stripCrap($Tickets->First->FirstCustomFieldValue('NoteUrl')) %>?Query=<% $ARGS{'Query'} |n %>&amp;Rows=<%$Rows%>&amp;StartAt=<% $StartAt + $Rows %>">next</a> 
    38 %       } 
    39 %   } 
    40 %# ) <a href="/comments/rt/changeshown.html?came_from=<% stripCrap($Tickets->First->FirstCustomFieldValue('NoteUrl')) %>">change</a>  
    41 ) <a href="/comments/rt/changeshown.html?came_from=gplv3-draft-1">change</a>  
     44% } 
    4245</cs> 
    43 %  
    4446<%perl>  
    4547    $Tickets->GotoFirstItem; 
     
    5153</%perl> 
    5254% } elsif ($Ticket) { 
    53 <cs>Showing comment <a href="/comments/rt/readsay.html?id=<% $ARGS{'id'} %>"><% $ARGS{'id'} %></a> <a href="<% $listlink %>">[see thread]</a> <a href="/comments/rt/changeshown.html?came_from=gplv3-draft-1">change</a> </cs> 
     55<d><% $drafter %></d> 
     56<cs> 
     57<say>Showing comment </say> 
     58<ci><% $ARGS{'id'} %></ci> 
     59<l><% $listlink %></l> 
     60</cs> 
    5461% } 
    5562% if ($Ticket || $Tickets) { 
    5663% my $i = 0; 
    5764% while (my $item = $Tickets ? $Tickets->Next : $Ticket) { 
    58 <annotation
    59 <n><% $item->Transactions->First->Content %></n> 
    60 <e><% $item->FirstCustomFieldValue('NoteEndNodeId') %></e> 
     65<ant
     66%# <n><% $item->Transactions->First->Content %></n> 
     67%# <e><% $item->FirstCustomFieldValue('NoteEndNodeId') %></e> 
    6168<s><% cleanNoteSel(\$item) %></s> 
    6269<i><% $item->FirstCustomFieldValue('NoteStartNodeId') %></i> 
    63 <u><% $item->CreatorObj->Name %></u> 
    64 % my ($agree,$agr_count) = showAgree(\$item); 
    65 <ua><% $agree |n %></ua> 
    66 <at><% $agr_count %></at> 
     70%# <u><% $item->CreatorObj->Name %></u> 
     71% my ($agree,$agr_count) = showAgree(\$item,$name); 
     72%# <ua><% $agree |n %></ua> 
     73%# <at><% $agr_count %></at> 
    6774<id><% $item->id %></id> 
    68 </annotation> 
     75<qn><% $item->QueueObj->Name %></qn> 
     76</ant> 
    6977% $Ticket = ''; 
    7078% $i++; 
     
    7583% } 
    7684% else { 
    77 <cs>No comments found. <a href="/comments/rt/changeshown.html?came_from=gplv3-draft-1">change query</a> </cs> 
     85<cs>No comments found. <a href="/comments/rt/changeshown.html?came_from=<% $filename %>">search again</a> </cs> 
    7886% } 
    7987</response> 
     
    98106 
    99107my $rsslink = "/comments/rt/rssresults.rdf?" . (($ARGS{'Query'}) ? ("Query=".$ARGS{'Query'}) : ("id=".$ARGS{'id'})); 
    100 my $listlink = "/comments/rt/readsay.html?" . (($ARGS{'Query'}) ? ("Query=".$ARGS{'Query'}) : ("id=".$ARGS{'id'}))
     108my $listlink = "/comments/rt/readsay.html?" . (($ARGS{'Query'}) ? ("Query=".$ARGS{'Query'}) : ("id=".$ARGS{'id'})) . "&Order=DESC"
    101109#  my $printargs = param('Query')." (".$Tickets->CountAll()." found)"; 
    102110 
     
    108116my ($Tickets, $Ticket); 
    109117 
     118my $drafter = ''; 
     119my $DrafterQueue = RT::Queue->new($CurrentUser); 
     120$DrafterQueue->Load('Drafter'); 
     121if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 
     122  $drafter = "drafter"; 
     123} 
     124else { 
     125# committee queues: A->8182, B->8183, C->8184, D->8185, T->8186 [for testing] 
     126    foreach my $id ("CommitteeA","CommitteeB","CommitteeC","CommitteeD","CommitteeT") { 
     127        $DrafterQueue->Load($id); 
     128        if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 
     129            $drafter = "$id"; 
     130        } 
     131    } 
     132} 
     133 
     134 
    110135if ($ARGS{'Query'}) { 
     136    my $Qargs = ''; 
     137unless ($ARGS{'Query'} =~ /Queue/) { 
     138 $Qargs = " AND 'Queue.Name' != 'Drafter'"; 
     139if ($drafter) { 
     140 $Qargs = ''; 
     141} 
     142} 
     143 
    111144    $Tickets = RT::Tickets->new($CurrentUser); 
    112145# exclude, from this view, comments whose selection got messed up: 
    113     $Tickets->FromSQL($ARGS{'Query'}." AND 'CF.NoteStartNodeId' NOT LIKE 'login'"); 
     146    $Tickets->FromSQL($ARGS{'Query'}." AND 'CF.NoteStartNodeId' NOT LIKE 'login' $Qargs"); 
    114147    $Tickets->OrderBy( FIELD => 'id', ORDER => $ARGS{'Order'}); 
    115148} 
    116149elsif ($ARGS{'id'}) { 
    117150    $Ticket = RT::Ticket->new($CurrentUser); 
    118     $Ticket = LoadTicket($ARGS{'id'}); 
     151    print STDERR "loading ticket '".$ARGS{'id'}."'\n"; 
     152    # konqueror does something weird with the arg, and forcing it to an int fixes it 
     153    my $argh = $ARGS{'id'} + 0; 
     154    $Ticket = LoadTicket($argh); 
     155    print STDERR "loaded ticket '".$Ticket->id."'\n"; 
    119156} 
    120157 
    121 #my $Tickets = RT::Tickets->new($CurrentUser); 
    122 #$Tickets->FromSQL($ARGS{'Query'}); 
     158 
    123159 
    124160 
     
    131167$StartAt => 1 
    132168$Order => 'DESC' 
     169$Query => "'CF.NoteUrl'%20LIKE%20'gplv3-draft-1'"; 
     170$filename => 'gplv3-draft-1'; 
    133171</%ARGS> 
  • trunk/rtNoAuth/xmlresults-intense.html

    r69 r81  
    2121%# License, version 3, and the GNU General Public License, version 2, 
    2222%# along with this software.  If not, see <http://www.gnu.org/licenses/>. 
    23 % 
    2423<?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
    2524% 
     
    120119my $DrafterQueue = RT::Queue->new($CurrentUser); 
    121120$DrafterQueue->Load('Drafter'); 
    122 if ($DrafterQueue->CurrentUserHasRight('SeeQueue')) { 
     121if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 
    123122  $drafter = "drafter"; 
    124123} 
     124else { 
     125# committee queues: A->8182, B->8183, C->8184, D->8185, T->8186 [for testing] 
     126    foreach my $id ("CommitteeA","CommitteeB","CommitteeC","CommitteeD","CommitteeT") { 
     127        $DrafterQueue->Load($id); 
     128        if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 
     129            $drafter = "$id"; 
     130        } 
     131    } 
     132} 
     133 
    125134 
    126135if ($ARGS{'Query'}) { 
    127 my $Qargs = ''; 
     136    my $Qargs = ''; 
    128137unless ($ARGS{'Query'} =~ /Queue/) { 
    129138 $Qargs = " AND 'Queue.Name' != 'Drafter'"; 
  • trunk/stet-intense-shorter.js

    r76 r81  
    400400      } 
    401401      resp_arrA = response.getElementsByTagName("agreement"); 
    402       if(!!resp_arrN.length && (resp_arrN.length > 0)) { 
     402      if(!!resp_arrA.length && (resp_arrA.length > 0)) { 
    403403        processAgreement(response); 
    404404        did++; 
     
    11431143  myAgr.setAttribute('href','#'); 
    11441144  loadHTMLtoDiv(myAgr.innerHTML+'ing...',myAgr.id); 
    1145   loadXMLDoc('/comments/rt/agree.html','rtid='+rtid+'&amp;opn='+opn); 
     1145  loadXMLDoc('/comments/rt/agree.html','rtid='+rtid+'&opn='+opn); 
    11461146} 
    11471147 
     
    11771177        namepass = decodeBase64(readCookie('__ac')); 
    11781178        var name = namepass.substr(0,namepass.indexOf(':')); 
    1179         loadHTMLtoDiv('you are '+name+': <a href="http://gplv3.fsf.org/logout">logout</a> <a href="http://gplv3.fsf.org/comments/source/stet-2006-03-14.tar.bz2">source</a> <a href=\"http://gplv3.fsf.org/comments/classic.html\">old interface</a><br/>\ 
     1179        loadHTMLtoDiv('you are '+name+': <a href="http://gplv3.fsf.org/logout">logout</a> <a href="http://gplv3.fsf.org/comments/source/stet-2006-03-14.tar.bz2">source</a><br/>\ 
    11801180<span id="selectsome" class="selectsome">select some text</span> and <a class="fakelink" onmousedown="javascript:XpathSel()">add a comment</a> | <a href="http://gplv3.fsf.org/comments/email.html">email your comment</a>','login'); 
    11811181  } 
    11821182  else { 
    1183     loadHTMLtoDiv('You need to <a href=\"http://gplv3.fsf.org/login_form?came_from='+location.pathname+'\">log in</a> to make comments. <a href=\"http://gplv3.fsf.org/comments/classic.html\">old interface</a>','login'); 
     1183    loadHTMLtoDiv('You need to <a href=\"http://gplv3.fsf.org/login_form?came_from='+location.pathname+'\">log in</a> to make comments.','login'); 
    11841184  } 
    11851185} 
     
    12391239    newMe.appendChild(lLnk); 
    12401240 
    1241 if (!filename.match(/lgpl-draft-1/)) { 
     1241if ((!filename.match(/lgpl-draft-1/)) && (!filename.match(/gplv3-draft-3/)) && (!filename.match(/gplv3-draft-4/))) { 
    12421242    newMe.appendChild(document.createTextNode(' ')); 
    12431243    rat = document.createElement('a'); 

SFLC Main Page

[frdm] Support SFLC