diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-04-04 21:57:11 -0400 | 
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-04-08 19:46:35 -0400 | 
| commit | 5588bc15c6df5eb225c315ed82e2a8239ef26d36 (patch) | |
| tree | e6cdd554aa7ae86ee3db233452516518c01cde89 /misc/util/rb/cgi | |
| parent | fix issues raised by dmd2.095.1 ldc2 1.25.0 (diff) | |
headers: copyright, license, year; also https
Diffstat (limited to 'misc/util/rb/cgi')
| -rwxr-xr-x | misc/util/rb/cgi/spine.search.cgi | 60 | 
1 files changed, 27 insertions, 33 deletions
| diff --git a/misc/util/rb/cgi/spine.search.cgi b/misc/util/rb/cgi/spine.search.cgi index cfe9d73..ff2bfc2 100755 --- a/misc/util/rb/cgi/spine.search.cgi +++ b/misc/util/rb/cgi/spine.search.cgi @@ -2,8 +2,8 @@  =begin   * Name: SiSU information Structuring Universe   * Author: Ralph Amissah -   * http://www.jus.uio.no/sisu -   * http://www.jus.uio.no/sisu/SiSU/download +   * https://sisudoc.org +   * https://git.sisudoc.org   * Description: generates naive cgi search form for search of sisu database (sqlite)   * Name: SiSU generated sample cgi search form @@ -32,13 +32,12 @@     more details.     You should have received a copy of the GNU General Public License along with -   this program. If not, see <http://www.gnu.org/licenses/>. +   this program. If not, see <https://www.gnu.org/licenses/>.     If you have Internet connection, the latest version of the GPL should be     available at these locations: -   <http://www.fsf.org/licenses/gpl.html> -   <http://www.gnu.org/licenses/gpl.html> -   <http://www.jus.uio.no/sisu/gpl.fsf> +   <https://www.fsf.org/licenses/gpl.html> +   <https://www.gnu.org/licenses/gpl.html>   * SiSU uses:     * Standard SiSU markup syntax, @@ -46,8 +45,7 @@     * Standard SiSU object citation numbering and system   * Hompages: -   <http://www.jus.uio.no/sisu> -   <http://www.sisudoc.org> +   <https://www.sisudoc.org>   * Ralph Amissah     <ralph@amissah.com> @@ -62,13 +60,13 @@ rescue LoadError    puts 'cgi, fcgi or sqlite3 NOT FOUND (LoadError)'  end  @stub_default            = 'search' -@image_src               = "http://#{ENV['HTTP_HOST']}/image_sys" -@hosturl_cgi             = "http://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}" -@hosturl_files           = "http://#{ENV['HTTP_HOST']}" +@image_src               = "https://#{ENV['HTTP_HOST']}/image_sys" +@hosturl_cgi             = "https://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}" +@hosturl_files           = "https://#{ENV['HTTP_HOST']}"  @output_dir_structure_by = 'language'  @lingual                 = 'multi'  @db_name_prefix          = 'spine.' -@base                    = "http://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}#{ENV['SCRIPT_NAME']}" +@base                    = "https://#{ENV['HTTP_HOST']}#{ENV['PATH_INFO']}#{ENV['SCRIPT_NAME']}"  #Common TOP  @@offset                 = 0  @@canned_search_url      = @base @@ -95,8 +93,8 @@ class Form        <meta name="sourcefile" content="SiSU._sst" />        SiSU search form (sample): SiSU information Structuring Universe        </title> -      <link rel="generator" href="http://www.jus.uio.no/sisu" /> -      <link rel="shortcut icon" href="http://#{ENV['HTTP_HOST']}/_sisu/image_sys/rb7.ico" /> +      <link rel="generator" href="https://sisudoc.org/" /> +      <link rel="shortcut icon" href="https://#{ENV['HTTP_HOST']}/_sisu/image_sys/rb7.ico" />        <link href="../_sisu/css/html.css" rel="stylesheet">      </head>      <body lang="en" xml:lang="en"> @@ -104,10 +102,10 @@ class Form      <tr><td width="20%">       <table summary="home button / home information" border="0" cellpadding="3" cellspacing="0">       <tr><td align="left"> -      <br /><a href="http://sisudoc.org/" target="_top"> +      <br /><a href="https://sisudoc.org/" target="_top">          <b>SiSU</b>        </a> -      <br /><a href="http://git.sisudoc.org/" target="_top"> +      <br /><a href="https://git.sisudoc.org/" target="_top">          git        </a>       </td></tr> @@ -488,10 +486,10 @@ def tail  <tr><td valign="top" width="10%">   <table summary="home button / home information" border="0" cellpadding="3" cellspacing="0">   <tr><td align="left"> -  <br /><a href="http://sisudoc.org/" target="_top"> +  <br /><a href="https://sisudoc.org/" target="_top">      <b>SiSU</b>    </a> -  <br /><a href="http://git.sisudoc.org/" target="_top"> +  <br /><a href="https://git.sisudoc.org/" target="_top">      git    </a>   </td></tr> @@ -503,22 +501,18 @@ def tail      Generated by        SiSU 6.3.1 2014-10-19 (2014w41/7)      <br /> -    <a href="http://www.sisudoc.org" > +    <a href="https://www.sisudoc.org" >      <b>SiSU</b></a> <sup>©</sup> Ralph Amissah      1993, current 2014.      All Rights Reserved.      <br />        SiSU is software for document structuring, publishing and search,      <br /> -    <a href="http://www.jus.uio.no/sisu" > -      www.jus.uio.no/sisu -    </a> -    and -    <a href="http://www.sisudoc.org" > +      <a href="https://www.sisudoc.org" >        www.sisudoc.org      </a>      sources -    <a href="http://git.sisudoc.org" > +    <a href="https://git.sisudoc.org" >        git.sisudoc.org      </a>    <br /> @@ -528,8 +522,8 @@ def tail      </a>    <br />      mailing list subscription -    <a href="http://lists.sisudoc.org/listinfo/sisu" > -      http://lists.sisudoc.org/listinfo/sisu +    <a href="https://lists.sisudoc.org/listinfo/sisu" > +      https://lists.sisudoc.org/listinfo/sisu      </a>    <br />      <a href="mailto:sisu@lists.sisudoc.org" > @@ -550,27 +544,27 @@ def tail    <!-- widget way better -->  <tr><td valign="top" width="10%">    <p class="tiny_left"><font color="#666666" size="2"> -    <a href="http://www.gnu.org/licenses/gpl.html"> +    <a href="https://www.gnu.org/licenses/gpl.html">        .:      </a>    </font></p>  </td><td valign="top" width="45%">    <p class="tiny_left"><font color="#666666" size="2">      SiSU is released under -    <a href="http://www.gnu.org/licenses/gpl.html">GPL v3</a> +    <a href="https://www.gnu.org/licenses/gpl.html">GPL v3</a>      or later, -    <a href="http://www.gnu.org/licenses/gpl.html"> -      http://www.gnu.org/licenses/gpl.html +    <a href="https://www.gnu.org/licenses/gpl.html"> +      https://www.gnu.org/licenses/gpl.html      </a>    </font></p>  </td><td valign="top" width="45%">    <p class="tiny_left"><font color="#666666" size="2">      SiSU, developed using -    <a href="http://www.ruby-lang.org/en/"> +    <a href="https://www.ruby-lang.org/en/">        Ruby      </a>      on -    <a href="http://www.debian.org/"> +    <a href="https://www.debian.org/">        Debian/Gnu/Linux      </a>      software infrastructure, | 
