Changeset 81
- Timestamp:
- 08/27/07 11:55:07 (10 months ago)
- Files:
-
- trunk/email-submission/email.html (modified) (1 diff)
- trunk/rtNoAuth/changeshown.html (modified) (4 diffs)
- trunk/rtNoAuth/getannotations-devel.html (modified) (1 diff)
- trunk/rtNoAuth/getannotations.html (modified) (1 diff)
- trunk/rtNoAuth/readsay.html (modified) (10 diffs)
- trunk/rtNoAuth/readsay2.html (modified) (5 diffs)
- trunk/rtNoAuth/submitcomment-cachetoo.html (modified) (3 diffs)
- trunk/rtNoAuth/xmlresults-debug.html (modified) (6 diffs)
- trunk/rtNoAuth/xmlresults-intense.html (modified) (2 diffs)
- trunk/stet-intense-shorter.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/email-submission/email.html
r76 r81 72 72 <p>Send comments on the GFDL draft to: <a href="mailto:gfdl-comments@gplv3.fsf.org">gfdl-comments at gplv3.fsf.org</a></p> 73 73 <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> 74 75 </div> 75 76 </html> trunk/rtNoAuth/changeshown.html
r69 r81 94 94 <OPTION VALUE="Drafter">Drafters' comments</OPTION> 95 95 % } 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 96 104 </SELECT> 97 105 </td></tr> … … 197 205 </td> 198 206 <td> 199 <input disabled name="ValueOf'CF.NoteUrl'" size="20" value="gplv3-draft-1">207 <input name="ValueOf'CF.NoteUrl'" size="20" value="<% $filename %>"> 200 208 </td></tr> 201 209 202 210 <input type="hidden" NAME="'CF.NoteUrl'Op" VALUE="LIKE"> 203 < input type="hidden" name="ValueOf'CF.NoteUrl'" value="gplv3-draft-1">211 <!-- <input type="hidden" name="ValueOf'CF.NoteUrl'" value="<% $filename %>"> --> 204 212 205 213 … … 1020 1028 # {{{ Show the results, if we were asked. 1021 1029 if ( $ARGS{"DoSearch"} ) { 1030 if ($came_from !~ m#^/comment#) { $came_from = "/comments/$came_from"; } 1022 1031 my $redirurl = "$came_from?Query=$Query&Order=$Order&OrderBy=$OrderBy&Rows=$RowsPerPage"; 1023 1032 $m->redirect($redirurl); … … 1056 1065 $Delete => 1 1057 1066 $NewQuery => 1 1067 $filename => undef 1058 1068 </%ARGS> 1059 1069 trunk/rtNoAuth/getannotations-devel.html
r69 r81 72 72 73 73 ($CurrentUser, $resp, $name) = getUser("foo"); 74 print STDERR "Currentuser $CurrentUser, $resp\n";74 print STDERR "Currentuser ".$CurrentUser->Name.", $resp\n"; 75 75 76 76 my $drafter = ''; 77 77 my $DrafterQueue = RT::Queue->new($CurrentUser); 78 78 $DrafterQueue->Load('Drafter'); 79 if ($DrafterQueue->CurrentUserHasRight(' SeeQueue')) {79 if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 80 80 $drafter = "drafter"; 81 81 } 82 else { 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 82 92 83 93 $r->content_type('text/xml'); trunk/rtNoAuth/getannotations.html
r69 r81 72 72 73 73 ($CurrentUser, $resp, $name) = getUser("foo"); 74 print STDERR "Currentuser $CurrentUser, $resp\n";74 print STDERR "Currentuser ".$CurrentUser->Name.", $resp\n"; 75 75 76 76 my $drafter = ''; 77 77 my $DrafterQueue = RT::Queue->new($CurrentUser); 78 78 $DrafterQueue->Load('Drafter'); 79 if ($DrafterQueue->CurrentUserHasRight(' SeeQueue')) {79 if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 80 80 $drafter = "drafter"; 81 81 } 82 else { 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 82 92 83 93 $r->content_type('text/xml'); trunk/rtNoAuth/readsay.html
r69 r81 64 64 % if ($Tickets->CountAll() > $Rows) { 65 65 % if ($StartAt > 1 ) { 66 <a href="/comments/rt/readsay.html?filename=<% $filename %>&Query=<% $ARGS{'Query'} |n %>&Rows=<%$Rows%>&StartAt=<% (($StartAt - $Rows) < 0) ? 1 : ($StartAt - $Rows) |n%> ">prev <% $Rows %></a>66 <a href="/comments/rt/readsay.html?filename=<% $filename %>&Query=<% $ARGS{'Query'} |n %>&Rows=<%$Rows%>&StartAt=<% (($StartAt - $Rows) < 0) ? 1 : ($StartAt - $Rows) |n%>&Order=<% $Order %>">prev <% $Rows %></a> 67 67 % } 68 68 % if (($Tickets->CountAll() > $Rows) && ($Tickets->CountAll() < $StartAt + $Rows)) { … … 70 70 % } 71 71 % if ($Tickets->CountAll() > $StartAt + $Rows) { 72 <a href="/comments/rt/readsay.html?filename=<% $filename %>&Query=<% $ARGS{'Query'} |n %>&Rows=<%$Rows%>&StartAt=<% $StartAt + $Rows %> ">next <% $Rows %></a>72 <a href="/comments/rt/readsay.html?filename=<% $filename %>&Query=<% $ARGS{'Query'} |n %>&Rows=<%$Rows%>&StartAt=<% $StartAt + $Rows %>&Order=<% $Order %>">next <% $Rows %></a> 73 73 % } 74 74 %} … … 98 98 % 99 99 % 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; 101 104 <% displayTicket(\$item,$showactions,0) %> 102 105 % $Ticket = ''; … … 253 256 % } 254 257 <br> 255 % if ( $resp == 1) {258 % if (($resp == 1) && ($item->CreatorObj->Name ne "ratiodoc")) { 256 259 <input type=hidden name="UpdateType" value="public"> 257 260 <span class="TktLabel">Add comments:</span> <br/> … … 277 280 use CGI qw/:standard/; 278 281 use HTML::Scrubber; 279 our $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br ] ] ); 282 use DateTime; 283 284 our $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br q blockquote ] ] ); 280 285 require "/var/www/stet/stetsubs.pl"; 281 286 our $issuequeue = 5; … … 285 290 my ($pass, $agr_vals, $thing); 286 291 ($CurrentUser, $resp, $name) = getUser("foo"); 292 293 287 294 $CurrentUser = $session{'CurrentUser'}; 288 295 … … 328 335 } 329 336 337 # DISABLE SPECIFIC LICENSES HERE: 338 if ($filename =~ m/^(gplv3-|lgpl-)/) { $resp = 0; } 339 340 330 341 my $NewQueueObj = RT::Queue->new( $CurrentUser ); 331 342 $NewQueueObj->Load($issuequeue); … … 367 378 my $Transactions = $item->Transactions; 368 379 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 ] ] ); 370 381 while (my $Transaction = $Transactions->Next) { 371 382 … … 424 435 my $itemref = shift; 425 436 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"); 428 447 } 429 448 … … 440 459 } 441 460 442 return $eastern; 461 #return $eastern; 462 return "UTC"; 443 463 } 444 464 trunk/rtNoAuth/readsay2.html
r80 r81 253 253 % } 254 254 <br> 255 % if ( $resp == 1) {255 % if (($resp == 1) && ($item->CreatorObj->Name != "ratiodoc")) { 256 256 <input type=hidden name="UpdateType" value="public"> 257 257 <span class="TktLabel">Add comments:</span> <br/> … … 277 277 use CGI qw/:standard/; 278 278 use HTML::Scrubber; 279 our $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br ] ] ); 279 use DateTime; 280 281 our $scrubber = HTML::Scrubber->new( allow => [ qw[ a b i u br q blockquote ] ] ); 280 282 require "/var/www/stet/stetsubs.pl"; 281 283 our $issuequeue = 5; … … 367 369 my $Transactions = $item->Transactions; 368 370 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 ] ] ); 370 372 while (my $Transaction = $Transactions->Next) { 371 373 … … 424 426 my $itemref = shift; 425 427 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"); 428 438 } 429 439 … … 440 450 } 441 451 442 return $eastern; 452 #return $eastern; 453 return "UTC"; 443 454 } 444 455 trunk/rtNoAuth/submitcomment-cachetoo.html
r69 r81 80 80 $urlpath =~ s/http:\/\/([^\/]+)\/?(.*)\?.*/$2/; 81 81 82 print STDERR "url $url\nurlpath $urlpath\n\n";82 # print STDERR "url $url\nurlpath $urlpath\n\n"; 83 83 $dompath = $ARGS{'DomPath'}; 84 84 $selectedtext = URI::Escape::uri_unescape($ARGS{'Selection'}); … … 112 112 Subject => $notesubj, 113 113 # Owner => 'Nobody', 114 Requestor => $ name, # will work with new users114 Requestor => $CurrentUser->EmailAddress, # name, # will work with new users 115 115 #InitialPriority => '11', 116 116 #FinalPriority => '20', … … 125 125 ); 126 126 ($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; 128 128 system("/home/orion/cacheresults.sh ".$urlpath." &"); 129 129 } trunk/rtNoAuth/xmlresults-debug.html
r38 r81 25 25 <response> 26 26 % 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&Order=DESC&OrderBy=id&StartAt=1&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&Order=DESC&OrderBy=id&StartAt=1&Rows=80</ra> 35 <t><% $Tickets->CountAll()%></t> 36 <rng><% $StartAt %>-<% (($StartAt + $Rows) > $Tickets->CountAll()) ? $Tickets->CountAll() : ($StartAt + $Rows - 1) %></rng> 29 37 % if ($Tickets->CountAll() > $Rows) { 30 38 % if ($StartAt > 1 ) { 31 <a href="/comments/<% stripCrap($Tickets->First->FirstCustomFieldValue('NoteUrl')) %>?Query=<% $ARGS{'Query'} |n %>&Rows=<%$Rows%>&StartAt=<% (($StartAt - $Rows) < 0) ? 1 : ($StartAt - $Rows) |n%>">prev</a>39 <pr>/comments/<% stripCrap($Tickets->First->FirstCustomFieldValue('NoteUrl')) %>?Query=<% $ARGS{'Query'} |n %>&Rows=<%$Rows%>&StartAt=<% (($StartAt - $Rows) < 0) ? 1 : ($StartAt - $Rows) |n%></pr> 32 40 % } 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 %>&Rows=<%$Rows%>&StartAt=<% $StartAt + $Rows %></nx> 35 43 % } 36 % if ($Tickets->CountAll() > $StartAt + $Rows) { 37 <a href="/comments/<% stripCrap($Tickets->First->FirstCustomFieldValue('NoteUrl')) %>?Query=<% $ARGS{'Query'} |n %>&Rows=<%$Rows%>&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 % } 42 45 </cs> 43 %44 46 <%perl> 45 47 $Tickets->GotoFirstItem; … … 51 53 </%perl> 52 54 % } 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> 54 61 % } 55 62 % if ($Ticket || $Tickets) { 56 63 % my $i = 0; 57 64 % while (my $item = $Tickets ? $Tickets->Next : $Ticket) { 58 <an notation>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> 61 68 <s><% cleanNoteSel(\$item) %></s> 62 69 <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> 67 74 <id><% $item->id %></id> 68 </annotation> 75 <qn><% $item->QueueObj->Name %></qn> 76 </ant> 69 77 % $Ticket = ''; 70 78 % $i++; … … 75 83 % } 76 84 % 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> 78 86 % } 79 87 </response> … … 98 106 99 107 my $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'})) ;108 my $listlink = "/comments/rt/readsay.html?" . (($ARGS{'Query'}) ? ("Query=".$ARGS{'Query'}) : ("id=".$ARGS{'id'})) . "&Order=DESC"; 101 109 # my $printargs = param('Query')." (".$Tickets->CountAll()." found)"; 102 110 … … 108 116 my ($Tickets, $Ticket); 109 117 118 my $drafter = ''; 119 my $DrafterQueue = RT::Queue->new($CurrentUser); 120 $DrafterQueue->Load('Drafter'); 121 if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 122 $drafter = "drafter"; 123 } 124 else { 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 110 135 if ($ARGS{'Query'}) { 136 my $Qargs = ''; 137 unless ($ARGS{'Query'} =~ /Queue/) { 138 $Qargs = " AND 'Queue.Name' != 'Drafter'"; 139 if ($drafter) { 140 $Qargs = ''; 141 } 142 } 143 111 144 $Tickets = RT::Tickets->new($CurrentUser); 112 145 # 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"); 114 147 $Tickets->OrderBy( FIELD => 'id', ORDER => $ARGS{'Order'}); 115 148 } 116 149 elsif ($ARGS{'id'}) { 117 150 $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"; 119 156 } 120 157 121 #my $Tickets = RT::Tickets->new($CurrentUser); 122 #$Tickets->FromSQL($ARGS{'Query'}); 158 123 159 124 160 … … 131 167 $StartAt => 1 132 168 $Order => 'DESC' 169 $Query => "'CF.NoteUrl'%20LIKE%20'gplv3-draft-1'"; 170 $filename => 'gplv3-draft-1'; 133 171 </%ARGS> trunk/rtNoAuth/xmlresults-intense.html
r69 r81 21 21 %# License, version 3, and the GNU General Public License, version 2, 22 22 %# along with this software. If not, see <http://www.gnu.org/licenses/>. 23 %24 23 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 25 24 % … … 120 119 my $DrafterQueue = RT::Queue->new($CurrentUser); 121 120 $DrafterQueue->Load('Drafter'); 122 if ($DrafterQueue->CurrentUserHasRight(' SeeQueue')) {121 if ($DrafterQueue->CurrentUserHasRight('CreateTicket')) { 123 122 $drafter = "drafter"; 124 123 } 124 else { 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 125 134 126 135 if ($ARGS{'Query'}) { 127 my $Qargs = '';136 my $Qargs = ''; 128 137 unless ($ARGS{'Query'} =~ /Queue/) { 129 138 $Qargs = " AND 'Queue.Name' != 'Drafter'"; trunk/stet-intense-shorter.js
r76 r81 400 400 } 401 401 resp_arrA = response.getElementsByTagName("agreement"); 402 if(!!resp_arr N.length && (resp_arrN.length > 0)) {402 if(!!resp_arrA.length && (resp_arrA.length > 0)) { 403 403 processAgreement(response); 404 404 did++; … … 1143 1143 myAgr.setAttribute('href','#'); 1144 1144 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); 1146 1146 } 1147 1147 … … 1177 1177 namepass = decodeBase64(readCookie('__ac')); 1178 1178 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/>\ 1180 1180 <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'); 1181 1181 } 1182 1182 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'); 1184 1184 } 1185 1185 } … … 1239 1239 newMe.appendChild(lLnk); 1240 1240 1241 if ( !filename.match(/lgpl-draft-1/)) {1241 if ((!filename.match(/lgpl-draft-1/)) && (!filename.match(/gplv3-draft-3/)) && (!filename.match(/gplv3-draft-4/))) { 1242 1242 newMe.appendChild(document.createTextNode(' ')); 1243 1243 rat = document.createElement('a');