bring some more generic-content-wrappers and fix some of them
This commit is contained in:
parent
25e134dd9c
commit
de84f48e2f
@ -247,7 +247,7 @@ class RedBrowser extends DAV\Browser\Plugin {
|
||||
$this->server->broadcastEvent('onHTMLActionsPanel', array($parent, &$output));
|
||||
}
|
||||
|
||||
$html .= replace_macros(get_markup_template('cloud_header.tpl'), array(
|
||||
$html .= replace_macros(get_markup_template('cloud.tpl'), array(
|
||||
'$header' => t('Files') . ": " . $this->escapeHTML($path) . "/",
|
||||
'$quota' => $quota,
|
||||
'$total' => t('Total'),
|
||||
@ -255,10 +255,7 @@ class RedBrowser extends DAV\Browser\Plugin {
|
||||
'$shared' => t('Shared'),
|
||||
'$create' => t('Create'),
|
||||
'$upload' => t('Upload'),
|
||||
'$is_owner' => $is_owner
|
||||
));
|
||||
|
||||
$html .= replace_macros(get_markup_template('cloud_directory.tpl'), array(
|
||||
'$is_owner' => $is_owner,
|
||||
'$parentpath' => $parentpath,
|
||||
'$entries' => $f,
|
||||
'$name' => t('Name'),
|
||||
|
@ -1,4 +1,5 @@
|
||||
<div class="section-title-wrapper">
|
||||
<div class="generic-content-wrapper">
|
||||
<div class="section-title-wrapper">
|
||||
{{if $editor}}
|
||||
<div class="pull-right">
|
||||
<button id="webpage-create-btn" class="btn btn-xs btn-success" onclick="openClose('block-editor');"><i class="icon-edit"></i> {{$create}}</button>
|
||||
@ -6,14 +7,14 @@
|
||||
{{/if}}
|
||||
<h2>{{$title}}</h2>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
{{if $editor}}
|
||||
<div id="block-editor" class="section-content-tools-wrapper">
|
||||
</div>
|
||||
{{if $editor}}
|
||||
<div id="block-editor" class="section-content-tools-wrapper">
|
||||
{{$editor}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $pages}}
|
||||
<div id="pagelist-content-wrapper" class="section-content-wrapper-np">
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $pages}}
|
||||
<div id="pagelist-content-wrapper" class="section-content-wrapper-np">
|
||||
<table id="block-list-table">
|
||||
<tr>
|
||||
<th width="1%">{{$name}}</th>
|
||||
@ -62,6 +63,7 @@
|
||||
{{/foreach}}
|
||||
{{/foreach}}
|
||||
</table>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{{/if}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="generic-content-wrapper section-content-wrapper-np">
|
||||
<div class="section-content-wrapper-np">
|
||||
<table id="cloud-index">
|
||||
<tr>
|
||||
<th width="1%"></th>
|
||||
|
@ -4,7 +4,7 @@
|
||||
</div>
|
||||
<div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
|
||||
{{/if}}
|
||||
<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper {{$item.toplevel}}">
|
||||
<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper{{if $item.toplevel}} {{$item.toplevel}} generic-content-wrapper{{/if}}">
|
||||
<a name="{{$item.id}}" ></a>
|
||||
<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" >
|
||||
<div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" style="clear:both;">
|
||||
|
@ -4,7 +4,7 @@
|
||||
</div>
|
||||
<div id="collapsed-comments-{{$item.id}}" class="collapsed-comments" style="display: none;">
|
||||
{{/if}}
|
||||
<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper {{$item.toplevel}} conv-list-mode">
|
||||
<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper conv-list-mode{{if $item.toplevel}} {{$item.toplevel}} generic-content-wrapper{{/if}}">
|
||||
<a name="{{$item.id}}" ></a>
|
||||
<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}" id="wall-item-outside-wrapper-{{$item.id}}" >
|
||||
<div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" style="clear:both;">
|
||||
|
@ -1,6 +1,6 @@
|
||||
<div id="threads-begin"></div>
|
||||
{{foreach $threads as $thread}}
|
||||
<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper">
|
||||
<div id="thread-wrapper-{{$thread.id}}" class="thread-wrapper generic-content-wrapper">
|
||||
{{foreach $thread.items as $item}}
|
||||
{{if $item.comment_firstcollapsed}}
|
||||
<div class="hide-comments-outer">
|
||||
|
@ -1,4 +1,5 @@
|
||||
<div class="section-title-wrapper">
|
||||
<div class="generic-content-wrapper">
|
||||
<div class="section-title-wrapper">
|
||||
{{if $editor}}
|
||||
<div class="pull-right">
|
||||
<button id="webpage-create-btn" class="btn btn-xs btn-success" onclick="openClose('layout-editor');"><i class="icon-edit"></i> {{$create}}</button>
|
||||
@ -7,15 +8,15 @@
|
||||
{{/if}}
|
||||
<h2>{{$title}}</h2>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
{{if $editor}}
|
||||
<div id="layout-editor" class="section-content-tools-wrapper">
|
||||
</div>
|
||||
{{if $editor}}
|
||||
<div id="layout-editor" class="section-content-tools-wrapper">
|
||||
{{$editor}}
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{if $pages}}
|
||||
<div id="pagelist-content-wrapper" class="section-content-wrapper-np">
|
||||
{{if $pages}}
|
||||
<div id="pagelist-content-wrapper" class="section-content-wrapper-np">
|
||||
<table id="layout-list-table">
|
||||
<tr>
|
||||
<th width="1%">{{$name}}</th>
|
||||
@ -64,6 +65,7 @@
|
||||
{{/foreach}}
|
||||
{{/foreach}}
|
||||
</table>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{{/if}}
|
||||
|
@ -1,15 +1,16 @@
|
||||
<div class="section-title-wrapper">
|
||||
<div class="generic-content-wrapper">
|
||||
<div class="section-title-wrapper">
|
||||
<div class="pull-right">
|
||||
<button id="webpage-create-btn" class="btn btn-xs btn-success" onclick="openClose('menu-creator');"><i class="icon-edit"></i> {{$hintnew}}</button>
|
||||
</div>
|
||||
<h2>{{$title}}</h2>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{$create}}
|
||||
{{$create}}
|
||||
|
||||
{{if $menus }}
|
||||
<div id="menulist-content-wrapper" class="section-content-wrapper-np">
|
||||
{{if $menus }}
|
||||
<div id="menulist-content-wrapper" class="section-content-wrapper-np">
|
||||
<table id="menu-list-table">
|
||||
<tr>
|
||||
<th width="1%"></th>
|
||||
@ -34,5 +35,6 @@
|
||||
</tr>
|
||||
{{/foreach}}
|
||||
</table>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
@ -1,4 +1,5 @@
|
||||
<div class="section-title-wrapper">
|
||||
<div class="generic-content-wrapper">
|
||||
<div class="section-title-wrapper">
|
||||
<div class="pull-right">
|
||||
<a class="btn btn-default btn-xs" href="{{$order.1}}" title="{{$order.0}}"><i class="icon-sort"></i></a>
|
||||
<div class="btn-group btn-group">
|
||||
@ -14,14 +15,15 @@
|
||||
<h2>{{$album}}</h2>
|
||||
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
{{$upload_form}}
|
||||
{{$album_edit.1}}
|
||||
<div id="photo-album-contents" class="generic-content-wrapper">
|
||||
</div>
|
||||
{{$upload_form}}
|
||||
{{$album_edit.1}}
|
||||
<div id="photo-album-contents">
|
||||
{{foreach $photos as $photo}}
|
||||
{{include file="photo_top.tpl"}}
|
||||
{{/foreach}}
|
||||
<div id="page-end"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="photos-end"></div>
|
||||
<script>$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>
|
||||
|
@ -1,16 +1,18 @@
|
||||
<div class="section-title-wrapper">
|
||||
<div class="generic-content-wrapper">
|
||||
<div class="section-title-wrapper">
|
||||
{{if $can_post}}
|
||||
<button class="btn btn-xs btn-success pull-right" title="{{$usage}}" onclick="openClose('photo-upload-form');"><i class="icon-upload"></i> {{$upload.0}}</button>
|
||||
{{/if}}
|
||||
<h2>{{$title}}</h2>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
{{$upload_form}}
|
||||
<div id="photo-album-contents" class="generic-content-wrapper">
|
||||
</div>
|
||||
{{$upload_form}}
|
||||
<div id="photo-album-contents">
|
||||
{{foreach $photos as $photo}}
|
||||
{{include file="photo_top.tpl"}}
|
||||
{{/foreach}}
|
||||
<div id="page-end"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="photos-end"></div>
|
||||
<script>$(document).ready(function() { loadingPage = false; justifyPhotos(); });</script>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper {{$item.toplevel}}">
|
||||
<div id="thread-wrapper-{{$item.id}}" class="thread-wrapper{{if $item.toplevel}} {{$item.toplevel}} generic-content-wrapper{{/if}}">
|
||||
<a name="{{$item.id}}" ></a>
|
||||
<div class="wall-item-outside-wrapper {{$item.indent}}{{$item.previewing}}{{if $item.owner_url}} wallwall{{/if}}" id="wall-item-outside-wrapper-{{$item.id}}" >
|
||||
<div class="wall-item-content-wrapper {{$item.indent}}" id="wall-item-content-wrapper-{{$item.id}}" style="clear:both;">
|
||||
|
@ -1,4 +1,5 @@
|
||||
<div class="section-title-wrapper">
|
||||
<div class="generic-content-wrapper">
|
||||
<div class="section-title-wrapper">
|
||||
{{if $editor}}
|
||||
<div class="pull-right">
|
||||
<button id="webpage-create-btn" class="btn btn-xs btn-success" onclick="openClose('webpage-editor');"><i class="icon-edit"></i> {{$create}}</button>
|
||||
@ -6,14 +7,14 @@
|
||||
{{/if}}
|
||||
<h2>{{$listtitle}}</h2>
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
{{if $editor}}
|
||||
<div id="webpage-editor" class="section-content-tools-wrapper">
|
||||
</div>
|
||||
{{if $editor}}
|
||||
<div id="webpage-editor" class="section-content-tools-wrapper">
|
||||
{{$editor}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $pages}}
|
||||
<div id="pagelist-content-wrapper" class="section-content-wrapper-np">
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if $pages}}
|
||||
<div id="pagelist-content-wrapper" class="section-content-wrapper-np">
|
||||
<table id="webpage-list-table">
|
||||
<tr>
|
||||
<th width="1%">{{$pagelink_txt}}</th>
|
||||
@ -69,6 +70,7 @@
|
||||
{{/foreach}}
|
||||
{{/foreach}}
|
||||
</table>
|
||||
</div>
|
||||
{{/if}}
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
{{/if}}
|
||||
|
Reference in New Issue
Block a user