~xibo-maintainers/xibo/tempel

« back to all changes in this revision

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

  • Committer: Dan Garner
  • Date: 2015-01-15 14:26:07 UTC
  • Revision ID: git-v1:0bf2226a1e1e343100602a625c79b0b71a23593d
Migrated from BZR and moved files to root 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
 
 *      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
27
 
 */
28
 
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
29
 
?>
30
 
<div id="FileAssociationsAssign" class="well">
31
 
        <div>
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>
35
 
                <?php } ?>
36
 
        </ul>
37
 
    </div>
38
 
</div>
39
 
<div class="XiboGrid" id="<?php echo Theme::Get('id'); ?>">
40
 
        <div class="XiboFilter">
41
 
                <div class="FilterDiv" id="Filter">
42
 
                        <form>
43
 
                                <?php echo Theme::Get('form_meta'); ?>
44
 
                        
45
 
                                <table class="filterform">
46
 
                                        <tr>
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>
51
 
                                        </tr>
52
 
                                </table>
53
 
                        </form>
54
 
                </div>
55
 
        </div>
56
 
        <div class="XiboData"></div>
57
 
        <?php echo Theme::Get('pager'); ?>
58
 
</div>