Ejemplo n.º 1
0
	<form name="share" id="app-share" method="post" action="<?php 
        echo Route::url('index.php?option=' . $this->option . '&app=' . $this->toolname . '&task=session&sess=' . $this->app->sess);
        ?>
">
		<div class="grid">
		<?php 
        if (is_object($this->app->owns)) {
            ?>
			<div class="col span8">
				<p class="share-member-photo" id="shareform">
					<?php 
            $jxuser = new \Hubzero\User\Profile();
            $jxuser->load(User::get('id'));
            ?>
					<img src="<?php 
            echo $jxuser->getPicture();
            ?>
" alt="" />
				</p>
				<fieldset>
					<legend><?php 
            echo Lang::txt('COM_TOOLS_SHARE_SESSION');
            ?>
</legend>

					<input type="hidden" name="option" value="<?php 
            echo $this->escape($this->option);
            ?>
" />
					<input type="hidden" name="controller" value="<?php 
            echo $this->escape($this->controller);
Ejemplo n.º 2
0
		<form action="<?php 
    echo Route::url($this->row->link('update'));
    ?>
" method="post" id="commentform" enctype="multipart/form-data">
			<p class="comment-member-photo">
				<span class="comment-anchor"></span>
				<?php 
    $jxuser = new \Hubzero\User\Profile();
    $anon = 1;
    if (!User::isGuest()) {
        $jxuser->load(User::get('id'));
        $anon = 0;
    }
    ?>
				<img src="<?php 
    echo $jxuser->getPicture($anon);
    ?>
" alt="" />
			</p>
			<fieldset>
				<input type="hidden" name="id" value="<?php 
    echo $this->row->get('id');
    ?>
" />
				<input type="hidden" name="ticket[id]" id="ticketid" value="<?php 
    echo $this->row->get('id');
    ?>
" />
				<input type="hidden" name="username" value="<?php 
    echo User::get('username');
    ?>
Ejemplo n.º 3
0
            if (!$profile) {
                $profile = new \Hubzero\User\Profile();
                $anon = 1;
            }
            ?>
	<div class="breakdown container">
		<div class="entry-head">
			<p class="entry-rank">
				<strong>#<?php 
            echo $j;
            ?>
</strong>
			</p>
			<p class="entry-member-photo">
				<img src="<?php 
            echo $profile->getPicture($anon);
            ?>
" alt="<?php 
            echo $this->escape(stripslashes($user->name));
            ?>
" />
			</p>
			<p class="entry-title">
				<?php 
            echo $this->escape(stripslashes($user->name));
            ?>
<br />
				<span><?php 
            echo Lang::txt('COM_SUPPORT_STATS_NUM_ASSIGNED', number_format($user->assigned));
            ?>
</span>
Ejemplo n.º 4
0
			<form method="post" action="<?php 
        echo Route::url($this->url);
        ?>
" id="commentform">
				<p class="comment-member-photo">
					<span class="comment-anchor"></span>
					<?php 
        $anonymous = 1;
        if (!User::isGuest()) {
            $jxuser = new \Hubzero\User\Profile();
            $jxuser->load(User::get('id'));
            $anonymous = 0;
        }
        ?>
					<img src="<?php 
        echo $jxuser->getPicture($anonymous);
        ?>
" alt="" />
				</p>
				<fieldset>
				<?php 
        if (!User::isGuest()) {
            if ($replyto = Request::getInt('replyto', 0)) {
                $reply = new \Hubzero\Item\Comment($this->database);
                $reply->load($replyto);
                $name = Lang::txt('COM_KB_ANONYMOUS');
                if (!$reply->anonymous) {
                    $xuser = new \Hubzero\User\Profile();
                    $xuser->load($reply->created_by);
                    if (is_object($xuser) && $xuser->get('name')) {
                        $name = '<a href="' . Route::url($xuser->getLink()) . '">' . $this->escape(stripslashes($xuser->get('name'))) . '</a>';