| Server IP : 213.186.33.4 / Your IP : 216.73.216.193 Web Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : awebpaca ( 35430) PHP Version : 8.5.0 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/awebpaca/blog/components/com_kunena/template/crypsisb3/layouts/user/edit/avatar/ |
Upload File : |
<?php
/**
* Kunena Component
* @package Kunena.Template.Crypsis
* @subpackage Layout.User
*
* @copyright (C) 2008 - 2018 Kunena Team. All rights reserved.
* @license https://www.gnu.org/copyleft/gpl.html GNU/GPL
* @link https://www.kunena.org
**/
defined('_JEXEC') or die;
?>
<h3>
<?php echo $this->headerText; ?>
</h3>
<table class="table table-bordered table-striped">
<?php if ($this->profile->avatar) : ?>
<tr>
<td class="col-md-3">
<label for="kavatar-keep"><?php echo JText::_('COM_KUNENA_PROFILE_AVATAR_KEEP'); ?></label>
</td>
<td>
<input id="kavatar-keep" type="radio" name="avatar" value="keep" checked="checked" />
</td>
</tr>
<tr>
<td>
<label for="kavatar-delete"><?php echo JText::_('COM_KUNENA_PROFILE_AVATAR_DELETE'); ?></label>
</td>
<td>
<input id="kavatar-delete" type="radio" name="avatar" value="delete" />
</td>
</tr>
<?php endif; ?>
<?php if ($this->config->allowavatarupload) : ?>
<tr>
<td>
<label for="kavatar-upload"><?php echo JText::_('COM_KUNENA_PROFILE_AVATAR_UPLOAD'); ?></label>
</td>
<td>
<label class="col-md-10" for="kavatar-upload">
<input id="kavatar-upload" type="file" name="avatarfile">
</label>
</td>
</tr>
<?php endif; ?>
<?php if ($this->config->allowavatargallery && ($this->galleryOptions || $this->galleryImages)) : ?>
<tr>
<td class="col-md-3">
<label><?php echo JText::_('COM_KUNENA_PROFILE_AVATAR_GALLERY'); ?></label>
<input id="kunena_url_avatargallery" type="hidden"
value="<?php echo KunenaRoute::_('index.php?option=com_kunena&view=user&layout=galleryimages&format=raw') ?>"/>
</td>
<td>
<?php if ($this->galleryOptions) : ?>
<div>
<?php echo JHtml::_(
'select.genericlist', $this->galleryOptions, 'gallery', '', 'value', 'text',
$this->gallery, 'avatar_gallery_select'
); ?>
</div>
<?php endif; ?>
<?php if ($this->galleryImages) : ?>
<ul id="gallery_list" class="thumbnails">
<?php foreach ($this->galleryImages as $image) : ?>
<li class="col-md-2">
<input type="radio" name="avatar" id="radio<?php echo $image ?>" value="<?php echo "gallery/{$image}"; ?>" <?php echo !empty($image->checked) ? ' checked="checked" ' : '' ?> />
<label class=" radio thumbnail" for="radio<?php echo $image ?>">
<img src="<?php echo "{$this->galleryUri}/{$image}"; ?>" alt="avatar" />
</label>
</li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</td>
</tr>
<?php endif; ?>
</table>