summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/common.inc6
-rw-r--r--includes/xmlrpc.inc10
2 files changed, 8 insertions, 8 deletions
diff --git a/includes/common.inc b/includes/common.inc
index 5195c525f..87e28f961 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -289,7 +289,7 @@ function search_item($item, $type) {
$output = module_invoke($type, "search_item", $item);
}
else {
- $output = " <b><u><a href=\"". $item["link"] ."\">". $item["title"] ."</a></u></b><br />";
+ $output = " <strong><u><a href=\"". $item["link"] ."\">". $item["title"] ."</a></u></strong><br />";
$output .= " <small>" . t($type) . ($item["user"] ? " - ". $item["user"] : "") ."". ($item["date"] ? " - ". format_date($item["date"], "small") : "") ."</small>";
$output .= "<br /><br />";
}
@@ -344,10 +344,10 @@ function search_data($keys = NULL) {
foreach (module_list() as $name) {
if (module_hook($name, "search") && (!$edit["type"] || $edit["type"][$name]) && ($result = module_invoke($name, "search", $keys))) {
if ($name == "node" || $name == "comment") {
- $output .= "<p><b>". t("Matching ". $name ."s ranked in order of relevance") .":</b></p>";
+ $output .= "<p><strong>". t("Matching %names ranked in order of relevance:", array("%name" => $name)) ."</strong></p>";
}
else {
- $output .= "<p><b>". t("Matching ". $name ."s") .":</b></p>";
+ $output .= "<p><strong>". t("Matching ". $name .") .":</strong></p>";
}
foreach ($result as $entry) {
$output .= search_item($entry, $name);
diff --git a/includes/xmlrpc.inc b/includes/xmlrpc.inc
index d8e863248..a552b084d 100644
--- a/includes/xmlrpc.inc
+++ b/includes/xmlrpc.inc
@@ -1,4 +1,4 @@
-<?php // -*-c++-*-
+<?php // -*-c++-*-
// by Edd Dumbill (C) 1999-2001
// <edd@usefulinc.com>
// $Id$
@@ -753,12 +753,12 @@ class xmlrpcval {
global $xmlrpcTypes, $xmlrpcBoolean;
if ($this->mytype==1) {
- echo "<b>xmlrpcval</b>: scalar can have only one value<br />";
+ echo "<strong>xmlrpcval</strong>: scalar can have only one value<br />";
return 0;
}
$typeof=$xmlrpcTypes[$type];
if ($typeof!=1) {
- echo "<b>xmlrpcval</b>: not a scalar type (${typeof})<br />";
+ echo "<strong>xmlrpcval</strong>: not a scalar type (${typeof})<br />";
return 0;
}
@@ -788,7 +788,7 @@ class xmlrpcval {
function addArray($vals) {
global $xmlrpcTypes;
if ($this->mytype!=0) {
- echo "<b>xmlrpcval</b>: already initialized as a [" .
+ echo "<strong>xmlrpcval</strong>: already initialized as a [" .
$this->kindOf() . "]<br />";
return 0;
}
@@ -801,7 +801,7 @@ class xmlrpcval {
function addStruct($vals) {
global $xmlrpcTypes;
if ($this->mytype!=0) {
- echo "<b>xmlrpcval</b>: already initialized as a [" .
+ echo "<strong>xmlrpcval</strong>: already initialized as a [" .
$this->kindOf() . "]<br />";
return 0;
}