diff --git a/livesupport/modules/htmlUI/var/html/ui_handler.php b/livesupport/modules/htmlUI/var/html/ui_handler.php index db1e57d3e..fe3f30683 100644 --- a/livesupport/modules/htmlUI/var/html/ui_handler.php +++ b/livesupport/modules/htmlUI/var/html/ui_handler.php @@ -185,7 +185,7 @@ switch($_REQUEST['act']){ case "PL.create": if (($ui_tmpid = $uiHandler->PLAYLIST->create($_REQUEST['id'])) !== FALSE) $uiHandler->SCRATCHPAD->addItem($ui_tmpid); - $uiHandler->PLAYLIST->setReload(); + $uiHandler->PLAYLIST->setRedirect(); break; case "PL.addItem": @@ -267,7 +267,7 @@ if ($uiHandler->alertMsg) $_SESSION['alertMsg'] = $uiHandler->alertMsg; if (ob_get_contents()) { $ui_wait = 5; } -ob_end_clean; +ob_end_clean; ?> diff --git a/livesupport/modules/htmlUI/var/templates/file/metadataform.tpl b/livesupport/modules/htmlUI/var/templates/file/metadataform.tpl index e37b02bb9..e9dffbd5a 100755 --- a/livesupport/modules/htmlUI/var/templates/file/metadataform.tpl +++ b/livesupport/modules/htmlUI/var/templates/file/metadataform.tpl @@ -9,8 +9,8 @@ - {*$_metadataform.tabs*} - {*$_metadataform.langswitch*} + {assign var="dynform" value=$_metadataform.langswitch} + {include file="sub/dynForm_plain.tpl"} {foreach from=$_metadataform.pages key="key" item="dynform"} {include file="sub/dynForm_plain.tpl"} diff --git a/livesupport/modules/htmlUI/var/templates/script/contextmenu.js.tpl b/livesupport/modules/htmlUI/var/templates/script/contextmenu.js.tpl index 19888ddc4..42e54ebb3 100755 --- a/livesupport/modules/htmlUI/var/templates/script/contextmenu.js.tpl +++ b/livesupport/modules/htmlUI/var/templates/script/contextmenu.js.tpl @@ -51,15 +51,15 @@ function contextmenu(param) { break; case "PL.changeFadeIn": - contextmenuHtml = contextmenuHtml + "
  •  Change Fadein 
  • "; + contextmenuHtml = contextmenuHtml + "
  •  Change Fadein 
  • "; break; case "PL.changeTransition": - contextmenuHtml = contextmenuHtml + "
  •  Change Transition 
  • "; + contextmenuHtml = contextmenuHtml + "
  •  Change Transition 
  • "; break; case "PL.changeFadeOut": - contextmenuHtml = contextmenuHtml + "
  •  Change Fadeout 
  • "; + contextmenuHtml = contextmenuHtml + "
  •  Change Fadeout 
  • "; break; case "PL.editMetaData": @@ -85,7 +85,7 @@ function contextmenu(param) { case "delete": //contextmenuHtml = contextmenuHtml + "
  •  Delete Item 
  • "; - contextmenuHtml = contextmenuHtml + "
  •  Delete Item 
  • "; + contextmenuHtml = contextmenuHtml + "
  •  Delete Item 
  • "; break; case "fileList": @@ -93,11 +93,11 @@ function contextmenu(param) { break; case "SCHEDULER.addItem": - contextmenuHtml = contextmenuHtml + "
  •  Insert Playlist here 
  • "; + contextmenuHtml = contextmenuHtml + "
  •  Insert Playlist here 
  • "; break; case "SCHEDULER.removeItem": - contextmenuHtml = contextmenuHtml + "
  •  Remove Playlist 
  • "; + contextmenuHtml = contextmenuHtml + "
  •  Remove Playlist 
  • "; break; {literal} } diff --git a/livesupport/modules/htmlUI/var/templates/sub/dynForm_plain.tpl b/livesupport/modules/htmlUI/var/templates/sub/dynForm_plain.tpl index 274a7532c..76344b6c3 100644 --- a/livesupport/modules/htmlUI/var/templates/sub/dynForm_plain.tpl +++ b/livesupport/modules/htmlUI/var/templates/sub/dynForm_plain.tpl @@ -16,7 +16,7 @@ *} - {if $element.type eq 'static'} + {if $element.type eq 'static'} {$element.html} {else} @@ -42,11 +42,13 @@ {/if} {/foreach} + {* {if $dynform.requirednote and not $dynform.frozen}
    {$dynform.requirednote}
    {/if} + *}