summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-06-14 13:48:35 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-06-14 13:48:35 +0000
commita5c05512fc526e65f1aa556874046d9ff74eb5a7 (patch)
tree7ea0d94d080abe5ef5deed037b482440b9663841 /includes
parent8cfbe41201754b1e0a27c8c6a34b732858c51054 (diff)
downloadbrdo-a5c05512fc526e65f1aa556874046d9ff74eb5a7.tar.gz
brdo-a5c05512fc526e65f1aa556874046d9ff74eb5a7.tar.bz2
- added some missing title attributs to links.
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc6
1 files changed, 3 insertions, 3 deletions
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];
}