Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
bed56c97
Commit
bed56c97
authored
Nov 08, 2005
by
Russ Fish
Browse files
Show the xref_tag in knowledgebase entries to encourage use.
(It's NULL in 61 out of 83 entries now.)
parent
955f9d29
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/kb-show.php3
View file @
bed56c97
...
...
@@ -58,6 +58,7 @@ if (isset($idx) && $idx != "") {
USERERROR
(
"No such knowledge_base entry:
$idx
"
,
1
);
}
$row
=
mysql_fetch_array
(
$query_result
);
$xref_tag
=
$row
[
'xref_tag'
];
}
elseif
(
isset
(
$xref_tag
)
&&
$xref_tag
!=
""
)
{
if
(
!
preg_match
(
"/^[-\w]+$/"
,
$xref_tag
))
{
...
...
@@ -77,7 +78,8 @@ else {
PAGEARGERROR
(
"Must supply a knowledge_base index or xref tag"
);
}
echo
"<center><b>Knowledge Base Entry:
$idx
</b><br>"
.
echo
"<center><b>Knowledge Base Entry:
$idx
$xref_tag
</b><br>"
.
"(<a href=kb-search.php3>Search Again</a>)</center>
\n
"
;
echo
"<br><br>
\n
"
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment