~bakkerl/xibo/1.6

274 by Dan Garner
Merged ~dangarner/server-150-default
1
<?php
2
/*
292.1.38 by Dan Garner
[server] Corrected spelling in header.
3
 * Xibo - Digital Signage - http://www.xibo.org.uk
274 by Dan Garner
Merged ~dangarner/server-150-default
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
 *  buttons = An array containing the media buttons
23
 */
24
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
25
?>
279.1.42 by Dan Garner
[server] Text form bug
26
<div class="container-fluid">
27
    <form id="<?php echo Theme::Get('form_id'); ?>" class="XiboForm form-horizontal" method="post" action="<?php echo Theme::Get('form_action'); ?>">
28
        <?php echo Theme::Get('form_meta'); ?>
29
        <div class="row-fluid">
30
        	<div class="span6">
31
    			<div class="control-group">
32
    				<label class="control-label" for="direction" accesskey="n" title="<?php echo Theme::Translate('Direction to Scroll'); ?>"><?php echo Theme::Translate('Direction'); ?></label>
33
    			    <div class="controls">
34
    			        <?php echo Theme::SelectList('direction', Theme::Get('direction_field_list'), 'directionid', 'direction', Theme::Get('direction')); ?>
35
    			    </div>
36
    			</div>
37
        		<div class="control-group">
38
        			<label class="control-label" for="scrollSpeed" accesskey="n" title="<?php echo Theme::Translate('The scroll speed to apply if a direction is specified. Higher is faster.'); ?>"><?php echo Theme::Translate('Scroll Speed'); ?></label>
39
        		    <div class="controls">
40
        		        <input class="" name="scrollSpeed" type="text" id="scrollSpeed" tabindex="1" value="<?php echo Theme::Get('scrollSpeed'); ?>" />
41
        		    </div>
42
        		</div>
43
        	</div>
44
        	<div class="span6">
45
    			<div class="control-group">
46
                    <label class="control-label" for="duration" accesskey="n" title="<?php echo Theme::Translate('The duration in seconds this media should be displayed'); ?>"><?php echo Theme::Translate('Duration'); ?></label>
47
                    <div class="controls">
48
                        <input class="required number" name="duration" type="text" id="duration" tabindex="3" value="<?php echo Theme::Get('duration'); ?>" <?php echo Theme::Get('is_duration_enabled'); ?> />
49
                    </div>
50
                </div>
51
                <div class="control-group">
52
                    <div class="controls">
53
                        <label class="checkbox" for="fitText" accesskey="n" title="<?php echo Theme::Translate('Fit text to region'); ?>"><?php echo Theme::Translate('Fit text to region'); ?>
292.1.7 by Dan Garner
[server] Minor bug fixes.
54
                            <input class="checkbox" name="fitText" type="checkbox" id="fitText" tabindex="2" <?php echo Theme::Get('fitTextChecked'); ?> />
279.1.42 by Dan Garner
[server] Text form bug
55
                		</label>
56
                    </div>
57
                </div>
58
        	</div>
59
        </div>
60
        <div class="row-fluid">
61
            <div class="span12">
62
                <textarea id="ta_text" class="wide_textarea" cols="80" rows="10" name="ta_text"><?php echo Theme::Get('text'); ?></textarea>
63
            </div>
64
        </div>
65
    </form>
66
</div>