Ejemplo n.º 1
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 report
 * 	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">
	<ul class="nav nav-pills span12">
		<?php 
foreach (Theme::GetMenu('Advanced Menu') as $item) {
    echo $item['li'];
}
?>
		<li class="pull-right"><a title="<?php 
echo Theme::Translate('Open the filter form');
?>
" href="#" onclick="ToggleFilterView('Filter')"><span><?php 
echo Theme::Translate('Filter');
?>
</span></a></li>
	</ul>
</div>
<div class="row">
	<div class="XiboGrid span12" id="<?php 
echo Theme::Get('id');
Ejemplo n.º 2
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/>.
 *
 * 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 id="dashbuttons">
	<?php 
foreach (Theme::GetMenu('Dashboard') as $item) {
    ?>
		<div class="dashicons">
			<a id="<?php 
    echo $item['class'];
    ?>
" alt="<?php 
    echo $item['title'];
    ?>
" href="<?php 
    echo $item['link'];
    ?>
">
			<?php 
    echo Theme::Image($item['img'], 'dash_button');
    ?>
Ejemplo n.º 3
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">
	<ul class="nav nav-pills span12">
		<?php 
foreach (Theme::GetMenu('Administration Menu') as $item) {
    echo $item['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');
Ejemplo n.º 4
0
				<div class="span2 pull-right">
					
				</div>
			</div>
			<div class="navbar">
				<div class="navbar-inner">
					<ul class="nav">
						<li><a href="<?php 
echo Theme::GetUserHomeLink();
?>
"><?php 
echo Theme::Translate('Dashboard');
?>
</a></li>
						<?php 
foreach (Theme::GetMenu('Top Nav') as $item) {
    echo $item['li'];
}
?>
					</ul>
					<ul class="nav pull-right">
						<li><a id="XiboClock" class="XiboFormButton" href="index.php?p=clock&q=ShowTimeInfo" title="<?php 
echo Theme::Translate('Click to show more time information');
?>
"><?php 
echo Theme::GetClock();
?>
</a></li>
						<li class="dropdown">
							<a href="#" id="prefs" role="button" class="dropdown-toggle" data-toggle="dropdown">
								<?php 
Ejemplo n.º 5
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
 * 	resolution_form_add_url = The Add URL for adding a Resolution
 */
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">
	<ul class="nav nav-pills span12">
		<?php 
foreach (Theme::GetMenu('Display Menu') as $item) {
    echo $item['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');
Ejemplo n.º 6
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">
	<ul class="nav nav-pills span12">
		<?php 
foreach (Theme::GetMenu('Design Menu') as $item) {
    echo $item['li'];
}
?>
		<li class="pull-right"><a title="<?php 
echo Theme::Translate('Open the filter form');
?>
" href="#" onclick="ToggleFilterView('Filter')"><span><?php 
echo Theme::Translate('Filter');
?>
</span></a></li>
	</ul>
</div>
<div class="row">
	<div class="XiboGrid span12" id="<?php 
echo Theme::Get('id');
Ejemplo n.º 7
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">
	<ul class="nav nav-pills span12">
		<?php 
foreach (Theme::GetMenu('Library Menu') as $item) {
    echo $item['li'];
}
?>
		<li class="pull-right"><a title="<?php 
echo Theme::Translate('Add more rows to the end of this DataSet');
?>
" onclick="XiboGridRender('<?php 
echo Theme::Get('id');
?>
')" href="#" ><span><?php 
echo Theme::Translate('More Rows');
?>
</span></a></li>
	</ul>
</div>
Ejemplo n.º 8
0
    $menu = NULL;
    switch ($item['page']) {
        case 'layout':
            $menu = Theme::GetMenu('Design Menu');
            break;
        case 'content':
            $menu = Theme::GetMenu('Library Menu');
            break;
        case 'display':
            $menu = Theme::GetMenu('Display Menu');
            break;
        case 'user':
            $menu = Theme::GetMenu('Administration Menu');
            break;
        case 'log':
            $menu = Theme::GetMenu('Advanced Menu');
            break;
    }
    if (empty($menu)) {
        echo '<li class="sidebar-list ' . $item['class'] . ($item['selected'] ? ' active' : '') . '"><a href="' . $item['link'] . '" class="' . $item['class'] . ($item['selected'] ? ' active' : '') . '">' . $item['title'] . '</a></li>';
    } else {
        echo '<li class="sidebar-title"><a>' . $item['title'] . '</a></li>';
    }
    if (!empty($menu)) {
        foreach ($menu as $sub_item) {
            echo '<li class="sidebar-list ' . $sub_item['class'] . ($sub_item['selected'] ? ' active' : '') . '"><a href="' . $sub_item['link'] . '" class="' . $sub_item['class'] . ($sub_item['selected'] ? ' active' : '') . '">' . $sub_item['title'] . '</a></li>';
        }
    }
}
?>
                </ul>