~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to theme/default/html/fault_page.php

  • Committer: Dan Garner
  • Date: 2015-03-26 14:08:33 UTC
  • Revision ID: git-v1:70d14044444f8dc5d602b99890d59dea46d9470c
Moved web servable files to web folder

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/*
3
 
 * Xibo - Digital Signage - http://www.xibo.org.uk
4
 
 * Copyright (C) 2006-2013 Daniel Garner
5
 
 *
6
 
 * This file is part of Xibo.
7
 
 *
8
 
 * Xibo is free software: you can redistribute it and/or modify
9
 
 * it under the terms of the GNU Affero General Public License as published by
10
 
 * the Free Software Foundation, either version 3 of the License, or
11
 
 * any later version. 
12
 
 *
13
 
 * Xibo is distributed in the hope that it will be useful,
14
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 
 * GNU Affero General Public License for more details.
17
 
 *
18
 
 * You should have received a copy of the GNU Affero General Public License
19
 
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
20
 
 *
21
 
 * Theme variables:
22
 
 */
23
 
use Xibo\Helper\Theme;
24
 
 
25
 
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
26
 
?>
27
 
<div class="row">
28
 
        <div class="col-md-12">
29
 
                <h2><?php echo Theme::Translate('Report a fault with Xibo'); ?></h2>
30
 
                <p><?php echo Theme::Translate('Before reporting a fault it would be appreciated if you follow the below steps.'); ?></p>
31
 
 
32
 
                <div class="ReportFault">
33
 
                <ol>
34
 
                <li><p><?php echo Theme::Translate('Check that the Environment passes all the Xibo Environment checks.'); ?></p>
35
 
                <?php echo Theme::Get('environment_check'); ?>
36
 
                </li>
37
 
 
38
 
                <li><p><?php echo Theme::Translate('Turn ON full auditing and debugging.'); ?></p>
39
 
                        <form id="1" class="XiboAutoForm" action="index.php?p=admin" method="post">
40
 
                                <input type="hidden" name="q" value="SetMaxDebug" />
41
 
                                <input class="btn btn-default" type="submit" value="<?php echo Theme::Translate('Turn ON Debugging'); ?>" />
42
 
                        </form>
43
 
                </li>
44
 
 
45
 
                <li><p><?php echo Theme::Translate('Recreate the Problem in a new window.'); ?></p>
46
 
                </li>
47
 
 
48
 
                <li><p><?php echo Theme::Translate('Automatically collect and export relevant information into a text file.'); ?> <?php echo Theme::Translate('Please save this file to your PC.'); ?></p>
49
 
                <a class="btn btn-default" href="<?php echo Theme::Get('collect_data_url'); ?>" title="Collect Data"><?php echo Theme::Translate('Collect and Save Data'); ?></a>
50
 
                </li>
51
 
 
52
 
                <li><p><?php echo Theme::Translate('Turn full auditing and debugging OFF.'); ?></p>
53
 
                        <form id="2" class="XiboAutoForm" action="index.php?p=admin" method="post">
54
 
                                <input type="hidden" name="q" value="SetMinDebug" />
55
 
                                <input class="btn btn-default" type="submit" value="<?php echo Theme::Translate('Turn OFF Debugging'); ?>" />
56
 
                        </form>
57
 
                </li>
58
 
 
59
 
                <li><p><?php echo Theme::Translate('Click on the below link to open the bug report page for this release.'); ?> <?php echo Theme::Translate('Describe the problem and upload the file you obtained earlier.'); ?></p>
60
 
                <a class="btn btn-default" href="https://github.com/xibosignage/xibo/issues/new" title="<?php echo Theme::Translate('Ask a question'); ?>" target="_blank"><?php echo Theme::Translate('Ask a question'); ?></a>
61
 
                </li>
62
 
 
63
 
                </ol>
64
 
                </div>
65
 
 
66
 
                <div class="ReportFault">
67
 
                 <h2>Further Action</h2>
68
 
                 <p><?php echo Theme::Translate('We will do our best to use the information collected above to solve your issue.'); ?>
69
 
                 <?php echo Theme::Translate('However sometimes this will not be enough and you will be asked to put your Xibo installation into "Test" mode.'); ?></p>
70
 
 
71
 
                <ol>
72
 
 
73
 
                <li><p><?php echo Theme::Translate('Switch to Test Mode.'); ?></p>
74
 
                        <form class="XiboAutoForm" action="index.php?p=admin" method="post">
75
 
                                <input type="hidden" name="q" value="SetServerTestMode" />
76
 
                                <input class="btn btn-default" type="submit" value="<?php echo Theme::Translate('Switch to Test Mode'); ?>" />
77
 
                        </form>
78
 
                </li>
79
 
 
80
 
                <li><p><?php echo Theme::Translate('Recreate the Problem in a new window and Capture a screenshot.'); ?><?php echo Theme::Translate('You should send your screenshot to info@xibo.org.uk with a reference to the Launchpad Question/Bug you have created previously.'); ?></p>  
81
 
                </li>
82
 
 
83
 
                <li><p><?php echo Theme::Translate('Switch to Production Mode.'); ?></p>
84
 
                        <form class="XiboAutoForm" action="index.php?p=admin" method="post">
85
 
                                <input type="hidden" name="q" value="SetServerProductionMode" />
86
 
                                <input class="btn btn-default" type="submit" value="<?php echo Theme::Translate('Switch to Production Mode'); ?>" />
87
 
                        </form>
88
 
                </li>
89
 
                        
90
 
                </ol>
91
 
                </div>
92
 
        </div>
93
 
</div>
 
 
b'\\ No newline at end of file'