Пример #1
0
<?php

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 
Пример #2
0
	<?php 
if ($filters) {
    ?>
		<?php 
    view::load('system/elements/search', array('type' => 'pictures', 'fields' => $filters, 'values' => $values));
    ?>
	<?php 
}
?>

	<?php 
if ($pictures) {
    ?>

		<?php 
    echo form_helper::openForm('cp/plugins/classifieds/pictures/browse/' . $adID . '?' . $qstring['url'] . 'page=' . $qstring['page'], array('id' => 'form_pictures'));
    ?>

			<ul class="unstyled gallery clearfix">

				<?php 
    foreach ($pictures as $picture) {
        ?>

					<li>
						<figure class="image">

							<div class="image thumbnail" style="background-image:url('<?php 
        echo storage_helper::getFileURL($picture['file_service_id'], $picture['file_path'], $picture['file_name'], $picture['file_ext'], 't');
        ?>
');"></div>
Пример #3
0
				if ( $('#input_search_pictures_type_id').val() )
				{
					$('#search-types-'+$('#input_search_pictures_type_id').val()).show();
				}
			});
		</script>
	<?php 
}
?>

	<?php 
if ($users) {
    ?>

		<?php 
    echo form_helper::openForm('cp/users/pictures/browse?' . $qstring['url'] . 'page=' . $qstring['page'], array('id' => 'form_pictures'));
    ?>

			<ul class="unstyled gallery clearfix">

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

					<li>
						<figure class="image">

							<div class="image thumbnail" style="background-image:url('<?php 
        echo storage_helper::getFileURL($user['picture_file_service_id'], $user['picture_file_path'], $user['picture_file_name'], $user['picture_file_ext'], 'p');
        ?>
');"></div>
Пример #4
0
<?php

view::load('cp/system/elements/template/header');
?>

<section class="plugin-system metatags-edit">

	<script type="text/javascript">var currentTab = '';</script>

	<?php 
echo form_helper::openForm('', array('data-role' => 'tabs-frames'));
?>

		<?php 
$prefixes = array();
foreach ($tags as $keyword => $group) {
    $prefixes[] = 'input_edit_meta_tag_' . $keyword;
    ?>

			<fieldset class="form grid <?php 
    echo text_helper::alternate();
    ?>
" data-role="frame" data-frame="<?php 
    echo $keyword;
    ?>
">

				<?php 
    foreach (array('title', 'description', 'keywords') as $index) {
        ?>
Пример #5
0
        ?>

					<aside id="sidebar">

						<?php 
        if (!users_helper::isLoggedin()) {
            ?>

							<div class="login">

								<?php 
            if (config::item('auth_methods', 'users', 'default')) {
                ?>

									<?php 
                echo form_helper::openForm('users/login');
                ?>

										<fieldset class="form <?php 
                echo text_helper::alternate();
                ?>
">
											<div class="row <?php 
                echo text_helper::alternate('odd', 'even');
                ?>
 text" id="input_row_quick_login_email">
												<label for="input_edit_quick_login_email">
													<?php 
                echo __('email', 'users');
                ?>
												</label>
Пример #6
0
<?php

if ($grid['content']) {
    ?>

	<?php 
    echo form_helper::openForm($grid['uri'] . (isset($qstring['url']) && $qstring['url'] || isset($qstring['page']) && $qstring['page'] ? '?' : '') . (isset($qstring['url']) && $qstring['url'] ? $qstring['url'] : '') . (isset($qstring['page']) && $qstring['page'] ? 'page=' . $qstring['page'] : ''), array('id' => 'form_grid_' . $grid['keyword']));
    ?>

		<table class="grid">

			<tr <?php 
    echo text_helper::alternate();
    ?>
>

				<?php 
    foreach ($grid['header'] as $keyword => $column) {
        ?>

					<th<?php 
        echo isset($column['id']) ? ' id="' . $column['id'] . '"' : '';
        echo isset($column['style']) ? ' style="' . $column['style'] . '"' : '';
        echo isset($column['class']) ? ' class="' . $column['class'] . '"' : '';
        ?>
>

						<?php 
        if ($keyword == 'check') {
            ?>