Example #1
0
    }
    ?>

			<h3>
				<?php 
    echo Lang::txt('COM_BLOG_POST_COMMENT');
    ?>
			</h3>

			<form method="post" action="<?php 
    echo Route::url($this->row->link());
    ?>
" id="commentform">
				<p class="comment-member-photo">
					<img src="<?php 
    echo User::picture(User::isGuest() ? 1 : 0);
    ?>
" alt="" />
				</p>
				<fieldset>
					<?php 
    $replyto = $this->row->comments()->whereEquals('id', Request::getInt('reply', 0))->whereIn('state', array(Components\Blog\Models\Comment::STATE_PUBLISHED, Components\Blog\Models\Comment::STATE_FLAGGED))->row();
    if (!User::isGuest()) {
        if ($replyto->get('id')) {
            $name = Lang::txt('COM_BLOG_ANONYMOUS');
            if (!$replyto->get('anonymous')) {
                $name = $this->escape(stripslashes($replyto->creator->get('name', $name)));
                if (in_array($replyto->creator->get('access'), User::getAuthorisedViewLevels())) {
                    $name = '<a href="' . Route::url($replyto->creator->link()) . '">' . $name . '</a>';
                }
            }
Example #2
0
								</a>
							</li>
						</ul>
					</div>

					<nav id="main-navigation">
						<div class="wrapper cf">
							<div id="account" role="navigation" class="cf">
							<?php 
if (!User::isGuest()) {
    ?>
								<ul class="menu loggedin">
									<li>
										<div id="account-info">
											<img src="<?php 
    echo User::picture();
    ?>
" alt="<?php 
    echo User::get('name');
    ?>
" class="profile-pic thumb" width="30" height="30" />
											<a class="account-details" href="<?php 
    echo Route::url('index.php?option=com_members&id=' . User::get('id'));
    ?>
">
												<?php 
    echo stripslashes(User::get('name'));
    ?>
 
												<span class="account-email"><?php 
    echo User::get('email');
Example #3
0
    /*<a class="icon-config tooltips" href="<?php echo Route::url($base . '&active=activity&action=settings'); ?>" title="<?php echo Lang::txt('PLG_GROUPS_ACTIVITY_SETTINGS'); ?>">
    			<?php echo Lang::txt('PLG_GROUPS_ACTIVITY_SETTINGS'); ?>
    		</a>*/
    ?>
				</div>
			</div>
		</fieldset>
	</form>

	<form action="<?php 
    echo Route::url($base . '&active=activity');
    ?>
" method="post" id="commentform" enctype="multipart/form-data">
		<p class="comment-member-photo">
			<img src="<?php 
    echo User::picture(!User::isGuest() ? 0 : 1);
    ?>
" alt="<?php 
    echo Lang::txt('PLG_GROUPS_ACTIVITY_USER_PHOTO');
    ?>
" />
		</p>

		<fieldset>
			<div class="input-wrap">
				<label for="activity-description">
					<span class="label-text"><?php 
    echo Lang::txt('PLG_GROUPS_ACTIVITY_FIELD_COMMENTS');
    ?>
</span>
					<?php 
Example #4
0
" method="post" id="commentform"<?php 
    if ($this->data) {
        echo ' class="hide"';
    }
    ?>
 enctype="multipart/form-data">
						<p class="comment-member-photo">
							<?php 
    $anon = 1;
    if (!User::isGuest()) {
        $anon = 0;
    }
    $now = Date::getRoot();
    ?>
							<img src="<?php 
    echo User::picture($anon);
    ?>
" alt="<?php 
    echo $this->escape(User::get('name'));
    ?>
" />
						</p>

						<fieldset>
						<?php 
    if (User::isGuest()) {
        ?>
							<p class="warning"><?php 
        echo Lang::txt('PLG_COURSES_DISCUSSIONS_LOGIN_COMMENT_NOTICE');
        ?>
</p>
Example #5
0
						(<?php 
                    echo Lang::txt('COM_WISHLIST_PLAN_NOT_STARTED');
                    ?>
)
					<?php 
                }
                ?>
				</h3>
				<form action="<?php 
                echo Route::url('index.php?option=' . $this->option);
                ?>
" method="post" id="planform" enctype="multipart/form-data">
					<p class="plan-member-photo">
						<span class="plan-anchor"></span>
						<img src="<?php 
                echo User::picture(0);
                ?>
" alt="<?php 
                echo Lang::txt('COM_WISHLIST_MEMBER_PICTURE');
                ?>
" />
					</p>
					<fieldset>
				<?php 
                if ($this->wish->get('action') == 'editplan') {
                    ?>
						<div class="grid">
							<div class="col span6">
								<label>
									<?php 
                    echo Lang::txt('COM_WISHLIST_WISH_ASSIGNED_TO');