savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #110659] .php files with javascript code in bug tracker


From: Yuchen Pei
Subject: [sr #110659] .php files with javascript code in bug tracker
Date: Thu, 26 May 2022 06:04:45 -0400 (EDT)

Follow-up Comment #10, sr #110659 (project administration):


[comment #8 comment #8:]
> 
> >  One might want to work on savannah, and write a script performing certain
actions on all php files assuming they are all php scripts.
> 
> These files _are_ PHP scripts.

This is not a php script:

https://savannah.nongnu.org/js/show-hide.php:

document.write('<span class="show-hide" id="linkhide"><span
class="minusorplus">(-)</span></span><span class="show-hide"
id="linkshow"><span class="minusorplus">(+)</span></span>');
document.getElementById('linkshow').style.display = 'inline';
document.getElementById('linkhide').style.display = 'none';
document.getElementById('linkhide').onclick = function ()
{
  document.getElementById('content').style.display='none';
  document.getElementById('linkhide').style.display='none';
  document.getElementById('linkshow').style.display='inline';
}
document.getElementById('linkshow').onclick = function ()
{
  document.getElementById('content').style.display='inline';
  document.getElementById('linkshow').style.display='none';
  document.getElementById('linkhide').style.display='inline';
}

neither is this:

https://savannah.nongnu.org/js/hide-span.php:

document.getElementById('').style.display='none';


    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/support/?110659>

_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]