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/themeform/tmpl/ |
Upload File : |
<?php // No direct access defined('_JEXEC') or die('Restricted access'); JHtml::_('behavior.formvalidation'); JHtml::_('behavior.tooltip'); ?> <script language="javascript"> function SwithTabs(nameprefix, count, activeindex) { for(i=0;i<count;i++) { var obj=document.getElementById(nameprefix+i); obj.style.display="none"; } var obj=document.getElementById(nameprefix+activeindex); obj.style.display="block"; } </script> <p style="text-align:left;">Upgrade to <a href="http://joomlaboat.com/youtube-gallery#pro-version" target="_blank">PRO version</a> to get more features</p> <form action="<?php echo 'index.php?option=com_youtubegallery&controller=themelist&layout=form&id='.(int) $this->row->id; ?>" method="post" name="adminForm" id="youtubegallery-form" class="form-validate"> <?php if($this->row->readonly): echo '<p style="margin-top:30px;margin-bottom:30px;text-align:center;font-size:20px;font-weight:bold;"> To edit imported Themes please upgrade to <a href="http://joomlaboat.com/youtube-gallery#pro-version" target="_blank">PRO version</a>.</p>'; ?> <?php else: ?> <fieldset class="adminform"> <legend><?php echo JText::_( 'YouTube Gallery' ); ?> (Free Version)</legend> <table style="border:none;"> <tbody> <?php if($this->row->id>0): ?> <tr><td><?php echo JText::_( 'ID' ); ?></td><td>:</td><td> <?php echo $this->row->id; ?></td></tr> <?php endif; ?> <tr><td><?php echo JText::_( 'Theme Name' ); ?></td><td>:</td><td><input type="text" name="themename" id="themename" class="inputbox" size="40" value="<?php echo $this->row->themename; ?>" /></td></tr> <tr><td colspan="3"></td></tr> <tr><td><?php echo JText::_( 'Player Area Width' ); ?></td><td>:</td><td><input type="text" name="width" id="width" class="inputbox" size="40" value="<?php echo $this->row->width; ?>" /></td></tr> <tr><td><?php echo JText::_( 'Player Area Height' ); ?></td><td>:</td><td><input type="text" name="height" id="height" class="inputbox" size="40" value="<?php echo $this->row->height; ?>" /></td></tr> </tbody> </table> <p><br /></p> <?php $d=($this->row->customlayout!='' ? 'none' : 'block' ); ?> <div style="border: 1px dotted #000000;padding:10px;margin:0px;display: <?php echo $d; ?>;" id="layouttab_0" class="layouttab_content"> <div style="margin-top:-50px;"> <?php //Layout Wizard ?> <h4>Layout Wizard | <a href="javascript: SwithTabs('layouttab_',2,1)">Custom Layout</a></h4> </div> <table style="border:none;"> <tbody> <tr><td><?php echo JText::_( 'Show Video List Name' ); ?></td><td>:</td><td><input type="radio" name="showlistname" class="inputbox" value="1" <?php echo ($this->row->showlistname==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="showlistname" class="inputbox" value="0" <?php echo ($this->row->showlistname==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?></td></tr> <tr><td><?php echo JText::_( 'Video List Name CSS Style' ); ?></td><td>:</td> <td>AVAILABLE IN "PRO" VERSION ONLY</td></tr> <tr><td><?php echo JText::_( 'Pagination' ); ?></td><td>:</td><td> <?php $columns=array(); $columns[]=array('vlu'=>0, 'text'=>'No'); $columns[]=array('vlu'=>1, 'text'=>'Above'); $columns[]=array('vlu'=>2, 'text'=>'Below'); $columns[]=array('vlu'=>3, 'text'=>'Both'); echo JHTML::_('select.genericlist', $columns, 'pagination', 'class="inputbox"', 'vlu', 'text', $this->row->pagination); ?> </td></tr> <tr><td><?php echo JText::_( 'Show Active Video Title' ); ?></td><td>:</td><td><input type="radio" name="showactivevideotitle" class="inputbox" value="1" <?php echo ($this->row->showactivevideotitle==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="showactivevideotitle" class="inputbox" value="0" <?php echo ($this->row->showactivevideotitle==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?> </td></tr> <tr><td><?php echo JText::_( 'Active Video Title CSS Style' ); ?></td><td>:</td><td>AVAILABLE IN "PRO" VERSION ONLY</td></tr> <tr><td><?php echo JText::_( 'Show First Video' ); ?></td><td>:</td><td><input type="radio" name="playvideo" class="inputbox" value="1" <?php echo ($this->row->playvideo==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'Play First Video' ); ?> <input type="radio" name="playvideo" class="inputbox" value="0" <?php echo ($this->row->playvideo==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'Gallery Only' ); ?></td></tr> <tr><td><?php echo JText::_( 'Active Description CSS Style' ); ?></td><td>:</td><td>AVAILABLE IN "PRO" VERSION ONLY</td></tr> <tr><td><?php echo JText::_( 'Active Video Description Position' ); ?></td><td>:</td><td><?php $position=array(); $position[]=array('vlu'=>0, 'text'=>'Above Video'); $position[]=array('vlu'=>1, 'text'=>'Below Video'); echo JHTML::_('select.genericlist', $position, 'descr_position', 'class="inputbox"', 'vlu', 'text', $this->row->descr_position); ?> </td></tr> <tr><td><?php echo JText::_( 'Show Active Video Description' ); ?></td><td>:</td><td><input type="radio" name="description" class="inputbox" value="1" <?php echo ($this->row->description==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="description" class="inputbox" value="0" <?php echo ($this->row->description==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?> </td></tr> <tr><td><?php echo JText::_( 'CSS Style' ); ?></td><td>:</td><td>AVAILABLE IN "PRO" VERSION ONLY</td></tr> </tbody> </table> </div> <?php $d=($this->row->customlayout!='' ? 'block' : 'none' ); ?> <div style="border: 1px dotted #000000;padding:10px;margin:0px;display: <?php echo $d; ?>;" id="layouttab_1" class="layouttab_content"> <div style="margin-top:-50px;"> <?php //Layout Wizard ?> <h4><a href="javascript: SwithTabs('layouttab_',2,0)">Layout Wizard</a> | Custom Layout</h4> </div> <table style="border:none;"> <tbody> <tr> <td valign="top"><b>Custom Layout<b><br/> <textarea filter="raw" cols="40" rows="32" name="customlayout"><?php echo $this->row->customlayout; ?></textarea> </td> <td valign="top"> <b>Layout tags:</b> <table> <tbody> <tr><td valign="top">[listname]</td><td>:</td><td>List Name</td></tr> <tr><td valign="top">[videotitle]</td><td>:</td><td>Show Active Video Title</td></tr> <tr><td valign="top">[videotitle:<i>words</i>]</td><td>:</td><td>Show First <i>number</i> of <i>words</i> of Active Video Title</td></tr> <tr><td valign="top">[videotitle:0,<i>chars</i>]</td><td>:</td><td>Show First <i>number</i> of <i>chars</i> of Active Video Title</td></tr> <tr><td valign="top">[videodescription]</td><td>:</td><td>Show Active Video Description</td></tr> <tr><td valign="top">[videodescription:<i>words</i>]</td><td>:</td><td>Show First <i>number</i> of <i>words</i> of Active Video Description</td></tr> <tr><td valign="top">[videodescription:0,<i>chars</i>]</td><td>:</td><td>Show First <i>number</i> of <i>chars</i> of Active Video Description (number of words ignored)</td></tr> <tr><td valign="top">[videoplayer]</td><td>:</td><td>Player</td></tr> <tr><td valign="top">[videoplayer:<i>width</i>,<i>height</i>]</td><td>:</td><td>Player with custom <i>width</i> and/or <i>height</i></td></tr> <tr><td valign="top">[navigationbar]</td><td>:</td><td>Navigation Bar (a table of thumbnails)</td></tr> <tr><td valign="top">[navigationbar:<i>columns</i>,<i>bar width</i>]</td><td>:</td><td> Navigation Bar (a table of thumbnails) with parameters to overwrite <i>number of columns</i> and bar <i>width</i> <br/> </td></tr> <tr><td valign="top">[thumbnails]</td><td>:</td><td>List of thumbnails (no formating except Navigation Bar Custom Layout)</td></tr> <tr><td valign="top">[count]</td><td>:</td><td>Number of videos (thumbnails)</td></tr> <tr><td valign="top">[count:all]</td><td>:</td><td>Total number of videos</td></tr> <tr><td valign="top">[pagination]</td><td>:</td><td>Pagination</td></tr> <tr><td valign="top">[width]</td><td>:</td><td>Video Area Width</td></tr> <tr><td valign="top">[height]</td><td>:</td><td>Video Area Height</td></tr> <tr><td valign="top">[instanceid]</td><td>:</td><td>Instance ID</td></tr> <tr><td valign="top">[if:TAGNAME] and [endif:TAGNAME]</td><td>:</td><td>Conditional tags</td></tr> <tr><td valign="top">[notif:TAGNAME] and [endif:TAGNAME]</td><td>:</td><td>Conditional tags</td></tr> <tr><td valign="top" colspan="3" ><b>Tags to get values directly from Theme Settings:</b><br/> [bgcolor], [cols], [cssstyle], [navbarstyle], [thumbnailstyle], [linestyle], [activevideotitlestyle], [listnamestyle], [color1], [color2], [descr_style], [rel], [hrefaddon], [mediafolder], [videoid] </td></tr> <tr><td valign="top">[social:<i>button</i>,<i>parameter</i>,<i>parameter2</i>]</td><td>:</td><td>Social Button: <ul> <li> <i>facebook_share</i> <ul> <li>parameter (optional): Button Label text</li> <li>parameter2 (optional): width of the button</li> </ul> </li> <li> <i>facebook_like</i> <ul> <li>parameter (optional): Language</li> <li>parameter2 (optional): width of the area</li> </ul> </li> <li> <i>twitter</i> <ul> <li>parameter (required): Twitter Account</li> <li>parameter2 (optional): width of the area</li> </ul> </li> </ul> </td></tr> <tr><td valign="top">[video:<i>Parameter</i>]</td><td>:</td><td>This allows to read any value from thumbnail. See Navigation Bar Custom Layout.</td></tr> </tbody> </table> </td> <td valign="top"> <b><label id="jform_customnavlayout-lbl" for="jform_customnavlayout" class="hasTip" title="Custom Layout::Example">Example:</label></b><br/> <textarea cols="30" rows="20" readonly="readonly" style="width:300px;color: #00ff00;background: black;" class="customlayoutexample"><h3>[listname]</h3> [if:videodescription]<!-- If there is a description for video --> <h4>[videodescription:50]</h4><!-- Show first 50 words of the description --> [endif:videodescription] <!-- Video Player --> [videoplayer] [if:videotitle] <h3>[videotitle]</h3> [endif:videotitle] [if:count]<!-- if number of videos more than 0 --> <hr style="border-color:#E7E7E9;border-style:solid;border-width:1px;" /> [navigationbar:3,500]<!-- Show navigation bar with 3 columns and width should be 500px. --> [endif:count] </textarea> </td> </tr> </tbody> </table> </div> <!-- Navigation bar settings -------------------------------------------------------------------------------------------------------------------------- --> <?php //Navigation Bar ?><h4>Navigation Bar</h4> <div style="border: 1px dotted #000000;padding:10px;margin:0px;"> <table style="border:none;"> <tbody> <tr> <td><?php echo JText::_( 'Navigation bar CSS Style' ); ?></td> <td>:</td> <td> <input type="text" name="navbarstyle" id="navbarstyle" class="inputbox" size="100" value="<?php echo $this->row->navbarstyle ; ?>" /> To control block of thumbnails, to set background color for example. </td> </tr> <tr> <td><?php echo JText::_( 'Columns' ); ?></td> <td>:</td> <td> <?php $columns=array(); $columns[]=array('vlu'=>1, 'text'=>'Table with 1 column'); $columns[]=array('vlu'=>2, 'text'=>'Table with 2 columns'); $columns[]=array('vlu'=>3, 'text'=>'Table with 3 columns'); $columns[]=array('vlu'=>4, 'text'=>'Table with 4 columns'); $columns[]=array('vlu'=>5, 'text'=>'Table with 5 columns'); $columns[]=array('vlu'=>6, 'text'=>'Table with 6 columns'); $columns[]=array('vlu'=>7, 'text'=>'Table with 7 columns'); $columns[]=array('vlu'=>8, 'text'=>'Table with 8 columns'); echo JHTML::_('select.genericlist', $columns, 'cols', 'class="inputbox"', 'vlu', 'vlu', $this->row->cols); ?> Number of thumbnails per line </td> </tr> <tr> <td><?php echo JText::_( 'Line CSS Style' ); ?></td> <td>:</td> <td><input type="text" name="linestyle" id="linestyle" class="inputbox" size="100" value="<?php echo $this->row->linestyle; ?>" /> Line between video and navigation (thumbnails) block.</td> </tr> <tr> <td>Order By</td> <td>:</td> <td> <?php $orderby=array(); $orderby[]=array('vlu'=>"publisheddate", 'text'=>'Published Date (Ascending)'); $orderby[]=array('vlu'=>"publisheddate desc", 'text'=>'Published Date (Descending)'); $orderby[]=array('vlu'=>"duration", 'text'=>'Duration (Ascending)'); $orderby[]=array('vlu'=>"duration desc", 'text'=>'Duration (Descending)'); $orderby[]=array('vlu'=>"rating_average", 'text'=>'Rating: Average (Ascending)'); $orderby[]=array('vlu'=>"rating_average desc", 'text'=>'Rating: Average (Descending)'); $orderby[]=array('vlu'=>"rating_max", 'text'=>'Rating: Max (Ascending)'); $orderby[]=array('vlu'=>"rating_max desc", 'text'=>'Rating: Max (Descending)'); $orderby[]=array('vlu'=>"rating_min", 'text'=>'Rating: Min (Ascending)'); $orderby[]=array('vlu'=>"rating_min desc", 'text'=>'Rating: Min (Descending)'); $orderby[]=array('vlu'=>"rating_numRaters", 'text'=>'Rating: Raters Number (Ascending)'); $orderby[]=array('vlu'=>"rating_numRaters desc", 'text'=>'Rating: Raters Number (Descending)'); $orderby[]=array('vlu'=>"statistics_favoriteCount", 'text'=>'Statistics: Favorite Count (Ascending)'); $orderby[]=array('vlu'=>"statistics_favoriteCount desc", 'text'=>'Statistics: Favorite Count (Descending)'); $orderby[]=array('vlu'=>"statistics_viewCount", 'text'=>'Statistics: View Count (Ascending)'); $orderby[]=array('vlu'=>"statistics_viewCount desc", 'text'=>'Statistics: View Count (Descending)'); $orderby[]=array('vlu'=>"likes", 'text'=>'Likes'); $orderby[]=array('vlu'=>"likes desc", 'text'=>'Likes (Descending)'); $orderby[]=array('vlu'=>"dislikes", 'text'=>'Dislikes'); $orderby[]=array('vlu'=>"dislikes desc", 'text'=>'Dislikes (Descending)'); $orderby[]=array('vlu'=>"commentcount", 'text'=>'Number of Comments'); $orderby[]=array('vlu'=>"commentcount desc", 'text'=>'Number of Comments (Descending)'); $orderby[]=array('vlu'=>"randomization", 'text'=>'Randomly'); $orderby[]=array('vlu'=>"ordering", 'text'=>'Custom'); echo JHTML::_('select.genericlist', $orderby, 'orderby', 'class="inputbox"', 'vlu', 'text', $this->row->orderby); ?> Sort thumbnails by </td> </tr> <tr><td><?php echo JText::_( 'Pagination Limit' ); ?></td><td>:</td><td><input type="text" name="customlimit" id="customlimit" class="inputbox" size="10" value="<?php echo (int)$this->row->customlimit; ?>" /> Custom limit of items (thumbnails) per page, if not set or 0 the all item will be shown - No Pagination.</td> </tr> </tbody> </table> <br/><br/> <br/><br/> <?php $d=($this->row->customnavlayout!='' ? 'none' : 'block' ); ?> <div style="border: 1px dotted #000000;padding:10px;margin:0px;display: <?php echo $d; ?>;" id="navlayouttab_0" class="layouttab_content"> <div style="margin-top:-50px;"> <?php //Nav Layout Wizard ?> <h4>Navigation Bar Layout Wizard | <a href="javascript: SwithTabs('navlayouttab_',2,1)">Custom Navigation Bar Layout</a></h4> </div> <table style="border:none;"> <tbody> <tr> <td><?php echo JText::_( 'Thumbnail Background Color' ); ?></td> <td>:</td> <td><input type="text" name="bgcolor" id="bgcolor" class="inputbox" size="40" value="<?php echo $this->row->bgcolor; ?>" /> Example: FF0000 <i>red</i></td> </tr> <tr> <td><?php echo JText::_( 'Thumbnail CSS Style' ); ?></td> <td>:</td> <td><input type="text" name="thumbnailstyle" id="thumbnailstyle" class="inputbox" size="100" value="<?php echo $this->row->thumbnailstyle; ?>" /> To change thumbnail size for example.</td> </tr> <tr> <td><?php echo JText::_( 'Show Video Title' ); ?></td> <td>:</td> <td><input type="radio" name="showtitle" class="inputbox" value="1" <?php echo ($this->row->showtitle==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="showtitle" class="inputbox" value="0" <?php echo ($this->row->showtitle==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?> </td> </tr> </tbody> </table> </div> <?php $d=($this->row->customnavlayout!='' ? 'block' : 'none' ); ?> <div style="border: 1px dotted #000000;padding:10px;margin:0px;display: <?php echo $d; ?>;" id="navlayouttab_1" class="layouttab_content"> <div style="margin-top:-50px;"> <?php //Nav Layout Wizard ?> <h4><a href="javascript: SwithTabs('navlayouttab_',2,0)">Navigation Bar Layout Wizard</a> | Custom Navigation Bar Layout</h4> </div> <table style="border:none;"> <tbody> <tr> <td valign="top"> <b>Custom Layout</b><br/> <textarea filter="raw" cols="40" rows="22" name="customnavlayout"><?php echo $this->row->customnavlayout; ?></textarea> </td> <td valign="top"> <b>Layout tags:</b><br/> <table> <tbody> <tr><td valign="top">[image]</td><td>:</td><td>Returns Thumnail Image as a Tag</td></tr> <tr><td valign="top">[image:<i>number</i>]</td><td>:</td><td>Returns Specific Thumnail Image (1 of 6) as a Tag</td></tr> <tr><td valign="top">[imageurl]</td><td>:</td><td>Only URL to thumbnail image</td></tr> <tr><td valign="top">[title]</td><td>:</td><td>Video Title</td></tr> <tr><td valign="top">[title:<i>words</i>]</td><td>:</td><td>Show First <i>number</i> of <i>words</i> of Video Title</td></tr> <tr><td valign="top">[title:0,<i>chars</i>]</td><td>:</td><td>Show First <i>number</i> of <i>chars</i> of Video Title (number of words ignored)</td></tr> <tr><td valign="top">[description]</td><td>:</td><td>Video Description</td></tr> <tr><td valign="top">[description:<i>words</i>]</td><td>:</td><td>Show First <i>number</i> of <i>words</i> of Video Description</td></tr> <tr><td valign="top">[description:0,<i>chars</i>]</td><td>:</td><td>Show First <i>number</i> of <i>chars</i> of Video Description (number of words ignored)</td></tr> <tr><td valign="top">[link]</td><td>:</td><td>Link to the Video (on this website)</td></tr> <tr><td valign="top">[link:<i>full</i>]</td><td>:</td><td>Full Link to the Video (to share on FB for example)</td></tr> <tr><td valign="top">[a] and [/a]</td><td>:</td><td>Complete anchor tag with the link and title</td></tr> <tr><td valign="top">[publisheddate]</td><td>:</td><td>Publish date</td></tr> <tr><td valign="top">[publisheddate:<i>date format</i>]</td><td>:</td><td>Publish date with custom <i>date format</i>. Example: [publisheddate:F j, Y]. <a href="http://php.net/manual/en/function.date.php" target="_blank">More here.</a></td></tr> <tr><td valign="top">[duration]</td><td>:</td><td>Duration in Seconds</td></tr> <tr><td valign="top">[duration:<i>time format</i>]</td><td>:</td><td>Duration with custom <i>time format</i>. Example: [duration:H:i:s]. <a href="http://php.net/manual/en/function.date.php" target="_blank">More here.</a></td></tr> <tr><td valign="top">[viewcount]</td><td>:</td><td>View Count</td></tr> <tr><td valign="top">[viewcount:<i>Thousands Separator</i>]</td><td>:</td><td>View Count with <i>Thousands Separator</i>. Example: [viewcount:,] number example: 2,345</td></tr> <tr><td valign="top">[favcount]</td><td>:</td><td>Favorites Count</td></tr> <tr><td valign="top">[rating_average]</td><td>:</td><td>Average Rating</td></tr> <tr><td valign="top">[rating_max]</td><td>:</td><td>Max. Rating</td></tr> <tr><td valign="top">[rating_min]</td><td>:</td><td>Min. Rating</td></tr> <tr><td valign="top">[rating_numRaters]</td><td>:</td><td>Number of Raters</td></tr> <tr><td valign="top">[likes]</td><td>:</td><td>Likes</td></tr> <tr><td valign="top">[likes:<i>Thousands Separator</i>]</td><td>:</td><td>Likes with <i>Thousands Separator</i>. Example: [likes:,] number example: 2,345</td></tr> <tr><td valign="top">[dislikes]</td><td>:</td><td>Dislikes</td></tr> <tr><td valign="top">[dislikes:<i>Thousands Separator</i>]</td><td>:</td><td>Dislikes with <i>Thousands Separator</i>. Example: [dislikes:,] number example: 1,234</td></tr> <tr><td valign="top">[commentcount]</td><td>:</td><td>Number of comments</td></tr> <tr><td valign="top">[commentcount:<i>Thousands Separator</i>]</td><td>:</td><td>Number of Comments with <i>Thousands Separator</i>. Example: [commentcount:,] number example: 1,056</td></tr> <tr><td valign="top">[keywords]</td><td>:</td><td>Keywords</td></tr> <tr><td valign="top">[videosource]</td><td>:</td><td>Video Source</td></tr> <tr><td valign="top">[videoid]</td><td>:</td><td>Video ID</td></tr> <tr><td valign="top">[channel:<i>parameter</i>,<i>thousands separator (optional)</i>]</td><td>:</td><td>Returns Channel details. <br/>Parameters: <i>username,title,subscribers,subscribed,location,commentcount,viewcount,videocount,description</i> <br/>Note: to enable it add "moredetails=true" into "Special Parameter" of Youtube Channel link. </td></tr> <tr><td valign="top">[social:<i>button</i>,<i>parameter</i>,<i>parameter2</i>]</td><td>:</td><td>Social Button: <ul> <li> <i>facebook_share</i> <ul> <li>parameter (optional): Button Label text</li> <li>parameter2 (optional): width of the button</li> </ul> </li> <li> <i>facebook_like</i> <ul> <li>parameter (optional): Language</li> <li>parameter2 (optional): width of the area</li> </ul> </li> <li> <i>twitter</i> <ul> <li>parameter (required): Twitter Account</li> <li>parameter2 (optional): width of the area</li> </ul> </li> </ul> </td></tr> <tr><td valign="top" colspan="3">[if:TAGNAME] and [endif:TAGNAME] - Conditional tags</td></tr> <tr><td valign="top" colspan="3">[ifnot:TAGNAME] and [endifnot:TAGNAME] - Conditional tags</td></tr> <tr><td valign="top" colspan="3">[if:isactive] and [endif:isactive] - Show this part if video is active</td></tr> <tr><td valign="top" colspan="3">[ifnot:isactive] and [endifnot:isactive] - Show this part if video is NOT active</td></tr> </tbody> </table> </td> <td valign="top"> <b><label id="jform_customnavlayout-lbl" for="jform_customnavlayout" class="hasTip" title="Custom Layout::Example">Example:</label></b><br/> <textarea cols="30" rows="20" readonly="readonly" style="color: #00ff00;background: black;width:300px;"> [image]<br/> [title]<br/> [if:viewcount]<!-- if number of views more than 0 (not empty/nothing) --> Views: [viewcount] [endif:viewcount] </textarea> </td> </tr> </tbody> </table> </div> </div> <!-- end of nav Bar settings --------------------------------------------------------------- --> <?php //Player Settings ?><h4>Player Settings</h4> <div style="border: 1px dotted #000000;padding:10px;margin:0px;"> <table style="border:none;"> <tbody> <tr><td><?php echo JText::_( 'Show Border' ); ?></td><td>:</td><td><input type="radio" name="border" class="inputbox" value="1" <?php echo ($this->row->border==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="border" class="inputbox" value="0" <?php echo ($this->row->border==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?></td></tr> <tr><td><?php echo JText::_( 'Primary Border Color' ); ?></td><td>:</td><td><input type="text" name="color1" id="color1" class="inputbox" size="20" value="<?php echo $this->row->color1; ?>" /> RGB value in hexadecimal format. <br/> Example: FF0000 <i>red</i></td></tr> <tr><td><?php echo JText::_( 'Secondary Border Color' ); ?></td><td>:</td><td><input type="text" name="color2" id="color2" class="inputbox" size="20" value="<?php echo $this->row->color2; ?>" /> Video control bar background color and secondary border color. RGB value in hexadecimal format <br/> Example: 00FF00 <i>green</i></td></tr> <tr><td><?php echo JText::_( 'Autoplay' ); ?></td><td>:</td><td><input type="radio" name="autoplay" class="inputbox" value="1" <?php echo ($this->row->autoplay==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="autoplay" class="inputbox" value="0" <?php echo ($this->row->autoplay==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?></td></tr> <tr><td><?php echo JText::_( 'Repeat (loop)' ); ?></td><td>:</td><td> <input type="radio" name="repeat" class="inputbox" value="1" <?php echo ($this->row->repeat==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="repeat" class="inputbox" value="0" <?php echo ($this->row->repeat==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?></td></tr> <tr><td><?php echo JText::_( 'Allow Playlist' ); ?></td><td>:</td><td> <input type="radio" name="allowplaylist" class="inputbox" value="1" <?php echo ($this->row->allowplaylist==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="allowplaylist" class="inputbox" value="0" <?php echo ($this->row->allowplaylist==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?></td></tr> <tr><td><?php echo JText::_( 'Fullscreen' ); ?></td><td>:</td><td><input type="radio" name="fullscreen" class="inputbox" value="1" <?php echo ($this->row->fullscreen==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="fullscreen" class="inputbox" value="0" <?php echo ($this->row->fullscreen==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?></td></tr> <tr><td><?php echo JText::_( 'Related Videos' ); ?></td><td>:</td><td> <input type="radio" name="related" class="inputbox" value="1" <?php echo ($this->row->related==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="related" class="inputbox" value="0" <?php echo ($this->row->related==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?></td></tr> <tr><td><?php echo JText::_( 'Show Info' ); ?></td><td>:</td><td><input type="radio" name="showinfo" class="inputbox" value="1" <?php echo ($this->row->showinfo==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="showinfo" class="inputbox" value="0" <?php echo ($this->row->showinfo==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?></td></tr> <tr><td><?php echo JText::_( 'Controls' ); ?></td><td>:</td><td><input type="radio" name="controls" class="inputbox" value="1" <?php echo ($this->row->controls==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="controls" class="inputbox" value="0" <?php echo ($this->row->controls==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?></td></tr> <tr><td><?php echo JText::_( 'Mute' ); ?></td><td>:</td><td>AVAILABLE IN "PRO" VERSION ONLY</td></tr> <tr> <td><?php echo JText::_( 'Initial Volume (0-100), -1 for system default' ); ?></td><td>:</td> <td><input type="text" name="volume" id="volume" class="inputbox" size="20" value="<?php echo (isset($this->row->volume) ? $this->row->volume : '-1'); ?>" /> Available only with 'Flash with Detection' player type</td> </tr> <tr> <td><?php echo JText::_( 'Player Type' ); ?></td><td>:</td><td><?php $position=array(); $position[]=array('vlu'=>100, 'text'=>'Auto (HTML5 for Apple and Flash3 for others)'); $position[]=array('vlu'=>1, 'text'=>'HTML5 (New IFrame Player)'); $position[]=array('vlu'=>5, 'text'=>'HTML5 (New IFrame API Player)'); $position[]=array('vlu'=>0, 'text'=>'Flash Player (ActionScript 3)'); $position[]=array('vlu'=>2, 'text'=>'Flash Player (ActionScript 3) With Detection'); $position[]=array('vlu'=>3, 'text'=>'Flash Player (ActionScript 2)'); $position[]=array('vlu'=>4, 'text'=>'Flash Player (ActionScript 2) With Detection'); echo JHTML::_('select.genericlist', $position, 'playertype', 'class="inputbox"', 'vlu', 'text', $this->row->playertype); ?></td></tr> <tr> <td><?php echo JText::_( 'Youtube Parameters' ); ?></td><td>:</td> <td> <table> <tbody> <tr> <td> <textarea cols="60" rows="5" name="youtubeparams" id="youtubeparams" class="inputbox" ><?php echo $this->row->youtubeparams; ?></textarea> </td> <td> <p> <i>Example:</i><br/> hd=1;<br/> autohide=1; </p> <p> This may overwrite any settings set above. <a href="http://code.google.com/apis/youtube/player_parameters.html" target="_blank">More here</a> </p> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </div> <?php //Misc ?><h4>Misc</h4> <div style="border: 1px dotted #000000;padding:10px;margin:0px;"> <table style="border:none;"> <tbody> <tr> <td><?php echo JText::_( 'Switch Video As' ); ?></td> <td>:</td> <td> <?php $oinw=array(); $oinw[]=array('vlu'=>0, 'text'=>'Same Window (_top)'); $oinw[]=array('vlu'=>1, 'text'=>'New Window (_blank)'); $oinw[]=array('vlu'=>2, 'text'=>'Same Window And Jump to Player (_top)'); $oinw[]=array('vlu'=>3, 'text'=>'New Window And Jump to Player (_blank)'); $oinw[]=array('vlu'=>4, 'text'=>'Update Player - without page reloading'); $oinw[]=array('vlu'=>5, 'text'=>'Update Player and Jump to the top of it'); echo JHTML::_('select.genericlist', $oinw, 'openinnewwindow', 'class="inputbox"', 'vlu', 'text', $this->row->openinnewwindow); ?> </td> </tr> <tr><td><?php echo JText::_( 'Rel Option' ); ?></td><td>:</td><td><input type="text" name="rel" id="rel" class="inputbox" size="100" value="<?php echo $this->row->rel; ?>" /> <br/>rel option to apply any shadow/lightbox <br/>the page will be opened without a template and without video navigation bar. Video player only. example: lightbox</td></tr> <tr><td><?php echo JText::_( 'HREF addon' ); ?></td><td>:</td><td><input type="text" name="hrefaddon" id="hrefaddon" class="inputbox" size="100" value="<?php echo $this->row->hrefaddon; ?>" /> <br/>this will be added to all links to the video (some shadowbox plugin use this)</td></tr> <tr><td><?php echo JText::_( 'Use glass cover' ); ?></td><td>:</td><td>AVAILABLE IN "PRO" VERSION ONLY</td></tr> <tr><td><?php echo JText::_( 'Logo Cover' ); ?></td><td>:</td><td>AVAILABLE IN "PRO" VERSION ONLY</td></tr> <tr><td><?php echo JText::_( 'Prepare Head Tags' ); ?></td><td>:</td> <td> <?php $pht=array(); $pht[]=array('vlu'=>0, 'text'=>'No'); $pht[]=array('vlu'=>3, 'text'=>'For Thumbnails'); $pht[]=array('vlu'=>2, 'text'=>'For Current Video'); $pht[]=array('vlu'=>1, 'text'=>'For Both'); echo JHTML::_('select.genericlist', $pht, 'prepareheadtags', 'class="inputbox"', 'vlu', 'text', $this->row->prepareheadtags); ?> <br/>Set Page Title to Current Video Title and add list of images (to let Facebook know what image to show when you share the link) to the header. </td> </tr> <tr> <td><?php echo JText::_( 'Change Page Title' ); ?></td> <td>:</td> <td> <?php $oinw=array(); $oinw[]=array('vlu'=>0, 'text'=>'Video Title - Site Name'); $oinw[]=array('vlu'=>1, 'text'=>'Site Name - Video Title'); $oinw[]=array('vlu'=>2, 'text'=>'Video Title'); $oinw[]=array('vlu'=>3, 'text'=>'Unchanged'); echo JHTML::_('select.genericlist', $oinw, 'changepagetitle', 'class="inputbox"', 'vlu', 'text', $this->row->changepagetitle); ?><br/>Add video title to page title or replace it completely. </td> </tr> <tr><td><?php echo JText::_( 'Responsive' ); ?></td><td>:</td><td> <?php $oinw=array(); $oinw[]=array('vlu'=>0, 'text'=>'Disabled'); $oinw[]=array('vlu'=>2, 'text'=>'Enabled (CSS)'); $oinw[]=array('vlu'=>1, 'text'=>'Enabled (Javascript)'); echo JHTML::_('select.genericlist', $oinw, 'responsive', 'class="inputbox"', 'vlu', 'text', $this->row->responsive); ?> <br/>Change Player size (width) if visible window is less than player width.</td></tr> <tr><td><?php echo JText::_( 'No Cookie' ); ?></td><td>:</td><td>AVAILABLE IN "PRO" VERSION ONLY <input type="radio" name="nocookie" class="inputbox" value="1" <?php echo ($this->row->nocookie==1 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'YES' ); ?> <input type="radio" name="nocookie" class="inputbox" value="0" <?php echo ($this->row->nocookie==0 ? 'checked="checked"' : '' ) ?> /> <?php echo JText::_( 'NO' ); ?> </td></tr> <tr><td>Media Folder</td><td>:</td><td>AVAILABLE IN "PRO" VERSION ONLY</td></tr> <tr><td>Head Script</td><td>:</td><td>AVAILABLE IN "PRO" VERSION ONLY</td> </tr> <tr><td>Theme Description</td><td>:</td><td><textarea name="themedescription" cols="60" rows="12">3</textarea></td></tr> </tbody> </table> </div> </fieldset> <p><a href="http://www.joomlaboat.com/youtube-gallery/youtube-gallery-themes?view=catalog&layout=custom" target="_blank" style="font-weight: bold;margin-left:20px;">Get more Themes</a></p> <?php endif; ?> <div> <input type="hidden" name="task" value="themeform.edit" /> <input type="hidden" name="id" value="<?php echo $this->row->id; ?>" /> <?php echo JHtml::_('form.token'); ?> </div> </form>