Файловый менеджер - Редактировать - /var/www/html/components/com_community/templates/jomsocial/layouts/videos.link.php
Ðазад
<?php /** * @copyright (C) 2013 iJoomla, Inc. - All rights reserved. * @license GNU General Public License, version 2 (http://www.gnu.org/licenses/gpl-2.0.html) * @author iJoomla.com <webmaster@ijoomla.com> * @url https://www.jomsocial.com/license-agreement * The PHP code portions are distributed under the GPL license. If not otherwise stated, all images, manuals, cascading style sheets, and included JavaScript *are NOT GPL, and are released under the IJOOMLA Proprietary Use License v1.0 * More info at https://www.jomsocial.com/license-agreement */ use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Uri\Uri; defined('_JEXEC') or die(); ?> <form class="joms-js--form-link" method="POST" action="<?php echo CRoute::_('index.php?option=com_community&view=videos&task=link'); ?>" onsubmit="return false;"> <div class="joms-form__group" style="margin-bottom:0"> <span><?php echo Text::_('COM_COMMUNITY_VIDEOS_LINK_URL'); ?> <span class="joms-required">*</span></span> <input type="text" class="joms-input" name="videoLinkUrl" value="" data-required="true"> <p class="joms-help" data-elem="form-warning" style="display:none; color:red"> <?php echo Text::_('COM_COMMUNITY_VIDEOS_LINK_URL') . ' ' . Text::_('COM_COMMUNITY_ENTRY_MISSING'); ?> </p> </div> <div class="joms-form__group"> <span></span> <p class="joms-help"> <?php echo Text::_('COM_COMMUNITY_VIDEOS_LINK_ADDTYPE_DESC'); ?> <div style="margin-top: 5px"> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/youtube.png' ?>" title="YouTube" alt="YouTube"/></span> <!-- <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/yahoo.png' ?>" title="Yahoo Video" alt="Yahoo Video" /></span> --> <!-- <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/myspace.png' ?>" title="MySpace Video" alt="MySpace Video" /></span> --> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/vimeo.png' ?>" title="Vimeo" alt="Vimeo" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/dailymotion.png' ?>" title="Dailymotion" alt="Dailymotion" /></span> <!-- <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/liveleak.png' ?>" title="Live Leak" alt="Live Leak" /></span> --> <!-- <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/metacafe.png' ?>" title="Metacafe" alt="Metacafe" /></span> --> <!-- <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/college.png' ?>" title="College Humor" alt="College Humor" /></span> --> <!-- <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/flickr.png' ?>" title="Flickr" alt="Flickr" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/soundcloud.png' ?>" title="Sound Cloud" alt="Sound Cloud" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/facebook.png' ?>" title="Facebook" alt="Facebook" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/dotsub.png' ?>" title="dotSUB" alt="dotSUB" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/gloriatv.png' ?>" title="Gloria TV" alt="Gloria TV" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/sapo.png' ?>" title="SAPO Video" alt="SAPO Video" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/ku6.png' ?>" title="KU6 China" alt="KU6 China" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/godtube.png' ?>" title="GodTube" alt="GodTube" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/rutube.png' ?>" title="Rutube" alt="Rutube" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/twitch.png' ?>" title="Twitch.tv" alt="Twitch.tv" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/vbox7.png' ?>" title="Vbox7" alt="Vbox7" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/veoh.png' ?>" title="Veoh" alt="Veoh" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/youku.png' ?>" title="Youku" alt="Youku" /></span> <span><img src="<?php echo Uri::root(true) . '/components/com_community/assets/videoicons/videa.png' ?>" title="Videa.hu" alt="Videa.hu" /></span> --> </div> </p> </div> <?php if ($enableLocation) { ?> <div class="joms-form__group"> <span><?php echo Text::_('COM_COMMUNITY_VIDEOS_LOCATION'); ?></span> <input type="text" class="joms-input" name="location" value="" placeholder="<?php echo Text::_('COM_COMMUNITY_VIDEOS_LOCATION_DESCRIPTION'); ?>"> </div> <?php } ?> <div class="joms-form__group"> <span><?php echo Text::_('COM_COMMUNITY_VIDEOS_CATEGORY'); ?> <span class="joms-required">*</span></span> <div class="joms-select--wrapper"><?php echo $categories; ?></div> <p class="joms-help" data-elem="form-warning" style="display:none; color:red"> <?php echo Text::_('COM_COMMUNITY_VIDEOS_CATEGORY') . ' ' . Text::_('COM_COMMUNITY_ENTRY_MISSING'); ?> </p> </div> <?php if ($creatorType != VIDEO_PAGE_TYPE && $creatorType != VIDEO_GROUP_TYPE && $creatorType != VIDEO_EVENT_TYPE) { ?> <div class="joms-form__group"> <span><?php echo Text::_('COM_COMMUNITY_VIDEOS_WHO_CAN_SEE'); ?></span> <?php echo CPrivacy::getHTML( 'permissions', $permissions, COMMUNITY_PRIVACY_BUTTON_LARGE, array(), 'select' ); ?> </div> <?php } ?> <?php if ($videoUploadLimit > 0 && $videoUploaded / $videoUploadLimit >= COMMUNITY_SHOW_LIMIT) { ?> <div class="joms-form__group"> <span></span> <p class="joms-help"><?php echo Text::sprintf('COM_COMMUNITY_VIDEOS_UPLOAD_LIMIT_STATUS', $videoUploaded, $videoUploadLimit ); ?></p> </div> <?php } ?> <div class="joms-form__group"> <span></span> <input type="submit" value="<?php echo Text::_('COM_COMMUNITY_VIDEOS_LINK'); ?>" class="joms-button--primary joms-button--full-small" data-lang-linking="<?php echo Text::_('COM_COMMUNITY_VIDEOS_LINKING') ?>" /> <input type="hidden" name="creatortype" value="<?php echo $creatorType; ?>" /> <input type="hidden" name="pageid" value="<?php echo isset($pageid) ? $pageid : ''; ?>" /> <input type="hidden" name="groupid" value="<?php echo isset($groupid) ? $groupid : ''; ?>" /> <input type="hidden" name="eventid" value="<?php echo isset($eventid) ? $eventid : ''; ?>" /> <?php echo HTMLHelper::_('form.token'); ?> </div> </form>
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка