update to new template system
This commit is contained in:
parent
ebe93fbbea
commit
2ace5edeef
96 changed files with 6 additions and 2186 deletions
|
@ -1,49 +0,0 @@
|
|||
<script>
|
||||
// update pending count //
|
||||
$(function(){
|
||||
|
||||
$("nav").bind('nav-update', function(e,data){
|
||||
var elm = $('#pending-update');
|
||||
var register = $(data).find('register').text();
|
||||
if (register=="0" || register=="") { register=""; elm.hide();} else { elm.show(); }
|
||||
elm.html(register);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<div class="widget">
|
||||
<h3>$admtxt</h3>
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin link button $admin.site.2'><a href='$admin.site.0'>$admin.site.1</a></li>
|
||||
<li class='admin link button $admin.users.2'><a href='$admin.users.0'>$admin.users.1</a> <span id='pending-update' title='$h_pending' class="nav-ajax-left"></span></li>
|
||||
<li class='admin link button $admin.plugins.2'><a href='$admin.plugins.0'>$admin.plugins.1</a></li>
|
||||
<li class='admin link button $admin.themes.2'><a href='$admin.themes.0'>$admin.themes.1</a></li>
|
||||
<li class='admin link 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 link button $admin.update.2'><a href='$admin.update.0'>$admin.update.1</a></li>
|
||||
<li class='admin link button $admin.update.2'><a href='https://kakste.com/profile/inthegit'>Important Changes</a></li>
|
||||
</ul>
|
||||
{{ endif }}
|
||||
|
||||
</div>
|
||||
|
||||
{{ if $admin.plugins_admin }}
|
||||
<div class="widget">
|
||||
<h3>$plugadmtxt</h3>
|
||||
<ul class='admin linklist'>
|
||||
{{ for $admin.plugins_admin as $l }}
|
||||
<li class='admin link button $l.2'><a href='$l.0'>$l.1</a></li>
|
||||
{{ endfor }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ endif }}
|
||||
|
||||
<div class="widget">
|
||||
<h3>$logtxt</h3>
|
||||
<ul class='admin linklist'>
|
||||
<li class='admin link button $admin.logs.2'><a href='$admin.logs.0'>$admin.logs.1</a></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
|
@ -1,19 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title - $page</h1>
|
||||
|
||||
<form action="$baseurl/admin/logs" method="post">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
{{ inc field_checkbox.tpl with $field=$debugging }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$logfile }}{{ endinc }}
|
||||
{{ inc field_select.tpl with $field=$loglevel }}{{ endinc }}
|
||||
|
||||
<div class="submit"><input type="submit" name="page_logs" value="$submit" /></div>
|
||||
|
||||
</form>
|
||||
|
||||
<h3>$logname</h3>
|
||||
<div style="width:100%; height:400px; overflow: auto; "><pre>$data</pre></div>
|
||||
<!-- <iframe src='$baseurl/$logname' style="width:100%; height:400px"></iframe> -->
|
||||
<!-- <div class="submit"><input type="submit" name="page_logs_clear_log" value="$clear" /></div> -->
|
||||
</section>
|
|
@ -1,15 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title - $page</h1>
|
||||
|
||||
<ul id='pluginslist'>
|
||||
{{ for $plugins as $p }}
|
||||
<li class='plugin $p.1'>
|
||||
<a class='toggleplugin' href='$baseurl/admin/$function/$p.0?a=t&t=$form_security_token' title="{{if $p.1==on }}Disable{{ else }}Enable{{ endif }}" ><span class='icon $p.1'></span></a>
|
||||
<a href='$baseurl/admin/$function/$p.0'><span class='name'>$p.2.name</span></a> - <span class="version">$p.2.version</span>
|
||||
{{ if $p.2.experimental }} $experimental {{ endif }}{{ if $p.2.unsupported }} $unsupported {{ endif }}
|
||||
|
||||
<div class='desc'>$p.2.description</div>
|
||||
</li>
|
||||
{{ endfor }}
|
||||
</ul>
|
||||
</section>
|
|
@ -1,36 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title - $page</h1>
|
||||
|
||||
<p><span class='toggleplugin icon $status'></span> $info.name - $info.version : <a href="$baseurl/admin/$function/$plugin/?a=t&t=$form_security_token">$action</a></p>
|
||||
<p>$info.description</p>
|
||||
|
||||
<p class="author">$str_author
|
||||
{{ for $info.author as $a }}
|
||||
{{ if $a.link }}<a href="$a.link">$a.name</a>{{ else }}$a.name{{ endif }},
|
||||
{{ endfor }}
|
||||
</p>
|
||||
|
||||
<p class="maintainer">$str_maintainer
|
||||
{{ for $info.maintainer as $a }}
|
||||
{{ if $a.link }}<a href="$a.link">$a.name</a>{{ else }}$a.name{{ endif }},
|
||||
{{ endfor }}
|
||||
</p>
|
||||
|
||||
{{ if $screenshot }}
|
||||
<a href="$screenshot.0" class='screenshot'><img src="$screenshot.0" alt="$screenshot.1" /></a>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $admin_form }}
|
||||
<h3>$settings</h3>
|
||||
<form method="post" action="$baseurl/admin/$function/$plugin/">
|
||||
$admin_form
|
||||
</form>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $readme }}
|
||||
<h3>Readme</h3>
|
||||
<div id="plugin_readme">
|
||||
$readme
|
||||
</div>
|
||||
{{ endif }}
|
||||
</section>
|
|
@ -1,98 +0,0 @@
|
|||
<script src="js/jquery.htmlstream.js"></script>
|
||||
<script>
|
||||
/* ajax updater */
|
||||
function updateEnd(data){
|
||||
//$("#updatepopup .panel_text").html(data);
|
||||
$("#remoteupdate_form").find("input").removeAttr('disabled');
|
||||
$(".panel_action_close").fadeIn()
|
||||
}
|
||||
function updateOn(data){
|
||||
|
||||
var patt=/§([^§]*)§/g;
|
||||
var matches = data.match(patt);
|
||||
$(matches).each(function(id,data){
|
||||
data = data.replace(/§/g,"");
|
||||
d = data.split("@");
|
||||
console.log(d);
|
||||
elm = $("#updatepopup .panel_text #"+d[0]);
|
||||
html = "<div id='"+d[0]+"' class='progress'>"+d[1]+"<span>"+d[2]+"</span></div>";
|
||||
if (elm.length==0){
|
||||
$("#updatepopup .panel_text").append(html);
|
||||
} else {
|
||||
$(elm).replaceWith(html);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
$(function(){
|
||||
$("#remoteupdate_form").submit(function(){
|
||||
var data={};
|
||||
$(this).find("input").each(function(i, e){
|
||||
name = $(e).attr('name');
|
||||
value = $(e).val();
|
||||
e.disabled = true;
|
||||
data[name]=value;
|
||||
});
|
||||
|
||||
$("#updatepopup .panel_text").html("");
|
||||
$("#updatepopup").show();
|
||||
$("#updatepopup .panel").hide().slideDown(500);
|
||||
$(".panel_action_close").hide().click(function(){
|
||||
$("#updatepopup .panel").slideUp(500, function(){
|
||||
$("#updatepopup").hide();
|
||||
});
|
||||
});
|
||||
|
||||
$.post(
|
||||
$(this).attr('action'),
|
||||
data,
|
||||
updateEnd,
|
||||
'text',
|
||||
updateOn
|
||||
);
|
||||
|
||||
|
||||
return false;
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<div id="updatepopup" class="popup">
|
||||
<div class="background"></div>
|
||||
<div class="panel">
|
||||
<div class="panel_in">
|
||||
<h1>Friendica Update</h1>
|
||||
<div class="panel_text"></div>
|
||||
<div class="panel_actions">
|
||||
<input type="button" value="$close" class="panel_action_close">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="adminpage">
|
||||
<dl> <dt>Your version:</dt><dd>$localversion</dd> </dl>
|
||||
{{ if $needupdate }}
|
||||
<dl> <dt>New version:</dt><dd>$remoteversion</dd> </dl>
|
||||
|
||||
<form id="remoteupdate_form" method="POST" action="$baseurl/admin/update">
|
||||
<input type="hidden" name="$remotefile.0" value="$remotefile.2">
|
||||
|
||||
{{ if $canwrite }}
|
||||
<div class="submit"><input type="submit" name="remoteupdate" value="$submit" /></div>
|
||||
{{ else }}
|
||||
<h3>Your friendica installation is not writable by web server.</h3>
|
||||
{{ if $canftp }}
|
||||
<p>You can try to update via FTP</p>
|
||||
{{ inc field_input.tpl with $field=$ftphost }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$ftppath }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$ftpuser }}{{ endinc }}
|
||||
{{ inc field_password.tpl with $field=$ftppwd }}{{ endinc }}
|
||||
<div class="submit"><input type="submit" name="remoteupdate" value="$submit" /></div>
|
||||
{{ endif }}
|
||||
{{ endif }}
|
||||
</form>
|
||||
{{ else }}
|
||||
<h4>No updates</h4>
|
||||
{{ endif }}
|
||||
</div>
|
|
@ -1,108 +0,0 @@
|
|||
<script>
|
||||
$(function(){
|
||||
|
||||
$("#cnftheme").colorbox({
|
||||
href: function(){
|
||||
var theme = $("#id_theme :selected").val();
|
||||
var theme_mobile = $("#id_theme_mobile :selected").val();
|
||||
return "$baseurl/admin/themes/"+theme;
|
||||
},
|
||||
width: "80%",
|
||||
height: "100%",
|
||||
onComplete: function(){
|
||||
$("div#cboxLoadedContent form").submit(function(e){
|
||||
var url = $(this).attr('action');
|
||||
// can't get .serialize() to work...
|
||||
var data={};
|
||||
$(this).find("input").each(function(){
|
||||
data[$(this).attr('name')] = $(this).val();
|
||||
});
|
||||
$(this).find("select").each(function(){
|
||||
data[$(this).attr('name')] = $(this).children(":selected").val();
|
||||
});
|
||||
console.log(":)", url, data);
|
||||
|
||||
$.post(url, data, function(data) {
|
||||
if(timer) clearTimeout(timer);
|
||||
NavUpdate();
|
||||
$.colorbox.close();
|
||||
})
|
||||
|
||||
return false;
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<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 }}
|
||||
{{ inc field_checkbox.tpl with $field=$new_share }}{{ endinc }}
|
||||
|
||||
|
||||
<div class="buttonbar"><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_input.tpl with $field=$daily_registrations }}{{ 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="buttonbar"><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="buttonbar"><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 }}
|
||||
{{ inc field_input.tpl with $field=$lockpath }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$temppath }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$basepath }}{{ endinc }}
|
||||
|
||||
<h3>$performance</h3>
|
||||
{{ inc field_checkbox.tpl with $field=$use_fulltext_engine }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$itemcache }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$itemcache_duration }}{{ endinc }}
|
||||
|
||||
|
||||
<div class="buttonbar"><input type="submit" name="page_site" value="$submit" /></div>
|
||||
|
||||
</form>
|
||||
</div>
|
|
@ -1,41 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title - $page</h1>
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>$queues.label</th>
|
||||
<td>$queues.deliverq - $queues.queue</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>$pending.0</th>
|
||||
<td>$pending.1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>$users.0</th>
|
||||
<td>$users.1</td>
|
||||
</tr>
|
||||
{{ for $accounts as $p }}
|
||||
<tr>
|
||||
<th>$p.0</th>
|
||||
<td>{{ if $p.1 }}$p.1{{ else }}0{{ endif }}</td>
|
||||
</tr>
|
||||
{{ endfor }}
|
||||
|
||||
<tr>
|
||||
<th>$plugins.0</th>
|
||||
<td>
|
||||
{{ for $plugins.1 as $p }}
|
||||
$p<br/>
|
||||
{{ endfor }}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th>$version.0</th>
|
||||
<td>$version.1 - $build</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</section>
|
|
@ -1,100 +0,0 @@
|
|||
<script>
|
||||
function confirm_delete(uname){
|
||||
return confirm( "$confirm_delete".format(uname));
|
||||
}
|
||||
function confirm_delete_multi(){
|
||||
return confirm("$confirm_delete_multi");
|
||||
}
|
||||
function selectall(cls){
|
||||
$("."+cls).attr('checked','checked');
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title - $page</h1>
|
||||
|
||||
<form action="$baseurl/admin/users" method="post">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
<h2>$h_pending</h2>
|
||||
{{ 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='icon like'></span></a>
|
||||
<a href="$baseurl/regmod/deny/$u.hash" title='$deny'><span class='icon 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 }}
|
||||
|
||||
|
||||
|
||||
|
||||
<h2>$h_users</h2>
|
||||
{{ 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='buttonbar'>
|
||||
<a href='#' onclick="return selectall('users_ckbx');">$select_all</a>
|
||||
<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>
|
||||
</class>
|
|
@ -1,29 +0,0 @@
|
|||
<div style="{{ if $threaded }}display:none;{{ endif }}">
|
||||
<div id="respond-$id" class="respond {{ if $threaded }}thread{{ endif }}" >
|
||||
<h3 id="reply-title">
|
||||
Leave a Reply
|
||||
</h3>
|
||||
<form id="comment-edit-form-$item.id" class="comment-edit-form" action="item" method="post" onsubmit="post_comment($id); return false;">
|
||||
<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="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" />
|
||||
|
||||
|
||||
<p class="comment-form-comment">
|
||||
<label for="comment"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" width="16" height="16" /> $comment</label>
|
||||
<textarea id="comment" name="body" cols="45" rows="8" aria-required="true"></textarea>
|
||||
</p>
|
||||
|
||||
<p class="form-submit">
|
||||
<input type="submit" onclick="post_comment($id); return false;" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="$submit" />
|
||||
{{ if $preview }}<a href="#" onclick="preview_comment($id); return false;" id="comment-edit-preview-link-$id" class="button">$preview</a>{{ endif }}
|
||||
</p>
|
||||
</form>
|
||||
<div id="comment-edit-preview-$id" class="comment-edit-preview" style="display:none;"></div>
|
||||
</div>
|
||||
<!-- #respond -->
|
||||
</div>
|
|
@ -1,5 +0,0 @@
|
|||
<ul class="tabs">
|
||||
{{ for $tabs as $tab }}
|
||||
<li id="$tab.id"><a href="$tab.url" class="$tab.sel"{{ if $tab.title }} title="$tab.title"{{ endif }}>$tab.label</a></li>
|
||||
{{ endfor }}
|
||||
</ul>
|
|
@ -49,7 +49,7 @@ function blogtheme_form(&$a, $headimg, $headimghome){
|
|||
".wheel.jpg" => "wheel.jpg",
|
||||
);
|
||||
|
||||
|
||||
/*
|
||||
// get_markup_template() load templates from current enabled theme
|
||||
// if this theme is not the current one, it will fail
|
||||
$template = dirname(__file__)."/smarty3/config.tpl";
|
||||
|
@ -58,7 +58,10 @@ function blogtheme_form(&$a, $headimg, $headimghome){
|
|||
$t->filename = $template;
|
||||
} else {
|
||||
$t = get_markup_template( $template );
|
||||
}
|
||||
}*/
|
||||
|
||||
// load template from theme folder
|
||||
$t = get_markup_template('config.tpl', 'view/theme/blog');
|
||||
|
||||
$o .= replace_macros($t, array(
|
||||
'$submit' => t('Submit'),
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
{{inc field_select.tpl with $field=$headimg}}{{endinc}}
|
||||
|
||||
{{inc field_yesno.tpl with $field=$headimghome}}{{endinc}}
|
||||
|
||||
<div class="buttonbar">
|
||||
<input type="submit" value="$submit" name="blog-settings-submit" />
|
||||
</div>
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
<div class="wp-caption alignleft contact dropmenu" style="width: 100px;">
|
||||
<a href="$contact.url" title="$contact.img_hover" /><img class="wp-image-59" src="$contact.thumb" $contact.sparkle alt="$contact.name" /></a>
|
||||
<p class="gallery-caption">$contact.name</p>
|
||||
{{ if $contact.photo_menu }}
|
||||
<ul class="menu-popup">
|
||||
$contact.photo_menu
|
||||
</ul>
|
||||
{{ endif }}
|
||||
</div>
|
|
@ -1,17 +0,0 @@
|
|||
|
||||
<script src="$baseurl/library/jquery_ac/friendica.complete.js" ></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var a;
|
||||
a = $("#contacts-search").autocomplete({
|
||||
serviceUrl: '$base/acl',
|
||||
minChars: 2,
|
||||
width: 350,
|
||||
});
|
||||
a.setOptions({ params: { type: 'a' }});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$header{{ if $total }} <small>($total)</small>{{ endif }}</h1>
|
||||
|
||||
{{ if $finding }}<h4>$finding</h4>{{ endif }}
|
||||
|
||||
<div class="buttonbar">
|
||||
<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>
|
||||
|
||||
$tabs
|
||||
|
||||
|
||||
{{ for $contacts as $contact }}
|
||||
{{ inc contact_template.tpl }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
<div id="contact-edit-end"></div>
|
||||
|
||||
$paginate
|
||||
|
||||
|
||||
</section>
|
||||
|
|
@ -1 +0,0 @@
|
|||
</section>
|
|
@ -1,16 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$sitedir</h1>
|
||||
|
||||
$globaldir
|
||||
$admin
|
||||
|
||||
$finding
|
||||
|
||||
<div id="directory-search-wrapper">
|
||||
<form id="directory-search-form" action="directory" method="get" >
|
||||
<span class="dirsearch-desc">$desc</span>
|
||||
<input type="text" name="search" id="directory-search" class="search-input" onfocus="this.select();" value="$search" />
|
||||
<input type="submit" name="submit" id="directory-search-submit" value="$submit" class="button" />
|
||||
</form>
|
||||
</div>
|
||||
<div id="directory-search-end"></div>
|
|
@ -1,6 +0,0 @@
|
|||
<div class="wp-caption alignleft contact" style="width: 185px;">
|
||||
<a href="$profile_link" /><img class="wp-image-59" src="$photo" alt="$alt_text" title="$alt_text" /></a>
|
||||
<p class="gallery-caption">$name</p>
|
||||
<div class="gallery-caption">$details</div>
|
||||
</div>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<script type="text/javascript" src="$baseurl/view/theme/blog/js/theme.js"></script>
|
|
@ -1,6 +0,0 @@
|
|||
|
||||
<div class='field input'>
|
||||
<label for='id_$field.0'>$field.1</label>
|
||||
<input type="text" name='$field.0' id='id_$field.0' value="$field.2">
|
||||
<span class='field_help'>$field.3</span>
|
||||
</div>
|
|
@ -1,344 +0,0 @@
|
|||
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
var editor=false;
|
||||
var textlen = 0;
|
||||
var plaintext = '$editselect';
|
||||
|
||||
function initEditor(cb){
|
||||
if (editor==false){
|
||||
$("#profile-jot-text-loading").show();
|
||||
if(plaintext == 'none') {
|
||||
$("#profile-jot-text-loading").hide();
|
||||
$("#profile-jot-text").css({ 'height': 200, 'color': '#000' });
|
||||
$("#profile-jot-text").contact_autocomplete(baseurl+"/acl");
|
||||
editor = true;
|
||||
$("a#jot-perms-icon").colorbox({
|
||||
href:$("a#jot-perms-icon").attr('href'),
|
||||
inline: true,
|
||||
onClosed : function() {
|
||||
$.colorbox({
|
||||
href:"#profile-jot-wrapper",
|
||||
inline: true,
|
||||
open: true
|
||||
});
|
||||
}
|
||||
});
|
||||
$(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
return;
|
||||
}
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: $editselect,
|
||||
auto_focus: "profile-jot-text",
|
||||
plugins : "bbcode,paste,autoresize, inlinepopups",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect,code",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
gecko_spellcheck : true,
|
||||
paste_text_sticky : true,
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
force_p_newlines : false,
|
||||
force_br_newlines : true,
|
||||
forced_root_block : '',
|
||||
convert_urls: false,
|
||||
content_css: "$baseurl/view/custom_tinymce.css",
|
||||
theme_advanced_path : false,
|
||||
file_browser_callback : "fcFileBrowser",
|
||||
setup : function(ed) {
|
||||
cPopup = null;
|
||||
ed.onKeyDown.add(function(ed,e) {
|
||||
if(cPopup !== null)
|
||||
cPopup.onkey(e);
|
||||
});
|
||||
|
||||
ed.onKeyUp.add(function(ed, e) {
|
||||
var txt = tinyMCE.activeEditor.getContent();
|
||||
match = txt.match(/@([^ \n]+)$/);
|
||||
if(match!==null) {
|
||||
if(cPopup === null) {
|
||||
cPopup = new ACPopup(this,baseurl+"/acl");
|
||||
}
|
||||
if(cPopup.ready && match[1]!==cPopup.searchText) cPopup.search(match[1]);
|
||||
if(! cPopup.ready) cPopup = null;
|
||||
}
|
||||
else {
|
||||
if(cPopup !== null) { cPopup.close(); cPopup = null; }
|
||||
}
|
||||
|
||||
textlen = txt.length;
|
||||
if(textlen != 0 && $('#jot-perms-icon').is('.unlock')) {
|
||||
$('#profile-jot-desc').html(ispublic);
|
||||
}
|
||||
else {
|
||||
$('#profile-jot-desc').html(' ');
|
||||
}
|
||||
|
||||
//Character count
|
||||
|
||||
if(textlen <= 140) {
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('grey');
|
||||
}
|
||||
if((textlen > 140) && (textlen <= 420)) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').addClass('orange');
|
||||
}
|
||||
if(textlen > 420) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('red');
|
||||
}
|
||||
$('#character-counter').text(textlen);
|
||||
});
|
||||
|
||||
ed.onInit.add(function(ed) {
|
||||
ed.pasteAsPlainText = true;
|
||||
$("#profile-jot-text-loading").hide();
|
||||
$(".jothidden").show();
|
||||
if (typeof cb!="undefined") cb();
|
||||
});
|
||||
|
||||
}
|
||||
});
|
||||
editor = true;
|
||||
// setup acl popup
|
||||
$("a#jot-perms-icon").colorbox({
|
||||
href:$("a#jot-perms-icon").attr('href'),
|
||||
inline: true,
|
||||
onClosed : function() {
|
||||
$.colorbox({
|
||||
href:"#profile-jot-wrapper",
|
||||
inline: true,
|
||||
open: true
|
||||
});
|
||||
}
|
||||
});
|
||||
} else {
|
||||
if (typeof cb!="undefined") cb();
|
||||
}
|
||||
}
|
||||
|
||||
function enableOnUser(){
|
||||
if (editor) return;
|
||||
$(this).val("");
|
||||
initEditor();
|
||||
}
|
||||
|
||||
</script>
|
||||
<script type="text/javascript" src="$baseurl/js/ajaxupload.js" ></script>
|
||||
<script>
|
||||
var ispublic = '$ispublic';
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
$("a.showjot").colorbox({
|
||||
href: $("a.showjot").attr('href'),
|
||||
inline: true,
|
||||
onOpen : function() {
|
||||
enableOnUser();
|
||||
}
|
||||
});
|
||||
|
||||
/* enable tinymce on focus and click */
|
||||
$("#profile-jot-text").focus(enableOnUser);
|
||||
$("#profile-jot-text").click(enableOnUser);
|
||||
|
||||
var uploader = new window.AjaxUpload(
|
||||
'wall-image-upload',
|
||||
{ action: 'wall_upload/$nickname',
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
var file_uploader = new window.AjaxUpload(
|
||||
'wall-file-upload',
|
||||
{ action: 'wall_attach/$nickname',
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
addeditortext(response);
|
||||
$('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
});
|
||||
|
||||
function deleteCheckedItems() {
|
||||
if(confirm('$delitems')) {
|
||||
var checkedstr = '';
|
||||
|
||||
$("#item-delete-selected").hide();
|
||||
$('#item-delete-selected-rotator').show();
|
||||
|
||||
$('.item-select').each( function() {
|
||||
if($(this).is(':checked')) {
|
||||
if(checkedstr.length != 0) {
|
||||
checkedstr = checkedstr + ',' + $(this).val();
|
||||
}
|
||||
else {
|
||||
checkedstr = $(this).val();
|
||||
}
|
||||
}
|
||||
});
|
||||
$.post('item', { dropitems: checkedstr }, function(data) {
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function jotGetLink() {
|
||||
reply = prompt("$linkurl");
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?binurl=' + reply, function(data) {
|
||||
addeditortext(data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function jotVideoURL() {
|
||||
reply = prompt("$vidurl");
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[video]' + reply + '[/video]');
|
||||
}
|
||||
}
|
||||
|
||||
function jotAudioURL() {
|
||||
reply = prompt("$audurl");
|
||||
if(reply && reply.length) {
|
||||
addeditortext('[audio]' + reply + '[/audio]');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function jotGetLocation() {
|
||||
reply = prompt("$whereareu", $('#jot-location').val());
|
||||
if(reply && reply.length) {
|
||||
$('#jot-location').val(reply);
|
||||
}
|
||||
}
|
||||
|
||||
function jotShare(id) {
|
||||
if ($('#jot-popup').length != 0) $('#jot-popup').show();
|
||||
|
||||
$('#like-rotator-' + id).show();
|
||||
$.get('share/' + id, function(data) {
|
||||
if (!editor) $("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$('#like-rotator-' + id).hide();
|
||||
$(window).scrollTop(0);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
function linkdropper(event) {
|
||||
var linkFound = event.dataTransfer.types.contains("text/uri-list");
|
||||
if(linkFound)
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
function linkdrop(event) {
|
||||
var reply = event.dataTransfer.getData("text/uri-list");
|
||||
event.target.textContent = reply;
|
||||
event.preventDefault();
|
||||
if(reply && reply.length) {
|
||||
reply = bin2hex(reply);
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?binurl=' + reply, function(data) {
|
||||
if (!editor) $("#profile-jot-text").val("");
|
||||
initEditor(function(){
|
||||
addeditortext(data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function itemTag(id) {
|
||||
reply = prompt("$term");
|
||||
if(reply && reply.length) {
|
||||
reply = reply.replace('#','');
|
||||
if(reply.length) {
|
||||
|
||||
commentBusy = true;
|
||||
$('body').css('cursor', 'wait');
|
||||
|
||||
$.get('tagger/' + id + '?term=' + reply);
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function itemFiler(id) {
|
||||
|
||||
var bordercolor = $("input").css("border-color");
|
||||
|
||||
$.get('filer/', function(data){
|
||||
$.colorbox({html:data});
|
||||
$("#id_term").keypress(function(){
|
||||
$(this).css("border-color",bordercolor);
|
||||
})
|
||||
$("#select_term").change(function(){
|
||||
$("#id_term").css("border-color",bordercolor);
|
||||
})
|
||||
|
||||
$("#filer_save").click(function(e){
|
||||
e.preventDefault();
|
||||
reply = $("#id_term").val();
|
||||
if(reply && reply.length) {
|
||||
commentBusy = true;
|
||||
$('body').css('cursor', 'wait');
|
||||
$.get('filer/' + id + '?term=' + reply, NavUpdate);
|
||||
// if(timer) clearTimeout(timer);
|
||||
// timer = setTimeout(NavUpdate,3000);
|
||||
liking = 1;
|
||||
$.colorbox.close();
|
||||
} else {
|
||||
$("#id_term").css("border-color","#FF0000");
|
||||
}
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function jotClearLocation() {
|
||||
$('#jot-coord').val('');
|
||||
$('#profile-nolocation-wrapper').hide();
|
||||
}
|
||||
|
||||
function addeditortext(data) {
|
||||
if(plaintext == 'none') {
|
||||
var currentText = $("#profile-jot-text").val();
|
||||
$("#profile-jot-text").val(currentText + data);
|
||||
}
|
||||
else
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
}
|
||||
|
||||
$geotag
|
||||
|
||||
</script>
|
||||
|
|
@ -1,64 +0,0 @@
|
|||
<div style="display: none;">
|
||||
<div id="profile-jot-wrapper" >
|
||||
<div id="profile-jot-banner-wrapper">
|
||||
<div id="profile-jot-desc" > </div>
|
||||
<div id="character-counter" class="grey"></div>
|
||||
</div>
|
||||
<div id="profile-jot-banner-end"></div>
|
||||
|
||||
<form id="profile-jot-form" action="$action" method="post" >
|
||||
<input type="hidden" name="type" value="$ptyp" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="return" value="$return_path" />
|
||||
<input type="hidden" name="location" id="jot-location" value="$defloc" />
|
||||
<input type="hidden" name="coord" id="jot-coord" value="" />
|
||||
<input type="hidden" name="post_id" value="$post_id" />
|
||||
<input type="hidden" name="preview" id="jot-preview" value="0" />
|
||||
<input type="hidden" name="post_id_random" value="$rand_num" />
|
||||
<div id="jot-title-wrap"><input name="title" id="jot-title" type="text" placeholder="$placeholdertitle" value="$title"></div>
|
||||
{{ if $placeholdercategory }}
|
||||
<div id="jot-category-wrap"><input name="category" id="jot-category" type="text" placeholder="$placeholdercategory" value="$category" /></div>
|
||||
{{ endif }}
|
||||
<div id="jot-text-wrap">
|
||||
<img id="profile-jot-text-loading" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
|
||||
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" >{{ if $content }}$content{{ endif }}</textarea>
|
||||
</div>
|
||||
|
||||
<dl class="toolbox">
|
||||
<dd style="{{if $visitor=none}}display: none;{{endif}}"><a href="#" onclick="return false;" id="wall-image-upload" class="icon camera" title="$upload"></a></dd>
|
||||
<dd style="{{if $visitor=none}}display: none;{{endif}}"><a href="#" onclick="return false;" id="wall-file-upload" class="icon attach" title="$attach"></a></dd>
|
||||
<dd style="{{if $visitor=none}}display: none;{{endif}}"><a href="#" id="profile-link" class="icon link" title="$weblink" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink(); return false;"></a></dd>
|
||||
<dd style="{{if $visitor=none}}display: none;{{endif}}"><a href="#" id="profile-video" class="icon video" title="$video" onclick="jotVideoURL();return false;"></a></dd>
|
||||
<dd style="{{if $visitor=none}}display: none;{{endif}}"><a href="#" id="profile-audio" class="icon audio" title="$audio" onclick="jotAudioURL();return false;"></a></dd>
|
||||
<dd style="{{if $visitor=none}}display: none;{{endif}}"> <a href="#" id="profile-location" class="icon globe" title="$setloc" onclick="jotGetLocation();return false;"></a></dd>
|
||||
<dd style="display: none;"><a href="#" id="profile-nolocation" class="icon noglobe" title="$noloc" onclick="jotClearLocation();return false;"></a></dd>
|
||||
<dd style="{{if $visitor=none}}display: none;{{endif}}"><a href="#profile-jot-acl-wrapper" id="jot-perms-icon" class="icon $lockstate" title="$permset" ></a>$bang</dd>
|
||||
</dl>
|
||||
<dl class="toolbox right">
|
||||
<dd style="{{if $visitor=none}}display: none;{{endif}}"><img id="profile-rotator" src="$baseurl/view/theme/blog/images/rotator.gif" alt="$wait" title="$wait" style="display: none;" /></dd>
|
||||
<dd><input type="submit" id="profile-jot-submit" name="submit" value="$share" class="button" /></dd>
|
||||
{{ if $preview }}<dd><a href="#" onclick="preview_post(); return false;" id="jot-preview-link" class="button">$preview</a></dd>{{ endif }}
|
||||
</dl>
|
||||
|
||||
|
||||
</form>
|
||||
|
||||
<div id="jot-preview-content" style="display:none;"></div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div style="display: none;">
|
||||
<div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
|
||||
$acl
|
||||
<hr style="clear:both"/>
|
||||
<div id="profile-jot-email-label">$emailcc</div><input type="text" name="emailcc" id="profile-jot-email" title="$emtitle" />
|
||||
<div id="profile-jot-email-end"></div>
|
||||
$jotnets
|
||||
<div class="buttonbar" >
|
||||
<a href="#" class="button" onclick="$.colorbox.close(); return false;">Ok</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<a href="#profile-jot-wrapper" class="showjot button">$share</a>
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
if(navigator.geolocation) {
|
||||
navigator.geolocation.getCurrentPosition(function(position) {
|
||||
$('#jot-coord').val(position.coords.latitude + ' ' + position.coords.longitude);
|
||||
$('#profile-nolocation-wrapper').show();
|
||||
});
|
||||
}
|
||||
|
|
@ -1,104 +0,0 @@
|
|||
<header id="branding" role="banner">
|
||||
<hgroup>
|
||||
<h1 id="site-title"><span><a href="$baseurl">~config.sitename~</a></span></h1>
|
||||
<h2 id="site-description">~system.banner~</h2>
|
||||
</hgroup>
|
||||
|
||||
<div id="site-location">$sitelocation</div>
|
||||
|
||||
<a id="headerimage" href="$baseurl">
|
||||
<img width="1000" height="288" alt="" src="~blog.header.image~">
|
||||
</a>
|
||||
|
||||
<form id="searchform" action="$baseurl/search" method="get" role="search">
|
||||
<label class="assistive-text" for="search">Search</label>
|
||||
<input id="search" class="field" type="text" placeholder="Search" name="search">
|
||||
<input id="searchsubmit" class="submit" type="submit" value="Search" name="submit">
|
||||
</form>
|
||||
|
||||
<nav id="access" role="navigation">
|
||||
<div class="menu">
|
||||
<ul>
|
||||
{{ if $nav.home }}
|
||||
<li class="$sel.home"><a id="nav-home-link" class="nav-commlink $nav.home.2" href="$nav.home.0" title="$nav.home.3" >$nav.home.1 <span id="home-update" class="nav-ajax-left"></span></a></li>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.community }}<li class="$sel.community"><a id="nav-community-link" class="nav-commlink $nav.community.2 " href="$nav.community.0" title="$nav.community.3" >$nav.community.1</a></li>{{ endif }}
|
||||
|
||||
{{ if $nav.login }}<li class="$sel.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></li>{{ endif }}
|
||||
|
||||
{{ if $nav.register }}<li class="$sel.register"><a id="nav-register-link" class="nav-commlink $nav.register.2 " href="$nav.register.0" title="$nav.register.3" >$nav.register.1</a></li>{{ endif }}
|
||||
|
||||
{{ if $nav.apps }}<li class="$sel.apps"><a id="nav-apps-link" class="nav-link $nav.apps.2" href="$nav.apps.0" title="$nav.apps.3" >$nav.apps.1</a></li>{{ endif }}
|
||||
|
||||
{#<li><a id="nav-search-link" class="nav-link $nav.search.2" href="$nav.search.0" title="$nav.search.3" >$nav.search.1</a></li> #}
|
||||
|
||||
{{ if $nav.directory }}<li class="$sel.directory"><a id="nav-directory-link" class="nav-link $nav.directory.2" href="$nav.directory.0" title="$nav.directory.3" >$nav.directory.1</a></li>{{ endif }}
|
||||
|
||||
{{ if $nav.help }} <li class="$sel.help"><a id="nav-help-link" class="nav-link $nav.help.2" target="friendika-help" href="$nav.help.0" title="$nav.help.3" >$nav.help.1</a></li>{{ endif }}
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
{{ if $nav.logout }}
|
||||
<nav id="tools" role="navigation">
|
||||
<div class="user">
|
||||
<ul>
|
||||
{{ if $userinfo }}
|
||||
<li class='dropmenu'><a href="$nav.home.0" title="$sitelocation"><img src="$userinfo.icon" alt="$userinfo.name">$userinfo.name</a>
|
||||
<ul id="nav-user-menu" class="menu-popup">
|
||||
{{ for $nav.usermenu as $usermenu }}
|
||||
<li><a class="$usermenu.2" href="$usermenu.0" title="$usermenu.3">$usermenu.1</a></li>
|
||||
{{ endfor }}
|
||||
|
||||
|
||||
{{ if $nav.contacts }}<li><a class="$nav.contacts.2" href="$nav.contacts.0" title="$nav.contacts.3" >$nav.contacts.1</a></li>{{ endif }}
|
||||
|
||||
{{ if $nav.profiles }}<li><a class="$nav.profiles.2" href="$nav.profiles.0" title="$nav.profiles.3" >$nav.profiles.1</a></li>{{ endif }}
|
||||
|
||||
{{ if $nav.manage }}<li><a class="$nav.manage.2 sep" href="$nav.manage.0" title="$nav.manage.3">$nav.manage.1</a></li>{{ endif }}
|
||||
|
||||
{{ if $nav.settings }}<li><a class="$nav.settings.2 sep" href="$nav.settings.0" title="$nav.settings.3">$nav.settings.1</a></li>{{ endif }}
|
||||
{{ if $nav.admin }}<li><a class="$nav.admin.2" href="$nav.admin.0" title="$nav.admin.3" >$nav.admin.1</a></li>{{ endif }}
|
||||
|
||||
{{ if $nav.logout }}<li><a class="$nav.logout.2 sep" href="$nav.logout.0" title="$nav.logout.3" >$nav.logout.1</a></li>{{ endif }}
|
||||
</ul>
|
||||
</li>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.network }}
|
||||
<li class="$sel.network">
|
||||
<a class="$nav.network.2" href="$nav.network.0" title="$nav.network.3" >$nav.network.1 <span id="net-update" class="nav-ajax-left"></span></a>
|
||||
</li>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.notifications }}
|
||||
<li class="$sel.notifications dropmenu">
|
||||
<a id="nav-notifications-linkmenu" class="nav-commlink" href="$nav.notifications.0" rel="#nav-notifications-menu" title="$nav.notifications.1">$nav.notifications.1 <span id="notify-update" class="nav-ajax-left"></span></a>
|
||||
<ul id="nav-notifications-menu" class="menu-popup">
|
||||
<li id="nav-notifications-see-all"><a href="$nav.notifications.all.0">$nav.notifications.all.1</a></li>
|
||||
<li id="nav-notifications-mark-all"><a href="#" onclick="notifyMarkAll(); return false;">$nav.notifications.mark.1</a></li>
|
||||
<li class="empty">$emptynotifications</li>
|
||||
</ul>
|
||||
</li>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.introductions }}
|
||||
<li class="$sel.introductions">
|
||||
<a id="nav-notify-link" class="nav-commlink $nav.introductions.2" href="$nav.introductions.0" title="$nav.introductions.3" >$nav.introductions.1 <span id="intro-update" class="nav-ajax-left"></span></a>
|
||||
</li>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $nav.messages }}
|
||||
<li class="$sel.messages">
|
||||
<a id="nav-messages-link" class="nav-commlink $nav.messages.2" href="$nav.messages.0" title="$nav.messages.3" >$nav.messages.1 <span id="mail-update" class="nav-ajax-left"></span></a>
|
||||
</li>
|
||||
{{ endif }}
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
{{ endif }}
|
||||
</header>
|
||||
|
||||
<script type="text/plain" id="nav-notifications-template" rel="template">
|
||||
<li class="{4}"><a href="{0}"><img src="{1}" height="24" width="24" alt="" />{2} <span class="notif-when">{3}</span></a></li>
|
||||
</script>
|
|
@ -1,8 +0,0 @@
|
|||
<div class='field yesno'>
|
||||
<label for='id_hide-friends'>$desc</label>
|
||||
<div class='onoff' id="id_hide-friends_onoff">
|
||||
<input type="hidden" name='$hide-friends' id='id_hide-friends' value="{{if $yes_selected}}1{{else}}0{{endif}}">
|
||||
<a href="#" class='off'>$no_str</a>
|
||||
<a href="#" class='on'>$yes_str</a>
|
||||
</div>
|
||||
</div>
|
|
@ -1,16 +0,0 @@
|
|||
<p id="hide-wall-text">
|
||||
$desc
|
||||
</p>
|
||||
|
||||
<div id="hide-wall-yes-wrapper">
|
||||
<label id="hide-wall-yes-label" for="hide-wall-yes">$yes_str</label>
|
||||
<input type="radio" name="hidewall" id="hide-wall-yes" $yes_selected value="1" />
|
||||
|
||||
<div id="hide-wall-break" ></div>
|
||||
</div>
|
||||
<div id="hide-wall-no-wrapper">
|
||||
<label id="hide-wall-no-label" for="hide-wall-no">$no_str</label>
|
||||
<input type="radio" name="hidewall" id="hide-wall-no" $no_selected value="0" />
|
||||
|
||||
<div id="hide-wall-end"></div>
|
||||
</div>
|
|
@ -1,171 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title</h1>
|
||||
|
||||
<dl id="aprofile-fullname" class="aprofile">
|
||||
<dt>$profile.fullname.0</dt>
|
||||
<dd>$profile.fullname.1</dd>
|
||||
</dl>
|
||||
|
||||
{{ if $profile.gender }}
|
||||
<dl id="aprofile-gender" class="aprofile">
|
||||
<dt>$profile.gender.0</dt>
|
||||
<dd>$profile.gender.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.birthday }}
|
||||
<dl id="aprofile-birthday" class="aprofile">
|
||||
<dt>$profile.birthday.0</dt>
|
||||
<dd>$profile.birthday.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.age }}
|
||||
<dl id="aprofile-age" class="aprofile">
|
||||
<dt>$profile.age.0</dt>
|
||||
<dd>$profile.age.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.marital }}
|
||||
<dl id="aprofile-marital" class="aprofile">
|
||||
<dt><span class="heart">♥</span> $profile.marital.0</dt>
|
||||
<dd>$profile.marital.1{{ if $profile.marital.with }} ($profile.marital.with){{ endif }}{{ if $profile.howlong }} $profile.howlong{{ endif }}</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.sexual }}
|
||||
<dl id="aprofile-sexual" class="aprofile">
|
||||
<dt>$profile.sexual.0</dt>
|
||||
<dd>$profile.sexual.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.pub_keywords }}
|
||||
<dl id="aprofile-tags" class="aprofile">
|
||||
<dt>$profile.pub_keywords.0</dt>
|
||||
<dd>$profile.pub_keywords.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.homepage }}
|
||||
<dl id="aprofile-homepage" class="aprofile">
|
||||
<dt>$profile.homepage.0</dt>
|
||||
<dd>$profile.homepage.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.hometown }}
|
||||
<dl id="aprofile-hometown" class="aprofile">
|
||||
<dt>$profile.hometown.0</dt>
|
||||
<dd>$profile.hometown.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.politic }}
|
||||
<dl id="aprofile-politic" class="aprofile">
|
||||
<dt>$profile.politic.0</dt>
|
||||
<dd>$profile.politic.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.religion }}
|
||||
<dl id="aprofile-religion" class="aprofile">
|
||||
<dt>$profile.religion.0</dt>
|
||||
<dd>$profile.religion.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.about }}
|
||||
<dl id="aprofile-about" class="aprofile">
|
||||
<dt>$profile.about.0</dt>
|
||||
<dd>$profile.about.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.interest }}
|
||||
<dl id="aprofile-interest" class="aprofile">
|
||||
<dt>$profile.interest.0</dt>
|
||||
<dd>$profile.interest.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.likes }}
|
||||
<dl id="aprofile-likes" class="aprofile">
|
||||
<dt>$profile.likes.0</dt>
|
||||
<dd>$profile.likes.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.dislikes }}
|
||||
<dl id="aprofile-dislikes" class="aprofile">
|
||||
<dt>$profile.dislikes.0</dt>
|
||||
<dd>$profile.dislikes.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.contact }}
|
||||
<dl id="aprofile-contact" class="aprofile">
|
||||
<dt>$profile.contact.0</dt>
|
||||
<dd>$profile.contact.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
{{ if $profile.music }}
|
||||
<dl id="aprofile-music" class="aprofile">
|
||||
<dt>$profile.music.0</dt>
|
||||
<dd>$profile.music.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
{{ if $profile.book }}
|
||||
<dl id="aprofile-book" class="aprofile">
|
||||
<dt>$profile.book.0</dt>
|
||||
<dd>$profile.book.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
{{ if $profile.tv }}
|
||||
<dl id="aprofile-tv" class="aprofile">
|
||||
<dt>$profile.tv.0</dt>
|
||||
<dd>$profile.tv.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
{{ if $profile.film }}
|
||||
<dl id="aprofile-film" class="aprofile">
|
||||
<dt>$profile.film.0</dt>
|
||||
<dd>$profile.film.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
{{ if $profile.romance }}
|
||||
<dl id="aprofile-romance" class="aprofile">
|
||||
<dt>$profile.romance.0</dt>
|
||||
<dd>$profile.romance.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
|
||||
{{ if $profile.work }}
|
||||
<dl id="aprofile-work" class="aprofile">
|
||||
<dt>$profile.work.0</dt>
|
||||
<dd>$profile.work.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $profile.education }}
|
||||
<dl id="aprofile-education" class="aprofile">
|
||||
<dt>$profile.education.0</dt>
|
||||
<dd>$profile.education.1</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
</section>
|
||||
|
||||
|
|
@ -1,235 +0,0 @@
|
|||
<section class="entry-content">
|
||||
$default
|
||||
|
||||
<div class="buttonbar">
|
||||
<a href="profile_photo" class="button" title="$profpic">$profpic</a>
|
||||
<a href="profile/$profile_id/view?tab=profile" class="button" title="$viewprof">$viewprof</a>
|
||||
<a href="$profile_clone_link" class="button" title="$cr_prof">$cl_prof</a>
|
||||
</div>
|
||||
{{ if $disabled }}{{ else }}
|
||||
<div class="buttonbar">
|
||||
<a href="$profile_drop_link" class="button" title="$del_prof" >$del_prof</a>
|
||||
</div>
|
||||
{{ endif }}
|
||||
|
||||
<h1 class="entry-title">$banner</h1>
|
||||
|
||||
<form id="profile-edit-form" name="form1" action="profiles/$profile_id" method="post" >
|
||||
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_profile_name'>* $lbl_profname</label>
|
||||
<input type="text" name='profile_name' id='id_profile_name' value="$profile_name">
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_name'>$lbl_fullname</label>
|
||||
<input type="text" name='name' id='id_name' value="$name">
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_pdesc'>$lbl_title</label>
|
||||
<input type="text" name='pdesc' id='id_pdesc' value="$pdesc">
|
||||
</div>
|
||||
|
||||
<div class='field select'>
|
||||
<label for='gender-select'>$lbl_gender</label>
|
||||
$gender
|
||||
</div>
|
||||
|
||||
<div class='field multiselect'>
|
||||
<label for='dob-select'>$lbl_bd</label>
|
||||
<span class="multiselect">$dob $age</span>
|
||||
</div>
|
||||
|
||||
$hide_friends
|
||||
|
||||
|
||||
<div class="buttonbar">
|
||||
<input type="submit" name="submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_address'>$lbl_address</label>
|
||||
<input type="text" name='address' id='id_address' value="$address">
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_locality'>$lbl_city</label>
|
||||
<input type="text" name='locality' id='id_locality' value="$locality">
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_postal_code'>$lbl_zip</label>
|
||||
<input type="text" name='postal_code' id='id_postal_code' value="$postal_code">
|
||||
</div>
|
||||
|
||||
<div class='field select'>
|
||||
<label for='id_country_name'>$lbl_country</label>
|
||||
<select name="country_name" id="id_country_name" onChange="Fill_States('$region');">
|
||||
<option selected="selected" >$country_name</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class='field select'>
|
||||
<label for='id_region'>$lbl_region</label>
|
||||
<select name="region" id="id_region" onChange="Update_Globals();" >
|
||||
<option selected="selected" >$region</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_hometown'>$lbl_hometown</label>
|
||||
<input type="text" name='hometown' id='id_hometown' value="$hometown">
|
||||
</div>
|
||||
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class='field select'>
|
||||
<label for='profile-edit-marital'>$lbl_marital </label>
|
||||
$marital
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_with'>$lbl_with</label>
|
||||
<input type="text" name='with' id='id_with' value="$with">
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_howlong'>$lbl_howlong</label>
|
||||
<input type="text" name='howlong' id='id_howlong' value="$howlong">
|
||||
</div>
|
||||
|
||||
|
||||
<div class='field select'>
|
||||
<label for="sexual-select" >$lbl_sexual </label>
|
||||
$sexual
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_homepage'>$lbl_homepage</label>
|
||||
<input type="text" name='homepage' id='id_homepage' value="$homepage">
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_politic'>$lbl_politic</label>
|
||||
<input type="text" name='politic' id='id_politic' value="$politic">
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_religion'>$lbl_religion</label>
|
||||
<input type="text" name='religion' id='id_religion' value="$religion">
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_pub_keywords'>$lbl_pubkey</label>
|
||||
<input type="text" name='pub_keywords' id='id_pub_keywords' value="$pub_keywords">
|
||||
<span class='field_help'>$lbl_pubdsc</span>
|
||||
</div>
|
||||
|
||||
<div class='field input'>
|
||||
<label for='id_prv_keywords'>$lbl_prvkey</label>
|
||||
<input type="text" name='prv_keywords' id='id_prv_keywords' value="$prv_keywords">
|
||||
<span class='field_help'>$lbl_prvdsc</span>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_about'>$lbl_about</label>
|
||||
<textarea name='about' id='id_about' rows="5">$about</textarea>
|
||||
</div>
|
||||
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_interest'>$lbl_hobbies</label>
|
||||
<textarea name='interest' id='id_interest' rows="5">$interest</textarea>
|
||||
</div>
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_likes'>$lbl_likes</label>
|
||||
<textarea name='likes' id='id_likes' rows="5">$likes</textarea>
|
||||
</div>
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_dislikes'>$lbl_dislikes</label>
|
||||
<textarea name='dislikes' id='id_dislikes' rows="5">$dislikes</textarea>
|
||||
</div>
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_contact'>$lbl_social</label>
|
||||
<textarea name='contact' id='id_contact' rows="5">$contact</textarea>
|
||||
</div>
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_contact'>$lbl_social</label>
|
||||
<textarea name='contact' id='id_contact' rows="5">$contact</textarea>
|
||||
</div>
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_music'>$lbl_music</label>
|
||||
<textarea name='music' id='id_music' rows="5">$music</textarea>
|
||||
</div>
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_book'>$lbl_book</label>
|
||||
<textarea name='book' id='id_book' rows="5">$book</textarea>
|
||||
</div>
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_tv'>$lbl_tv</label>
|
||||
<textarea name='tv' id='id_tv' rows="5">$tv</textarea>
|
||||
</div>
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_film'>$lbl_film</label>
|
||||
<textarea name='film' id='id_film' rows="5">$film</textarea>
|
||||
</div>
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_romance'>$lbl_love</label>
|
||||
<textarea name='romance' id='id_romance' rows="5">$romance</textarea>
|
||||
</div>
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_work'>$lbl_work</label>
|
||||
<textarea name='work' id='id_work' rows="5">$work</textarea>
|
||||
</div>
|
||||
|
||||
|
||||
<div class='field textarea'>
|
||||
<label for='id_education'>$lbl_school</label>
|
||||
<textarea name='education' id='id_education' rows="5">$education</textarea>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">Fill_Country('$country_name');Fill_States('$region');</script>
|
||||
</section>
|
|
@ -1,5 +0,0 @@
|
|||
<div class="wp-caption alignleft" style="width: 100px;">
|
||||
<img class="wp-image-59" alt="$alt" src="$photo">
|
||||
<p class="wp-caption-text"><a href="profiles/$id">$profile_name</a></p>
|
||||
$visible
|
||||
</div>
|
|
@ -1,6 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$header</h1>
|
||||
<div class="buttonbar">
|
||||
<a href="profile_photo" class="button">$chg_photo</a>
|
||||
<a href="$cr_new_link" id="profile-listing-new-link" title="$cr_new" class="button" >$cr_new</a>
|
||||
</div>
|
|
@ -1,65 +0,0 @@
|
|||
<aside class="vcard">
|
||||
|
||||
<div id="profile-photo-wrapper"><img class="photo" src="$profile.photo?rev=$profile.picdate" alt="$profile.name"></div>
|
||||
|
||||
{{ if $profile.edit }}
|
||||
<div class="dropmenu" style="position: relative">
|
||||
<a href="$profile.edit.0" title="$profile.edit.3">$profile.edit.1</a>
|
||||
<ul id="profiles-menu" class="menu-popup">
|
||||
{{ for $profile.menu.entries as $e }}
|
||||
<li>
|
||||
<a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a>
|
||||
</li>
|
||||
{{ endfor }}
|
||||
<li><a href="$profile.edit.0">$profile.edit.3</a></li>
|
||||
<li><a href="profile_photo" >$profile.menu.chg_photo</a></li>
|
||||
{{ if $profile.menu.cr_new}}<li><a href="profiles/new" >$profile.menu.cr_new</a></li>{{ endif }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ endif }}
|
||||
|
||||
<h2 class="fn label">$profile.name</h2>
|
||||
|
||||
{{ if $pdesc }}<div class="title">$profile.pdesc</div>{{ endif }}
|
||||
|
||||
|
||||
{{ if $location }}
|
||||
<dl class="location"><dt class="location-label">$location</dt>
|
||||
<dd class="adr">
|
||||
{{ if $profile.address }}<div class="street-address">$profile.address</div>{{ endif }}
|
||||
<span class="city-state-zip">
|
||||
<span class="locality">$profile.locality</span>{{ if $profile.locality }}, {{ endif }}
|
||||
<span class="region">$profile.region</span>
|
||||
<span class="postal-code">$profile.postal-code</span>
|
||||
</span>
|
||||
{{ if $profile.country-name }}<span class="country-name">$profile.country-name</span>{{ endif }}
|
||||
</dd>
|
||||
</dl>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $gender }}<dl class="mf"><dt class="gender-label">$gender</dt> <dd class="x-gender">$profile.gender</dd></dl>{{ endif }}
|
||||
|
||||
{{ if $profile.pubkey }}<div class="key" style="display:none;">$profile.pubkey</div>{{ endif }}
|
||||
|
||||
{{ if $marital }}<dl class="marital"><dt class="marital-label"><span class="heart">♥</span>$marital</dt><dd class="marital-text">$profile.marital</dd></dl>{{ endif }}
|
||||
|
||||
{{ if $homepage }}<dl class="homepage"><dt class="homepage-label">$homepage</dt><dd class="homepage-url"><a href="$profile.homepage" target="external-link">$profile.homepage</a></dd></dl>{{ endif }}
|
||||
|
||||
|
||||
{{ inc diaspora_vcard.tpl }}{{ endinc }}
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
{{ if $connect }}
|
||||
<li><a id="dfrn-request-link" href="dfrn_request/$profile.nickname" class="button">$connect</a></li>
|
||||
{{ endif }}
|
||||
{{ if $wallmessage }}
|
||||
<li><a id="wallmessage-link" href="wallmessage/$profile.nickname" class="button">$wallmessage</a></li>
|
||||
{{ endif }}
|
||||
</ul>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
$contact_block
|
||||
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title</h1>
|
||||
|
||||
<div id="remove-account-wrapper">
|
||||
|
||||
<div class="info-message">$desc</div>
|
||||
|
||||
<form action="$basedir/removeme" autocomplete="off" method="post" >
|
||||
<input type="hidden" name="verify" value="$hash" />
|
||||
|
||||
<div class="field password">
|
||||
<label for="remove-account-pass">$passwd</label>
|
||||
<input type="password" id="remove-account-pass" name="qxz_password" />
|
||||
</div>
|
||||
|
||||
<input type="submit" name="submit" value="$submit" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
</section>
|
|
@ -1,34 +0,0 @@
|
|||
<article id="search-$item.id" class="search">
|
||||
<footer class="search-meta">
|
||||
<div class="search-author vcard">
|
||||
<img class="avatar avatar-68 photo avatar-default " alt="" title="$item.name" src="$item.thumb" height="68" width="68">
|
||||
<span class="fn dropmenu">
|
||||
<a href="$item.profile_url" rel="external nofollow" class="url" title="$item.linktitle">$item.name</a>
|
||||
<ul class="menu-popup" id="author-menu-$item.id">
|
||||
$item.item_photo_menu
|
||||
</ul>
|
||||
</span>
|
||||
|
||||
<a href="$item.plink.href">
|
||||
<time datetime="$item.localtime">$item.ago</time>
|
||||
</a>
|
||||
</div>
|
||||
<!-- .comment-author .vcard -->
|
||||
</footer>
|
||||
{{ if $item.title }}
|
||||
<header class="search-header">
|
||||
<h1><a rel="bookmark" title="Permalink" href="$item.plink.href">$item.title</a></h1>
|
||||
</header>
|
||||
{{ endif }}
|
||||
<div class="search-content">
|
||||
<p>$item.body</p>
|
||||
</div>
|
||||
|
||||
<footer class="entry-meta">
|
||||
{{ if $item.conv }}
|
||||
<a href='$item.conv.href'title='$item.conv.title'>$item.conv.title</a>
|
||||
{{ endif }}
|
||||
</footer><!-- #entry-meta -->
|
||||
|
||||
</article>
|
||||
|
|
@ -1,149 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$ptitle</h1>
|
||||
|
||||
$nickname_block
|
||||
|
||||
<form action="settings" id="settings-form" method="post" autocomplete="off" >
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
<h2 class="settings-heading">$h_pass</h2>
|
||||
|
||||
{{inc field_password.tpl with $field=$password1 }}{{endinc}}
|
||||
{{inc field_password.tpl with $field=$password2 }}{{endinc}}
|
||||
|
||||
{{ if $oid_enable }}
|
||||
{{inc field_input.tpl with $field=$openid }}{{endinc}}
|
||||
{{ endif }}
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class="settings-heading">$h_basic</h2>
|
||||
|
||||
{{inc field_input.tpl with $field=$username }}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$email }}{{endinc}}
|
||||
{{inc field_custom.tpl with $field=$timezone }}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$defloc }}{{endinc}}
|
||||
{{inc field_checkbox.tpl with $field=$allowloc }}{{endinc}}
|
||||
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class="settings-heading">$h_prv</h2>
|
||||
|
||||
|
||||
<input type="hidden" name="visibility" value="$visibility" />
|
||||
|
||||
{{inc field_input.tpl with $field=$maxreq }}{{endinc}}
|
||||
|
||||
$profile_in_dir
|
||||
|
||||
$profile_in_net_dir
|
||||
|
||||
$hide_friends
|
||||
|
||||
$hide_wall
|
||||
|
||||
$blockwall
|
||||
|
||||
$blocktags
|
||||
|
||||
$suggestme
|
||||
|
||||
$unkmail
|
||||
|
||||
|
||||
{{inc field_input.tpl with $field=$cntunkmail }}{{endinc}}
|
||||
|
||||
{{inc field_input.tpl with $field=$expire.days }}{{endinc}}
|
||||
|
||||
|
||||
<div class="field input">
|
||||
<span class="field_help"><a href="#advanced-expire-popup" id="advanced-expire" class='popupbox button' title="$expire.advanced">$expire.label</a></span>
|
||||
<div style="display: none;">
|
||||
<div id="advanced-expire-popup" style="width:auto;height:auto;overflow:auto;">
|
||||
<h2>$expire.advanced</h2>
|
||||
{{ inc field_yesno.tpl with $field=$expire.items }}{{endinc}}
|
||||
{{ inc field_yesno.tpl with $field=$expire.notes }}{{endinc}}
|
||||
{{ inc field_yesno.tpl with $field=$expire.starred }}{{endinc}}
|
||||
{{ inc field_yesno.tpl with $field=$expire.network_only }}{{endinc}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
$group_select
|
||||
|
||||
<div id="settings-default-perms" class="settings-default-perms" >
|
||||
<a href="#profile-jot-acl-wrapper" id="settings-default-perms-menu" class='popupbox button'>$permissions $permdesc</a>
|
||||
<div id="settings-default-perms-menu-end"></div>
|
||||
|
||||
<div id="settings-default-perms-select" style="display: none; margin-bottom: 20px" >
|
||||
|
||||
<div style="display: none;">
|
||||
<div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
|
||||
$aclselect
|
||||
<div class="buttonbar" >
|
||||
<a href="#" class="button" onclick="$.colorbox.close(); return false;">Ok</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<br/>
|
||||
<div id="settings-default-perms-end"></div>
|
||||
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<h2 class="settings-heading">$h_not</h2>
|
||||
<div id="settings-notifications">
|
||||
|
||||
<h3>$activity_options</h3>
|
||||
|
||||
{{inc field_checkbox.tpl with $field=$post_newfriend }}{{endinc}}
|
||||
{{inc field_checkbox.tpl with $field=$post_joingroup }}{{endinc}}
|
||||
{{inc field_checkbox.tpl with $field=$post_profilechange }}{{endinc}}
|
||||
|
||||
|
||||
<h3>$lbl_not</h3>
|
||||
|
||||
<div class="group">
|
||||
{{inc field_intcheckbox.tpl with $field=$notify1 }}{{endinc}}
|
||||
{{inc field_intcheckbox.tpl with $field=$notify2 }}{{endinc}}
|
||||
{{inc field_intcheckbox.tpl with $field=$notify3 }}{{endinc}}
|
||||
{{inc field_intcheckbox.tpl with $field=$notify4 }}{{endinc}}
|
||||
{{inc field_intcheckbox.tpl with $field=$notify5 }}{{endinc}}
|
||||
{{inc field_intcheckbox.tpl with $field=$notify6 }}{{endinc}}
|
||||
{{inc field_intcheckbox.tpl with $field=$notify7 }}{{endinc}}
|
||||
{{inc field_intcheckbox.tpl with $field=$notify8 }}{{endinc}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
|
||||
<h2 class="settings-heading">$h_advn</h2>
|
||||
<h3>$h_descadvn</h3>
|
||||
|
||||
$pagetype
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
<section class="entry-content">
|
|
@ -1,12 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title</h1>
|
||||
|
||||
|
||||
<form action="settings/addon" method="post" autocomplete="off">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
$settings_addons
|
||||
|
||||
</form>
|
||||
|
||||
</section>
|
|
@ -1,37 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title</h1>
|
||||
|
||||
<div class="connector_statusmsg">$diasp_enabled</div>
|
||||
<div class="connector_statusmsg">$ostat_enabled</div>
|
||||
|
||||
<form action="settings/connectors" method="post" autocomplete="off">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
$settings_connectors
|
||||
|
||||
{{ if $mail_disabled }}
|
||||
|
||||
{{ else }}
|
||||
<div class="settings-block">
|
||||
<h2 class="settings-heading">$h_imap</h2>
|
||||
<p>$imap_desc</p>
|
||||
{{inc field_custom.tpl with $field=$imap_lastcheck }}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$mail_server }}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$mail_port }}{{endinc}}
|
||||
{{inc field_select.tpl with $field=$mail_ssl }}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$mail_user }}{{endinc}}
|
||||
{{inc field_password.tpl with $field=$mail_pass }}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$mail_replyto }}{{endinc}}
|
||||
{{inc field_checkbox.tpl with $field=$mail_pubmail }}{{endinc}}
|
||||
{{inc field_select.tpl with $field=$mail_action }}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$mail_movetofolder }}{{endinc}}
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" id="imap-submit" name="imap-submit" class="settings-submit" value="$submit" />
|
||||
</div>
|
||||
</div>
|
||||
{{ endif }}
|
||||
|
||||
</form>
|
||||
|
||||
</section>
|
|
@ -1,24 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$ptitle</h1>
|
||||
|
||||
<form action="settings/display" id="settings-form" method="post" autocomplete="off" >
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
{{inc field_themeselect.tpl with $field=$theme }}{{endinc}}
|
||||
{{inc field_themeselect.tpl with $field=$mobile_theme }}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$ajaxint }}{{endinc}}
|
||||
{{inc field_input.tpl with $field=$itemspage_network }}{{endinc}}
|
||||
{{inc field_yesno.tpl with $field=$nosmile}}{{endinc}}
|
||||
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
{{ if $theme_config }}
|
||||
<h2>Theme settings</h2>
|
||||
$theme_config
|
||||
{{ endif }}
|
||||
|
||||
</form>
|
||||
</section>
|
|
@ -1,22 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title</h1>
|
||||
|
||||
|
||||
<form action="settings/features" method="post" autocomplete="off">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
{{ for $features as $f }}
|
||||
<h2 class="settings-heading">$f.0</h2>
|
||||
|
||||
{{ for $f.1 as $fcat }}
|
||||
{{ inc field_yesno.tpl with $field=$fcat }}{{endinc}}
|
||||
{{ endfor }}
|
||||
{{ endfor }}
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" class="settings-features-submit" value="$submit" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</section>
|
||||
|
|
@ -1 +0,0 @@
|
|||
<div id="settings-nickname-desc" class="info-message">$desc <strong>'$nickname@$basepath'</strong>$subdir</div>
|
|
@ -1,6 +0,0 @@
|
|||
<p>
|
||||
It appears that your website is located in a subdirectory of the<br />
|
||||
$hostname website, so this setting may not work reliably.<br />
|
||||
</p>
|
||||
<p>If you have any issues, you may have better results using the profile<br /> address '<strong>$baseurl/profile/$nickname</strong>'.
|
||||
</p>
|
|
@ -1,28 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title</h1>
|
||||
|
||||
|
||||
<form action="settings/oauth" method="post" autocomplete="off">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
|
||||
<a class="button" href="$baseurl/settings/oauth/add">$add</a>
|
||||
|
||||
{{ for $apps as $app }}
|
||||
<div class='oauthapp'>
|
||||
<img src='$app.icon' class="{{ if $app.icon }} {{ else }}noicon{{ endif }}">
|
||||
<p>{{ if $app.name }}$app.name{{ else }}$noname{{ endif }}</p>
|
||||
{{ if $app.my }}
|
||||
{{ if $app.oauth_token }}
|
||||
<button class="button" type="submit" name="remove" value="$app.oauth_token">$remove</button>
|
||||
{{ endif }}
|
||||
{{ endif }}
|
||||
{{ if $app.my }}
|
||||
<a href="$baseurl/settings/oauth/edit/$app.client_id" class="button">$edit</a>
|
||||
<a href="$baseurl/settings/oauth/delete/$app.client_id?t=$form_security_token" class="button">$delete</a>
|
||||
{{ endif }}
|
||||
</div>
|
||||
{{ endfor }}
|
||||
|
||||
</form>
|
||||
</section>
|
|
@ -1,19 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title</h1>
|
||||
|
||||
<form method="POST">
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
{{ inc field_input.tpl with $field=$name }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$key }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$secret }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$redirect }}{{ endinc }}
|
||||
{{ inc field_input.tpl with $field=$icon }}{{ endinc }}
|
||||
|
||||
<div class="buttonbar" >
|
||||
<input type="submit" name="submit" class="settings-submit" value="$submit" />
|
||||
<input type="submit" name="cancel" class="settings-submit" value="$cancel" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</section>
|
|
@ -11,6 +11,7 @@
|
|||
function blog_init(&$a) {
|
||||
|
||||
$a->theme_info = array();
|
||||
set_template_engine($a, 'smarty3');
|
||||
}
|
||||
|
||||
function blog_install(&$a){
|
||||
|
|
|
@ -1,44 +0,0 @@
|
|||
$live_update
|
||||
|
||||
{{ for $threads as $thread }}
|
||||
{{ inc $thread.template with $item=$thread }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
|
||||
|
||||
{{ if $dropping }}
|
||||
<div id="selection-tools" style="display:none;" >
|
||||
<a href="#" onclick="return deleteCheckedItems();"><span class="icon drophide" title="$dropping"></span></a>
|
||||
|
||||
<div class="selection-tools-footer">
|
||||
<img id="item-delete-selected-rotator" src="images/rotator.gif" style="display: none;" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{{ endif }}
|
||||
|
||||
<script>
|
||||
// jquery color plugin from https://raw.github.com/gist/1891361/17747b50ad87f7a59a14b4e0f38d8f3fb6a18b27/gistfile1.js
|
||||
(function(d){d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(f,e){d.fx.step[e]=function(g){if(!g.colorInit){g.start=c(g.elem,e);g.end=b(g.end);g.colorInit=true}g.elem.style[e]="rgb("+[Math.max(Math.min(parseInt((g.pos*(g.end[0]-g.start[0]))+g.start[0]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[1]-g.start[1]))+g.start[1]),255),0),Math.max(Math.min(parseInt((g.pos*(g.end[2]-g.start[2]))+g.start[2]),255),0)].join(",")+")"}});function b(f){var e;if(f&&f.constructor==Array&&f.length==3){return f}if(e=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(f)){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}if(e=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(f)){return[parseFloat(e[1])*2.55,parseFloat(e[2])*2.55,parseFloat(e[3])*2.55]}if(e=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(f)){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}if(e=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(f)){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}if(e=/rgba\(0, 0, 0, 0\)/.exec(f)){return a.transparent}return a[d.trim(f).toLowerCase()]}function c(g,e){var f;do{f=d.curCSS(g,e);if(f!=""&&f!="transparent"||d.nodeName(g,"body")){break}e="backgroundColor"}while(g=g.parentNode);return b(f)}var a={transparent:[255,255,255]}})(jQuery);
|
||||
var colWhite = {backgroundColor:'#F6F6F6'};
|
||||
var colShiny = {backgroundColor:'#FCE94F'};
|
||||
|
||||
$(document).ready(function(){
|
||||
// setup reply popup forms
|
||||
$(".reply-link").colorbox({
|
||||
href: function() {
|
||||
return $(this).attr('href');
|
||||
},
|
||||
inline: true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
{# scroll to and hiligh comment in display mode #}
|
||||
{{ if $mode == display }}
|
||||
<script>
|
||||
var id = window.location.pathname.split("/").pop();
|
||||
if ($('#li-comment-'+id).offset()) $(window).scrollTop($('#li-comment-'+id).offset().top-50);
|
||||
$('#li-comment-'+id).animate(colWhite, 1000).animate(colShiny).animate(colWhite, 2000);
|
||||
|
||||
</script>
|
||||
{{ endif }}
|
|
@ -1,11 +0,0 @@
|
|||
<section class="entry-content">
|
||||
<h1 class="entry-title">$title</h1>
|
||||
|
||||
|
||||
{{ for $options as $o }}
|
||||
<dl>
|
||||
<dt><a href="$baseurl/$o.0">$o.1</a></dt>
|
||||
<dd>$o.2</dd>
|
||||
</dl>
|
||||
{{ endfor }}
|
||||
</section>
|
|
@ -1,122 +0,0 @@
|
|||
<article class="post-8 post type-post status-publish format-standard hentry category-uncategorized tag-html tag-wordpress {{if $mode == network}}compact{{endif}}" id="item-$item.id">
|
||||
<header class="entry-header">
|
||||
{{ if $item.title }}<h1 class="entry-title"><a rel="bookmark" title="Permalink" href="$item.displaylink">$item.title</a></h1>{{ endif }}
|
||||
|
||||
<div class="entry-meta">
|
||||
{{if $mode != profile}}<img class="avatar avatar-68 photo avatar-default " alt="" title="$item.name" src="$item.thumb" height="68" width="68">{{endif}}
|
||||
{{ if $item.lock }}<a href="#" class="icon lock" alt="$item.lock" onclick="lockview(event,$item.id); return false;"></a>{{ endif }}
|
||||
<span class="sep">Posted </span>
|
||||
<a rel="bookmark" title="12:04 am" href="$item.plink.href">
|
||||
<time pubdate="" datetime="$item.localtime" class="entry-date">$item.ago</time>
|
||||
</a>
|
||||
<span class="by-author">
|
||||
<span class="sep"> by </span>
|
||||
<span class="author vcard dropmenu">
|
||||
|
||||
<a rel="author" title="$item.linktitle" href="$item.profile_url" class="url fn n">$item.name</a>
|
||||
<ul class="menu-popup" id="author-menu-$item.id">
|
||||
$item.item_photo_menu
|
||||
</ul>
|
||||
</span>
|
||||
</span>
|
||||
</div><!-- .entry-meta -->
|
||||
|
||||
<div class="comments-link">
|
||||
<a title="Comment" href="$item.displaylink">$item.total_comments_num</a>
|
||||
</div>
|
||||
</header><!-- .entry-header -->
|
||||
|
||||
<div class="entry-content">
|
||||
$item.body
|
||||
</div><!-- .entry-content -->
|
||||
|
||||
<footer class="entry-meta">
|
||||
{{ if $item.categories }}
|
||||
<span class="cat-links">
|
||||
<span class="entry-utility-prep entry-utility-prep-cat-links">Posted in</span>
|
||||
{{ for $item.categories as $cat }}
|
||||
<a href="$cat.url">$cat.name</a>{{if $cat.removeurl}} (<a href="$cat.removeurl" title="$remove">x</a>) {{endif}}
|
||||
{{ endfor }}
|
||||
</span>
|
||||
<span class="sep"> | </span>
|
||||
{{ endif }}
|
||||
{{ if $item.hashtags }}
|
||||
<span class="tag-links">
|
||||
<span class="entry-utility-prep entry-utility-prep-tag-links">Tagged</span>
|
||||
{{ for $item.hashtags as $tag }}
|
||||
$tag
|
||||
{{ endfor }}
|
||||
</span>
|
||||
<span class="sep"> | </span>
|
||||
{{ endif }}
|
||||
{{ if $item.mentions }}
|
||||
<span class="tag-links">
|
||||
<span class="entry-utility-prep entry-utility-prep-tag-links">Mention</span>
|
||||
{{ for $item.mentions as $men }}
|
||||
$men
|
||||
{{ endfor }}
|
||||
</span>
|
||||
<span class="sep"> | </span>
|
||||
{{ endif }}
|
||||
|
||||
<span class="comments-link"><a title="Comment" href="$item.displaylink">$item.total_comments_num $item.total_comments_text</a>
|
||||
</span>
|
||||
</footer><!-- #entry-meta -->
|
||||
|
||||
|
||||
<footer class="entry-meta">
|
||||
<img id="like-rotator-$item.id" class="like-rotator" src="images/rotator.gif" alt="$item.wait" title="$item.wait" style="display: none;" />
|
||||
{{ if $item.vote }}
|
||||
<a href="#" class="icon like" title="$item.vote.like.0" onclick="dolike($item.id,'like'); return false"></a>
|
||||
{{ if $item.vote.dislike }}<a href="#" class="icon dislike" title="$item.vote.dislike.0" onclick="dolike($item.id,'dislike'); return false"></a>{{ endif }}
|
||||
<span class="icon sep"> · </span>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $item.vote.share }}
|
||||
<a href="#" class="icon recycle" title="$item.vote.share.0" onclick="jotShare($item.id); return false"></a>
|
||||
<span class="icon sep"> · </span>
|
||||
{{ endif }}
|
||||
|
||||
{{ if $item.star }}
|
||||
<a href="#" id="starred-$item.id" onclick="dostar($item.id); return false;" class="icon $item.isstarred" title="$item.star.toggle"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.tagger }}
|
||||
<a href="#" onclick="itemTag($item.id); return false;" class="icon tag" title="$item.tagger.add"></a>
|
||||
{{ endif }}
|
||||
{{ if $item.filer }}
|
||||
<a href="#" onclick="itemFiler($item.id); return false;" class="icon file" title="$item.filer"></a>
|
||||
{{ endif }}
|
||||
<span class="right-tools">
|
||||
{{ if $item.edpost }}
|
||||
<a class="editpost icon edit" href="$item.edpost.0" title="$item.edpost.1"></a>
|
||||
<span class="icon sep"> · </span>
|
||||
{{ endif }}
|
||||
{{ if $item.drop.dropping }}<a href="item/drop/$item.id" class="item icon drophide" title="$item.drop.delete"></a>{{ endif }}
|
||||
{{ if $item.drop.pagedrop }}<input type="checkbox" title="$item.drop.select" class="item-select" name="itemselected[]" value="$item.id" />{{ endif }}
|
||||
|
||||
</span>
|
||||
|
||||
</footer>
|
||||
</article>
|
||||
|
||||
{{ if $mode != profile }}
|
||||
|
||||
<div id="comments"class="{{if $mode == network}}compact{{endif}}">
|
||||
{{if $mode != network}}
|
||||
<h2 id="comments-title">
|
||||
$item.total_comments_num $item.total_comments_text {{if $item.title}}on “<span>$item.title</span>”{{endif}}
|
||||
</h2>
|
||||
{{endif}}
|
||||
<ol class="commentlist">
|
||||
|
||||
{{ for $item.children as $child }}
|
||||
{{ inc wall_thread_comment.tpl with $item=$child }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
|
||||
|
||||
</ol>
|
||||
$item.comment
|
||||
{{if $mode == network}}<a href="#respond-$item.id" class="reply-link">Add a comment</a>{{endif}}
|
||||
</div>
|
||||
{{ endif }}
|
||||
|
|
@ -1,38 +0,0 @@
|
|||
<li class="comment even thread-even depth-$item.thread_level" id="li-comment-$item.id">
|
||||
<article id="comment-$item.id" class="comment">
|
||||
<footer class="comment-meta">
|
||||
<div class="comment-author vcard">
|
||||
<img class="avatar avatar-68 photo avatar-default " alt="" title="$item.name" src="$item.thumb" height="68" width="68">
|
||||
<span class="fn dropmenu">
|
||||
<a href="$item.profile_url" rel="external nofollow" class="url" title="$item.linktitle">$item.name</a>
|
||||
<ul class="menu-popup" id="author-menu-$item.id">
|
||||
$item.item_photo_menu
|
||||
</ul>
|
||||
</span>
|
||||
|
||||
<a href="$item.plink.href">
|
||||
<time datetime="$item.localtime">$item.ago</time>
|
||||
</a>
|
||||
<span class="says">said:
|
||||
{{ if $item.threaded }}
|
||||
<a href="#respond-$item.id" class="reply-link">(reply)</a>
|
||||
{{ endif }}
|
||||
</span>
|
||||
|
||||
</div>
|
||||
<!-- .comment-author .vcard -->
|
||||
</footer>
|
||||
<div class="comment-content">
|
||||
<p>$item.body</p>
|
||||
</div>
|
||||
<div class="reply">
|
||||
{{ for $item.children as $child }}
|
||||
{{ inc wall_thread_comment.tpl with $item=$child }}{{ endinc }}
|
||||
{{ endfor }}
|
||||
|
||||
</div>
|
||||
<!-- .reply -->
|
||||
</article>
|
||||
<!-- #comment-## -->
|
||||
$item.comment
|
||||
</li>
|
Loading…
Reference in a new issue