From 4c0c5b64c2915e765ed4b5009eef2c283fc54024 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Sun, 17 Jul 2011 16:36:15 +0200 Subject: [PATCH] show a proper error message in help when it can't get the data from apps.owncloud.com --- help/templates/index.php | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/help/templates/index.php b/help/templates/index.php index ac7e12b757a..7105507f5eb 100644 --- a/help/templates/index.php +++ b/help/templates/index.php @@ -1,23 +1,27 @@

t( 'Questions and Answers' ); ?>

- - - - - - - - - -
"") { echo(''); } ?>
'.$kb['description'].''); ?>
- '') echo('
Answer:
'.$kb['answer'].'');?> -
-printPage(); -?> -t( 'ASK A QUESTION' ); ?> + + Can't connect to Q&A database + + + + + + + + + + +
"") { echo(''); } ?>
'.$kb['description'].''); ?>
+ '') echo('
Answer:
'.$kb['answer'].'');?> +
+ printPage(); + ?> + t( 'ASK A QUESTION' ); ?> + -- 2.39.5