3
* Xibo - Digital Signage - http://www.xibo.org.uk
4
* Copyright (C) 2006-2013 Daniel Garner
6
* This file is part of Xibo.
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
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.
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/>.
22
* id = The GridID for rendering AJAX layout table return
23
* filter_id = The Filter Form ID
24
* form_meta = Extra form meta that needs to be sent to the CMS to return the list of layouts
25
* pager = A paging control for this Xibo Grid
27
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
30
<div class="col-sm-12">
31
<div class="btn-group pull-right xibo-calendar-controls">
32
<button type="button" class="btn btn-warning" data-calendar-view="year"><?php echo Theme::Translate('Year'); ?></button>
33
<button type="button" class="btn btn-warning active" data-calendar-view="month"><?php echo Theme::Translate('Month'); ?></button>
34
<button type="button" class="btn btn-warning" data-calendar-view="week"><?php echo Theme::Translate('Week'); ?></button>
35
<button type="button" class="btn btn-warning" data-calendar-view="day"><?php echo Theme::Translate('Day'); ?></button>
37
<div class="btn-group pull-right xibo-calendar-controls">
38
<button type="button" class="btn btn-primary" data-calendar-nav="prev"><span class="glyphicon glyphicon-backward"></span> <?php echo Theme::Translate('Prev'); ?></button>
39
<button type="button" class="btn btn-default" data-calendar-nav="today"><?php echo Theme::Translate('Today'); ?></button>
40
<button type="button" class="btn btn-primary" data-calendar-nav="next"><?php echo Theme::Translate('Next'); ?> <span class="glyphicon glyphicon-forward"></span></button>
42
<div class="btn-group pull-right xibo-calendar-controls">
43
<button class="btn btn-success XiboFormButton" href="<?php echo Theme::Get('event_add_url'); ?>"><?php echo Theme::Translate('Add Event'); ?></button>
45
<div class="xibo-calendar-controls dropdown pull-right">
46
<select id="<?php echo Theme::Get('id'); ?>" type="form-control" name="DisplayGroupIDs[]" data-live-search="true" data-selected-text-format="count > 4" title="<?php echo Theme::Translate('Nothing Selected'); ?>" multiple>
47
<option value="-1"<?php echo (Theme::Get('allSelected') == 1) ? 'selected' : ''; ?>><?php echo Theme::Translate('All'); ?></option>
48
<optgroup label="<?php echo Theme::Translate('Groups'); ?>">
49
<?php foreach(Theme::Get('groups') as $row) { ?>
50
<option value="<?php echo $row['displaygroupid']; ?>"<?php echo $row['checked_text']; ?>><?php echo $row['displaygroup']; ?></option>
53
<optgroup label="<?php echo Theme::Translate('Displays'); ?>">
54
<?php foreach(Theme::Get('displays') as $row) { ?>
55
<option value="<?php echo $row['displaygroupid']; ?>"<?php echo $row['checked_text']; ?>><?php echo $row['displaygroup']; ?></option>
60
<h1 class="page-header"></h1>
64
<div class="col-sm-12">
65
<div id="Calendar"></div>
69
<div class="col-sm-12">
70
<div class="cal-legend">
72
<li class="event-info"><span class="fa fa-desktop"></span> <?php echo Theme::Translate('Single Display'); ?></li>
73
<li class="event-success"><span class="fa fa-desktop"></span> <?php echo Theme::Translate('Multi Display'); ?></li>
74
<li class="event-important"><span class="fa fa-bullseye"></span> <?php echo Theme::Translate('Priority'); ?></li>
75
<li class="event-special"><span class="fa fa-repeat"></span> <?php echo Theme::Translate('Recurring'); ?></li>
76
<li class="event-inverse"><span class="fa fa-lock"></span> <?php echo Theme::Translate('View Permission Only'); ?></li>
b'\\ No newline at end of file'