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
* table_rows = Array containing the table rows
26
* buttons = The buttons enabled for the layout
27
* id = The ID of the button
28
* text = The Text for the button
29
* url = The URL of the button
31
use Xibo\Helper\Theme;
33
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
38
<th><?php echo Theme::Translate('Heading'); ?></th>
39
<th><?php echo Theme::Translate('List Content'); ?></th>
40
<th><?php echo Theme::Translate('Column Order'); ?></th>
41
<th><?php echo Theme::Translate('Data Type'); ?></th>
42
<th><?php echo Theme::Translate('Column Type'); ?></th>
46
<?php foreach(Theme::Get('table_rows') as $row) { ?>
48
<td><?php echo $row['heading']; ?></td>
49
<td><?php echo $row['listcontent']; ?></td>
50
<td><?php echo $row['columnorder']; ?></td>
51
<td><?php echo $row['datatype']; ?></td>
52
<td><?php echo $row['datasetcolumntype']; ?></td>
54
<div class="btn-group pull-right">
55
<button class="btn dropdown-toggle" data-toggle="dropdown">
56
<?php echo Theme::Translate('Action'); ?>
57
<span class="glyphicon glyphicon-tasks"></span>
59
<ul class="dropdown-menu">
60
<?php foreach($row['buttons'] as $button) { ?>
61
<li class="<?php echo (($button['id'] == 'layout_button_design') ? 'XiboRedirectButton' : 'XiboFormButton'); ?>" href="<?php echo $button['url']; ?>"><a tabindex="-1" href="#"><?php echo $button['text']; ?></a></li>
b'\\ No newline at end of file'