diff --git a/livesupport/modules/htmlUI/var/templates/fileBrowse/edit.tpl b/livesupport/modules/htmlUI/var/templates/fileBrowse/edit.tpl new file mode 100755 index 000000000..add79b1c7 --- /dev/null +++ b/livesupport/modules/htmlUI/var/templates/fileBrowse/edit.tpl @@ -0,0 +1,50 @@ +
+{include file="sub/x.tpl"} + + + +{if $editItem.type == 'file'} +
+ {include file="file/fileform.tpl"} +
+
+ {include file="file/metadataform.tpl"} +
+{/if} + + + +{if $editItem.type == 'webstream'} +
+ {include file="file/webstreamform.tpl"} +
+
+ {include file="file/metadataform.tpl"} +
+{/if} + +
+ +{literal} + + +{/literal} diff --git a/livesupport/modules/htmlUI/var/templates/fileBrowse/fileBrowse.tpl b/livesupport/modules/htmlUI/var/templates/fileBrowse/fileBrowse.tpl deleted file mode 100755 index 91aff64bc..000000000 --- a/livesupport/modules/htmlUI/var/templates/fileBrowse/fileBrowse.tpl +++ /dev/null @@ -1,10 +0,0 @@ -{if $showTree} - {include file="fileBrowse/tree.tpl"} -{/if} -{if $showObjects} - {include file="fileBrowse/objects.tpl"} -{/if} - -{if $permissions} - {include file="fileBrowse/permissions.tpl"} -{/if} diff --git a/livesupport/modules/htmlUI/var/templates/fileBrowse/objects.tpl b/livesupport/modules/htmlUI/var/templates/fileBrowse/objects.tpl deleted file mode 100755 index 7f325f17b..000000000 --- a/livesupport/modules/htmlUI/var/templates/fileBrowse/objects.tpl +++ /dev/null @@ -1,67 +0,0 @@ -{PL->getActiveId assign=_PL_activeId} - -
-{include file="sub/x.tpl"} - - - - - - - - - {if count($structure.listdata)} - {foreach from=$structure.listdata item=i} - - - - - - {/foreach} - {else} - - {/if} -
TitleType   - {if $START.pid}[go up]{/if} -
- - {if $i.type eq 'Folder'} - [{$i.title|truncate:30}] - {else} - {if $_PL_activeId == $i.id} - {$i.title|truncate:30} - {else} - {$i.title|truncate:30} - {/if} - {/if} - - {$i.type} - -  [move] -  [copy] -  [permissions] - - {if $i.type != 'Folder'} -
-  [MDataXML] - - {if $i.type eq 'webstream'} -  [Edit] - {elseif $i.type eq 'audioclip'} -  [Edit] -  [Access] -  [RawAnalyze] - {/if} - - {/if} -   -
No objects
- -
\ No newline at end of file diff --git a/livesupport/modules/htmlUI/var/templates/fileBrowse/path.tpl b/livesupport/modules/htmlUI/var/templates/fileBrowse/path.tpl deleted file mode 100755 index 9e2282b0a..000000000 --- a/livesupport/modules/htmlUI/var/templates/fileBrowse/path.tpl +++ /dev/null @@ -1,12 +0,0 @@ -{*Smarty template*} - -
- [Tree view]  |  - {foreach from=$structure.pathdata item=o} - {if $o.type == 'Folder'} - [{$o.name}] / - {else} - {$o.name} - {/if} - {/foreach} -
\ No newline at end of file diff --git a/livesupport/modules/htmlUI/var/templates/fileBrowse/permissions.tpl b/livesupport/modules/htmlUI/var/templates/fileBrowse/permissions.tpl deleted file mode 100755 index 4aa0a7704..000000000 --- a/livesupport/modules/htmlUI/var/templates/fileBrowse/permissions.tpl +++ /dev/null @@ -1,68 +0,0 @@ -
-{include file="sub/x.tpl"} - - - - - {if (is_array($permissions.perms) && count($permissions.perms)>0)} - - {foreach from=$permissions.perms item=row} - {if $row.type eq 'A'} - {assign var='da' value='allow'} - {else} - {if $row.type eq 'D'} - {assign var='da' value='deny'} - {else} - {assign var='da' value=$row.type} - {/if} - {/if} - - - - - - - - {/foreach} - {else} - - {/if} -
Subject NameActionPermission
{* > *}{$row.login}{$row.action}{$da} - [remove] -
No Permissions set.
- -
- -
- -Add Permission - - -for Action - - -to Subject - - - - -
- -
\ No newline at end of file diff --git a/livesupport/modules/htmlUI/var/templates/fileBrowse/tree.tpl b/livesupport/modules/htmlUI/var/templates/fileBrowse/tree.tpl deleted file mode 100755 index 1b7070083..000000000 --- a/livesupport/modules/htmlUI/var/templates/fileBrowse/tree.tpl +++ /dev/null @@ -1,24 +0,0 @@ -{*Smarty template*} - -
- -{if is_array($structure.treedata)} - {foreach from=$structure.treedata item=o} -
- {$structure.treedata.type} - {if $structure.treedata.tree} - {str_repeat str=' ' count=3} - {else} - {str_repeat str='  ' count=$o.level} - {/if} - {if $o.type == 'Folder'} - [{$o.name}] - {else} - {$o.name} - {/if} -
-
- {/foreach} -{/if} - -
\ No newline at end of file