Esempio n. 1
0
<?php

view::load('header');
?>

<section class="plugin-timeline notices-index" id="timeline-notices-container">

	<ul class="unstyled content-list <?php 
echo text_helper::alternate();
?>
">

		<?php 
view::load('timeline/notices/items', array('notices' => $notices));
?>

	</ul>

</section>

<script type="text/javascript">
function timelineNoticesUpdate(url,last_id)
{
	runAjax(url,{'last_id':last_id}, function(content, args){
		$('#timeline-notices-container li.loader').remove();
		$('#timeline-notices-container > ul').append(content);
	}, '', 'ajax-timeline-load', 'icon-system-ajax');
}
function timelineDeleteAction(url, params, question)
{
    var is_confirmed = confirm(question);
Esempio n. 2
0
view::load('cp/system/elements/template/header');
?>

<section class="plugin-timeline message-edit">

	<?php 
echo form_helper::openForm();
?>

		<fieldset class="form <?php 
echo text_helper::alternate();
?>
">

			<div class="row <?php 
echo text_helper::alternate('odd', 'even');
?>
" id="input_row_message_edit_message">

				<label for="input_edit_message_edit_message">
					<?php 
echo __('message', 'timeline');
?>
 <span class="required">*</span>
				</label>

				<div class="field">

					<?php 
view::load('system/elements/field/edit', array('prefix' => 'message_edit', 'field' => array('keyword' => 'message', 'type' => 'textarea'), 'value' => $message));
?>
Esempio n. 3
0
			</div>
		<?php 
    }
    ?>

		<ul class="unstyled content-gallery clearfix <?php 
    echo text_helper::alternate();
    ?>
">

			<?php 
    foreach ($users as $user) {
        ?>

				<li class="<?php 
        echo text_helper::alternate('one', 'two', 'three');
        ?>
" id="row-helper-<?php 
        echo $user['user_id'];
        ?>
">

					<figure class="image users-image">
						<?php 
        view::load('users/profile/elements/picture', array_merge($user, array('picture_file_suffix' => 'l')));
        ?>

						<figcaption class="image-caption">
							<span class="nowrap nooverflow"><?php 
        $user['name'] = utf8::str_replace(' ', '<br/>', $user['name']);
        echo users_helper::anchor($user, array('title' => $user['name']));