Ejemplo n.º 1
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 Transaction
 * 	form_meta = Extra META information required by the Transation
 */
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 truncate?');
?>
</p>
</form>
 * 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.");
?>
<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'];
    ?>
">
 * 	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 class="table table-bordered">
      	<tr>
              <th><?php 
echo Theme::Translate('Group');
?>
</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 
Ejemplo n.º 5
0
echo Theme::Translate('Overwrite existing data');
?>
"><?php 
echo Theme::Translate('Overwrite existing data?');
?>
</label>
        </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 
Ejemplo n.º 6
0
 * 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.");
// Translations we want always available
Theme::SetTranslation('multiselect', Theme::Translate('Multiple Items Selected'));
Theme::SetTranslation('multiselectNoItemsMessage', Theme::Translate('Sorry, no items have been selected.'));
Theme::SetTranslation('multiselectMessage', Theme::Translate('Caution, you have selected %1 items. Clicking save will run the %2 transaction on all these items.'));
Theme::SetTranslation('save', Theme::Translate('Save'));
Theme::SetTranslation('cancel', Theme::Translate('Cancel'));
Theme::SetTranslation('close', Theme::Translate('Close'));
Theme::SetTranslation('success', Theme::Translate('Success'));
Theme::SetTranslation('failure', Theme::Translate('Failure'));
Theme::SetTranslation('enterText', Theme::Translate('Enter text...'));
?>
                </div>
            </div>
        </div>
        </div>
        </div>

		<script src="theme/default/libraries/jquery/jquery-1.11.1.min.js"></script>
		<script src="theme/default/libraries/jquery/jquery.validate.min.js"></script>
		<script src="theme/default/libraries/jquery/additional-methods.min.js"></script>
        <script src="theme/default/libraries/bootstrap/js/bootstrap.min.js"></script>
        <script src="theme/default/libraries/bootstrap/js/bootbox.min.js"></script>
        <?php 
if (Config::GetSetting('CALENDAR_TYPE') == 'Jalali') {
    ?>
Ejemplo n.º 7
0
?>
"><?php 
echo Theme::Translate('Change Password');
?>
</a></li>
								<li><a class="XiboFormButton" href="index.php?p=index&q=About" title="<?php 
echo Theme::Translate('About the CMS');
?>
"><?php 
echo Theme::Translate('About');
?>
</a></li>
								<li><a title="Show Help" class="XiboHelpButton" href="<?php 
echo Theme::GetPageHelpLink();
?>
"><?php 
echo Theme::Translate('Help');
?>
</a></li>
								<li><a title="Logout" href="index.php?q=logout"><?php 
echo Theme::Translate("Logout");
?>
</a></li>
							</ul>
						</li>
					</ul>
				</div>
			</div>

<?php 
//The remaining content follows here in the page that included this template file. The footer.php file then closes off any block elements that remain open
 * 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:
 *  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 
}
Ejemplo n.º 9
0
?>
" class="XiboFormButton" href="<?php 
echo Theme::Get('oauth_log_button_url');
?>
" ><span><?php 
echo Theme::Translate('oAuth Log');
?>
</span></a></li>
		<li class="pull-right"><a title="<?php 
echo Theme::Translate('Add an Application');
?>
" class="XiboFormButton" href="<?php 
echo Theme::Get('application_form_add_url');
?>
" ><span><?php 
echo Theme::Translate('Add Application');
?>
</span></a></li>
	</ul>
</div>
<div class="row">
	<div class="XiboGrid span12" id="<?php 
echo Theme::Get('id');
?>
">
		<div class="XiboFilter">
			<div class="FilterDiv" id="Filter">
				<form>
					<?php 
echo Theme::Get('form_meta');
?>
    <thead>
        <tr>
            <th><?php 
echo Theme::Translate('Display');
?>
</th> 
            <th><?php 
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'];
Ejemplo n.º 11
0
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<table id="LibraryAssignTable" class="table table-bordered">
	<thead>
		<tr>
			<th><?php 
echo Theme::Translate('Name');
?>
</th>
			<th><?php 
echo Theme::Translate('Type');
?>
</th>
			<th><?php 
echo Theme::Translate('Duration');
?>
</th>
		</tr>
	</thead>
	<tbody>
		<?php 
foreach (Theme::Get('table_rows') as $row) {
    ?>
		<tr rowid="<?php 
    echo $row['list_id'];
    ?>
" litext="<?php 
    echo $row['media'];
    ?>
">
Ejemplo n.º 12
0
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="info_table">
    <table style="width:100%">
        <thead>
            <tr>
                <th><?php 
echo Theme::Translate('Application');
?>
</th>
                <th><?php 
echo Theme::Translate('Enabled');
?>
</th>
                <th><?php 
echo Theme::Translate('Status');
?>
</th>   
            </tr>
        </thead>
        <tbody>
            <?php 
foreach (Theme::Get('table_rows') as $row) {
    ?>
            <tr>
                <td><?php 
    echo $row['application_title'];
    ?>
</td>
                <td><?php 
    echo $row['enabled'];
Ejemplo n.º 13
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.º 14
0
			<input name="duration" type="text" id="duration" tabindex="3" value="<?php 
echo Theme::Get('duration');
?>
" <?php 
echo Theme::Get('is_duration_field_enabled');
?>
 />
		</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');
?>
Ejemplo n.º 15
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>
Ejemplo n.º 16
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 
}
Ejemplo n.º 17
0
                <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>
Ejemplo n.º 18
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.º 19
0
 /**
  * Displays the Layout Page
  */
 function displayPage()
 {
     $db =& $this->db;
     switch ($this->sub_page) {
         case 'view':
             // Default options
             if (Kit::IsFilterPinned('layout', 'LayoutFilter')) {
                 $layout = Session::Get('layout', 'filter_layout');
                 $tags = Session::Get('layout', 'filter_tags');
                 $retired = Session::Get('layout', 'filter_retired');
                 $owner = Session::Get('layout', 'filter_userid');
                 $filterLayoutStatusId = Session::Get('layout', 'filterLayoutStatusId');
                 $showDescriptionId = Session::Get('layout', 'showDescriptionId');
                 $showThumbnail = Session::Get('layout', 'showThumbnail');
                 $showTags = Session::Get('content', 'showTags');
                 $pinned = 1;
             } else {
                 $layout = NULL;
                 $tags = NULL;
                 $retired = 0;
                 $owner = NULL;
                 $filterLayoutStatusId = 1;
                 $showDescriptionId = 2;
                 $pinned = 0;
                 $showThumbnail = 1;
                 $showTags = 0;
             }
             $id = uniqid();
             Theme::Set('header_text', __('Layouts'));
             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="layout"><input type="hidden" name="q" value="LayoutGrid">');
             $formFields = array();
             $formFields[] = FormManager::AddText('filter_layout', __('Name'), $layout, NULL, 'l');
             $formFields[] = FormManager::AddText('filter_tags', __('Tags'), $tags, NULL, 't');
             // Users we have permission to see
             $users = $this->user->userList();
             array_unshift($users, array('userid' => '', 'username' => 'All'));
             $formFields[] = FormManager::AddCombo('filter_userid', __('Owner'), $owner, $users, 'userid', 'username', NULL, 'r');
             $formFields[] = FormManager::AddCombo('filter_retired', __('Retired'), $retired, array(array('retiredid' => 1, 'retired' => 'Yes'), array('retiredid' => 0, 'retired' => 'No')), 'retiredid', 'retired', NULL, 'r');
             $formFields[] = FormManager::AddCombo('filterLayoutStatusId', __('Show'), $filterLayoutStatusId, array(array('filterLayoutStatusId' => 1, 'filterLayoutStatus' => __('All')), array('filterLayoutStatusId' => 2, 'filterLayoutStatus' => __('Only Used')), array('filterLayoutStatusId' => 3, 'filterLayoutStatus' => __('Only Unused'))), 'filterLayoutStatusId', 'filterLayoutStatus', NULL, 's');
             $formFields[] = FormManager::AddCombo('showDescriptionId', __('Description'), $showDescriptionId, array(array('showDescriptionId' => 1, 'showDescription' => __('All')), array('showDescriptionId' => 2, 'showDescription' => __('1st line')), array('showDescriptionId' => 3, 'showDescription' => __('None'))), 'showDescriptionId', 'showDescription', NULL, 'd');
             $formFields[] = FormManager::AddCheckbox('showTags', __('Show Tags'), $showTags, NULL, 't');
             $formFields[] = FormManager::AddCheckbox('showThumbnail', __('Show Thumbnails'), $showThumbnail, NULL, 'i');
             $formFields[] = FormManager::AddCheckbox('XiboFilterPinned', __('Keep Open'), $pinned, NULL, 'k');
             Theme::Set('form_fields', $formFields);
             // Call to render the template
             Theme::Render('grid_render');
             break;
         case 'edit':
             Theme::Set('layout_form_edit_url', 'index.php?p=layout&q=displayForm&modify=true&layoutid=' . $this->layoutid);
             Theme::Set('layout_form_edit_background_url', 'index.php?p=layout&q=BackgroundForm&modify=true&layoutid=' . $this->layoutid);
             Theme::Set('layout_form_savetemplate_url', 'index.php?p=template&q=TemplateForm&layoutid=' . $this->layoutid);
             Theme::Set('layout_form_addregion_url', 'index.php?p=timeline&q=AddRegion&layoutid=' . $this->layoutid);
             Theme::Set('layout_form_preview_url', 'index.php?p=preview&q=render&ajax=true&layoutid=' . $this->layoutid);
             Theme::Set('layout', $this->layout);
             Kit::ClassLoader('campaign');
             $campaign = new Campaign($db);
             $campaignId = $campaign->GetCampaignId($this->layoutid);
             Theme::Set('layout_form_schedulenow_url', 'index.php?p=schedule&q=ScheduleNowForm&CampaignID=' . $campaignId);
             Theme::Set('layout_designer_editor', $this->RenderDesigner());
             // Set up the theme variables for the Layout Jump List
             Theme::Set('layoutId', $this->layoutid);
             Theme::Set('layouts', $this->user->LayoutList());
             // Set up any JavaScript translations
             Theme::SetTranslation('save_position_button', __('Save Position'));
             Theme::SetTranslation('revert_position_button', __('Undo'));
             Theme::SetTranslation('savePositionsFirst', Theme::Translate('Please save the pending position changes first by clicking "Save Positions" or cancel by clicking "Undo".'));
             // Call the render the template
             Theme::Render('layout_designer');
             break;
         default:
             break;
     }
     return false;
 }
Ejemplo n.º 20
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.º 21
0
				<?php 
echo Theme::Get('form_meta');
?>
			
				<table class="filterform">
					<tr>
						<td><?php 
echo Theme::Translate('Name');
?>
</td>
						<td><input type="text" name="filter_name" value="<?php 
echo Theme::Get('filter_name');
?>
"></td>
						<td><?php 
echo Theme::Translate('Type');
?>
</td>
						<td><?php 
echo Theme::SelectList('filter_type', Theme::Get('module_field_list'), 'moduleid', 'module', Theme::Get('filter_type'));
?>
</td>
					</tr>
				</table>
			</form>
		</div>
	</div>
	<div class="XiboData"></div>
	<?php 
echo Theme::Get('pager');
?>
Ejemplo n.º 22
0
?>
</h3>
                        <p><?php 
echo Theme::Translate('Send something down to your display and watch %s come alive! Create events on Displays / Groups for Layouts / Campaigns, create repeat events and much more.', Theme::GetConfig('app_name'));
?>
</p>
                        <div class="btn-group">
                            <a class="btn btn-primary btn-lg" role="button" href="index.php?p=schedule"><?php 
echo Theme::Translate('Schedule Event');
?>
</a>
                            <a class="btn btn-default btn-lg" role="button" href="<?php 
echo HelpManager::Link('Schedule', 'General');
?>
" target="_blank"><?php 
echo Theme::Translate('Read more');
?>
</a>
                        </div>
                    </div>
                </div>
            </div>

            <!-- Controls -->
            <a class="left carousel-control" href="#new-user-welcome-carousel" role="button" data-slide="prev">
                <span class="glyphicon glyphicon-chevron-left"></span>
            </a>
            <a class="right carousel-control" href="#new-user-welcome-carousel" role="button" data-slide="next">
                <span class="glyphicon glyphicon-chevron-right"></span>
            </a>
        </div>
Ejemplo n.º 23
0
    echo $row['owner'];
    ?>
</td>
			<td><?php 
    echo $row['permissions'];
    ?>
</td>
			<td><?php 
    echo $row['status'];
    ?>
</td>
			<td>
				<div class="btn-group pull-right">
    				<button class="btn dropdown-toggle" data-toggle="dropdown">
      					<?php 
    echo Theme::Translate('Action');
    ?>
      					<span class="icon-tasks"></span>
    				</button>
    				<ul class="dropdown-menu">
						<?php 
    foreach ($row['buttons'] as $button) {
        ?>
						<li class="<?php 
        echo $button['id'] == 'layout_button_design' || $button['id'] == 'layout_button_preview' ? 'XiboRedirectButton' : 'XiboFormButton';
        ?>
" href="<?php 
        echo $button['url'];
        ?>
" <?php 
        echo $button['id'] == 'layout_button_preview' ? ' target="_blank"' : '';
Ejemplo n.º 24
0
 */
defined('XIBO') or die("Sorry, you are not allowed to directly access this page.<br /> Please press the back button in your browser.");
?>
<table class="table">
	<thead>
		<tr>
			<th><?php 
echo Theme::Translate('Timestamp');
?>
</th>
			<th><?php 
echo Theme::Translate('Notes');
?>
</th>
			<th><?php 
echo Theme::Translate('Header');
?>
</th>
		</tr>
	</thead>
	<tbody>
		<?php 
foreach (Theme::Get('table_rows') as $row) {
    ?>
		<tr>
			<td><?php 
    echo $row['timestamp'];
    ?>
</td>
			<td><?php 
    echo $row['notes'];
Ejemplo n.º 25
0
 *
 * 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:
 * 	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 
}
?>
Ejemplo n.º 26
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>
Ejemplo n.º 27
0
echo Theme::SelectList('filter_type', Theme::Get('type_field_list'), 'typeid', 'type', Theme::Get('filter_typeid'));
?>
</td>
							<td><label for="filter_fromdt"><?php 
echo Theme::Translate('From DT');
?>
</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>
Ejemplo n.º 28
0
echo Theme::Translate('The History Size in Number of Items');
?>
"><?php 
echo Theme::Translate('History Size');
?>
</label>
                <div class="col-sm-10">
                    <input class="required number" name="historySize" type="text" id="historySize" tabindex="1" />
                </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"></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"></textarea>
        </div>
    </div>
</form>
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
				<input class="btn btn-default" type="submit" value="<?php 
echo Theme::Translate('Switch to Test Mode');
?>
" />
			</form>
		</li>

		<li><p><?php 
echo Theme::Translate('Recreate the Problem in a new window and Capture a screenshot.');
echo Theme::Translate('You should post your screenshot in the same topic as the question you asked previously.');
?>
</p>
		</li>

		<li><p><?php 
echo Theme::Translate('Switch to Production Mode.');
?>
</p>
			<form class="XiboAutoForm" action="index.php?p=admin" method="post">
				<input type="hidden" name="q" value="SetServerProductionMode" />
				<input class="btn btn-default" type="submit" value="<?php 
echo Theme::Translate('Switch to Production Mode');
?>
" />
			</form>
		</li>
			
		</ol>
		</div>
	</div>
</div>