Decaf mobile: an (almost) Javascript-free theme
|
@ -3,7 +3,7 @@
|
|||
<input type="hidden" name="type" value="$type" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="parent" value="$parent" />
|
||||
<input type="hidden" name="return" value="$return_path" />
|
||||
{#<!--<input type="hidden" name="return" value="$return_path" />-->#}
|
||||
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||
<input type="hidden" name="post_id_random" value="$rand_num" />
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<input type="hidden" name="type" value="$type" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="parent" value="$parent" />
|
||||
<input type="hidden" name="return" value="$return_path" />
|
||||
{#<!--<input type="hidden" name="return" value="$return_path" />-->#}
|
||||
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||
<input type="hidden" name="post_id_random" value="$rand_num" />
|
||||
|
|
31
view/theme/decaf-mobile/TODO
Normal file
|
@ -0,0 +1,31 @@
|
|||
Photo album display?
|
||||
|
||||
- The "lock" icon for private items
|
||||
- change it to black?
|
||||
- when clicked, the popup window displays poorly
|
||||
|
||||
- Edit photo page: bottom buttons are off-center in Dolphin Mini
|
||||
|
||||
- BB code buttons for status updates
|
||||
|
||||
- Get "add contact" back on contacts page
|
||||
|
||||
- Allow creating a new private message
|
||||
|
||||
- Admin: access to more pages than summary?
|
||||
|
||||
- Find a way to show embedded videos at the normal size for tablets that can handle it
|
||||
|
||||
- Need to find a way to deal with freakin annoying elements that don't respect screen width limits.
|
||||
Specifically, need to find a way to keep them from forcing a horizontal scroll bar to show up and
|
||||
making the rest of the body text overflow the item's borders that is screen-width sensitive (it's
|
||||
annoying to have a 300px truncated code block on a 1024px wide screen). At least the following cause problems:
|
||||
- code blocks
|
||||
- blockquote blocks
|
||||
- #reallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallyreallylongtags
|
||||
|
||||
- Needs to be faster!
|
||||
- Reduce DOM elements (~2400 for 10 items, ~8400 for 40 items)
|
||||
|
||||
|
||||
- Sometimes, when "Permission denied", wrong login page is shown
|
29
view/theme/decaf-mobile/acl_html_selector.tpl
Normal file
|
@ -0,0 +1,29 @@
|
|||
<a name="acl-wrapper-target"></a>
|
||||
<div id="acl-wrapper">
|
||||
<div id="acl-public-switch">
|
||||
<a href="$return_path#acl-wrapper-target" {{ if $is_private == 1 }}class="acl-public-switch-selected"{{ endif }} >$private</a>
|
||||
<a href="$return_path$public_link#acl-wrapper-target" {{ if $is_private == 0 }}class="acl-public-switch-selected"{{ endif }} >$public</a>
|
||||
</div>
|
||||
<div id="acl-list">
|
||||
<div id="acl-list-content">
|
||||
<div id="acl-html-groups" class="acl-html-select-wrapper">
|
||||
$group_perms<br />
|
||||
<select name="group_allow[]" multiple {{ if $is_private == 0 }}disabled{{ endif }} id="acl-html-group-select" class="acl-html-select" size=7>
|
||||
{{ for $acl_data.groups as $group }}
|
||||
<option value="$group.id" {{ if $is_private == 1 }}{{ if $group.selected }}selected{{ endif }}{{ endif }}>$group.name</option>
|
||||
{{ endfor }}
|
||||
</select>
|
||||
</div>
|
||||
<div id="acl-html-contacts" class="acl-html-select-wrapper">
|
||||
$contact_perms<br />
|
||||
<select name="contact_allow[]" multiple {{ if $is_private == 0 }}disabled{{ endif }} id="acl-html-contact-select" class="acl-html-select" size=7>
|
||||
{{ for $acl_data.contacts as $contact }}
|
||||
<option value="$contact.id" {{ if $is_private == 1 }}{{ if $contact.selected }}selected{{ endif }}{{ endif }}>$contact.name ($contact.networkName)</option>
|
||||
{{ endfor }}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<span id="acl-fields"></span>
|
||||
</div>
|
||||
|
23
view/theme/decaf-mobile/acl_selector.tpl
Normal file
|
@ -0,0 +1,23 @@
|
|||
<div id="acl-wrapper">
|
||||
<input id="acl-search">
|
||||
<a href="#" id="acl-showall">$showall</a>
|
||||
<div id="acl-list">
|
||||
<div id="acl-list-content">
|
||||
</div>
|
||||
</div>
|
||||
<span id="acl-fields"></span>
|
||||
</div>
|
||||
|
||||
<div class="acl-list-item" rel="acl-template" style="display:none">
|
||||
<img data-src="{0}"><p>{1}</p>
|
||||
<a href="#" class='acl-button-show'>$show</a>
|
||||
<a href="#" class='acl-button-hide'>$hide</a>
|
||||
</div>
|
||||
|
||||
{#<!--<script>
|
||||
window.allowCID = $allowcid;
|
||||
window.allowGID = $allowgid;
|
||||
window.denyCID = $denycid;
|
||||
window.denyGID = $denygid;
|
||||
window.aclInit = "true";
|
||||
</script>-->#}
|
31
view/theme/decaf-mobile/admin_aside.tpl
Normal file
|
@ -0,0 +1,31 @@
|
|||
|
||||
<h4><a href="$admurl">$admtxt</a></h4>
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
|
||||
<li class='admin button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a><span id='pending-update' title='$h_pending'></span></li>
|
||||
<li class='admin button $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li>
|
||||
<li class='admin button $admin.themes.2'><a href='$admin.themes.0'>$admin.themes.1</a></li>
|
||||
<li class='admin button $admin.dbsync.2'><a href='$admin.dbsync.0'>$admin.dbsync.1</a></li>
|
||||
</ul>
|
||||
|
||||
{{ if $admin.update }}
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin button $admin.update.2'><a href='$admin.update.0'>$admin.update.1</a></li>
|
||||
<li class='admin button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
|
||||
</ul>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
{{ if $admin.plugins_admin }}<h4>$plugadmtxt</h4>{{ endif }}
|
||||
<ul class='admin linklist'>
|
||||
{{ for $admin.plugins_admin as $l }}
|
||||
<li class='admin button $l.2'><a href='$l.0'>$l.1</a></li>
|
||||
{{ endfor }}
|
||||
</ul>
|
||||
|
||||
|
||||
<h4>$logtxt</h4>
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
|
||||
</ul>
|
||||
|
61
view/theme/decaf-mobile/admin_site.tpl
Normal file
|
@ -0,0 +1,61 @@
|
|||
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
|
||||
<form action="$baseurl/admin/site" method="post">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
{{ inc field_input.tpl with $field=$sitename }}{{ endinc }}
|
||||
{{ inc field_textarea.tpl with $field=$banner }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$language }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$theme }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$theme_mobile }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$ssl_policy }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
<h3>$registration</h3>
|
||||
{{ inc field_input.tpl with $field=$register_text }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$register_policy }}{{ endinc }}
|
||||
|
||||
{{ inc field_checkbox.tpl with $field=$no_multi_reg }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$no_openid }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$no_regfullname }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
<h3>$upload</h3>
|
||||
{{ inc field_input.tpl with $field=$maximagesize }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$maximagelength }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$jpegimagequality }}{{ endinc }}
|
||||
|
||||
<h3>$corporate</h3>
|
||||
{{ inc field_input.tpl with $field=$allowed_sites }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$allowed_email }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$block_public }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$force_publish }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$no_community_page }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$ostatus_disabled }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$diaspora_enabled }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$dfrn_only }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$global_directory }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$thread_allow }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$newuser_private }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
<h3>$advanced</h3>
|
||||
{{ inc field_checkbox.tpl with $field=$no_utf }}{{ endinc }}
|
||||
{{ inc field_checkbox.tpl with $field=$verifyssl }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$proxy }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$proxyuser }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$timeout }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$delivery_interval }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$poll_interval }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$maxloadavg }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$abandon_days }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
</form>
|
||||
</div>
|
98
view/theme/decaf-mobile/admin_users.tpl
Normal file
|
@ -0,0 +1,98 @@
|
|||
<script>
|
||||
function confirm_delete(uname){
|
||||
return confirm( "$confirm_delete".format(uname));
|
||||
}
|
||||
function confirm_delete_multi(){
|
||||
return confirm("$confirm_delete_multi");
|
||||
}
|
||||
{#/*function selectall(cls){
|
||||
$j("."+cls).attr('checked','checked');
|
||||
return false;
|
||||
}*/#}
|
||||
</script>
|
||||
<div id='adminpage'>
|
||||
<h1>$title - $page</h1>
|
||||
|
||||
<form action="$baseurl/admin/users" method="post">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
<h3>$h_pending</h3>
|
||||
{{ if $pending }}
|
||||
<table id='pending'>
|
||||
<thead>
|
||||
<tr>
|
||||
{{ for $th_pending as $th }}<th>$th</th>{{ endfor }}
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ for $pending as $u }}
|
||||
<tr>
|
||||
<td class="created">$u.created</td>
|
||||
<td class="name">$u.name</td>
|
||||
<td class="email">$u.email</td>
|
||||
<td class="checkbox"><input type="checkbox" class="pending_ckbx" id="id_pending_$u.hash" name="pending[]" value="$u.hash" /></td>
|
||||
<td class="tools">
|
||||
<a href="$baseurl/regmod/allow/$u.hash" title='$approve'><span class='tool like'></span></a>
|
||||
<a href="$baseurl/regmod/deny/$u.hash" title='$deny'><span class='tool dislike'></span></a>
|
||||
</td>
|
||||
</tr>
|
||||
{{ endfor }}
|
||||
</tbody>
|
||||
</table>
|
||||
{#<!--<div class='selectall'><a href='#' onclick="return selectall('pending_ckbx');">$select_all</a></div>-->#}
|
||||
<div class="submit"><input type="submit" name="page_users_deny" value="$deny"/> <input type="submit" name="page_users_approve" value="$approve" /></div>
|
||||
{{ else }}
|
||||
<p>$no_pending</p>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
|
||||
|
||||
<h3>$h_users</h3>
|
||||
{{ if $users }}
|
||||
<table id='users'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
{{ for $th_users as $th }}<th>$th</th>{{ endfor }}
|
||||
<th></th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ for $users as $u }}
|
||||
<tr>
|
||||
<td><img src="$u.micro" alt="$u.nickname" title="$u.nickname"></td>
|
||||
<td class='name'><a href="$u.url" title="$u.nickname" >$u.name</a></td>
|
||||
<td class='email'>$u.email</td>
|
||||
<td class='register_date'>$u.register_date</td>
|
||||
<td class='login_date'>$u.login_date</td>
|
||||
<td class='lastitem_date'>$u.lastitem_date</td>
|
||||
<td class='login_date'>$u.page_flags {{ if $u.is_admin }}($siteadmin){{ endif }}</td>
|
||||
<td class="checkbox">
|
||||
{{ if $u.is_admin }}
|
||||
|
||||
{{ else }}
|
||||
<input type="checkbox" class="users_ckbx" id="id_user_$u.uid" name="user[]" value="$u.uid"/></td>
|
||||
{{ endif }}
|
||||
<td class="tools">
|
||||
{{ if $u.is_admin }}
|
||||
|
||||
{{ else }}
|
||||
<a href="$baseurl/admin/users/block/$u.uid?t=$form_security_token" title='{{ if $u.blocked }}$unblock{{ else }}$block{{ endif }}'><span class='icon block {{ if $u.blocked==0 }}dim{{ endif }}'></span></a>
|
||||
<a href="$baseurl/admin/users/delete/$u.uid?t=$form_security_token" title='$delete' onclick="return confirm_delete('$u.name')"><span class='icon drop'></span></a>
|
||||
{{ endif }}
|
||||
</td>
|
||||
</tr>
|
||||
{{ endfor }}
|
||||
</tbody>
|
||||
</table>
|
||||
{#<!--<div class='selectall'><a href='#' onclick="return selectall('users_ckbx');">$select_all</a></div>-->#}
|
||||
<div class="submit"><input type="submit" name="page_users_block" value="$block/$unblock" /> <input type="submit" name="page_users_delete" value="$delete" onclick="return confirm_delete_multi()" /></div>
|
||||
{{ else }}
|
||||
NO USERS?!?
|
||||
{{ endif }}
|
||||
</form>
|
||||
</div>
|
15
view/theme/decaf-mobile/album_edit.tpl
Normal file
|
@ -0,0 +1,15 @@
|
|||
<div id="photo-album-edit-wrapper">
|
||||
<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/$nickname/album/$hexalbum" method="post" >
|
||||
<input id="photo-album-edit-form-confirm" type="hidden" name="confirm" value="1" />
|
||||
|
||||
<label id="photo-album-edit-name-label" for="photo-album-edit-name" >$nametext</label>
|
||||
<input type="text" size="64" name="albumname" value="$album" >
|
||||
|
||||
<div id="photo-album-edit-name-end"></div>
|
||||
|
||||
<input id="photo-album-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
<input id="photo-album-edit-drop" type="submit" name="dropalbum" value="$dropsubmit" onclick="return confirmDelete(function(){remove('photo-album-edit-form-confirm');});" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div id="photo-album-edit-end" ></div>
|
BIN
view/theme/decaf-mobile/border.jpg
Normal file
After Width: | Height: | Size: 342 B |
12
view/theme/decaf-mobile/categories_widget.tpl
Normal file
|
@ -0,0 +1,12 @@
|
|||
{#<!--<div id="categories-sidebar" class="widget">
|
||||
<h3>$title</h3>
|
||||
<div id="nets-desc">$desc</div>
|
||||
|
||||
<ul class="categories-ul">
|
||||
<li class="tool"><a href="$base" class="categories-link categories-all{{ if $sel_all }} categories-selected{{ endif }}">$all</a></li>
|
||||
{{ for $terms as $term }}
|
||||
<li class="tool"><a href="$base?f=&category=$term.name" class="categories-link{{ if $term.selected }} categories-selected{{ endif }}">$term.name</a></li>
|
||||
{{ endfor }}
|
||||
</ul>
|
||||
|
||||
</div>-->#}
|
79
view/theme/decaf-mobile/comment_item.tpl
Executable file
|
@ -0,0 +1,79 @@
|
|||
{#<!-- <script>
|
||||
$(document).ready( function () {
|
||||
$(document).mouseup(function(e) {
|
||||
var container = $("#comment-edit-wrapper-$id");
|
||||
if( container.has(e.target).length === 0) {
|
||||
commentClose(document.getElementById('comment-edit-text-$id'),$id);
|
||||
cmtBbClose($id);
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>-->#}
|
||||
|
||||
<div class="comment-wwedit-wrapper $indent" id="comment-edit-wrapper-$id" style="display: block;" >
|
||||
<a name="comment-wwedit-wrapper-pos"></a>
|
||||
<form class="comment-edit-form $indent" id="comment-edit-form-$id" action="item" method="post" >
|
||||
{#<!-- <span id="hide-commentbox-$id" class="hide-commentbox fakelink" onclick="showHideCommentBox($id);">$comment</span>
|
||||
<form class="comment-edit-form" style="display: none;" id="comment-edit-form-$id" action="item" method="post" onsubmit="post_comment($id); return false;">-->#}
|
||||
<input type="hidden" name="type" value="$type" />
|
||||
<input type="hidden" name="source" value="$sourceapp" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="parent" value="$parent" />
|
||||
<input type="hidden" name="return" value="$return_path#comment-wwedit-wrapper-pos" />
|
||||
<input type="hidden" name="jsreload" value="$jsreload" />
|
||||
<input type="hidden" name="preview" id="comment-preview-inp-$id" value="0" />
|
||||
<input type="hidden" name="post_id_random" value="$rand_num" />
|
||||
|
||||
{#<!--<div class="comment-edit-photo" id="comment-edit-photo-$id" >-->#}
|
||||
<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 class="comment-edit-photo-end"></div>-->#}
|
||||
{#<!--<ul class="comment-edit-bb-$id">
|
||||
<li><a class="editicon boldbb shadow"
|
||||
style="cursor: pointer;" title="$edbold"
|
||||
onclick="insertFormatting('$comment','b', $id);"></a></li>
|
||||
<li><a class="editicon italicbb shadow"
|
||||
style="cursor: pointer;" title="$editalic"
|
||||
onclick="insertFormatting('$comment','i', $id);"></a></li>
|
||||
<li><a class="editicon underlinebb shadow"
|
||||
style="cursor: pointer;" title="$eduline"
|
||||
onclick="insertFormatting('$comment','u', $id);"></a></li>
|
||||
<li><a class="editicon quotebb shadow"
|
||||
style="cursor: pointer;" title="$edquote"
|
||||
onclick="insertFormatting('$comment','quote', $id);"></a></li>
|
||||
<li><a class="editicon codebb shadow"
|
||||
style="cursor: pointer;" title="$edcode"
|
||||
onclick="insertFormatting('$comment','code', $id);"></a></li>-->#}
|
||||
{#<!-- <li><a class="editicon imagebb shadow"
|
||||
style="cursor: pointer;" title="$edimg"
|
||||
onclick="insertFormatting('$comment','img', $id);"></a></li>
|
||||
<li><a class="editicon urlbb shadow"
|
||||
style="cursor: pointer;" title="$edurl"
|
||||
onclick="insertFormatting('$comment','url', $id);"></a></li>
|
||||
<li><a class="editicon videobb shadow"
|
||||
style="cursor: pointer;" title="$edvideo"
|
||||
onclick="insertFormatting('$comment','video', $id);"></a></li>-->#}
|
||||
{#<!--</ul> -->#}
|
||||
{#<!--<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-full" name="body" ></textarea>
|
||||
{#<!--{{ if $qcomment }}
|
||||
<select id="qcomment-select-$id" name="qcomment-$id" class="qcomment" onchange="qCommentInsert(this,$id);" >
|
||||
<option value=""></option>
|
||||
{{ for $qcomment as $qc }}
|
||||
<option value="$qc">$qc</option>
|
||||
{{ endfor }}
|
||||
</select>
|
||||
{{ endif }}-->#}
|
||||
|
||||
<div class="comment-edit-text-end"></div>
|
||||
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" >
|
||||
<input type="submit" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
|
||||
{#<!--<span onclick="preview_comment($id);" id="comment-edit-preview-link-$id" class="preview-link fakelink">$preview</span>
|
||||
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>-->#}
|
||||
</div>
|
||||
|
||||
{#<!--<div class="comment-edit-end"></div>-->#}
|
||||
</form>
|
||||
|
||||
</div>
|
6
view/theme/decaf-mobile/common_tabs.tpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
<ul class="tabs">
|
||||
{{ for $tabs as $tab }}
|
||||
<li id="$tab.id"><a href="$tab.url" class="tab button $tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li>
|
||||
{{ endfor }}
|
||||
<div id="tabs-end"></div>
|
||||
</ul>
|
12
view/theme/decaf-mobile/contact_block.tpl
Normal file
|
@ -0,0 +1,12 @@
|
|||
{#<!--<div id="contact-block">
|
||||
<h4 class="contact-block-h4">$contacts</h4>
|
||||
{{ if $micropro }}
|
||||
<a class="allcontact-link" href="viewcontacts/$nickname">$viewcontacts</a>
|
||||
<div class='contact-block-content'>
|
||||
{{ for $micropro as $m }}
|
||||
$m
|
||||
{{ endfor }}
|
||||
</div>
|
||||
{{ endif }}
|
||||
</div>
|
||||
<div class="clear"></div>-->#}
|
93
view/theme/decaf-mobile/contact_edit.tpl
Normal file
|
@ -0,0 +1,93 @@
|
|||
|
||||
<h2>$header</h2>
|
||||
|
||||
<div id="contact-edit-wrapper" >
|
||||
|
||||
$tab_str
|
||||
|
||||
<div id="contact-edit-drop-link-wrapper" >
|
||||
<a href="contacts/$contact_id/drop?confirm=1" class="icon drophide" id="contact-edit-drop-link" onclick="id=this.id;return confirmDelete(function(){changeHref(id, 'contacts/$contact_id/drop')});" title="$delete" {#onmouseover="imgbright(this);" onmouseout="imgdull(this);"#}></a>
|
||||
</div>
|
||||
|
||||
<div id="contact-edit-drop-link-end"></div>
|
||||
|
||||
<div class="vcard">
|
||||
<div class="fn">$name</div>
|
||||
<div id="profile-photo-wrapper"><img class="photo" style="width: 175px; height: 175px;" src="$photo" alt="$name" /></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="contact-edit-nav-wrapper" >
|
||||
<div id="contact-edit-links">
|
||||
<ul>
|
||||
<li><div id="contact-edit-rel">$relation_text</div></li>
|
||||
<li><div id="contact-edit-nettype">$nettype</div></li>
|
||||
{{ if $lost_contact }}
|
||||
<li><div id="lost-contact-message">$lost_contact</div></li>
|
||||
{{ endif }}
|
||||
{{ if $insecure }}
|
||||
<li><div id="insecure-message">$insecure</div></li>
|
||||
{{ endif }}
|
||||
{{ if $blocked }}
|
||||
<li><div id="block-message">$blocked</div></li>
|
||||
{{ endif }}
|
||||
{{ if $ignored }}
|
||||
<li><div id="ignore-message">$ignored</div></li>
|
||||
{{ endif }}
|
||||
{{ if $archived }}
|
||||
<li><div id="archive-message">$archived</div></li>
|
||||
{{ endif }}
|
||||
|
||||
<li> </li>
|
||||
|
||||
{{ if $common_text }}
|
||||
<li><div id="contact-edit-common"><a href="$common_link">$common_text</a></div></li>
|
||||
{{ endif }}
|
||||
{{ if $all_friends }}
|
||||
<li><div id="contact-edit-allfriends"><a href="allfriends/$contact_id">$all_friends</a></div></li>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
<li><a href="network/?cid=$contact_id" id="contact-edit-view-recent">$lblrecent</a></li>
|
||||
{{ if $lblsuggest }}
|
||||
<li><a href="fsuggest/$contact_id" id="contact-edit-suggest">$lblsuggest</a></li>
|
||||
{{ endif }}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div id="contact-edit-nav-end"></div>
|
||||
|
||||
|
||||
<form action="contacts/$contact_id" method="post" >
|
||||
<input type="hidden" name="contact_id" value="$contact_id">
|
||||
|
||||
{{ if $poll_enabled }}
|
||||
<div id="contact-edit-poll-wrapper">
|
||||
<div id="contact-edit-last-update-text">$lastupdtext <span id="contact-edit-last-updated">$last_update</span></div>
|
||||
<span id="contact-edit-poll-text">$updpub $poll_interval</span> <span id="contact-edit-update-now" class="button"><a id="update_now_link" href="contacts/$contact_id/update" >$udnow</a></span>
|
||||
</div>
|
||||
{{ endif }}
|
||||
<div id="contact-edit-end" ></div>
|
||||
|
||||
{{inc field_checkbox.tpl with $field=$hidden }}{{endinc}}
|
||||
|
||||
<div id="contact-edit-info-wrapper">
|
||||
<h4>$lbl_info1</h4>
|
||||
<textarea id="contact-edit-info" rows="8"{# cols="35"#} name="info">$info</textarea>
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
</div>
|
||||
<div id="contact-edit-info-end"></div>
|
||||
|
||||
|
||||
<div id="contact-edit-profile-select-text">
|
||||
<h4>$lbl_vis1</h4>
|
||||
<p>$lbl_vis2</p>
|
||||
</div>
|
||||
$profile_select
|
||||
<div id="contact-edit-profile-select-end"></div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="$submit" />
|
||||
|
||||
</form>
|
||||
</div>
|
0
view/theme/decaf-mobile/contact_head.tpl
Normal file
38
view/theme/decaf-mobile/contact_template.tpl
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
<div class="contact-entry-wrapper" id="contact-entry-wrapper-$contact.id" >
|
||||
<div class="contact-entry-photo-wrapper" >
|
||||
<div class="contact-entry-photo mframe" id="contact-entry-photo-$contact.id"
|
||||
{#onmouseover="if (typeof t$contact.id != 'undefined') clearTimeout(t$contact.id);"
|
||||
onmouseout="t$contact.id=setTimeout('closeMenu(\'contact-photo-menu-$contact.id\');',200)"#} >
|
||||
|
||||
{#<!-- <a href="$contact.url" title="$contact.img_hover" /><img src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>-->#}
|
||||
{#<!--<span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">-->#}
|
||||
<a href="$contact.photo_menu.edit.1" title="$contact.photo_menu.edit.0">
|
||||
<img src="$contact.thumb" $contact.sparkle alt="$contact.name" />
|
||||
</a>
|
||||
{#<!--</span>-->#}
|
||||
|
||||
{#<!-- {{ if $contact.photo_menu }}
|
||||
<span onclick="openClose('contact-photo-menu-$contact.id');" class="fakelink contact-photo-menu-button" id="contact-photo-menu-button-$contact.id">menu</span>
|
||||
<div class="contact-photo-menu" id="contact-photo-menu-$contact.id">
|
||||
<ul>
|
||||
{{ for $contact.photo_menu as $c }}
|
||||
{{ if $c.2 }}
|
||||
<li><a target="redir" href="$c.1">$c.0</a></li>
|
||||
{{ else }}
|
||||
<li><a href="$c.1">$c.0</a></li>
|
||||
{{ endif }}
|
||||
{{ endfor }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ endif }}-->#}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="contact-entry-photo-end" ></div>
|
||||
<div class="contact-entry-name" id="contact-entry-name-$contact.id" >$contact.name</div><br />
|
||||
{{ if $contact.alt_text }}<div class="contact-entry-details" id="contact-entry-rel-$contact.id" >$contact.alt_text</div>{{ endif }}
|
||||
<div class="contact-entry-network" id="contact-entry-network-$contact.id" >$contact.network</div>
|
||||
|
||||
<div class="contact-entry-end" ></div>
|
||||
</div>
|
4
view/theme/decaf-mobile/contacts-end.tpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
{#<!--
|
||||
<script src="$baseurl/library/jquery_ac/friendica.complete.min.js" ></script>
|
||||
|
||||
-->#}
|
5
view/theme/decaf-mobile/contacts-head.tpl
Normal file
|
@ -0,0 +1,5 @@
|
|||
{#<!--
|
||||
<script>
|
||||
window.autocompleteType = 'contacts-head';
|
||||
</script>
|
||||
-->#}
|
28
view/theme/decaf-mobile/contacts-template.tpl
Normal file
|
@ -0,0 +1,28 @@
|
|||
<h1>$header{{ if $total }} ($total){{ endif }}</h1>
|
||||
|
||||
{{ if $finding }}<h4>$finding</h4>{{ endif }}
|
||||
|
||||
<div id="contacts-search-wrapper">
|
||||
<form id="contacts-search-form" action="$cmd" method="get" >
|
||||
<span class="contacts-search-desc">$desc</span>
|
||||
<input type="text" name="search" id="contacts-search" class="search-input" onfocus="this.select();" value="$search" />
|
||||
<input type="submit" name="submit" id="contacts-search-submit" value="$submit" />
|
||||
</form>
|
||||
</div>
|
||||
<div id="contacts-search-end"></div>
|
||||
|
||||
$tabs
|
||||
|
||||
|
||||
<div id="contacts-display-wrapper">
|
||||
{{ for $contacts as $contact }}
|
||||
{{ inc contact_template.tpl }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
</div>
|
||||
<div id="contact-edit-end"></div>
|
||||
|
||||
$paginate
|
||||
|
||||
|
||||
|
||||
|
2
view/theme/decaf-mobile/contacts-widget-sidebar.tpl
Normal file
|
@ -0,0 +1,2 @@
|
|||
$follow_widget
|
||||
|
29
view/theme/decaf-mobile/conversation.tpl
Normal file
|
@ -0,0 +1,29 @@
|
|||
$live_update
|
||||
|
||||
{{ for $threads as $thread }}
|
||||
<div id="tread-wrapper-$thread.id" class="tread-wrapper">
|
||||
{{ for $thread.items as $item }}
|
||||
{{if $item.comment_firstcollapsed}}
|
||||
<div class="hide-comments-outer">
|
||||
<span id="hide-comments-total-$thread.id" class="hide-comments-total">$thread.num_comments</span> <span id="hide-comments-$thread.id" class="hide-comments fakelink" onclick="showHideComments($thread.id);">$thread.hide_text</span>
|
||||
</div>
|
||||
<div id="collapsed-comments-$thread.id" class="collapsed-comments" style="display: none;">
|
||||
{{endif}}
|
||||
{{if $item.comment_lastcollapsed}}</div>{{endif}}
|
||||
|
||||
{{ inc $item.template }}{{ endinc }}
|
||||
|
||||
|
||||
{{ endfor }}
|
||||
</div>
|
||||
{{ endfor }}
|
||||
|
||||
<div id="conversation-end"></div>
|
||||
|
||||
{#<!--{{ if $dropping }}
|
||||
<div id="item-delete-selected" class="fakelink" onclick="deleteCheckedItems();">
|
||||
<div id="item-delete-selected-icon" class="icon drophide" title="$dropping" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></div>
|
||||
<div id="item-delete-selected-desc" >$dropping</div>
|
||||
</div>
|
||||
<div id="item-delete-selected-end"></div>
|
||||
{{ endif }}-->#}
|
27
view/theme/decaf-mobile/cropbody.tpl
Normal file
|
@ -0,0 +1,27 @@
|
|||
<h1>$title</h1>
|
||||
<p id="cropimage-desc">
|
||||
$desc
|
||||
</p>
|
||||
<div id="cropimage-wrapper">
|
||||
<img src="$image_url" id="croppa" class="imgCrop" alt="$title" />
|
||||
</div>
|
||||
<div id="cropimage-preview-wrapper" >
|
||||
<div id="previewWrap" ></div>
|
||||
</div>
|
||||
|
||||
<form action="profile_photo/$resource" id="crop-image-form" method="post" />
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
<input type="hidden" name="cropfinal" value="1" />
|
||||
<input type="hidden" name="xstart" id="x1" />
|
||||
<input type="hidden" name="ystart" id="y1" />
|
||||
<input type="hidden" name="xfinal" id="x2" />
|
||||
<input type="hidden" name="yfinal" id="y2" />
|
||||
<input type="hidden" name="height" id="height" />
|
||||
<input type="hidden" name="width" id="width" />
|
||||
|
||||
<div id="crop-image-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="$done" />
|
||||
</div>
|
||||
|
||||
</form>
|
4
view/theme/decaf-mobile/cropend.tpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
{#<!-- <script type="text/javascript" src="library/cropper/lib/prototype.js" language="javascript"></script>
|
||||
<script type="text/javascript" src="library/cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
|
||||
<script type="text/javascript" src="library/cropper/cropper.js" language="javascript"></script>
|
||||
<script type="text/javascript" language="javascript">initCrop();</script>-->#}
|
1
view/theme/decaf-mobile/crophead.tpl
Normal file
|
@ -0,0 +1 @@
|
|||
<link rel="stylesheet" href="library/cropper/cropper.css" type="text/css" />
|
44
view/theme/decaf-mobile/default.php
Normal file
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html >
|
||||
<html>
|
||||
<head>
|
||||
<title><?php if(x($page,'title')) echo $page['title'] ?></title>
|
||||
<script>var baseurl="<?php echo $a->get_baseurl() ?>";</script>
|
||||
<?php if(x($page,'htmlhead')) echo $page['htmlhead'] ?>
|
||||
</head>
|
||||
<body <?php if($a->module === 'home') echo 'onLoad="setTimeout(\'homeRedirect()\', 1500)"'?>>
|
||||
<?php if(x($page,'nav')) echo $page['nav']; ?>
|
||||
|
||||
<?php if( $a->module === 'home' ) { ?>
|
||||
<center>
|
||||
<div class="login-button">
|
||||
<a href="login" class="login-button-link"><img class="login-button-image" src="images/friendica-1600.png" title="Click to log in"></a>
|
||||
</div>
|
||||
</center>
|
||||
|
||||
<?php } elseif ( $a->module === 'login' || $a->module === 'register' || $a->module === 'lostpass' ) {
|
||||
?>
|
||||
<div class='section-wrapper'>
|
||||
<section><?php if(x($page,'content')) echo $page['content']; ?>
|
||||
</section>
|
||||
</div>
|
||||
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
|
||||
|
||||
<?php } else { ?>
|
||||
<div class='main-container'>
|
||||
<!-- <div class='main-content-container'>-->
|
||||
<div class='section-wrapper'>
|
||||
<?php if( ($a->module === 'settings' || $a->module === 'message' || $a->module === 'profile') && x($page,'aside')) echo $page['aside']; ?>
|
||||
<section><?php if(x($page,'content')) echo $page['content']; ?>
|
||||
<div id="page-footer"></div>
|
||||
</section>
|
||||
</div>
|
||||
<right_aside><?php if(x($page,'right_aside')) echo $page['right_aside']; ?></right_aside>
|
||||
<?php if( ($a->module === 'contacts') && x($page,'aside')) echo $page['aside']; ?>
|
||||
<footer><?php if(x($page,'footer')) echo $page['footer']; ?></footer>
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if(x($page,'end')) echo $page['end']; ?>
|
||||
</body>
|
||||
</html>
|
||||
|
4
view/theme/decaf-mobile/display-head.tpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
{#<!--<script>
|
||||
window.autoCompleteType = 'display-head';
|
||||
</script>
|
||||
-->#}
|
BIN
view/theme/decaf-mobile/editicons.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
24
view/theme/decaf-mobile/end.tpl
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!--[if IE]>
|
||||
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
{#<!--<script type="text/javascript" src="$baseurl/library/tinymce/jscripts/tiny_mce/tiny_mce.js" ></script>
|
||||
<script type="text/javascript">
|
||||
tinyMCE.init({ mode : "none"});
|
||||
</script>-->#}
|
||||
{#<!--<script type="text/javascript" src="$baseurl/js/jquery.js" ></script>
|
||||
<script type="text/javascript">var $j = jQuery.noConflict();</script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/jquery.divgrow-1.3.1.f1.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/js/jquery.textinputs.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/fk.autocomplete.js" ></script>-->#}
|
||||
{#<!--<script type="text/javascript" src="$baseurl/library/fancybox/jquery.fancybox-1.3.4.pack.js"></script>-->#}
|
||||
{#<!--<script type="text/javascript" src="$baseurl/library/tiptip/jquery.tipTip.minified.js"></script>-->#}
|
||||
{#<!--<script type="text/javascript" src="$baseurl/library/jgrowl/jquery.jgrowl_minimized.js"></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/acl.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/js/webtoolkit.base64.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/main.js" ></script>-->#}
|
||||
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/theme.js"></script>
|
||||
|
||||
<!--<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/jquery.package.js" ></script>
|
||||
<script type="text/javascript">var $j = jQuery.noConflict();</script>
|
||||
<script type="text/javascript" src="$baseurl/view/theme/decaf-mobile/js/decaf-mobile.package.js" ></script>-->
|
||||
|
4
view/theme/decaf-mobile/event_end.tpl
Normal file
|
@ -0,0 +1,4 @@
|
|||
{#<!--<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/library/fullcalendar/fullcalendar.min.js"></script>
|
||||
|
||||
-->#}
|
6
view/theme/decaf-mobile/event_head.tpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
<link rel='stylesheet' type='text/css' href='$baseurl/library/fullcalendar/fullcalendar.css' />
|
||||
{#<!--
|
||||
<script language="javascript" type="text/javascript">
|
||||
window.aclType = 'event_head';
|
||||
</script>
|
||||
-->#}
|
6
view/theme/decaf-mobile/field_checkbox.tpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
<div class='field checkbox' id='div_id_$field.0'>
|
||||
<label id='label_id_$field.0' for='id_$field.0'>$field.1</label>
|
||||
<input type="checkbox" name='$field.0' id='id_$field.0' value="1" {{ if $field.2 }}checked="checked"{{ endif }}><br />
|
||||
<span class='field_help' id='help_id_$field.0'>$field.3</span>
|
||||
</div>
|
6
view/theme/decaf-mobile/field_input.tpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
<div class='field input' id='wrapper_$field.0'>
|
||||
<label for='id_$field.0'>$field.1</label><br />
|
||||
<input name='$field.0' id='id_$field.0' value="$field.2">
|
||||
<span class='field_help'>$field.3</span>
|
||||
</div>
|
6
view/theme/decaf-mobile/field_openid.tpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
<div class='field input openid' id='wrapper_$field.0'>
|
||||
<label for='id_$field.0'>$field.1</label><br />
|
||||
<input name='$field.0' id='id_$field.0' value="$field.2">
|
||||
<span class='field_help'>$field.3</span>
|
||||
</div>
|
6
view/theme/decaf-mobile/field_password.tpl
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
<div class='field password' id='wrapper_$field.0'>
|
||||
<label for='id_$field.0'>$field.1</label><br />
|
||||
<input type='password' name='$field.0' id='id_$field.0' value="$field.2">
|
||||
<span class='field_help'>$field.3</span>
|
||||
</div>
|
9
view/theme/decaf-mobile/field_themeselect.tpl
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
<div class='field select'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<select name='$field.0' id='id_$field.0' {#{{ if $field.5 }}onchange="previewTheme(this);"{{ endif }}#} >
|
||||
{{ for $field.4 as $opt=>$val }}<option value="$opt" {{ if $opt==$field.2 }}selected="selected"{{ endif }}>$val</option>{{ endfor }}
|
||||
</select>
|
||||
<span class='field_help'>$field.3</span>
|
||||
<div id="theme-preview"></div>
|
||||
</div>
|
14
view/theme/decaf-mobile/field_yesno.tpl
Normal file
|
@ -0,0 +1,14 @@
|
|||
{#<!-- <div class='field yesno'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<div class='onoff' id="id_$field.0_onoff">
|
||||
<input type="hidden" name='$field.0' id='id_$field.0' value="$field.2">
|
||||
<a href="#" class='off'>
|
||||
{{ if $field.4 }}$field.4.0{{ else }}OFF{{ endif }}
|
||||
</a>
|
||||
<a href="#" class='on'>
|
||||
{{ if $field.4 }}$field.4.1{{ else }}ON{{ endif }}
|
||||
</a>
|
||||
</div>
|
||||
<span class='field_help'>$field.3</span>
|
||||
</div>-->#}
|
||||
{{ inc field_checkbox.tpl }}{{ endinc }}
|
BIN
view/theme/decaf-mobile/file.gif
Normal file
After Width: | Height: | Size: 615 B |
BIN
view/theme/decaf-mobile/friendica-16.png
Normal file
After Width: | Height: | Size: 699 B |
12
view/theme/decaf-mobile/generic_links_widget.tpl
Normal file
|
@ -0,0 +1,12 @@
|
|||
<div class="widget{{ if $class }} $class{{ endif }}">
|
||||
{#<!-- {{if $title}}<h3>$title</h3>{{endif}}-->#}
|
||||
{{if $desc}}<div class="desc">$desc</div>{{endif}}
|
||||
|
||||
<ul class="tabs links-widget">
|
||||
{{ for $items as $item }}
|
||||
<li class="tool"><a href="$item.url" class="tab {{ if $item.selected }}selected{{ endif }}">$item.label</a></li>
|
||||
{{ endfor }}
|
||||
<div id="tabs-end"></div>
|
||||
</ul>
|
||||
|
||||
</div>
|
9
view/theme/decaf-mobile/group_drop.tpl
Normal file
|
@ -0,0 +1,9 @@
|
|||
<div class="group-delete-wrapper button" id="group-delete-wrapper-$id" >
|
||||
<a href="group/drop/$id?t=$form_security_token"
|
||||
onclick="return confirmDelete();"
|
||||
id="group-delete-icon-$id"
|
||||
class="icon drophide group-delete-icon"
|
||||
{#onmouseover="imgbright(this);"
|
||||
onmouseout="imgdull(this);"#} ></a>
|
||||
</div>
|
||||
<div class="group-delete-end"></div>
|
33
view/theme/decaf-mobile/group_side.tpl
Normal file
|
@ -0,0 +1,33 @@
|
|||
<div class="widget" id="group-sidebar">
|
||||
<h3>$title</h3>
|
||||
|
||||
<div id="sidebar-group-list">
|
||||
<ul id="sidebar-group-ul">
|
||||
{{ for $groups as $group }}
|
||||
<li class="sidebar-group-li">
|
||||
{{ if $group.cid }}
|
||||
<input type="checkbox"
|
||||
class="{{ if $group.selected }}ticked{{ else }}unticked {{ endif }} action"
|
||||
{#onclick="contactgroupChangeMember('$group.id','$group.cid');return true;"#}
|
||||
{{ if $group.ismember }}checked="checked"{{ endif }}
|
||||
/>
|
||||
{{ endif }}
|
||||
{{ if $group.edit }}
|
||||
<a class="groupsideedit" href="$group.edit.href" title="$edittext"><span id="edit-sidebar-group-element-$group.id" class="group-edit-icon iconspacer small-pencil"></span></a>
|
||||
{{ endif }}
|
||||
<a id="sidebar-group-element-$group.id" class="sidebar-group-element {{ if $group.selected }}group-selected{{ endif }}" href="$group.href">$group.text</a>
|
||||
</li>
|
||||
{{ endfor }}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="sidebar-new-group">
|
||||
<a href="group/new">$createtext</a>
|
||||
</div>
|
||||
{{ if $ungrouped }}
|
||||
<div id="sidebar-ungrouped">
|
||||
<a href="nogroup">$ungrouped</a>
|
||||
</div>
|
||||
{{ endif }}
|
||||
</div>
|
||||
|
||||
|
BIN
view/theme/decaf-mobile/head.jpg
Normal file
After Width: | Height: | Size: 383 B |
29
view/theme/decaf-mobile/head.tpl
Normal file
|
@ -0,0 +1,29 @@
|
|||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
{#<!--<meta content='width=device-width, minimum-scale=1 maximum-scale=1' name='viewport'>
|
||||
<meta content='True' name='HandheldFriendly'>
|
||||
<meta content='320' name='MobileOptimized'>-->#}
|
||||
<meta name="viewport" content="width=device-width; initial-scale = 1.0; maximum-scale=1.0; user-scalable=no" />
|
||||
{#<!--<meta name="viewport" content="width=100%; initial-scale=1; maximum-scale=1; minimum-scale=1; user-scalable=no;" />-->#}
|
||||
|
||||
<base href="$baseurl/" />
|
||||
<meta name="generator" content="$generator" />
|
||||
{#<!--<link rel="stylesheet" href="$baseurl/library/fancybox/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="$baseurl/library/tiptip/tipTip.css" type="text/css" media="screen" />
|
||||
<link rel="stylesheet" href="$baseurl/library/jgrowl/jquery.jgrowl.css" type="text/css" media="screen" />-->#}
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
||||
|
||||
<link rel="shortcut icon" href="$baseurl/images/friendica-32.png" />
|
||||
<link rel="search"
|
||||
href="$baseurl/opensearch"
|
||||
type="application/opensearchdescription+xml"
|
||||
title="Search in Friendica" />
|
||||
|
||||
<script>
|
||||
window.delItem = "$delitem";
|
||||
{#/* window.commentEmptyText = "$comment";
|
||||
window.showMore = "$showmore";
|
||||
window.showFewer = "$showfewer";
|
||||
var updateInterval = $update_interval;
|
||||
var localUser = {{ if $local_user }}$local_user{{ else }}false{{ endif }};*/#}
|
||||
</script>
|
BIN
view/theme/decaf-mobile/images/approve-blue.png
Normal file
After Width: | Height: | Size: 562 B |
BIN
view/theme/decaf-mobile/images/approve.png
Normal file
After Width: | Height: | Size: 475 B |
BIN
view/theme/decaf-mobile/images/arrow-left.png
Normal file
After Width: | Height: | Size: 282 B |
BIN
view/theme/decaf-mobile/images/arrow-right.png
Normal file
After Width: | Height: | Size: 306 B |
BIN
view/theme/decaf-mobile/images/boldB-serif.png
Normal file
After Width: | Height: | Size: 574 B |
BIN
view/theme/decaf-mobile/images/camera.png
Normal file
After Width: | Height: | Size: 530 B |
BIN
view/theme/decaf-mobile/images/code.png
Normal file
After Width: | Height: | Size: 488 B |
BIN
view/theme/decaf-mobile/images/contacts.png
Normal file
After Width: | Height: | Size: 813 B |
BIN
view/theme/decaf-mobile/images/disapprove-blue.png
Normal file
After Width: | Height: | Size: 568 B |
BIN
view/theme/decaf-mobile/images/disapprove.png
Normal file
After Width: | Height: | Size: 480 B |
BIN
view/theme/decaf-mobile/images/drop-blue.png
Normal file
After Width: | Height: | Size: 425 B |
BIN
view/theme/decaf-mobile/images/drop-darkred.png
Normal file
After Width: | Height: | Size: 416 B |
BIN
view/theme/decaf-mobile/images/drop-red.png
Normal file
After Width: | Height: | Size: 321 B |
BIN
view/theme/decaf-mobile/images/drop.png
Normal file
After Width: | Height: | Size: 305 B |
BIN
view/theme/decaf-mobile/images/folder-blue.png
Normal file
After Width: | Height: | Size: 266 B |
BIN
view/theme/decaf-mobile/images/folder.png
Normal file
After Width: | Height: | Size: 219 B |
BIN
view/theme/decaf-mobile/images/globe.png
Normal file
After Width: | Height: | Size: 1 KiB |
BIN
view/theme/decaf-mobile/images/italicI-serif.png
Normal file
After Width: | Height: | Size: 398 B |
BIN
view/theme/decaf-mobile/images/lock.png
Normal file
After Width: | Height: | Size: 520 B |
BIN
view/theme/decaf-mobile/images/menu.png
Normal file
After Width: | Height: | Size: 1,019 B |
BIN
view/theme/decaf-mobile/images/message.png
Normal file
After Width: | Height: | Size: 708 B |
BIN
view/theme/decaf-mobile/images/network.png
Normal file
After Width: | Height: | Size: 770 B |
BIN
view/theme/decaf-mobile/images/noglobe.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
view/theme/decaf-mobile/images/notifications.png
Normal file
After Width: | Height: | Size: 923 B |
165
view/theme/decaf-mobile/images/oxygen/LICENSE
Normal file
|
@ -0,0 +1,165 @@
|
|||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
BIN
view/theme/decaf-mobile/images/oxygen/application-msword.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-pdf.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 3 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 3.8 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-x-deb.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-x-font-otf.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-x-font-ttf.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 2.5 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-x-php.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-x-rar.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-x-rpm.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-x-ruby.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 3.2 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-x-tar.png
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-xml.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/application-zip.png
Normal file
After Width: | Height: | Size: 3.7 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/audio-aac.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/audio-mp4.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/audio-mpeg.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/audio-x-flac.png
Normal file
After Width: | Height: | Size: 3 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/audio-x-generic.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/audio-x-mp2.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/audio-x-ms-wma.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
view/theme/decaf-mobile/images/oxygen/audio-x-vorbis+ogg.png
Normal file
After Width: | Height: | Size: 3.3 KiB |