--- inc/interface.php	2013-06-03 12:55:11.889132843 +0200
+++ inc/interface.php	2013-06-03 11:47:35.569256778 +0200
@@ -75,7 +75,8 @@
 	'float' => '[F] floating point',
 	'string' => '[S] string',
 	'dict' => '[D] dictionary record',
-	'date' => '[T] date'
+	'date' => '[T] date',
+	'hyperlink' => '[H] hyperlink string'
 );
 
 $quick_links = NULL; // you can override this in your local.php, but first initialize it with getConfiguredQuickLinks()
@@ -905,6 +908,7 @@
 				case 'uint':
 				case 'float':
 				case 'string':
+				case 'hyperlink':
 					echo "<input type=text name=${i}_value value='${record['value']}'>";
 					break;
 				case 'dict':
@@ -998,6 +1002,7 @@
 			case 'uint':
 			case 'float':
 			case 'string':
+			case 'hyperlink':
 				echo "<input type=text name=${i}_value value='${record['value']}'>";
 				break;
 			case 'dict':
@@ -1178,12 +1183,21 @@
 	if ($info['has_problems'] == 'yes')
 		$summary[] = array ('<tr><td colspan=2 class=msg_error>Has problems</td></tr>');
 	foreach (getAttrValues ($object_id) as $record)
+	{
+		if($record['type'] == "hyperlink" )
+		{
+			preg_match('@^(?:http[s]*://)?([^/]+)@i',$record['value'], $matches);
+			$record['href'] = $record['value'];
+			$record['a_value'] = $matches[1];
+		}
+	
 		if
 		(
 			strlen ($record['value']) and
 			permitted (NULL, NULL, NULL, array (array ('tag' => '$attr_' . $record['id'])))
 		)
 			$summary['{sticker}' . $record['name']] = formatAttributeValue ($record);
+	}
 	$summary[] = array (getOutputOf ('printTagTRs',
 		$info,
 		makeHref
@@ -3817,12 +3831,21 @@
 	if ($locationData['has_problems'] == 'yes')
 		$summary[] = array ('<tr><td colspan=2 class=msg_error>Has problems</td></tr>');
 	foreach (getAttrValues ($locationData['id']) as $record)
+	{
+		if($record['type'] == "hyperlink" )
+		{
+			preg_match('@^(?:http[s]*://)?([^/]+)@i',$record['value'], $matches);
+			$record['href'] = $record['value'];
+			$record['a_value'] = $matches[1];
+		}
+
 		if
 		(
 			$record['value'] != '' and
 			permitted (NULL, NULL, NULL, array (array ('tag' => '$attr_' . $record['id'])))
 		)
 			$summary['{sticker}' . $record['name']] = formatAttributeValue ($record);
+	}
 	$summary['tags'] = '';
 	if (strlen ($locationData['comment']))
 		$summary['Comment'] = $locationData['comment'];
@@ -3893,6 +3916,7 @@
 			case 'uint':
 			case 'float':
 			case 'string':
+			case 'hyperlink':
 				echo "<input type=text name=${i}_value value='${record['value']}'>";
 				break;
 			case 'dict':
@@ -4209,6 +4233,7 @@
 		$shortType['string'] = 'S';
 		$shortType['dict'] = 'D';
 		$shortType['date'] = 'T';
+		$shortType['hyperlink'] = 'H';
 		foreach ($attrMap as $attr)
 			echo "<option value=${attr['id']}>[" . $shortType[$attr['type']] . "] ${attr['name']}</option>";
 		echo "</select></td><td class=tdleft>";
