diff --git a/index.php b/index.php
index f17da34..1de9f9a 100644
--- a/index.php
+++ b/index.php
@@ -944,7 +944,7 @@ function showRSS()
if ($usepermalinks===true) $descriptionlink = '(Link)';
if (strlen($link['description'])>0) $descriptionlink = '
'.$descriptionlink;
if(!empty($link['via'])){
- $via = '
via '.text2clickable(htmlspecialchars($link['via']));
+ $via = '
Origine => '.htmlspecialchars(getJustDomain($link['via'])).'';
} else {
$via = '';
}
@@ -1010,7 +1010,11 @@ function showATOM()
// Add permalink in description
$descriptionlink = htmlspecialchars('(Permalink)');
- $via = htmlspecialchars(' via '.(text2clickable(htmlspecialchars($link['via']))));
+ if(isset($link['via']) && !empty($link['via'])){
+ $via = htmlspecialchars(' Origine => '.getJustDomain($link['via']).'');
+ } else {
+ $via = '';
+ }
// If user wants permalinks first, put the final link in description
if ($usepermalinks===true) $descriptionlink = htmlspecialchars('(Link)');
if (strlen($link['description'])>0) $descriptionlink = '<br>'.$descriptionlink;
@@ -1560,7 +1564,8 @@ function renderPage()
$title = (empty($_GET['title']) ? '' : $_GET['title'] ); // Get title if it was provided in URL (by the bookmarklet).
$description = (empty($_GET['description']) ? '' : $_GET['description']); // Get description if it was provided in URL (by the bookmarklet). [Bronco added that]
$tags = (empty($_GET['tags']) ? '' : $_GET['tags'] ); // Get tags if it was provided in URL
- $private = (!empty($_GET['private']) && $_GET['private'] === "1" ? 1 : 0); // Get private if it was provided in URL
+ $via = (empty($_GET['via']) ? '' : $_GET['via'] );
+ $private = (!empty($_GET['private']) && $_GET['private'] === "1" ? 1 : 0); // Get private if it was provided in URL
if (($url!='') && parse_url($url,PHP_URL_SCHEME)=='') $url = 'http://'.$url;
// If this is an HTTP link, we try go get the page to extact the title (otherwise we will to straight to the edit form.)
if (empty($title) && parse_url($url,PHP_URL_SCHEME)=='http')
diff --git a/tpl/editlink.html b/tpl/editlink.html
index 0da1405..14d4f9c 100644
--- a/tpl/editlink.html
+++ b/tpl/editlink.html
@@ -16,7 +16,7 @@
Title
Description
Tags
- Via
+ Origine
{if condition="($link_is_new && $GLOBALS['privateLinkByDefault']==true) || $link.private == true"}
diff --git a/tpl/linklist.html b/tpl/linklist.html
index 7894130..0a8475f 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -43,7 +43,7 @@
{$value.title|htmlspecialchars}
{if="$value.description"}