Exemplo n.º 1
0
?>
	<?php 
echo HTML::style('cms/media/libs/jquery-file-upload/css/jquery.fileupload-ui.css');
?>
	<?php 
echo HTML::style('cms/media/css/style.css');
?>
</head>
<body>

<div class="container" id="wrap">
	<header class="row" id="header">
		<div class="col-xs-2 logo">
			<h1>
				<a href="#" title="CMS"><?php 
echo cms::option('sitename', 'CMS');
?>
</a>
			</h1>
		</div>
		<div class="col-xs-10 actions">
			<div class="row">
				<div class="col-xs-2">
					<div data-bind="loader:loading()"></div>
				</div>
				<div class="col-xs-10 text-right">
					<div class="btn btn-default">
						<?php 
echo __('Hello :name', array(':name' => user::get()->username));
?>
!
Exemplo n.º 2
0
?>
								<span class="add-on"><?php 
echo $url;
?>
</span>
							</span>
							<input type="text" class="form-control" name="slug" id="content-slug" value="<?php 
echo $content->slug;
?>
" />
						</div>
					</div>
					
					<div class="form-group">
<?php 
$sitetitle = cms::option('sitename');
$length = 70 - strlen($sitetitle) - 3 - strlen($content->pagetitle);
$metalength = 155 - strlen($content->metadescription);
?>
						<label for="content-pagetitle"><?php 
echo __('Pagetitle');
?>
 (<span id="page-title-count" data-available="<?php 
echo $length;
?>
"><?php 
echo $length;
?>
</span>)</label>
						<input type="text" name="pagetitle" class="form-control" id="content-pagetitle" value="<?php 
echo $content->pagetitle;