~xibo-maintainers/xibo/tuttle

« back to all changes in this revision

Viewing changes to server/theme/default/html/display_form_edit.php

  • Committer: Dan Garner
  • Date: 2014-09-19 11:56:41 UTC
  • mfrom: (332.8.73 server-170-alpha)
  • Revision ID: dan@xibo.org.uk-20140919115641-pwvuhq0cy4xkmytq
MergedĀ lp:~dangarner/xibo/server-170alpha

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
 
 *  form_id = The ID of the Form
23
 
 *      form_meta = Extra META information required by the Transation
24
 
 *      form_action = The URL for calling the Transaction
25
 
 */
26
 
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
27
 
?>
28
 
<div class="container-fluid">
29
 
    <form id="<?php echo Theme::Get('form_id'); ?>" class="XiboForm form-horizontal" method="post" action="<?php echo Theme::Get('form_action'); ?>">
30
 
        <?php echo Theme::Get('form_meta'); ?>
31
 
        <div class="row-fluid">
32
 
            <div class="span6">
33
 
                <div class="control-group">
34
 
                    <label class="control-label" for="display" accesskey="n" title="<?php echo Theme::Translate('The Name of the Display - (1 - 50 characters).'); ?>"><?php echo Theme::Translate('Display'); ?></label>
35
 
                    <div class="controls">
36
 
                        <input class="required" name="display" type="text" id="display" tabindex="1" value="<?php echo Theme::Get('display'); ?>" maxlength="50" />
37
 
                    </div>
38
 
                </div>
39
 
                <div class="control-group">
40
 
                    <label class="control-label" for="hardwareKey" accesskey="n" title="<?php echo Theme::Translate(''); ?>"><?php echo Theme::Translate('Display\'s Hardware Key'); ?></label>
41
 
                    <div class="controls">
42
 
                        <input class="" name="hardwareKey" type="text" id="hardwareKey" tabindex="1" value="<?php echo Theme::Get('license'); ?>" />
43
 
                    </div>
44
 
                </div>
45
 
                <div class="control-group">
46
 
                    <label class="control-label" for="licensed" accesskey="n" title="<?php echo Theme::Translate('Use one of the available licenses for this display?'); ?>"><?php echo Theme::Translate('Licence Display?'); ?></label>
47
 
                    <div class="controls">
48
 
                        <?php echo Theme::SelectList('licensed', Theme::Get('license_field_list'), 'licensedid', 'licensed', Theme::Get('licensed')); ?>
49
 
                    </div>
50
 
                </div>
51
 
                <div class="control-group">
52
 
                    <label class="control-label" for="inc_schedule" accesskey="n" title="<?php echo Theme::Translate('Whether to always put the default layout into the cycle.'); ?>"><?php echo Theme::Translate('Interleave Default'); ?></label>
53
 
                    <div class="controls">
54
 
                        <?php echo Theme::SelectList('inc_schedule', Theme::Get('interleave_default_field_list'), 'inc_scheduleid', 'inc_schedule', Theme::Get('inc_schedule')); ?>
55
 
                    </div>
56
 
                </div>
57
 
                <div class="control-group">
58
 
                    <label class="control-label" for="defaultlayoutid" accesskey="n" title="<?php echo Theme::Translate('The Default Layout to Display where there is no other content.'); ?>"><?php echo Theme::Translate('Default Layout'); ?></label>
59
 
                    <div class="controls">
60
 
                        <?php echo Theme::SelectList('defaultlayoutid', Theme::Get('default_layout_field_list'), 'layoutid', 'layout', Theme::Get('defaultlayoutid')); ?>
61
 
                    </div>
62
 
                </div>
63
 
                <div class="control-group">
64
 
                    <label class="control-label" for="auditing" accesskey="n" title="<?php echo Theme::Translate('Collect auditing from this client. Should only be used if there is a problem with the display.'); ?>"><?php echo Theme::Translate('Auditing'); ?></label>
65
 
                    <div class="controls">
66
 
                        <?php echo Theme::SelectList('auditing', Theme::Get('auditing_field_list'), 'auditingid', 'auditing', Theme::Get('auditing')); ?>
67
 
                    </div>
68
 
                </div>
69
 
                <div class="control-group">
70
 
                    <label class="control-label" for="email_alert" accesskey="n" title="<?php echo Theme::Translate('Do you want to be notified by email if there is a problem with this display?'); ?>"><?php echo Theme::Translate('Email Alerts'); ?></label>
71
 
                    <div class="controls">
72
 
                        <?php echo Theme::SelectList('email_alert', Theme::Get('email_alert_field_list'), 'email_alertid', 'email_alert', Theme::Get('email_alert')); ?>
73
 
                    </div>
74
 
                </div>
75
 
                <div class="control-group">
76
 
                    <label class="control-label" for="alert_timeout" accesskey="n" title="<?php echo Theme::Translate('How long in minutes after the display last connected to the webservice should we send an alert. Set this value higher than the collection interval on the client. Set to 0 to use global default.'); ?>"><?php echo Theme::Translate('Alert Timeout'); ?></label>
77
 
                    <div class="controls">
78
 
                        <input class="" name="alert_timeout" type="text" id="alert_timeout" tabindex="1" value="<?php echo Theme::Get('alert_timeout'); ?>" />
79
 
                    </div>
80
 
                </div>
81
 
            </div>
82
 
            <div class="span6">
83
 
                <div class="control-group">
84
 
                    <div class="controls">
85
 
                        <label class="checkbox" for="wakeOnLanEnabled" accesskey="n" title="<?php echo Theme::Translate('Wake on Lan requires the correct network configuration to route the magic packet to the display PC'); ?>"><?php echo Theme::Translate('Enable Wake on LAN'); ?>
86
 
                            <input class="checkbox" type="checkbox" id="wakeOnLanEnabled" name="wakeOnLanEnabled" <?php echo Theme::Get('wake_on_lan_checked'); ?>>
87
 
                        </label>
88
 
                    </div>
89
 
                </div>
90
 
                <div class="control-group">
91
 
                    <label class="control-label" for="broadCastAddress" accesskey="n" title="<?php echo Theme::Translate('The IP address of the remote host\'s broadcast address (or gateway)'); ?>"><?php echo Theme::Translate('BroadCast Address'); ?></label>
92
 
                    <div class="controls">
93
 
                        <input class="" name="broadCastAddress" type="text" id="broadCastAddress" tabindex="1" value="<?php echo Theme::Get('broadCastAddress'); ?>" />
94
 
                    </div>
95
 
                </div>
96
 
                <div class="control-group">
97
 
                    <label class="control-label" for="secureOn" accesskey="n" title="<?php echo Theme::Translate('Enter a hexidecimal password of a SecureOn enabled Network Interface Card (NIC) of the remote host. Enter a value in this pattern: \'xx-xx-xx-xx-xx-xx\'. Leave the following field empty, if SecureOn is not used (for example, because the NIC of the remote host does not support SecureOn).'); ?>"><?php echo Theme::Translate('Wake on LAN SecureOn'); ?></label>
98
 
                    <div class="controls">
99
 
                        <input class="" name="secureOn" type="text" id="secureOn" tabindex="1" value="<?php echo Theme::Get('secureOn'); ?>" />
100
 
                    </div>
101
 
                </div>
102
 
                <div class="control-group">
103
 
                    <label class="control-label" for="wakeOnLanTime" accesskey="n" title="<?php echo Theme::Translate('The time this display should receive the WOL command, using the 24hr clock - e.g. 19:00. Maintenance must be enabled.'); ?>"><?php echo Theme::Translate('Wake on LAN Time'); ?></label>
104
 
                    <div class="controls">
105
 
                        <input class="" name="wakeOnLanTime" type="text" id="wakeOnLanTime" tabindex="1" value="<?php echo Theme::Get('wakeOnLanTime'); ?>" />
106
 
                    </div>
107
 
                </div>
108
 
                <div class="control-group">
109
 
                    <label class="control-label" for="cidr" accesskey="n" title="<?php echo Theme::Translate('Enter a number within the range of 0 to 32 in the following field. Leave the following field empty, if no subnet mask should be used (CIDR = 0). If the remote host\'s broadcast address is unkown: Enter the host name or IP address of the remote host in Broad Cast Address and enter the CIDR subnet mask of the remote host in this field.'); ?>"><?php echo Theme::Translate('Wake on LAN CIDR'); ?></label>
110
 
                    <div class="controls">
111
 
                        <input class="" name="cidr" type="text" id="cidr" tabindex="1" value="<?php echo Theme::Get('cidr'); ?>" />
112
 
                    </div>
113
 
                </div>
114
 
                <div class="control-group">
115
 
                    <label class="control-label" for="latitude" accesskey="n" title="<?php echo Theme::Translate('The Latitude of this display'); ?>"><?php echo Theme::Translate('Latitude'); ?></label>
116
 
                    <div class="controls">
117
 
                        <input class="" name="latitude" type="text" id="latitude" tabindex="1" value="<?php echo Theme::Get('latitude'); ?>" />
118
 
                    </div>
119
 
                </div>
120
 
                <div class="control-group">
121
 
                    <label class="control-label" for="longitude" accesskey="n" title="<?php echo Theme::Translate('The Longitude of this Display'); ?>"><?php echo Theme::Translate('Longitude'); ?></label>
122
 
                    <div class="controls">
123
 
                        <input class="" name="longitude" type="text" id="longitude" tabindex="1" value="<?php echo Theme::Get('longitude'); ?>" />
124
 
                    </div>
125
 
                </div>
126
 
            </div>
127
 
        </div>
128
 
    </form>
129
 
</div>
 
 
b'\\ No newline at end of file'