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
* layout_form_add_url = The URL for calling the Layout Add Form
23
* id = The GridID for rendering AJAX layout table return
24
* filter_id = The Filter Form ID
25
* form_meta = Extra form meta that needs to be sent to the CMS to return the list of layouts
26
* pager = A paging control for this Xibo Grid
28
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 id="FileAssociationsAssign" class="well">
32
<ul id="FileAssociationsSortable">
33
<?php foreach(Theme::Get('existing_associations') as $row) { ?>
34
<li id="MediaID_<?php echo $row['MediaID']; ?>" class="li-sortable"><?php echo $row['Name']; ?><span class="glyphicon glyphicon-minus-sign"></span></li>
39
<div class="XiboGrid" id="<?php echo Theme::Get('id'); ?>">
40
<div class="XiboFilter">
41
<div class="FilterDiv" id="Filter">
43
<?php echo Theme::Get('form_meta'); ?>
45
<table class="filterform">
47
<td><?php echo Theme::Translate('Name') ?></td>
48
<td><input class="form-control" type="text" name="filter_name" value="<?php echo Theme::Get('filter_name'); ?>"></td>
49
<td><?php echo Theme::Translate('Type') ?></td>
50
<td><?php echo Theme::SelectList('filter_type', Theme::Get('module_field_list'), 'moduleid', 'module', Theme::Get('filter_type')); ?></td>
56
<div class="XiboData"></div>
57
<?php echo Theme::Get('pager'); ?>