From e3e11d24e36e19db1c43db7ab7dd00b68e20ede9 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 21 Dec 2005 22:47:33 +0000 Subject: [PATCH] r640: Adding the template, image, and code that creates the help link --- global.php | 3 ++- includes/functions.php | 2 +- templates/help_link.tpl | 1 + templates/images/question-mark.gif | Bin 0 -> 70 bytes 4 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 templates/help_link.tpl create mode 100644 templates/images/question-mark.gif diff --git a/global.php b/global.php index 9638f79..ee41aba 100755 --- a/global.php +++ b/global.php @@ -82,7 +82,8 @@ $globaltemplates = array( 'bugfield_input_checkbox', 'bugfield_select_single_option', 'bugfield_select_single', - 'username_display' + 'username_display', + 'help_link' ); $start = microtime(); diff --git a/includes/functions.php b/includes/functions.php index 2505585..ebc61bb 100755 --- a/includes/functions.php +++ b/includes/functions.php @@ -423,7 +423,7 @@ function fetch_help_link($topic) if (isset($bugsys->datastore['help']["$topic"])) { - + return $bugsys->template->fetch('help_link'); } else { diff --git a/templates/help_link.tpl b/templates/help_link.tpl new file mode 100644 index 0000000..63cc722 --- /dev/null +++ b/templates/help_link.tpl @@ -0,0 +1 @@ +Help/Description \ No newline at end of file diff --git a/templates/images/question-mark.gif b/templates/images/question-mark.gif new file mode 100644 index 0000000000000000000000000000000000000000..dc2d75a32c9f63040a1577d1ca6f5c50186209b6 GIT binary patch literal 70 zcmZ?wbhEHbR0A{L~OB literal 0 HcmV?d00001 -- 2.43.5