<li> <a class="high-button" title="®Watch_high®" href="javascript:toggle_video_quality('high');"></a> <a class="low-button active" title="®Watch_low®" href="javascript:toggle_video_quality('low');"></a> </li> <?php if (acl_user_is_logged() && acl_has_album_permissions($album)) { ?> <li> <a class="add-bookmark-button" title="®Add_bookmark®" href="javascript:toggle_bookmark_form('custom');"></a> <?php if (acl_has_album_moderation($album) || acl_is_admin()) { ?> <a class="add-toc-button" title="®Add_toc®" href="javascript:toggle_bookmark_form('official');"></a> <?php } if (acl_display_threads()) { ?> <a class="add-thread-button" title="®Add_discussion®" href="javascript:toggle_thread_form();"></a> <?php } ?> </li> <?php } ?> <li> <a class="share-button" href="javascript:share_popup(current_album, current_asset, time, type, 'share_time')" title="®Share_time®" onclick="getElementById('main_video').pause(); if (getElementById('secondary_video')) getElementById('secondary_video').pause();
require template_getpath('div_side_assets.php'); } else { require template_getpath('div_side_details.php'); } ?> </div><!-- div_right END --> <div id="bottom"> <!-- bottom part goes here : trending posts, discussions, ... --> <?php if ($_SESSION['ezplayer_mode'] == 'view_album_assets') { require template_getpath('div_trending_threads.php'); } else { require template_getpath('div_video_description.php'); if (acl_display_threads() && acl_user_is_logged()) { ?> <div id="threads" class="threads_info"> <?php if ($_SESSION['thread_display'] == 'details') { include_once template_getpath('div_thread_details.php'); } else { include_once template_getpath('div_threads_list.php'); } ?> </div><!-- END of #threads_info --> <?php } } ?> </div>
/** * Reloads the threads list * @global type $input */ function threads_list_update($display = true) { global $input; $album = $input['album']; $asset = $input['asset']; if (!isset($album) || $album == '' || $album == 'undefined') { $album = $_SESSION['album']; } if (!isset($asset) || $asset == '' || $asset == 'undefined') { $asset = $_SESSION['asset']; } if (acl_display_threads()) { $threads = threads_select_by_asset($album, $asset); } $_SESSION['current_thread'] = ''; if ($display) { include_once template_getpath('div_threads_list.php'); return true; } else { return $threads; } }
/></td> </tr> <tr> <td><span>®Notification_during_video_playback®</span><td> <td><input id="settings_notif_threads" name="display_thread_notification" type="checkbox" <?php echo acl_display_thread_notification() ? 'checked' : ''; ?> /></td> </tr> <th><span class="title left">®General®</span></th><br/> <tr> <td><span>®Show_discussions®</span><td> <td><input id="settings_display_threads" name="display_threads" type="checkbox" <?php echo acl_display_threads() ? 'checked' : ''; ?> /></td> </tr> <tr> <td></td> <td> <a class="button-empty green" href="javascript: hide_settings_form();">®Cancel®</a> </td> <td> <a class="button green" href="#" onclick="document.submit_settings_form.submit();">®Update®</a> </td> </tr> </table> </form>