Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/news/administrator/components/com_youtubegallery/views/settings/tmpl/ |
Upload File : |
<?php /** * YoutubeGallery Joomla! 1.5 Native Component * @version 3.8.3 * @author DesignCompass corp< <support@joomlaboat.com> * @link http://www.joomlaboat.com * @GNU General Public License **/ // No direct access defined('_JEXEC') or die('Restricted access'); JHtml::_('behavior.formvalidation'); JHtml::_('behavior.tooltip'); require_once(JPATH_SITE.DS.'components'.DS.'com_youtubegallery'.DS.'includes'.DS.'misc.php'); ?> <form action="index.php?option=com_youtubegallery&controller=settings&layout=edit" method="post" name="adminForm" id="youtubegallery-form" class="form-validate"> <fieldset class="adminform"> <h2 style="text-align:left;">Settings</h2> <h4>General</h4> <br/> <?php $allowsef=YouTubeGalleryMisc::getSettingValue('allowsef'); if($allowsef!=1) $allowsef=0; ?> <table style="border:none;"> <tbody> <tr><td><?php echo JText::_( 'Allow SEF Links' ); ?></td><td>:</td> <td> <input type="radio" name="allowsef" value="1" <?php echo ($allowsef==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'Yes' ); ?> <input type="radio" name="allowsef" value="0" <?php echo ($allowsef==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'No' ); ?> </td> </tr> </tbody> </table> <hr/> <p><br/></p> <p>How to get Video information:</p> <?php $getinfomethod=YouTubeGalleryMisc::getSettingValue('getinfomethod'); ?> <table style="border:none;"> <tbody> <tr><td><?php echo JText::_( 'Use' ); ?></td><td>:</td> <td> <?php /* <input type="radio" name="getinfomethod" value="js" <?php echo ($getinfomethod=='js' ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'Javascript' ); ?> */ ?> <input type="radio" name="getinfomethod" value="jsmanual" <?php echo ($getinfomethod=='jsmanual' ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'Javascript (Back-end/Manual)' ); ?> <input type="radio" name="getinfomethod" value="php" <?php echo (($getinfomethod=='php' or $getinfomethod=='') ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'cURL/Get File Content' ); ?> </td> </tr> </tbody> </table> <hr/> <p><br/></p> <h4>Vimeo Specific</h4> <p>In order to allow Youtube Gallery to fetch metadata (title,description etc) of the Vimeo Video you have to register your own instance of Youtube Gallery.</p> <p><a href="https://developer.vimeo.com/apps/new" target="_blank">https://developer.vimeo.com/apps/new</a></p> <p>Type "YoutubeGallery Your Site/Name" into "App Name" field during registration.</p> <hr/> <p>When you finish you get Client ID and Secret information. Paste it into fields below:<br/></p> <p> Client ID (Also known as Consumer Key or API Key):<br/> <input name="vimeo_api_client_id" style="width:400px;" value="<?php echo YouTubeGalleryMisc::getSettingValue('vimeo_api_client_id'); ?>" /> </p> <p> Client Secret (Also known as Consumer Secret or API Secret):<br/> <input name="vimeo_api_client_secret" style="width:400px;" value="<?php echo YouTubeGalleryMisc::getSettingValue('vimeo_api_client_secret'); ?>" /> </p> <hr/> <p><br/></p> <h4>SoundCloud Specific</h4> <p>In order to allow Youtube Gallery to fetch metadata (title,description etc) of the SoundCloud track you have to register your own instance of Youtube Gallery.</p> <p><a href="http://soundcloud.com/you/apps/new" target="_blank">http://soundcloud.com/you/apps/new</a></p> <p>Type "YoutubeGallery Your Site/Name" into "Name of your app" field during registration.</p> <hr/> <p>When you finish you will get Client ID and Client Secret. Paste it into fields below:<br/></p> <p> Client ID:<br/> <input name="soundcloud_api_client_id" style="width:400px;" value="<?php echo YouTubeGalleryMisc::getSettingValue('soundcloud_api_client_id'); ?>" /> </p> <p> Client Secret:<br/> <input name="soundcloud_api_client_secret" style="width:400px;" value="<?php echo YouTubeGalleryMisc::getSettingValue('soundcloud_api_client_secret'); ?>" /> </p> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </fieldset> </form>