diff -ur lsr-0.5.orig//ERW/custom/snippet.php lsr-0.5//ERW/custom/snippet.php --- lsr-0.5.orig//ERW/custom/snippet.php 2011-07-06 15:54:31.000000000 +0200 +++ lsr-0.5//ERW/custom/snippet.php 2011-07-06 15:57:28.000000000 +0200 @@ -52,7 +52,7 @@ "help" => "Preview the selected snippet", "events" => array( "onclick" => - "if ((i = getSelectedId('m_snippet')) < 0) alert('No snippet has been selected'); else openServiceWindow('http://lsr.dsi.unimi.it/LSR/Item?u=1&id='+i)" + "if ((i = getSelectedId('m_snippet')) < 0) alert('No snippet has been selected'); else openServiceWindow('/LSR/Item?u=1&id='+i)" ) ); @@ -61,7 +61,7 @@ "label" => "Log in", "name" => "login", "events" => array( - "onclick" => "window.location='login.php?url=".urlencode("https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"])."'" + "onclick" => "window.location='login.php?url=".urlencode($_SERVER["REQUEST_URI"])."'" ) ); @@ -71,7 +71,7 @@ "name" => "Download", "help" => "Go to the Lilypond Snippet Repository download section", "events" => array( - "onclick" => "window.open('http://lsr.dsi.unimi.it/download')" + "onclick" => "window.open('/download')" ) ); @@ -81,7 +81,7 @@ "name" => "LSR", "help" => "Go back to the Lilypond Snippet Repository", "events" => array( - "onclick" => "window.location='http://lsr.dsi.unimi.it/'" + "onclick" => "window.location='/'" ) ); Nur in lsr-0.5//ERW/custom: snippet.php~. diff -ur lsr-0.5.orig//ERW/custom/usr.php lsr-0.5//ERW/custom/usr.php --- lsr-0.5.orig//ERW/custom/usr.php 2011-07-06 15:54:31.000000000 +0200 +++ lsr-0.5//ERW/custom/usr.php 2011-07-06 15:57:28.000000000 +0200 @@ -19,7 +19,7 @@ "label" => "Log in", "name" => "login", "events" => array( - "onclick" => "window.location='login.php?url=".urlencode("https://".$_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"])."'" + "onclick" => "window.location='login.php?url=".urlencode($_SERVER["REQUEST_URI"])."'" ) ); @@ -29,7 +29,7 @@ "name" => "LSR", "events" => array( "onclick" => - "window.location='http://lsr.dsi.unimi.it/'" + "window.location='/'" ) ); Nur in lsr-0.5//ERW/custom: usr.php~. diff -ur lsr-0.5.orig//ERW/forms/snippet.erf lsr-0.5//ERW/forms/snippet.erf --- lsr-0.5.orig//ERW/forms/snippet.erf 2011-07-06 15:54:31.000000000 +0200 +++ lsr-0.5//ERW/forms/snippet.erf 2011-07-06 15:58:01.000000000 +0200 @@ -49,7 +49,7 @@