From a5c05512fc526e65f1aa556874046d9ff74eb5a7 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Fri, 14 Jun 2002 13:48:35 +0000 Subject: - added some missing title attributs to links. --- includes/common.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 2307983d7..900b80080 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -554,10 +554,10 @@ function format_name($object) { if ($object->uid && $object->name) { if (strstr($PHP_SELF, "admin.php")) { - $output = la($object->name, array("mod" => "user", "op" => "edit", "id" => $object->uid)); + $output = la($object->name, array("mod" => "user", "op" => "edit", "id" => $object->uid), "", array("title" => t("Administer user profile."))); } else { - $output = lm($object->name, array("mod" => "user", "op" => "view", "id" => $object->uid)); + $output = lm($object->name, array("mod" => "user", "op" => "view", "id" => $object->uid), "", array("title" => t("View user profile."))); } } else { @@ -674,7 +674,7 @@ function lm($text, $args = array(), $anchor = "", $attributes = array()) { } function field_get($string, $name) { - ereg(",$name=([^,]+)", ",$string", $regs); + ereg(", $name=([^,]+)", ",$string", $regs); return $regs[1]; } -- cgit v1.2.3