Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
bed56c97
Commit
bed56c97
authored
Nov 08, 2005
by
Russ Fish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
www/kb-show.php3
www/kb-show.php3
+3
-1
No files found.
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
Markdown
is supported
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