Merge pull request #418 from fermionic/reduce-frost-dom-elements
Reduce frost dom elements
This commit is contained in:
commit
0c36d5b3cf
|
@ -16,15 +16,7 @@ function display_content(&$a) {
|
||||||
|
|
||||||
$o = '<div id="live-display"></div>' . "\r\n";
|
$o = '<div id="live-display"></div>' . "\r\n";
|
||||||
|
|
||||||
$a->page['htmlhead'] .= <<<EOT
|
$a->page['htmlhead'] .= get_markup_template('display-head.tpl');
|
||||||
<script>
|
|
||||||
$(document).ready(function() {
|
|
||||||
$(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
|
||||||
// make auto-complete work in more places
|
|
||||||
$(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
EOT;
|
|
||||||
|
|
||||||
|
|
||||||
$nick = (($a->argc > 1) ? $a->argv[1] : '');
|
$nick = (($a->argc > 1) ? $a->argv[1] : '');
|
||||||
|
|
8
view/display-head.tpl
Normal file
8
view/display-head.tpl
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<script>
|
||||||
|
$(document).ready(function() {
|
||||||
|
$(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||||
|
// make auto-complete work in more places
|
||||||
|
$(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
|
|
@ -14,8 +14,10 @@ Photo album display?
|
||||||
|
|
||||||
- Admin: access to more pages than summary?
|
- Admin: access to more pages than summary?
|
||||||
|
|
||||||
|
- Embedded video playback is way too big
|
||||||
|
|
||||||
- Needs to be faster!
|
- Needs to be faster!
|
||||||
- Reduce DOM elements (4100 for 10 items)
|
- Reduce DOM elements (~2400 for 10 items, ~8400 for 40 items)
|
||||||
- Automatically set limit of 10 items for Network and Profile?
|
- Automatically set limit of 10 items for Network and Profile?
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -19,10 +19,10 @@
|
||||||
<input type="hidden" name="jsreload" value="$jsreload" />
|
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||||
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||||
|
|
||||||
<div class="comment-edit-photo" id="comment-edit-photo-$id" >
|
<!--<div class="comment-edit-photo" id="comment-edit-photo-$id" >-->
|
||||||
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
<a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-$id" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||||
</div>
|
<!--</div>-->
|
||||||
<div class="comment-edit-photo-end"></div>
|
<!--<div class="comment-edit-photo-end"></div>-->
|
||||||
<ul class="comment-edit-bb-$id">
|
<ul class="comment-edit-bb-$id">
|
||||||
<li><a class="editicon boldbb shadow"
|
<li><a class="editicon boldbb shadow"
|
||||||
style="cursor: pointer;" title="$edbold"
|
style="cursor: pointer;" title="$edbold"
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
style="cursor: pointer;" title="$edvideo"
|
style="cursor: pointer;" title="$edvideo"
|
||||||
onclick="insertFormatting('$comment','video', $id);"></a></li>-->
|
onclick="insertFormatting('$comment','video', $id);"></a></li>-->
|
||||||
</ul>
|
</ul>
|
||||||
<div class="comment-edit-bb-end"></div>
|
<!--<div class="comment-edit-bb-end"></div>-->
|
||||||
<!-- <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->
|
<!-- <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->
|
||||||
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" >$comment</textarea>
|
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" >$comment</textarea>
|
||||||
{{ if $qcomment }}
|
{{ if $qcomment }}
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>-->
|
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="comment-edit-end"></div>
|
<!--<div class="comment-edit-end"></div>-->
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
4
view/theme/frost-mobile/display-head.tpl
Normal file
4
view/theme/frost-mobile/display-head.tpl
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<script>
|
||||||
|
window.autoCompleteType = 'display-head';
|
||||||
|
</script>
|
||||||
|
|
|
@ -93,6 +93,13 @@ $j(document).ready(function() {
|
||||||
$j('#drop-' + id).removeClass('icon');$j('#drop-' + id).removeClass('drophide'); $j('#drop-' + id).addClass('iconspacer');}
|
$j('#drop-' + id).removeClass('icon');$j('#drop-' + id).removeClass('drophide'); $j('#drop-' + id).addClass('iconspacer');}
|
||||||
);*/
|
);*/
|
||||||
|
|
||||||
|
if(window.autoCompleteType == "display-head") {
|
||||||
|
//$j(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||||
|
// make auto-complete work in more places
|
||||||
|
//$j(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||||
|
$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||||
|
}
|
||||||
|
|
||||||
if(window.aclType == "event_head") {
|
if(window.aclType == "event_head") {
|
||||||
$j('#events-calendar').fullCalendar({
|
$j('#events-calendar').fullCalendar({
|
||||||
events: baseurl + '/events/json/',
|
events: baseurl + '/events/json/',
|
||||||
|
|
2
view/theme/frost-mobile/js/theme.min.js
vendored
2
view/theme/frost-mobile/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
<!-- <div id="site-location">$sitelocation</div> -->
|
<!-- <div id="site-location">$sitelocation</div> -->
|
||||||
|
|
||||||
{{ if $nav.login }}<a id="nav-login-link" class="nav-login-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a> {{ endif }}
|
|
||||||
|
|
||||||
<span id="nav-link-wrapper" >
|
<span id="nav-link-wrapper" >
|
||||||
|
|
||||||
<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->
|
<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->
|
||||||
|
@ -13,11 +11,20 @@
|
||||||
<img rel="#system-menu-list" class="nav-link" src="/view/theme/frost-mobile/images/menu.png">
|
<img rel="#system-menu-list" class="nav-link" src="/view/theme/frost-mobile/images/menu.png">
|
||||||
<!-- </a>-->
|
<!-- </a>-->
|
||||||
<ul id="system-menu-list" class="nav-menu-list">
|
<ul id="system-menu-list" class="nav-menu-list">
|
||||||
|
{{ if $nav.login }}
|
||||||
|
<a id="nav-login-link" class="nav-load-page-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $nav.register }}
|
||||||
|
<a id="nav-register-link" class="nav-load-page-link $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
{{ if $nav.manage }}
|
{{ if $nav.manage }}
|
||||||
<li>
|
<li>
|
||||||
<a id="nav-manage-link" class="nav-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>
|
<a id="nav-manage-link" class="nav-load-page-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>
|
||||||
</li>
|
</li>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
||||||
{{ if $nav.settings }}
|
{{ if $nav.settings }}
|
||||||
<li><a id="nav-settings-link" class="$nav.settings.2 nav-load-page-link" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>
|
<li><a id="nav-settings-link" class="$nav.settings.2 nav-load-page-link" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
@ -123,10 +130,8 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }}
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
<span id="nav-end"></span>
|
<!--<span id="nav-end"></span>-->
|
||||||
<span id="banner">$banner</span>
|
<span id="banner">$banner</span>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
|
@ -1185,7 +1185,7 @@ input#dfrn-url {
|
||||||
display: none;
|
display: none;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
}
|
}
|
||||||
.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none }
|
.wall-item-photo-menu { margin:0px; padding: 0px; list-style: none }
|
||||||
.wall-item-photo-menu li a { display: block; padding: 2px; }
|
.wall-item-photo-menu li a { display: block; padding: 2px; }
|
||||||
.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }
|
.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }
|
||||||
|
|
||||||
|
@ -1205,7 +1205,7 @@ input#dfrn-url {
|
||||||
height: 30px !important;
|
height: 30px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wallwall .wall-item-photo-end {
|
.wallwall /*.wall-item-photo-end*/ {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1247,7 +1247,7 @@ input#dfrn-url {
|
||||||
|
|
||||||
.wall-item-like-buttons {
|
.wall-item-like-buttons {
|
||||||
float: left;
|
float: left;
|
||||||
margin-right: 10px;
|
margin-right: 3px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.like-rotator {
|
.like-rotator {
|
||||||
|
@ -1294,18 +1294,18 @@ input#dfrn-url {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wall-item-delete-end {
|
/*.wall-item-delete-end {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
.wall-item-delete-icon {
|
.wall-item-delete-icon {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.wall-item-wrapper-end {
|
/*.wall-item-wrapper-end {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}*/
|
||||||
.wall-item-name-link {
|
.wall-item-name-link {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -1343,9 +1343,9 @@ input#dfrn-url {
|
||||||
/*width: 450px;*/
|
/*width: 450px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.wall-item-title-end {
|
/*.wall-item-title-end {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
.wall-item-body {
|
.wall-item-body {
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
|
@ -1370,7 +1370,7 @@ input#dfrn-url {
|
||||||
/* background-image: url("head.jpg");
|
/* background-image: url("head.jpg");
|
||||||
background-position: 0 -20px;
|
background-position: 0 -20px;
|
||||||
background-repeat: repeat-x;*/
|
background-repeat: repeat-x;*/
|
||||||
padding: 5px 10px 0px;
|
padding: 5px 5px 0px;
|
||||||
height: 32px;
|
height: 32px;
|
||||||
}
|
}
|
||||||
.wall-item-author {
|
.wall-item-author {
|
||||||
|
@ -1394,6 +1394,7 @@ input#dfrn-url {
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-wwedit-wrapper {
|
.comment-wwedit-wrapper {
|
||||||
|
display: block;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
background: #f3f3f3;
|
background: #f3f3f3;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
@ -3461,7 +3462,7 @@ aside input[type='text'] {
|
||||||
background-image: url('../../../images/icons.png');
|
background-image: url('../../../images/icons.png');
|
||||||
}
|
}
|
||||||
.article { background-position: 0px 0px;}
|
.article { background-position: 0px 0px;}
|
||||||
.audio { display: none; background-position: -16px 0px;}
|
.icon.audio { display: none; background-position: -16px 0px;}
|
||||||
.block { background-position: -32px 0px;}
|
.block { background-position: -32px 0px;}
|
||||||
/*.drop { background-position: -48px 0px;}
|
/*.drop { background-position: -48px 0px;}
|
||||||
.drophide { background-position: -64px 0px;}*/
|
.drophide { background-position: -64px 0px;}*/
|
||||||
|
@ -3571,7 +3572,8 @@ aside input[type='text'] {
|
||||||
background-image: url('images/unlock.png');
|
background-image: url('images/unlock.png');
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
.video { display: none; background-position: -48px -32px;}
|
.icon.video { display: none; background-position: -48px -32px;}
|
||||||
|
.oembed.video a { display: block; }
|
||||||
.youtube { background-position: -64px -32px;}
|
.youtube { background-position: -64px -32px;}
|
||||||
/*.attach { background-position: -80px -32px; }*/
|
/*.attach { background-position: -80px -32px; }*/
|
||||||
.icon.attach {
|
.icon.attach {
|
||||||
|
@ -3633,9 +3635,9 @@ aside input[type='text'] {
|
||||||
margin: 20px 10px 0 0;
|
margin: 20px 10px 0 0;
|
||||||
visibility: none;
|
visibility: none;
|
||||||
}
|
}
|
||||||
[class^="comment-edit-bb-end"] {
|
/*[class^="comment-edit-bb-end"] {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}*/
|
||||||
.editicon {
|
.editicon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<a name="$item.id" ></a>
|
<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-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" >
|
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||||
<div class="wall-item-info" id="wall-item-info-$item.id">
|
<div class="wall-item-info" id="wall-item-info-$item.id">
|
||||||
<!-- <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id"
|
<!-- <div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id"
|
||||||
|
@ -16,29 +16,29 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>-->
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-photo-end"></div>
|
<!--<div class="wall-item-photo-end"></div>-->
|
||||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||||
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
{{ if $item.lock }}<!--<div class="wall-item-lock">--><img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /><!--</div>-->
|
||||||
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||||
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-author">
|
<!--<div class="wall-item-author">-->
|
||||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
||||||
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||||
|
|
||||||
</div>
|
<!--</div>-->
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||||
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||||
<div class="wall-item-title-end"></div>
|
<!--<div class="wall-item-title-end"></div>-->
|
||||||
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||||
<div class="body-tag">
|
<!--<div class="body-tag">-->
|
||||||
{{ for $item.tags as $tag }}
|
{{ for $item.tags as $tag }}
|
||||||
<span class='tag'>$tag</span>
|
<span class='body-tag tag'>$tag</span>
|
||||||
{{ endfor }}
|
{{ endfor }}
|
||||||
</div>
|
<!--</div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $item.plink }}
|
{{ if $item.plink }}
|
||||||
<div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link$item.sparkle"></a></div>
|
<!--<div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a></div>-->
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $item.edpost }}
|
{{ if $item.edpost }}
|
||||||
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||||
|
@ -64,19 +64,19 @@
|
||||||
{{ if $item.filer }}
|
{{ if $item.filer }}
|
||||||
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
|
<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->
|
||||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" id="wall-item-delete-wrapper-$item.id" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||||
</div>
|
<!--</div>-->
|
||||||
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||||
<div class="wall-item-delete-end"></div>
|
<!--<div class="wall-item-delete-end"></div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-wrapper-end"></div>
|
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||||
<div class="wall-item-comment-wrapper" >
|
<!--<div class="wall-item-comment-wrapper" >-->
|
||||||
$item.comment
|
$item.comment
|
||||||
</div>
|
<!--</div>-->
|
||||||
|
|
||||||
<div class="wall-item-outside-wrapper-end$item.indent" ></div>
|
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||||
</div>
|
<!--</div>-->
|
||||||
|
|
87
view/theme/frost-mobile/wallwall_item.tpl
Normal file
87
view/theme/frost-mobile/wallwall_item.tpl
Normal file
|
@ -0,0 +1,87 @@
|
||||||
|
<a name="$item.id" ></a>
|
||||||
|
<!--<div class="wall-item-outside-wrapper$item.indent$item.previewing wallwall" id="wall-item-outside-wrapper-$item.id" >-->
|
||||||
|
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||||
|
<div class="wall-item-info wallwall" id="wall-item-info-$item.id">
|
||||||
|
<div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
|
||||||
|
<a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
|
||||||
|
<img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
|
||||||
|
<!-- <div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$item.id"
|
||||||
|
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
|
||||||
|
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">-->
|
||||||
|
<div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$item.id">
|
||||||
|
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
|
||||||
|
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
|
||||||
|
<!--<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||||
|
<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||||
|
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||||
|
$item.item_photo_menu
|
||||||
|
</ul>
|
||||||
|
<!-- </div>-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!--<div class="wall-item-photo-end"></div>-->
|
||||||
|
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||||
|
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||||
|
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||||
|
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="wall-item-author">-->
|
||||||
|
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall<br />
|
||||||
|
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||||
|
<!--</div>-->
|
||||||
|
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||||
|
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||||
|
<!--<div class="wall-item-title-end"></div>-->
|
||||||
|
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||||
|
<!--<div class="body-tag">-->
|
||||||
|
{{ for $item.tags as $tag }}
|
||||||
|
<span class='body-tag tag'>$tag</span>
|
||||||
|
{{ endfor }}
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||||
|
{{ if $item.vote }}
|
||||||
|
<div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
|
||||||
|
<a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
|
||||||
|
<a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
|
||||||
|
{{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}
|
||||||
|
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.plink }}
|
||||||
|
<!--<div class="wall-item-links-wrapper">--><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a><!--</div>-->
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.edpost }}
|
||||||
|
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $item.star }}
|
||||||
|
<a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
|
||||||
|
<a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.filer }}
|
||||||
|
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->
|
||||||
|
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||||
|
<!--</div>-->
|
||||||
|
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||||
|
<!--<div class="wall-item-delete-end"></div>-->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||||
|
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||||
|
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||||
|
<div class="wall-item-comment-separator"></div>
|
||||||
|
<!--<div class="wall-item-comment-wrapper">-->
|
||||||
|
$item.comment
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
|
@ -19,10 +19,10 @@
|
||||||
<input type="hidden" name="jsreload" value="$jsreload" />
|
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||||
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||||
|
|
||||||
<div class="comment-edit-photo" id="comment-edit-photo-$id" >
|
<!-- <div class="comment-edit-photo" id="comment-edit-photo-$id" >-->
|
||||||
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
<a class="comment-edit-photo comment-edit-photo-link" id="comment-edit-photo-$id" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||||
</div>
|
<!-- </div>-->
|
||||||
<div class="comment-edit-photo-end"></div>
|
<!--<div class="comment-edit-photo-end"></div>-->
|
||||||
<ul class="comment-edit-bb-$id">
|
<ul class="comment-edit-bb-$id">
|
||||||
<li><a class="editicon boldbb shadow"
|
<li><a class="editicon boldbb shadow"
|
||||||
style="cursor: pointer;" title="$edbold"
|
style="cursor: pointer;" title="$edbold"
|
||||||
|
@ -49,7 +49,7 @@
|
||||||
style="cursor: pointer;" title="$edvideo"
|
style="cursor: pointer;" title="$edvideo"
|
||||||
onclick="insertFormatting('$comment','video', $id);"></a></li>
|
onclick="insertFormatting('$comment','video', $id);"></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="comment-edit-bb-end"></div>
|
<!-- <div class="comment-edit-bb-end"></div>-->
|
||||||
<!-- <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->
|
<!-- <textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" onBlur="commentClose(this,$id);cmtBbClose($id);" >$comment</textarea>-->
|
||||||
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" >$comment</textarea>
|
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);cmtBbOpen($id);" >$comment</textarea>
|
||||||
{{ if $qcomment }}
|
{{ if $qcomment }}
|
||||||
|
@ -68,7 +68,7 @@
|
||||||
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>
|
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="comment-edit-end"></div>
|
<!--<div class="comment-edit-end"></div>-->
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
4
view/theme/frost/display-head.tpl
Normal file
4
view/theme/frost/display-head.tpl
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
<script>
|
||||||
|
window.autoCompleteType = 'display-head';
|
||||||
|
</script>
|
||||||
|
|
|
@ -78,6 +78,13 @@ $j(document).ready(function() {
|
||||||
return false;
|
return false;
|
||||||
});*/
|
});*/
|
||||||
|
|
||||||
|
if(window.autoCompleteType == "display-head") {
|
||||||
|
//$j(".comment-edit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||||
|
// make auto-complete work in more places
|
||||||
|
//$j(".wall-item-comment-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||||
|
$j(".comment-wwedit-wrapper textarea").contact_autocomplete(baseurl+"/acl");
|
||||||
|
}
|
||||||
|
|
||||||
if(window.aclType == "event_head") {
|
if(window.aclType == "event_head") {
|
||||||
$j('#events-calendar').fullCalendar({
|
$j('#events-calendar').fullCalendar({
|
||||||
events: baseurl + '/events/json/',
|
events: baseurl + '/events/json/',
|
||||||
|
|
2
view/theme/frost/js/theme.min.js
vendored
2
view/theme/frost/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
<div id="site-location">$sitelocation</div>
|
<div id="site-location">$sitelocation</div>
|
||||||
|
|
||||||
{{ if $nav.login }}<a id="nav-login-link" class="nav-login-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a> {{ endif }}
|
|
||||||
|
|
||||||
<span id="nav-link-wrapper" >
|
<span id="nav-link-wrapper" >
|
||||||
|
|
||||||
<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->
|
<!-- <a id="system-menu-link" class="nav-link" href="#system-menu" title="Menu">Menu</a>-->
|
||||||
|
@ -13,9 +11,17 @@
|
||||||
<img class="system-menu-link" src="/view/theme/frost/images/menu.png">
|
<img class="system-menu-link" src="/view/theme/frost/images/menu.png">
|
||||||
</a>
|
</a>
|
||||||
<ul id="system-menu-list" class="nav-menu-list">
|
<ul id="system-menu-list" class="nav-menu-list">
|
||||||
|
{{ if $nav.login }}
|
||||||
|
<a id="nav-login-link" class="nav-load-page-link $nav.login.2" href="$nav.login.0" title="$nav.login.3" >$nav.login.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $nav.register }}
|
||||||
|
<a id="nav-register-link" class="nav-load-page-link $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
{{ if $nav.manage }}
|
{{ if $nav.manage }}
|
||||||
<li>
|
<li>
|
||||||
<a id="nav-manage-link" class="nav-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>
|
<a id="nav-manage-link" class="nav-load-page-link $nav.manage.2 $sel.manage" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a>
|
||||||
</li>
|
</li>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
|
|
||||||
|
@ -124,10 +130,8 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if $nav.register }}<a id="nav-register-link" class="nav-commlink $nav.register.2 $sel.register" href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a>{{ endif }}
|
|
||||||
|
|
||||||
</span>
|
</span>
|
||||||
<span id="nav-end"></span>
|
<!--<span id="nav-end"></span>-->
|
||||||
<span id="banner">$banner</span>
|
<span id="banner">$banner</span>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
|
@ -1157,7 +1157,7 @@ input#dfrn-url {
|
||||||
display: none;
|
display: none;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
}
|
}
|
||||||
.wall-item-photo-menu ul { margin:0px; padding: 0px; list-style: none }
|
.wall-item-photo-menu { margin:0px; padding: 0px; list-style: none }
|
||||||
.wall-item-photo-menu li a { display: block; padding: 2px; }
|
.wall-item-photo-menu li a { display: block; padding: 2px; }
|
||||||
.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }
|
.wall-item-photo-menu li a:hover { color: #FFFFFF; background: #3465A4; text-decoration: none; }
|
||||||
|
|
||||||
|
@ -1177,7 +1177,7 @@ input#dfrn-url {
|
||||||
height: 30px !important;
|
height: 30px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wallwall .wall-item-photo-end {
|
.wallwall /*.wall-item-photo-end*/ {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1267,18 +1267,18 @@ input#dfrn-url {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wall-item-delete-end {
|
/*.wall-item-delete-end {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
.wall-item-delete-icon {
|
.wall-item-delete-icon {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.wall-item-wrapper-end {
|
/*.wall-item-wrapper-end {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}*/
|
||||||
.wall-item-name-link {
|
.wall-item-name-link {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -1311,9 +1311,9 @@ input#dfrn-url {
|
||||||
/*width: 450px;*/
|
/*width: 450px;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.wall-item-title-end {
|
/*.wall-item-title-end {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
.wall-item-body {
|
.wall-item-body {
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
|
@ -1357,6 +1357,7 @@ input#dfrn-url {
|
||||||
}
|
}
|
||||||
|
|
||||||
.comment-wwedit-wrapper {
|
.comment-wwedit-wrapper {
|
||||||
|
display: block;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
background: #f3f3f3;
|
background: #f3f3f3;
|
||||||
margin-left: 50px;
|
margin-left: 50px;
|
||||||
|
@ -3524,9 +3525,9 @@ aside input[type='text'] {
|
||||||
margin: 10px 10px 0 0;
|
margin: 10px 10px 0 0;
|
||||||
visibility: none;
|
visibility: none;
|
||||||
}
|
}
|
||||||
[class^="comment-edit-bb-end"] {
|
/*[class^="comment-edit-bb-end"] {
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}*/
|
||||||
.editicon {
|
.editicon {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
/* background-image: url(bbedit.png);
|
/* background-image: url(bbedit.png);
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
||||||
<a name="$item.id" ></a>
|
<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-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" >
|
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||||
<div class="wall-item-info" id="wall-item-info-$item.id">
|
<div class="wall-item-info" id="wall-item-info-$item.id">
|
||||||
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id"
|
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$item.id"
|
||||||
|
@ -9,33 +9,33 @@
|
||||||
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" />
|
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" />
|
||||||
</a>
|
</a>
|
||||||
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||||
<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
<!--<div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">-->
|
||||||
<ul>
|
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||||
$item.item_photo_menu
|
$item.item_photo_menu
|
||||||
</ul>
|
</ul>
|
||||||
|
<!--</div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!--<div class="wall-item-photo-end"></div>-->
|
||||||
<div class="wall-item-photo-end"></div>
|
|
||||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||||
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
{{ if $item.lock }}<!--<div class="wall-item-lock">--><img src="images/lock_icon.gif" class="wall-item-lock lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /><!--</div>-->
|
||||||
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||||
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-author">
|
<!--<div class="wall-item-author">-->
|
||||||
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a>
|
||||||
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||||
|
|
||||||
</div>
|
<!--</div>-->
|
||||||
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||||
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||||
<div class="wall-item-title-end"></div>
|
<!--<div class="wall-item-title-end"></div>-->
|
||||||
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||||
<div class="body-tag">
|
<!-- <div class="body-tag">-->
|
||||||
{{ for $item.tags as $tag }}
|
{{ for $item.tags as $tag }}
|
||||||
<span class='tag'>$tag</span>
|
<span class='body-tag tag'>$tag</span>
|
||||||
{{ endfor }}
|
{{ endfor }}
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
</div>
|
</div>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $item.plink }}
|
{{ if $item.plink }}
|
||||||
<div class="wall-item-links-wrapper"><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="icon remote-link$item.sparkle"></a></div>
|
<!--<div class="wall-item-links-wrapper">--><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a><!--</div>-->
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
{{ if $item.edpost }}
|
{{ if $item.edpost }}
|
||||||
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||||
|
@ -61,19 +61,19 @@
|
||||||
{{ if $item.filer }}
|
{{ if $item.filer }}
|
||||||
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >
|
<!-- <div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->
|
||||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" id="wall-item-delete-wrapper-$item.id" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||||
</div>
|
<!-- </div>-->
|
||||||
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||||
<div class="wall-item-delete-end"></div>
|
<!--<div class="wall-item-delete-end"></div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="wall-item-wrapper-end"></div>
|
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||||
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||||
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||||
<div class="wall-item-comment-wrapper" >
|
<!--<div class="wall-item-comment-wrapper" >-->
|
||||||
$item.comment
|
$item.comment
|
||||||
</div>
|
<!--</div>-->
|
||||||
|
|
||||||
<div class="wall-item-outside-wrapper-end$item.indent" ></div>
|
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||||
</div>
|
<!--</div>-->
|
||||||
|
|
86
view/theme/frost/wallwall_item.tpl
Normal file
86
view/theme/frost/wallwall_item.tpl
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
<a name="$item.id" ></a>
|
||||||
|
<!--<div class="wall-item-outside-wrapper$item.indent$item.previewing wallwall" id="wall-item-outside-wrapper-$item.id" >-->
|
||||||
|
<div class="wall-item-content-wrapper$item.indent" id="wall-item-content-wrapper-$item.id" >
|
||||||
|
<div class="wall-item-info wallwall" id="wall-item-info-$item.id">
|
||||||
|
<div class="wall-item-photo-wrapper wwto" id="wall-item-ownerphoto-wrapper-$item.id" >
|
||||||
|
<a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$item.id">
|
||||||
|
<img src="$item.owner_photo" class="wall-item-photo$item.osparkle" id="wall-item-ownerphoto-$item.id" style="height: 80px; width: 80px;" alt="$item.owner_name" /></a>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="$item.wall" /></div>
|
||||||
|
<div class="wall-item-photo-wrapper wwfrom" id="wall-item-photo-wrapper-$item.id"
|
||||||
|
onmouseover="if (typeof t$item.id != 'undefined') clearTimeout(t$item.id); openMenu('wall-item-photo-menu-button-$item.id')"
|
||||||
|
onmouseout="t$item.id=setTimeout('closeMenu(\'wall-item-photo-menu-button-$item.id\'); closeMenu(\'wall-item-photo-menu-$item.id\');',200)">
|
||||||
|
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-photo-link" id="wall-item-photo-link-$item.id">
|
||||||
|
<img src="$item.thumb" class="wall-item-photo$item.sparkle" id="wall-item-photo-$item.id" style="height: 80px; width: 80px;" alt="$item.name" /></a>
|
||||||
|
<span onclick="openClose('wall-item-photo-menu-$item.id');" class="fakelink wall-item-photo-menu-button" id="wall-item-photo-menu-button-$item.id">menu</span>
|
||||||
|
<!-- <div class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">-->
|
||||||
|
<ul class="wall-item-photo-menu" id="wall-item-photo-menu-$item.id">
|
||||||
|
$item.item_photo_menu
|
||||||
|
</ul>
|
||||||
|
<!-- </div>-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!--<div class="wall-item-photo-end"></div>-->
|
||||||
|
<div class="wall-item-wrapper" id="wall-item-wrapper-$item.id" >
|
||||||
|
{{ if $item.lock }}<div class="wall-item-lock"><img src="images/lock_icon.gif" class="lockview" alt="$item.lock" onclick="lockview(event,$item.id);" /></div>
|
||||||
|
{{ else }}<div class="wall-item-lock"></div>{{ endif }}
|
||||||
|
<div class="wall-item-location" id="wall-item-location-$item.id">$item.location</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="wall-item-author">-->
|
||||||
|
<a href="$item.profile_url" target="redir" title="$item.linktitle" class="wall-item-name-link"><span class="wall-item-name$item.sparkle" id="wall-item-name-$item.id" >$item.name</span></a> $item.to <a href="$item.owner_url" target="redir" title="$item.olinktitle" class="wall-item-name-link"><span class="wall-item-name$item.osparkle" id="wall-item-ownername-$item.id">$item.owner_name</span></a> $item.vwall<br />
|
||||||
|
<div class="wall-item-ago" id="wall-item-ago-$item.id">$item.ago</div>
|
||||||
|
<!--</div>-->
|
||||||
|
<div class="wall-item-content" id="wall-item-content-$item.id" >
|
||||||
|
<div class="wall-item-title" id="wall-item-title-$item.id">$item.title</div>
|
||||||
|
<!--<div class="wall-item-title-end"></div>-->
|
||||||
|
<div class="wall-item-body" id="wall-item-body-$item.id" >$item.body
|
||||||
|
<!--<div class="body-tag">-->
|
||||||
|
{{ for $item.tags as $tag }}
|
||||||
|
<span class='body-tag tag'>$tag</span>
|
||||||
|
{{ endfor }}
|
||||||
|
<!--</div>-->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="wall-item-tools" id="wall-item-tools-$item.id">
|
||||||
|
{{ if $item.vote }}
|
||||||
|
<div class="wall-item-like-buttons" id="wall-item-like-buttons-$item.id">
|
||||||
|
<a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
|
||||||
|
<a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>
|
||||||
|
{{ if $item.vote.share }}<a href="#" class="icon recycle wall-item-share-buttons" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>{{ endif }}
|
||||||
|
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
|
||||||
|
</div>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.plink }}
|
||||||
|
<!--<div class="wall-item-links-wrapper">--><a href="$item.plink.href" title="$item.plink.title" target="external-link" class="wall-item-links-wrapper icon remote-link$item.sparkle"></a><!--</div>-->
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.edpost }}
|
||||||
|
<a class="editpost icon pencil" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
{{ if $item.star }}
|
||||||
|
<a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="star-item icon $item.isstarred" title="$item.star.toggle"></a>
|
||||||
|
<a href="#" id="tagger-$item.id" onclick="itemTag($item.id); return false;" class="tag-item icon tagged" title="$item.star.tagger"></a>
|
||||||
|
{{ endif }}
|
||||||
|
{{ if $item.filer }}
|
||||||
|
<a href="#" id="filer-$item.id" onclick="itemFiler($item.id); return false;" class="filer-item filer-icon" title="$item.filer"></a>
|
||||||
|
{{ endif }}
|
||||||
|
|
||||||
|
<!--<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$item.id" >-->
|
||||||
|
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" onclick="return confirmDelete();" class="wall-item-delete-wrapper icon drophide" title="$item.drop.delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>{{ endif }}
|
||||||
|
<!--</div>-->
|
||||||
|
{{ if $item.drop.dropping }}<input type="checkbox" onclick="checkboxhighlight(this);" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||||
|
<!--<div class="wall-item-delete-end"></div>-->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!--<div class="wall-item-wrapper-end"></div>-->
|
||||||
|
<div class="wall-item-like $item.indent" id="wall-item-like-$item.id">$item.like</div>
|
||||||
|
<div class="wall-item-dislike $item.indent" id="wall-item-dislike-$item.id">$item.dislike</div>
|
||||||
|
<div class="wall-item-comment-separator"></div>
|
||||||
|
<!--<div class="wall-item-comment-wrapper">-->
|
||||||
|
$item.comment
|
||||||
|
<!--</div>-->
|
||||||
|
|
||||||
|
<!--<div class="wall-item-outside-wrapper-end$item.indent" ></div>-->
|
||||||
|
<!--</div>-->
|
||||||
|
|
Loading…
Reference in a new issue