Ejemplo n.º 1
0
 /**
  * Displays the page logic
  */
 function displayPage()
 {
     $db =& $this->db;
     // Default options
     if (Kit::IsFilterPinned('content', 'Filter')) {
         Theme::Set('filter_pinned', 'checked');
         Theme::Set('filter_name', Session::Get('content', 'filter_name'));
         Theme::Set('filter_type', Session::Get('content', 'filter_type'));
         Theme::Set('filter_retired', Session::Get('content', 'filter_retired'));
         Theme::Set('filter_owner', Session::Get('content', 'filter_owner'));
         Theme::Set('filter_duration_in_seconds', Session::Get('content', 'filter_duration_in_seconds'));
         Theme::Set('filter_duration_in_seconds_checked', Theme::Get('filter_duration_in_seconds') == 1 ? 'checked' : '');
     } else {
         Theme::Set('filter_retired', 0);
         Theme::Set('filter_duration_in_seconds', 0);
     }
     Theme::Set('library_form_add_url', 'index.php?p=content&q=displayForms');
     $id = uniqid();
     Theme::Set('id', $id);
     Theme::Set('filter_id', 'XiboFilterPinned' . uniqid('filter'));
     Theme::Set('pager', ResponseManager::Pager($id));
     Theme::Set('form_meta', '<input type="hidden" name="p" value="content"><input type="hidden" name="q" value="LibraryGrid">');
     // Field list for a "retired" dropdown list
     Theme::Set('retired_field_list', array(array('retiredid' => 1, 'retired' => 'Yes'), array('retiredid' => 0, 'retired' => 'No')));
     // Field list for a "owner" dropdown list
     Theme::Set('owner_field_list', $db->GetArray("SELECT 0 AS UserID, 'All' AS UserName UNION SELECT DISTINCT user.UserID, user.UserName FROM `media` INNER JOIN `user` ON media.UserID = user.UserID "));
     // Module types filter
     $types = $db->GetArray("SELECT Module AS moduleid, Name AS module FROM `module` WHERE RegionSpecific = 0 AND Enabled = 1 ORDER BY 2");
     array_unshift($types, array('moduleid' => '', 'module' => 'All'));
     Theme::Set('module_field_list', $types);
     // Call to render the template
     Theme::Render('library_page');
 }
Ejemplo n.º 2
0
?>
"><?php 
echo Theme::Translate('Latitude');
?>
</label>
                    <div class="controls">
                        <input class="" name="latitude" type="text" id="latitude" tabindex="1" value="<?php 
echo Theme::Get('latitude');
?>
" />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label" for="longitude" accesskey="n" title="<?php 
echo Theme::Translate('The Longitude of this Display');
?>
"><?php 
echo Theme::Translate('Longitude');
?>
</label>
                    <div class="controls">
                        <input class="" name="longitude" type="text" id="longitude" tabindex="1" value="<?php 
echo Theme::Get('longitude');
?>
" />
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
 * 	form_meta = Additional META information required by Xibo in the form submit call
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<form id="<?php 
echo Theme::Get('form_id');
?>
" class="XiboForm" method="post" action="<?php 
echo Theme::Get('form_action');
?>
">
	<?php 
echo Theme::Get('form_meta');
?>
	<table>
		<tr>
			<td><label for="defaultlayoutid" accesskey="n" title="<?php 
echo Theme::Translate('Default Layout');
?>
"><?php 
echo Theme::Translate('Default Layout');
?>
</label></td>
			<td><?php 
echo Theme::SelectList('defaultlayoutid', Theme::Get('layout_field_list'), 'layoutid', 'layout', Theme::Get('defaultlayoutid'));
?>
</td>
		</tr>
	</table>
</form>
?>
<table id="LayoutAssignTable" class="table table-bordered">
	<?php 
echo Theme::Get('form_meta');
?>
	<thead>
		<tr>
			<th><?php 
echo Theme::Translate('Name');
?>
</th>
		</tr>
	</thead>
	<tbody>
		<?php 
foreach (Theme::Get('table_rows') as $row) {
    ?>
		<tr rowid="<?php 
    echo $row['list_id'];
    ?>
" litext="<?php 
    echo $row['layout'];
    ?>
">
			<td><?php 
    echo $row['layout'];
    ?>
</td>
			<td><span class="layout_assign_list_select icon-plus-sign"></span>
		</tr>
		<?php 
Ejemplo n.º 5
0
<h1><?php 
echo __('There has been an application error.');
?>
</h1>
<p><?php 
echo Theme::Get('ErrorMessage');
?>
</p>
Ejemplo n.º 6
0
        </div>
    </div>
    <div class="control-group">
        <div class="controls">
            <input class="checkbox" name="ignorefirstrow" type="checkbox" id="ignorefirstrow" tabindex="2" checked />
    		<label class="checkbox" for="ignorefirstrow" accesskey="n" title="<?php 
echo Theme::Translate('Ignore the first row? Useful if the CSV has headings.');
?>
"><?php 
echo Theme::Translate('Ignore first row?');
?>
</label>
        </div>
    </div>
    <?php 
foreach (Theme::Get('fields') as $field) {
    ?>
	    <div class="control-group">
	    	<label class="control-label" for="<?php 
    echo $field['formfieldid'];
    ?>
" title="<?php 
    echo $field['heading'];
    ?>
"><?php 
    echo $field['heading'];
    ?>
</label>
	        <div class="controls">
	            <input class="" name="<?php 
    echo $field['formfieldid'];
Ejemplo n.º 7
0
 * Xibo - Digital Signage - http://www.xibo.org.uk
 * Copyright (C) 2006-2013 Daniel Garner
 *
 * This file is part of Xibo.
 *
 * Xibo is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version. 
 *
 * Xibo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Theme variables:
 * 	text = The License text (from theme file about_text)
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<div class="row">
	<div class="col-md-12">
		<?php 
echo Theme::Get('text');
?>
	</div>
</div>
Ejemplo n.º 8
0
            {% if (file.error) { %}
                <div><span class="label label-important"><?php 
echo Theme::Translate('Error');
?>
</span> {%=file.error%}</div>
            {% } %}
        </td>
        <td>
            <span class="size">{%=o.formatFileSize(file.size)%}</span>
        </td>
        <td>
			<?php 
if (Theme::Get('background_override_url') != '') {
    ?>
            	<button class="btn XiboFormButton" href="#" onclick="XiboSwapDialog('<?php 
    echo Theme::Get('background_override_url');
    ?>
{%=file.storedas%}')">
                    <i class="icon-ban-circle icon-white"></i>
                    <span><?php 
    echo Theme::Translate('Set Background');
    ?>
</span>
                </button>
        	<?php 
}
?>
        </td>
    </tr>
{% } %}
</script>
echo Theme::Translate('Type');
?>
</th>   
            <th><?php 
echo Theme::Translate('Version');
?>
</th>  
            <th><?php 
echo Theme::Translate('Version Code');
?>
</th> 
        </tr>
    </thead>
    <tbody>
        <?php 
foreach (Theme::Get('displays') as $row) {
    ?>
        <tr>
            <td><?php 
    echo $row['display'];
    ?>
</td>
            <td><?php 
    echo $row['client_type'];
    ?>
</td>
            <td><?php 
    echo $row['client_version'];
    ?>
</td>
            <td><?php 
Ejemplo n.º 10
0
 * 	
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<form id="<?php 
echo Theme::Get('form_id');
?>
" class="XiboForm" method="post" action="<?php 
echo Theme::Get('form_action');
?>
">
	<?php 
echo Theme::Get('form_meta');
?>
	<table>
        <tr>
        	<td><label for="homepage" title="<?php 
echo Theme::Translate('The users Homepage. This should not be changed until you want to reset their homepage.');
?>
"><?php 
echo Theme::Translate('Homepage');
?>
</label></td>
        	<td><?php 
echo Theme::SelectList('homepage', Theme::Get('homepage_field_list'), 'homepageid', 'homepage', Theme::Get('homepage'));
?>
</td>
   		</tr>
    </table>
</form>
Ejemplo n.º 11
0
 * 	layout_form_add_url = The URL for calling the Layout Add Form
 * 	id = The GridID for rendering AJAX layout table return
 * 	filter_id = The Filter Form ID
 * 	form_meta = Extra form meta that needs to be sent to the CMS to return the list of layouts
 * 	pager = A paging control for this Xibo Grid
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<div id="LayoutAssign" class="well">
	<div>
    	<ul id="LayoutAssignSortable">
    		<?php 
echo Kit::Token('assign_token');
?>
    		<?php 
foreach (Theme::Get('layouts_assigned') as $row) {
    ?>
    		<li id="LayoutID_<?php 
    echo $row->layoutId;
    ?>
" class="btn btn-sm btn-default"><?php 
    echo $row->layout;
    ?>
 <span class="glyphicon glyphicon-minus-sign"></span></li>
			<?php 
}
?>
    	</ul>
    </div>
</div>
Ejemplo n.º 12
0
 * Xibo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Theme variables:
 * 	version
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<h2>License <small>Digital Signage for Everyone</small></h2>
<p>Xibo Digital Signage - <a target="_blank"  href="http://www.xibo.org.uk" title="Xibo Website">www.xibo.org.uk</a>. Version <?php 
echo Theme::Get('version');
?>
<br />
Copyright &copy 2006-2014 Daniel Garner, Alex Harrington, Spring Signage Ltd and 
the <a target="_blank"  href="https://launchpad.net/~xibo-developers/+members" title="Xibo Developers">Xibo Developers</a>.</p>
 
<p>Xibo is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version. </p>
 
<p>Xibo is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.</p>
 
Ejemplo n.º 13
0
?>
 />
		</div>
	</div>
	<?php 
if (Theme::Get('is_assignable')) {
    ?>
	<div class="control-group">
		<div class="controls">
			<label class="checkbox" for="replaceInLayouts" accesskey="n"><?php 
    echo Theme::Translate('Update this media in all layouts it is assigned to. Note: It will only be replaced in layouts you have permission to edit.');
    ?>
				<input type="checkbox" id="replaceInLayouts" name="replaceInLayouts" <?php 
    echo Theme::Get('is_replace_field_checked');
    ?>
 />
			</label>
		</div>
	</div>
	<?php 
}
?>
	<div class="well">
		<?php 
echo Theme::Get('valid_extensions');
?>
	</div>
</form>
<div style="display:none">
	<iframe name="fileupload" width="1px" height="1px"></iframe>
</div>
Ejemplo n.º 14
0
		<li><p><?php 
echo Theme::Translate('Recreate the Problem in a new window.');
?>
</p>
		</li>

		<li><p><?php 
echo Theme::Translate('Automatically collect and export relevant information into a text file.');
?>
 <?php 
echo Theme::Translate('Please save this file to your PC.');
?>
</p>
		<a class="btn btn-default" href="<?php 
echo Theme::Get('collect_data_url');
?>
" title="Collect Data"><?php 
echo Theme::Translate('Collect and Save Data');
?>
</a>
		</li>

		<li><p><?php 
echo Theme::Translate('Turn full auditing and debugging OFF.');
?>
</p>
			<form id="2" class="XiboAutoForm" action="index.php?p=admin" method="post">
				<input type="hidden" name="q" value="SetMinDebug" />
				<input class="btn btn-default" type="submit" value="<?php 
echo Theme::Translate('Turn OFF Debugging');
Ejemplo n.º 15
0
			<td><?php 
echo Theme::SelectList('bg_image', Theme::Get('background_image_list'), 'mediaid', 'media', Theme::Get('background_id'), 'onchange="background_button_callback()"');
?>
</td>
			<td rowspan="3"><img id="bg_image_image" src="<?php 
echo Theme::Get('background_thumbnail_url');
?>
" alt="<?php 
echo Theme::Translate('Background thumbnail');
?>
" />
		</tr>
		<tr>
			<td><label for="resolutionid" title="<?php 
echo Theme::Translate('Pick the resolution');
?>
"><?php 
echo Theme::Translate('Resolution');
?>
</label></td>
			<td><?php 
echo Theme::SelectList('resolutionid', Theme::Get('resolution_field_list'), 'resolutionid', 'resolution', Theme::Get('resolutionid'));
?>
</td>
		</tr>
	</table>
</form>



Ejemplo n.º 16
0
			    </div>
			</div>
    		<div class="form-group">
                <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>
                <div class="col-sm-10">
                    <input class="required number" name="duration" type="text" id="duration" tabindex="1" value="<?php 
echo Theme::Get('duration');
?>
" <?php 
echo Theme::Get('is_duration_enabled');
?>
 />
                </div>
            </div>
            <div class="form-group">
            	<label for="speedInterval" accesskey="n" title="<?php 
echo Theme::Translate('The speed in seconds between each item');
?>
"><?php 
echo Theme::Translate('Speed');
?>
</label>
                <div class="col-sm-10">
                    <input class="required number" name="speedInterval" type="text" id="speedInterval" tabindex="1" />
                </div>
Ejemplo n.º 17
0
"><?php 
echo Theme::Translate('Background transparent?');
?>
                        <input class="" name="transparency" type="checkbox" id="transparency" tabindex="2" />
                    </label>
                </div>
            </div>
    	</div>
    </div>
    <div class="row">
        <div class="span4">
            <p class="text-info text-center"><?php 
echo Theme::Translate('HTML to Embed');
?>
</p>
            <textarea class="wide_textarea" cols="80" rows="10" name="embedHtml"></textarea>
        </div>
    </div>
    <div class="row">
        <div class="span4">
            <p class="text-info text-center"><?php 
echo Theme::Translate('HEAD content to Embed (including script tags)');
?>
</p>
            <textarea class="wide_textarea" cols="80" rows="10" name="embedScript"><?php 
echo Theme::Get('default_head_content');
?>
</textarea>
        </div>
    </div>
</form>
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Theme variables:
 *  buttons = An array containing the media buttons
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<div class="well">
    <div class="text-center text-info"><?php 
echo Theme::Translate('Available Substitutions');
?>
</div>
    <ul id="TickerDataSetColumns">
        <?php 
foreach (Theme::Get('columns') as $column) {
    ?>
        <li class="ckeditor_snippits" linkedto="ta_text" datasetcolumnid="<?php 
    echo $column['DataSetColumnID'];
    ?>
"><?php 
    echo $column['Heading'];
    ?>
</li>
        <?php 
}
?>
    </ul>
</div>
Ejemplo n.º 19
0
        <script src="theme/default/libraries/jquery-file-upload/js/jquery.fileupload-ui.js"></script>
        <script src="theme/default/libraries/jquery-message-queuing/jquery.ba-jqmq.min.js"></script>
        <script src="theme/default/libraries/date-time-format.js"></script>
        <script src="theme/default/libraries/momentjs/moment.js"></script>
        <script src="theme/default/libraries/morrisjs/raphael.min.js"></script>
        <script src="theme/default/libraries/morrisjs/morris.min.js"></script>
        <script src="theme/default/libraries/colors/colors.min.js"></script>
        <script src="theme/default/js/xibo-cms.js"></script>
    	<script src="theme/default/js/xibo-forms.js"></script>
    	<script src="theme/default/js/xibo-layout-designer.js"></script>
    	<script src="theme/default/js/xibo-preview-timeline.js"></script>
    	<script src="theme/default/js/xibo-calendar.js"></script>
    	<script src="theme/default/js/xibo-datasets.js"></script>
        <script type="text/javascript">
        var translations = <?php 
echo Theme::Get('translations') == '' ? '{}' : Theme::Get('translations');
?>
;
        var language = "<?php 
echo TranslationEngine::GetJsLocale();
?>
";
        var dateFormat = "<?php 
echo Config::GetSetting('DATE_FORMAT', 'Y-m-d h:i');
?>
";
        var calendarType = "<?php 
echo Config::GetSetting('CALENDAR_TYPE');
?>
";
        var calendarLanguage = "<?php 
Ejemplo n.º 20
0
	<div class="col-md-12">
		<?php 
echo Theme::Get('layout_designer_editor');
?>
	</div>
</div>
<?php 
if (Theme::Get('layoutVersion') < 2) {
    ?>
<div class="row">
	<div class="col-md-offset-1 col-md-5">
		<p class="alert alert-danger"><?php 
    echo Theme::Translate('This is an old format layout, please consider upgrading using the options menu');
    ?>
</p>
	</div>
</div>
<?php 
}
if (Theme::Get('designerScale') < 0.41) {
    ?>
<div class="row">
	<div class="col-md-offset-1 col-md-5">
		<p class="alert alert-danger"><?php 
    echo Theme::Translate('This Layout is very large, so we have disabled region drag and drop. You could enlarge the designer from the options menu or use Region Options to Manually Position your regions.');
    ?>
</p>
	</div>
</div>
<?php 
}
</th>
              <th><?php 
echo Theme::Translate('View');
?>
</th>
              <th><?php 
echo Theme::Translate('Edit');
?>
</th>
              <th><?php 
echo Theme::Translate('Delete');
?>
</th>
      	</tr>
      	<?php 
foreach (Theme::Get('form_rows') as $row) {
    ?>
		<tr>
			<td><span class="<?php 
    echo $row['class'];
    ?>
"><?php 
    echo $row['name'];
    ?>
</span></td>
			<td><input type="checkbox" name="groupids[]" value="<?php 
    echo $row['value_view'];
    ?>
" <?php 
    echo $row['value_view_checked'];
    ?>
Ejemplo n.º 22
0
?>
</label>
			<div class="controls">
				<input name="description" type="text" id="description" tabindex="2" />
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="tags" accesskey="t" title="<?php 
echo Theme::Translate('Tags for this layout - used when searching for it. Space delimited. (1 - 250 characters)');
?>
"><?php 
echo Theme::Translate('Tags');
?>
</label>
			<div class="controls">
				<input name="tags" type="text" id="tags" tabindex="3" />
			</div>
		</div>
		<div class="control-group">
        	<label class="control-label" for='templateid'><?php 
echo Theme::Translate('Template');
?>
</label>
        	<div class="controls">
        		<?php 
echo Theme::SelectList('templateid', Theme::Get('template_field_list'), 'templateid', 'template');
?>
    		</div>
        </div>
	</fieldset>
</form>
Ejemplo n.º 23
0
 *
 * Xibo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Theme variables:
 * 	pager_id = The ID of this pager control
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<div class="pagination pagination-right" id="<?php 
echo Theme::Get('pager_id');
?>
">
    <form class="form-inline">
        <span class="first icon-fast-backward"></span>
        <span class="prev icon-step-backward"></span>
        <input type="text" class="pagedisplay"/>
        <span class="next icon-step-forward"></span>
        <span class="last icon-fast-forward"></span>
        <select class="pagesize input-mini">
            <option value="5">5</option>
            <option value="10">10</option>
            <option value="20">20</option>
            <option value="30">30</option>
            <option value="40">40</option>
        </select>
Ejemplo n.º 24
0
?>
" />
                </div>
            </div>
    	</div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <p class="text-info text-center"><?php 
echo Theme::Translate('Message Template');
?>
</p>
            <textarea id="ta_template" class="wide_textarea" cols="80" rows="10" name="template"><?php 
echo Theme::Get('template');
?>
</textarea>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <p class="text-info text-center"><?php 
echo Theme::Translate('Message to display when there are no messages');
?>
</p>
            <textarea id="ta_nocontent" class="wide_textarea" cols="80" rows="10" name="nocontent"><?php 
echo Theme::Get('nocontent');
?>
</textarea>
        </div>
    </div>
</form>
Ejemplo n.º 25
0
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Theme variables:
 * 	id = The GridID for rendering AJAX layout table return
 * 	filter_id = The Filter Form ID
 * 	form_meta = Extra form meta that needs to be sent to the CMS to return the list of layouts
 * 	pager = A paging control for this Xibo Grid
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<div class="row">
	<div class="col-md-12">
		<h3><?php 
echo Theme::Translate('Modules available to Install');
?>
</h3>
		<?php 
foreach (Theme::Get('to_install') as $row) {
    ?>
		<div class="row">
			<div class="col-md-12">
				<?php 
    echo '<a href="' . Theme::Get('module_install_url') . $row . '">' . $row . '</a>';
    ?>
			</div>
		</div>
		<?php 
}
?>
	</div>
</div>
Ejemplo n.º 26
0
<?php

/*
 * Xibo - Digital Signage - http://www.xibo.org.uk
 * Copyright (C) 2006-2014 Daniel Garner
 *
 * This file is part of Xibo.
 *
 * Xibo is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version. 
 *
 * Xibo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<p class="alert alert-danger"><?php 
echo Theme::Get('message');
?>
</p>
Ejemplo n.º 27
0
</label></td>
							<td><input class="date-pick" type="text" id="filter_fromdt" name="filter_fromdt" value="<?php 
echo Theme::Get('filter_fromdt');
?>
"></td>
							<td><label for="<?php 
echo Theme::Get('filter_id');
?>
"><?php 
echo Theme::Translate('Keep filter open');
?>
</label></td>
		                    <td><input type="checkbox" id="<?php 
echo Theme::Get('filter_id');
?>
" name="XiboFilterPinned" class="XiboFilterPinned" <?php 
echo Theme::Get('filter_pinned');
?>
 /></td>
						</tr>
					</table>
				</form>
			</div>
		</div>
		<div class="XiboData"></div>
		<?php 
echo Theme::Get('pager');
?>
	</div>
</div>
Ejemplo n.º 28
0
                </div>
            </div>
        </div>
    	<div class="row-fluid">
    		<div class="control-group">
    			<div class="span12">
    				<textarea id="ta_text" name="ta_text"><?php 
echo Theme::Get('text');
?>
</textarea>
    			</div>
    		</div>
        </div>
        <div class="row-fluid">
            <div class="text-center text-info"><?php 
echo Theme::Translate('Optional Stylesheet');
?>
</div>
        </div>
        <div class="row-fluid">
            <div class="control-group">
                <div class="span12">
                    <textarea class="span12" id="ta_css" name="ta_css"><?php 
echo Theme::Get('css');
?>
</textarea>
                </div>
            </div>
        </div>
    </form>
</div>
Ejemplo n.º 29
0
 *
 * Xibo is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with Xibo.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Theme variables:
 *  form_id = The ID of the Form
 * 	form_action = The URL for calling the Layout Add Transaction
 * 	form_meta = Additional form meta data
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<form id="<?php 
echo Theme::Get('form_id');
?>
" class="XiboForm" method="post" action="<?php 
echo Theme::Get('form_action');
?>
">
	<?php 
echo Theme::Get('form_meta');
?>
	<p><?php 
echo Theme::Translate('Are you sure you want to delete this display? This cannot be undone.');
?>
</p>
</form>
Ejemplo n.º 30
0
?>
		<li class="pull-right"><a title="<?php 
echo Theme::Translate('View Help');
?>
" class="XiboHelpButton" href="<?php 
echo Theme::Get('settings_help_button_url');
?>
"><span><?php 
echo Theme::Translate('Help');
?>
</span></a></li>
		<li class="pull-right"><a title="<?php 
echo Theme::Translate('Save Settings');
?>
" href="#" onclick="$('#<?php 
echo Theme::Get('form_id');
?>
').submit()"><span><?php 
echo Theme::Translate('Save');
?>
</span></a></li>
	</ul>
</div>
<div class="row">

	<?php 
echo Theme::Get('settings_form');
?>

</div>