initial
This commit is contained in:
commit
ea309f20ee
184 changed files with 16564 additions and 0 deletions
10
view/#head.tpl#
Executable file
10
view/#head.tpl#
Executable file
|
@ -0,0 +1,10 @@
|
|||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<base href="$baseurl" />
|
||||
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
||||
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="$baseurl/include/jquery.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/include/main.js" ></script>
|
||||
|
132
view/acl_selectors.php
Executable file
132
view/acl_selectors.php
Executable file
|
@ -0,0 +1,132 @@
|
|||
<?php
|
||||
|
||||
|
||||
function group_select($selname,$selclass,$preselected = false,$size = 4) {
|
||||
|
||||
$o = '';
|
||||
|
||||
$o .= "<select name=\"{$selname}[]\" class=\"$selclass\" multiple=\"multiple\" size=\"$size\" />\r\n";
|
||||
|
||||
$r = q("SELECT * FROM `group` WHERE `deleted` = 0 ORDER BY `name` ASC");
|
||||
|
||||
if(count($r)) {
|
||||
foreach($r as $rr) {
|
||||
if((is_array($preselected)) && in_array($rr['id'], $preselected))
|
||||
$selected = " selected=\"selected\" ";
|
||||
else
|
||||
$selected = '';
|
||||
|
||||
$o .= "<option value=\"{$rr['id']}\" $selected >{$rr['name']}</option>\r\n";
|
||||
}
|
||||
|
||||
}
|
||||
$o .= "</select>\r\n";
|
||||
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
||||
|
||||
function contact_select($selname, $selclass, $preselected = false, $size = 4, $privmail = false) {
|
||||
|
||||
global $a;
|
||||
$o = '';
|
||||
|
||||
// When used for private messages, we limit correspondence to mutual friends and the selector
|
||||
// to one recipient. By default our selector allows multiple selects amongst all contacts.
|
||||
|
||||
if($privmail) {
|
||||
$sql_extra = " AND `issued-id` != '' AND `dfrn-id` != '' ";
|
||||
$o .= "<select name=\"$selname\" class=\"$selclass\" size=\"$size\" />\r\n";
|
||||
}
|
||||
else {
|
||||
$sql_extra = '';
|
||||
$o .= "<select name=\"{$selname}[]\" class=\"$selclass\" multiple=\"multiple\" size=\"$size\" />\r\n";
|
||||
}
|
||||
|
||||
// ignore readonly contacts when operating in celebrity mode -
|
||||
// the selector HTML could grow quite large and affect a lot of pages
|
||||
|
||||
if(x($a->config,'rockstar'))
|
||||
$sql_extra .= " AND `readonly` = 0 ";
|
||||
|
||||
$r = q("SELECT `id`, `name`, `url` FROM `contact`
|
||||
WHERE `self` = 0 AND `blocked` = 0 AND `pending` = 0
|
||||
$sql_extra ORDER BY `name` ASC ");
|
||||
|
||||
if(count($r)) {
|
||||
foreach($r as $rr) {
|
||||
if((is_array($preselected)) && in_array($rr['id'], $preselected))
|
||||
$selected = " selected=\"selected\" ";
|
||||
else
|
||||
$selected = '';
|
||||
$o .= "<option value=\"{$rr['id']}\" $selected title=\"{$rr['url']}\" >{$rr['name']}</option>\r\n";
|
||||
}
|
||||
|
||||
}
|
||||
$o .= "</select>\r\n";
|
||||
|
||||
return $o;
|
||||
}
|
||||
|
||||
function fixacl(&$item) {
|
||||
$item = intval(str_replace(array('<','>'),array('',''),$item));
|
||||
}
|
||||
|
||||
function populate_acl($user = null) {
|
||||
|
||||
$allow_cid = $allow_gid = $deny_cid = $deny_gid = false;
|
||||
|
||||
if(is_array($user)) {
|
||||
$allow_cid = ((strlen($user['allow_cid']))
|
||||
? explode('><', $user['allow_cid']) : array() );
|
||||
$allow_gid = ((strlen($user['allow_gid']))
|
||||
? explode('><', $user['allow_gid']) : array() );
|
||||
$deny_cid = ((strlen($user['deny_cid']))
|
||||
? explode('><', $user['deny_cid']) : array() );
|
||||
$deny_gid = ((strlen($user['deny_gid']))
|
||||
? explode('><', $user['deny_gid']) : array() );
|
||||
array_walk($allow_cid,'fixacl');
|
||||
array_walk($allow_gid,'fixacl');
|
||||
array_walk($deny_cid,'fixacl');
|
||||
array_walk($deny_gid,'fixacl');
|
||||
}
|
||||
|
||||
$o = '';
|
||||
$o .= '<div id="acl-wrapper">';
|
||||
$o .= '<div id="acl-permit-outer-wrapper">';
|
||||
$o .= '<div id="acl-permit-text">' . t('Visible To:') . '</div>';
|
||||
$o .= '<div id="acl-permit-text-end"></div>';
|
||||
$o .= '<div id="acl-permit-wrapper">';
|
||||
$o .= '<div id="group_allow_wrapper">';
|
||||
$o .= '<label id="acl-allow-group-label" for="group_allow" >' . t('Groups') . '</label>';
|
||||
$o .= group_select('group_allow','group_allow',$allow_gid);
|
||||
$o .= '</div>';
|
||||
$o .= '<div id="contact_allow_wrapper">';
|
||||
$o .= '<label id="acl-allow-contact-label" for="contact_allow" >' . t('Contacts') . '</label>';
|
||||
$o .= contact_select('contact_allow','contact_allow',$allow_cid);
|
||||
$o .= '</div>';
|
||||
$o .= '</div>' . "\r\n";
|
||||
$o .= '<div id="acl-allow-end"></div>' . "\r\n";
|
||||
$o .= '</div>';
|
||||
$o .= '<div id="acl-deny-outer-wrapper">';
|
||||
$o .= '<div id="acl-deny-text">' . t('Except For:') . '</div>';
|
||||
$o .= '<div id="acl-deny-text-end"></div>';
|
||||
$o .= '<div id="acl-deny-wrapper">';
|
||||
$o .= '<div id="group_deny_wrapper" >';
|
||||
$o .= '<label id="acl-deny-group-label" for="group_deny" >' . t('Groups') . '</label>';
|
||||
$o .= group_select('group_deny','group_deny', $deny_gid);
|
||||
$o .= '</div>';
|
||||
$o .= '<div id="contact_deny_wrapper" >';
|
||||
$o .= '<label id="acl-deny-contact-label" for="contact_deny" >' . t('Contacts') . '</label>';
|
||||
$o .= contact_select('contact_deny','contact_deny', $deny_cid);
|
||||
$o .= '</div>';
|
||||
$o .= '</div>' . "\r\n";
|
||||
$o .= '<div id="acl-deny-end"></div>' . "\r\n";
|
||||
$o .= '</div>';
|
||||
$o .= '</div>' . "\r\n";
|
||||
$o .= '<div id="acl-wrapper-end"></div>' . "\r\n";
|
||||
return $o;
|
||||
|
||||
}
|
15
view/album_edit.tpl
Executable file
15
view/album_edit.tpl
Executable file
|
@ -0,0 +1,15 @@
|
|||
<div id="photo-album-edit-wrapper">
|
||||
<form name="photo-album-edit-form" id="photo-album-edit-form" action="photos/album/$hexalbum" method="post" >
|
||||
|
||||
|
||||
<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();" />
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<div id="photo-album-edit-end" ></div>
|
16
view/atom_cmnt.tpl
Executable file
16
view/atom_cmnt.tpl
Executable file
|
@ -0,0 +1,16 @@
|
|||
<entry>
|
||||
<author>
|
||||
<name>$name</name>
|
||||
<uri>$profile_page</uri>
|
||||
<dfrn:avatar>$thumb</dfrn:avatar>
|
||||
</author>
|
||||
|
||||
<thr:in-reply-to ref="$parent_id" />
|
||||
<id>$item_id</id>
|
||||
<title>$title</title>
|
||||
<published>$published</published>
|
||||
<updated>$updated</updated>
|
||||
<content>$content</content>
|
||||
<dfrn:comment-allow>$comment_allow</dfrn:comment-allow>
|
||||
</entry>
|
||||
|
20
view/atom_feed.tpl
Executable file
20
view/atom_feed.tpl
Executable file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<feed xmlns="http://www.w3.org/2005/Atom"
|
||||
xmlns:thr="http://purl.org/syndication/thread/1.0"
|
||||
xmlns:at="http://purl.org/atompub/tombstones/1.0"
|
||||
xmlns:dfrn="http://purl.org/macgirvin/dfrn/1.0" >
|
||||
|
||||
<id>$feed_id</id>
|
||||
<title>$feed_title</title>
|
||||
<icon>$photo</icon>
|
||||
<dfrn:icon-updated>$picdate</dfrn:icon-updated>
|
||||
<updated>$feed_updated</updated>
|
||||
|
||||
<author>
|
||||
<name>$name</name>
|
||||
<dfrn:name-updated>$namdate</dfrn:name-updated>
|
||||
<uri>$profile_page</uri>
|
||||
<dfrn:uri-updated>$uridate</dfrn:uri-updated>
|
||||
<dfrn:avatar>$thumb</dfrn:avatar>
|
||||
<dfrn:avatar-updated>$picdate</dfrn:avatar-updated>
|
||||
</author>
|
19
view/atom_item.tpl
Executable file
19
view/atom_item.tpl
Executable file
|
@ -0,0 +1,19 @@
|
|||
<entry>
|
||||
<author>
|
||||
<name>$name</name>
|
||||
<uri>$profile_page</uri>
|
||||
<dfrn:avatar>$thumb</dfrn:avatar>
|
||||
</author>
|
||||
<dfrn:owner>
|
||||
<dfrn:name>$owner_name</dfrn:name>
|
||||
<dfrn:uri>$owner_profile_page</dfrn:uri>
|
||||
<dfrn:avatar>$owner_thumb</dfrn:avatar>
|
||||
</dfrn:owner>
|
||||
|
||||
<id>$item_id</id>
|
||||
<title>$title</title>
|
||||
<published>$published</published>
|
||||
<updated>$updated</updated>
|
||||
<content>$content</content>
|
||||
<dfrn:comment-allow>$comment_allow</dfrn:comment-allow>
|
||||
</entry>
|
17
view/atom_mail.tpl
Executable file
17
view/atom_mail.tpl
Executable file
|
@ -0,0 +1,17 @@
|
|||
|
||||
<dfrn:mail>
|
||||
|
||||
<dfrn:sender>
|
||||
<dfrn:name>$name</dfrn:name>
|
||||
<dfrn:uri>$profile_page</dfrn:uri>
|
||||
<dfrn:avatar>$thumb</dfrn:avatar>
|
||||
</dfrn:sender>
|
||||
|
||||
<dfrn:id>$item_id</dfrn:id>
|
||||
<dfrn:in-reply-to>$parent_id</dfrn:in-reply-to>
|
||||
<dfrn:sentdate>$created</dfrn:sentdate>
|
||||
<dfrn:subject>$subject</dfrn:subject>
|
||||
<dfrn:content>$content</dfrn:content>
|
||||
|
||||
</dfrn:mail>
|
||||
|
3
view/atom_tomb.tpl
Executable file
3
view/atom_tomb.tpl
Executable file
|
@ -0,0 +1,3 @@
|
|||
|
||||
<at:deleted-entry ref="$id" when="$updated" />
|
||||
|
16
view/cmnt_received_eml.tpl
Executable file
16
view/cmnt_received_eml.tpl
Executable file
|
@ -0,0 +1,16 @@
|
|||
|
||||
Dear $username,
|
||||
|
||||
'$from' commented on an item/conversation which you have been following.
|
||||
|
||||
-----
|
||||
$body
|
||||
-----
|
||||
|
||||
Please login at $siteurl to view the complete conversation.
|
||||
|
||||
Thank you,
|
||||
$sitename administrator
|
||||
|
||||
|
||||
|
23
view/comment_item.tpl
Executable file
23
view/comment_item.tpl
Executable file
|
@ -0,0 +1,23 @@
|
|||
|
||||
|
||||
<div class="comment-$wwedit-wrapper" id="comment-edit-wrapper-$id" style="display: block;">
|
||||
<form class="comment-edit-form" id="comment-edit-form-$id" action="item" method="post" >
|
||||
<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" />
|
||||
|
||||
<div class="comment-edit-photo" id="comment-edit-photo-$id" >
|
||||
<a class="comment-edit-photo-link" href="$mylink" title="$mytitle"><img class="my-comment-photo" src="$myphoto" alt="$mytitle" title="$mytitle" /></a>
|
||||
</div>
|
||||
<div class="comment-edit-photo-end"></div>
|
||||
<textarea id="comment-edit-text-$id" class="comment-edit-text-empty" name="body" onFocus="commentOpen(this,$id);" onBlur="commentClose(this,$id);" >Comment</textarea>
|
||||
|
||||
<div class="comment-edit-text-end"></div>
|
||||
<div class="comment-edit-submit-wrapper" id="comment-edit-submit-wrapper-$id" style="display: none;" >
|
||||
<input type="submit" id="comment-edit-submit-$id" class="comment-edit-submit" name="submit" value="Submit" />
|
||||
</div>
|
||||
|
||||
<div id="comment-edit-end"></div>
|
||||
</form>
|
||||
</div>
|
70
view/contact_edit.tpl
Executable file
70
view/contact_edit.tpl
Executable file
|
@ -0,0 +1,70 @@
|
|||
|
||||
<h2>Contact Editor</h2>
|
||||
|
||||
<div id="contact-edit-banner-name">$name</div>
|
||||
|
||||
|
||||
<div id="contact-edit-wrapper" >
|
||||
|
||||
<div id="contact-edit-photo-wrapper" >
|
||||
<img id="contact-edit-direction-icon" src="$dir_icon" alt="$alt_text" title="$alt_text" />
|
||||
<div id="contact-edit-photo" >
|
||||
<a href="$url" title="Visit $name's profile" /><img src="$photo" alt="$name" /></a>
|
||||
</div>
|
||||
<div id="contact-edit-photo-end" ></div>
|
||||
</div>
|
||||
<div id="contact-edit-nav-wrapper" >
|
||||
|
||||
<div id="contact-edit-links" >
|
||||
<a href="contacts/$contact_id/block" id="contact-edit-block-link" ><img src="images/b_block.gif" alt="Block/Unblock contact" title="$block_text"/></a>
|
||||
<a href="contacts/$contact_id/ignore" id="contact-edit-ignore-link" ><img src="images/no.gif" alt="Ignore contact" title="$ignore_text"/></a>
|
||||
</div>
|
||||
<div id="contact-drop-links" >
|
||||
<a href="contacts/$contact_id/drop" id="contact-edit-drop-link" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="Delete contact" title="Delete contact" onmouseover="imgbright(this);" onmouseout="imgdull(this);" /></a>
|
||||
</div>
|
||||
<div id="contact-edit-nav-end"></div>
|
||||
<div id="contact-edit-poll-wrapper">
|
||||
<div id="contact-edit-last-update-text">Last updated: <span id="contact-edit-last-updated">$last_update</span</div>
|
||||
<div id="contact-edit-poll-text">Update public posts: </div>
|
||||
$poll_interval
|
||||
</div>
|
||||
</div>
|
||||
<div id="contact-edit-end" ></div>
|
||||
|
||||
$blocked
|
||||
$ignored
|
||||
|
||||
<form action="contacts/$contact_id" method="post" >
|
||||
<input type="hidden" name="contact_id" value="$contact_id">
|
||||
|
||||
<div id="contact-edit-profile-select-text">
|
||||
<h4>Profile Visibility</h4>
|
||||
<p>Please choose the profile you would like to display to $name when viewing your profile securely.
|
||||
</p>
|
||||
</div>
|
||||
$profile_select
|
||||
<div id="contact-edit-profile-select-end"></div>
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="Submit" />
|
||||
|
||||
|
||||
<div id="contact-edit-rating-wrapper">
|
||||
<h4>Online Reputation</h4>
|
||||
<p>
|
||||
Occasionally your friends may wish to inquire about this person's online legitimacy. You may help them choose whether or not to interact with this person by providing a 'reputation' to guide them.
|
||||
</p>
|
||||
<div id="contact-edit-rating-select-wrapper">
|
||||
$rating
|
||||
</div>
|
||||
<div id="contact-edit-rating-explain">
|
||||
<p>
|
||||
Please take a moment to elaborate on this selection if you feel it could be helpful to others.
|
||||
</p>
|
||||
<textarea id="contact-edit-rating-text" name="reason" rows="3" cols="64" >$reason</textarea>
|
||||
</div>
|
||||
</div>
|
||||
$groups
|
||||
|
||||
<input class="contact-edit-submit" type="submit" name="submit" value="Submit" />
|
||||
</form>
|
||||
</div>
|
65
view/contact_selectors.php
Executable file
65
view/contact_selectors.php
Executable file
|
@ -0,0 +1,65 @@
|
|||
<?php
|
||||
|
||||
|
||||
function contact_profile_assign($current) {
|
||||
|
||||
$o = '';
|
||||
$o .= "<select id=\"contact-profile-selector\" name=\"profile-assign\" />\r\n";
|
||||
|
||||
$r = q("SELECT `id`, `profile-name` FROM `profile` WHERE 1");
|
||||
|
||||
if(count($r)) {
|
||||
foreach($r as $rr) {
|
||||
$selected = (($rr['id'] == $current) ? " selected=\"selected\" " : "");
|
||||
$o .= "<option value=\"{$rr['id']}\" $selected >{$rr['profile-name']}</option>\r\n";
|
||||
}
|
||||
}
|
||||
$o .= "</select>\r\n";
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
||||
function contact_reputation($current) {
|
||||
|
||||
$o = '';
|
||||
$o .= "<select id=\"contact-reputation-selector\" name=\"reputation\" />\r\n";
|
||||
|
||||
$rep = array(
|
||||
0 => t('Unknown | Not categorised'),
|
||||
1 => t('Block immediately'),
|
||||
2 => t('Shady, spammer, self-marketer'),
|
||||
3 => t('Known to me, but no opinion'),
|
||||
4 => t('OK, probably harmless'),
|
||||
5 => t('Reputable, has my trust')
|
||||
);
|
||||
|
||||
foreach($rep as $k => $v) {
|
||||
$selected = (($k == $current) ? " selected=\"selected\" " : "");
|
||||
$o .= "<option value=\"$k\" $selected >$v</option>\r\n";
|
||||
}
|
||||
$o .= "</select>\r\n";
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
||||
function contact_poll_interval($current) {
|
||||
|
||||
$o = '';
|
||||
$o .= '<select id="contact-poll-interval" name="poll" />' . "\r\n";
|
||||
|
||||
$rep = array(
|
||||
0 => t('Frequently'),
|
||||
1 => t('Hourly'),
|
||||
2 => t('Twice daily'),
|
||||
3 => t('Daily'),
|
||||
4 => t('Weekly'),
|
||||
5 => t('Monthly')
|
||||
);
|
||||
|
||||
foreach($rep as $k => $v) {
|
||||
$selected = (($k == $current) ? " selected=\"selected\" " : "");
|
||||
$o .= "<option value=\"$k\" $selected >$v</option>\r\n";
|
||||
}
|
||||
$o .= "</select>\r\n";
|
||||
return $o;
|
||||
}
|
9
view/contact_self.tpl
Executable file
9
view/contact_self.tpl
Executable file
|
@ -0,0 +1,9 @@
|
|||
|
||||
<img src="$thumb" alt="$name" >
|
||||
|
||||
<p>$name</p>
|
||||
<p>
|
||||
This is you.
|
||||
</p>
|
||||
|
||||
<hr />
|
24
view/contact_template.tpl
Executable file
24
view/contact_template.tpl
Executable file
|
@ -0,0 +1,24 @@
|
|||
|
||||
<div class="contact-entry-wrapper" id="contact-entry-wrapper-$id" >
|
||||
<div class="contact-entry-photo-wrapper" >
|
||||
<div class="contact-entry-nav-wrapper" >
|
||||
<div class="contact-entry-direction-wrapper" >
|
||||
<img class="contact-entry-direction-icon" src="$dir_icon" alt="$alt_text" title="$alt_text" />
|
||||
</div>
|
||||
<div class="contact-entry-direction-end" ></div>
|
||||
<div class="contact-entry-edit-links" >
|
||||
<a href="contacts/$id" class="contact-entry-edit-link" ><img src="images/b_edit.gif" alt="$edit_hover" title="$edit_hover" /></a>
|
||||
</div>
|
||||
<div class="contact-entry-edit-end"></div>
|
||||
</div>
|
||||
<div class="contact-entry-nav-end"></div>
|
||||
<div class="contact-entry-photo" id="contact-entry-photo-$id" >
|
||||
<a href="$url" title="$img_hover" /><img src="$thumb" alt="$name" /></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="contact-entry-photo-end" ></div>
|
||||
<div class="contact-entry-name" id="contact-entry-name-$id" >$name</div>
|
||||
|
||||
<div class="contact-entry-end" ></div>
|
||||
</div>
|
15
view/contacts-top.tpl
Executable file
15
view/contacts-top.tpl
Executable file
|
@ -0,0 +1,15 @@
|
|||
<h1>Contacts</h1>
|
||||
|
||||
$finding
|
||||
|
||||
<div id="contacts-search-wrapper">
|
||||
<form id="contacts-search-form" action="$cmd" method="get" >
|
||||
<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>
|
||||
|
||||
<div id="contacts-main" >
|
||||
<a href="$hide_url" id="contacts-show-hide-link">$hide_text</a>
|
||||
</div>
|
57
view/cropbody.tpl
Executable file
57
view/cropbody.tpl
Executable file
|
@ -0,0 +1,57 @@
|
|||
<h1>Crop Image</h1>
|
||||
<p id="cropimage-desc">
|
||||
Please adjust the image cropping for optimum viewing.
|
||||
</p>
|
||||
<div id="cropimage-wrapper">
|
||||
<img src="$image_url" id="croppa" class="imgCrop" alt="" />
|
||||
</div>
|
||||
<div id="cropimage-preview-wrapper" >
|
||||
<div id="previewWrap" ></div>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript" language="javascript">
|
||||
|
||||
function onEndCrop( coords, dimensions ) {
|
||||
$( 'x1' ).value = coords.x1;
|
||||
$( 'y1' ).value = coords.y1;
|
||||
$( 'x2' ).value = coords.x2;
|
||||
$( 'y2' ).value = coords.y2;
|
||||
$( 'width' ).value = dimensions.width;
|
||||
$( 'height' ).value = dimensions.height;
|
||||
}
|
||||
|
||||
Event.observe( window, 'load', function() {
|
||||
new Cropper.ImgWithPreview(
|
||||
'croppa',
|
||||
{
|
||||
previewWrap: 'previewWrap',
|
||||
minWidth: 175,
|
||||
minHeight: 175,
|
||||
maxWidth: 640,
|
||||
maxHeight: 640,
|
||||
ratioDim: { x: 100, y:100 },
|
||||
displayOnInit: true,
|
||||
onEndCrop: onEndCrop
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
</script>
|
||||
|
||||
<form action="profile_photo/$resource" id="crop-image-form" method="post" />
|
||||
|
||||
<input type="hidden" name="imagename" value="$hash" />
|
||||
<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 Editing" />
|
||||
</div>
|
||||
|
||||
</form>
|
6
view/crophead.tpl
Executable file
6
view/crophead.tpl
Executable file
|
@ -0,0 +1,6 @@
|
|||
<script type="text/javascript" src="cropper/lib/prototype.js" language="javascript"></script>
|
||||
|
||||
<script type="text/javascript" src="cropper/lib/scriptaculous.js?load=effects,builder,dragdrop" language="javascript"></script>
|
||||
|
||||
<script type="text/javascript" src="cropper/cropper.js" language="javascript"></script>
|
||||
<link rel="stylesheet" href="cropper/cropper.css" type="text/css" />
|
35
view/custom_tinymce.css
Executable file
35
view/custom_tinymce.css
Executable file
|
@ -0,0 +1,35 @@
|
|||
body, td, pre {color:#000; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:14px; margin:8px;}
|
||||
body {background:#FFF;}
|
||||
body.mceForceColors {background:#FFF; color:#000;}
|
||||
h1 {font-size: 2em}
|
||||
h2 {font-size: 1.5em}
|
||||
h3 {font-size: 1.17em}
|
||||
h4 {font-size: 1em}
|
||||
h5 {font-size: .83em}
|
||||
h6 {font-size: .75em}
|
||||
.mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;}
|
||||
a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(img/items.gif) no-repeat 0 0;}
|
||||
td.mceSelected, th.mceSelected {background-color:#3399ff !important}
|
||||
img {border:0;}
|
||||
table {cursor:default}
|
||||
table td, table th {cursor:text}
|
||||
ins {border-bottom:1px solid green; text-decoration: none; color:green}
|
||||
del {color:red; text-decoration:line-through}
|
||||
cite {border-bottom:1px dashed blue}
|
||||
acronym {border-bottom:1px dotted #CCC; cursor:help}
|
||||
abbr {border-bottom:1px dashed #CCC; cursor:help}
|
||||
|
||||
/* IE */
|
||||
* html body {
|
||||
scrollbar-3dlight-color:#F0F0EE;
|
||||
scrollbar-arrow-color:#676662;
|
||||
scrollbar-base-color:#F0F0EE;
|
||||
scrollbar-darkshadow-color:#DDD;
|
||||
scrollbar-face-color:#E0E0DD;
|
||||
scrollbar-highlight-color:#F0F0EE;
|
||||
scrollbar-shadow-color:#F0F0EE;
|
||||
scrollbar-track-color:#F5F5F5;
|
||||
}
|
||||
|
||||
img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px}
|
||||
font[face=mceinline] {font-family:inherit !important}
|
15
view/default.php
Executable file
15
view/default.php
Executable file
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html >
|
||||
<html>
|
||||
<head>
|
||||
<title><?php echo $page['title'] ?></title>
|
||||
<?php echo $page['htmlhead'] ?>
|
||||
</head>
|
||||
<body>
|
||||
<header><?php echo $page['header']; ?></header>
|
||||
<nav><?php echo $page['nav']; ?></nav>
|
||||
<aside><?php echo $page['aside']; ?></aside>
|
||||
<section><?php echo $page['content']; ?></section>
|
||||
<footer><?php echo $page['footer']; ?></footer>
|
||||
</body>
|
||||
</html>
|
||||
|
17
view/dfrn_req_confirm.tpl
Executable file
17
view/dfrn_req_confirm.tpl
Executable file
|
@ -0,0 +1,17 @@
|
|||
|
||||
<p id="dfrn-request-homecoming" >
|
||||
Welcome home $username.
|
||||
<br />
|
||||
Please confirm your introduction to $dfrn_url.
|
||||
|
||||
</p>
|
||||
<form id="dfrn-request-homecoming-form" action="dfrn_request/$nickname" method="post">
|
||||
<input type="hidden" name="dfrn_url" value="$dfrn_url" />
|
||||
<input type="hidden" name="confirm_key" value="$confirm_key" />
|
||||
<input type="hidden" name="localconfirm" value="1" />
|
||||
$aes_allow
|
||||
|
||||
<div id="dfrn-request-homecoming-submit-wrapper" >
|
||||
<input id="dfrn-request-homecoming-submit" type="submit" name="submit" value="Confirm" />
|
||||
</div>
|
||||
</form>
|
55
view/dfrn_request.tpl
Executable file
55
view/dfrn_request.tpl
Executable file
|
@ -0,0 +1,55 @@
|
|||
|
||||
<h1>Personal Introduction</h1>
|
||||
|
||||
<p id="dfrn-request-intro">
|
||||
You may introduce yourself to this member if you have a valid profile locator<br />
|
||||
on the <a href="http://dfrn.org">Distributed Friends and Relations Network (DFRN)</a>.
|
||||
</p>
|
||||
|
||||
<form action="dfrn_request/$nickname" method="post" />
|
||||
|
||||
<div id="dfrn-request-url-wrapper" >
|
||||
<label id="dfrn-url-label" for="dfrn-url" >Your profile location:</label>
|
||||
<input type="text" name="dfrn_url" id="dfrn-url" size="32" />
|
||||
<div id="dfrn-request-url-end"></div>
|
||||
</div>
|
||||
|
||||
<p id="dfrn-request-options">
|
||||
Please answer the following:
|
||||
</p>
|
||||
|
||||
<div id="dfrn-request-info-wrapper" >
|
||||
|
||||
<p id="doiknowyou">
|
||||
Do I know you?
|
||||
</p>
|
||||
|
||||
<div id="dfrn-request-know-yes-wrapper">
|
||||
<label id="dfrn-request-knowyou-yes-label" for="dfrn-request-knowyouyes">Yes</label>
|
||||
<input type="radio" name="knowyou" id="knowyouyes" value="1" />
|
||||
|
||||
<div id="dfrn-request-knowyou-break" ></div>
|
||||
</div>
|
||||
<div id="dfrn-request-know-no-wrapper">
|
||||
<label id="dfrn-request-knowyou-no-label" for="dfrn-request-knowyouno">No</label>
|
||||
<input type="radio" name="knowyou" id="knowyouno" value="0" checked="checked" />
|
||||
|
||||
<div id="dfrn-request-knowyou-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<p id="dfrn-request-message-desc">
|
||||
Add a personal note:
|
||||
</p>
|
||||
<div id="dfrn-request-message-wrapper">
|
||||
<textarea name="dfrn-request-message" rows="4" cols="64" ></textarea>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div id="dfrn-request-submit-wrapper">
|
||||
<input type="submit" name="submit" id="dfrn-request-submit-button" value="Submit Request" />
|
||||
<input type="submit" name="cancel" id="dfrn-request-cancel-button" value="Cancel" />
|
||||
</div>
|
||||
</form>
|
17
view/directory_header.tpl
Executable file
17
view/directory_header.tpl
Executable file
|
@ -0,0 +1,17 @@
|
|||
<h1>Global Directory</h1>
|
||||
|
||||
$finding
|
||||
|
||||
<div id="forum-link"><a href="$forum">$toggle</a></div>
|
||||
<div id="alpha-link"><a href="$alink">$alpha</a></div>
|
||||
|
||||
|
||||
<div id="directory-search-wrapper">
|
||||
<form id="directory-search-form" action="directory$args" method="get" >
|
||||
<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" />
|
||||
<input type="submit" name="submit" id="directory-search-clear" value="$clear" />
|
||||
</form>
|
||||
</div>
|
||||
<div id="directory-search-end"></div>
|
||||
|
18
view/directory_item.tpl
Executable file
18
view/directory_item.tpl
Executable file
|
@ -0,0 +1,18 @@
|
|||
|
||||
<div class="directory-item" id="directory-item-$id" >
|
||||
$mod
|
||||
<div class="directory-photo-wrapper" id="directory-photo-wrapper-$id" >
|
||||
<div class="directory-photo" id="directory-photo-$id" ><a href="$profile-link" class="directory-profile-link" id="directory-profile-link-$id" ><img class="directory-photo-img$pclass" src="$photo" alt="$alt-text" title="$alt-text" /></a>
|
||||
$star
|
||||
</div>
|
||||
</div>
|
||||
<div class="directory-photo-end"></div>
|
||||
<div class="directory-name-wrapper">
|
||||
<div class="directory-name" id="directory-name-$id">$name</div>
|
||||
</div>
|
||||
$pgroup
|
||||
<div class="directory-name-end"></div>
|
||||
<div class="directory-details">$details</div>
|
||||
$marital
|
||||
<div class="directory-item-end"></div>
|
||||
</div>
|
1
view/group_drop.tpl
Executable file
1
view/group_drop.tpl
Executable file
|
@ -0,0 +1 @@
|
|||
<div class="group-delete-wrapper" id="group-delete-wrapper-$id" ><a href="group/drop/$id" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="$delete" title="$delete" id="group-delete-icon-$id" class="group-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div><div class="group-delete-end"></div>
|
24
view/group_edit.tpl
Executable file
24
view/group_edit.tpl
Executable file
|
@ -0,0 +1,24 @@
|
|||
<h2>Group Editor</h2>
|
||||
|
||||
|
||||
<div id="group-edit-wrapper" >
|
||||
<form action="group/$gid" id="group-edit-form" method="post" >
|
||||
<div id="group-edit-name-wrapper" >
|
||||
<label id="group-edit-name-label" for="group-edit-name" >Group Name: </label>
|
||||
<input type="text" id="group-edit-name" name="groupname" value="$name" />
|
||||
</div>
|
||||
<div id="group-edit-name-end"></div>
|
||||
<div id="group-edit-select-wrapper" >
|
||||
<label id="group_members_select_label" for="group_members_select" >Members:</label>
|
||||
$selector
|
||||
|
||||
</div>
|
||||
$drop
|
||||
<div id="group_members_select_end"></div>
|
||||
<div id="group-edit-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="Submit" >
|
||||
</div>
|
||||
|
||||
<div id="group-edit-select-end" ></div>
|
||||
</form>
|
||||
</div>
|
23
view/group_new.tpl
Executable file
23
view/group_new.tpl
Executable file
|
@ -0,0 +1,23 @@
|
|||
|
||||
|
||||
|
||||
<div id="group-new-wrapper" >
|
||||
<form action="group/new" method="post">
|
||||
|
||||
<div id="group-new-text">
|
||||
<p>
|
||||
Create a group of contacts/friends.
|
||||
|
||||
<div id="group-new-input-wrapper">
|
||||
<label id="group-new-label" for="group-new-name" >Group Name: </label>
|
||||
<input name="groupname" id="group-new-name" />
|
||||
</div>
|
||||
<div id="group-new-input-end" ></div>
|
||||
|
||||
<div id="group-new-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="Submit" />
|
||||
</form>
|
||||
</div>
|
||||
<div id="group-new-end"></div>
|
||||
|
||||
|
12
view/head.tpl
Executable file
12
view/head.tpl
Executable file
|
@ -0,0 +1,12 @@
|
|||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<base href="$baseurl" />
|
||||
<link rel="stylesheet" type="text/css" href="$stylesheet" media="all" />
|
||||
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="$baseurl/include/jquery.js" ></script>
|
||||
<script type="text/javascript" src="$baseurl/include/main.js" ></script>
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="Friendika Global Directory" href="$baseurl/opensearch" />
|
||||
|
||||
|
34
view/htconfig.tpl
Executable file
34
view/htconfig.tpl
Executable file
|
@ -0,0 +1,34 @@
|
|||
<?php
|
||||
|
||||
// Set the following for your MySQL installation
|
||||
// Copy or rename this file to .htconfig.php
|
||||
|
||||
$db_host = '$dbhost';
|
||||
$db_user = '$dbuser';
|
||||
$db_pass = '$dbpass';
|
||||
$db_data = '$dbdata';
|
||||
|
||||
// If you are using a subdirectory of your domain you will need to put the
|
||||
// relative path (from the root of your domain) here.
|
||||
// For instance if your URL is 'http://example.com/directory/subdirectory',
|
||||
// set $a->path to 'directory/subdirectory'.
|
||||
|
||||
$a->path = '';
|
||||
|
||||
|
||||
// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
|
||||
// It can be changed later and only applies to timestamps for anonymous viewers.
|
||||
|
||||
$default_timezone = '$timezone';
|
||||
|
||||
// What is your site name?
|
||||
|
||||
$a->config['sitename'] = "My Friend Network";
|
||||
|
||||
// Maximum size of an imported message, 0 is unlimited (but our database 'text' element is limited to 65535).
|
||||
|
||||
$a->config['max_import_size'] = 65535;
|
||||
|
||||
// Location of PHP command line processor
|
||||
|
||||
$a->config['php_path'] = '$phpath';
|
40
view/install_db.tpl
Executable file
40
view/install_db.tpl
Executable file
|
@ -0,0 +1,40 @@
|
|||
|
||||
<h3>Mistpark Personal Edition</h3>
|
||||
<h3>Installation</h3>
|
||||
|
||||
<p>
|
||||
In order to install Mistpark we need to know how to contact your database. Please contact your hosting provider or site administrator if you have questions about these settings. The database you specify below must already exist. If it does not, please create it before continuing.
|
||||
</p>
|
||||
|
||||
<form id="install-form" action="install" method="post">
|
||||
|
||||
<input type="hidden" name="phpath" value="$phpath" />
|
||||
|
||||
<label for="install-dbhost" id="install-dbhost-label">Database Server Name</label>
|
||||
<input type="text" name="dbhost" id="install-dbhost" value="$dbhost" />
|
||||
<div id="install-dbhost-end"></div>
|
||||
|
||||
<label for="install-dbuser" id="install-dbuser-label">Database Login Name</label>
|
||||
<input type="text" name="dbuser" id="install-dbuser" value="$dbuser" />
|
||||
<div id="install-dbuser-end"></div>
|
||||
|
||||
<label for="install-dbpass" id="install-dbpass-label">Database Login Password</label>
|
||||
<input type="password" name="dbpass" id="install-dbpass" value="$dbpass" />
|
||||
<div id="install-dbpass-end"></div>
|
||||
|
||||
<label for="install-dbdata" id="install-dbdata-label">Database Name</label>
|
||||
<input type="text" name="dbdata" id="install-dbdata" value="$dbdata" />
|
||||
<div id="install-dbdata-end"></div>
|
||||
|
||||
<div id="install-tz-desc">
|
||||
Please select a default timezone for your website
|
||||
</div>
|
||||
|
||||
$tzselect
|
||||
|
||||
<div id="install-tz-end" ></div>
|
||||
<input id="install-submit" type="submit" name="submit" value="$submit" />
|
||||
|
||||
</form>
|
||||
<div id="install-end" ></div>
|
||||
|
28
view/intro_complete_eml.tpl
Executable file
28
view/intro_complete_eml.tpl
Executable file
|
@ -0,0 +1,28 @@
|
|||
|
||||
Dear $username,
|
||||
|
||||
An approval was recently processed at $sitename for a personal
|
||||
introduction you initiated.
|
||||
|
||||
You are now connected to '$fn' at '$dfrn_url'.
|
||||
|
||||
Your access privileges to this profile MAY have been elevated. Please
|
||||
view their profile from within your $sitename "Contacts" page going
|
||||
forward. Should you visit the URL without going through $sitename,
|
||||
you will only see this person's public profile.
|
||||
|
||||
At $sitename, "relationships" are allowed to be one sided. Be advised
|
||||
that your communications with this person may be partially limited
|
||||
if they do not request (and you accept) a reciprocal relationship.
|
||||
|
||||
You may now send them directed messages, and you also may have the
|
||||
ability to receive non-public status messages and view otherwise
|
||||
hidden profiles. Should this turn into a mutual relationship you
|
||||
will both have this level of access.
|
||||
|
||||
|
||||
Sincerely,
|
||||
|
||||
$sitename Administrator
|
||||
|
||||
|
7
view/intros-top.tpl
Executable file
7
view/intros-top.tpl
Executable file
|
@ -0,0 +1,7 @@
|
|||
<h1>Pending Introductions / Notifications</h1>
|
||||
|
||||
<div id="notification-show-hide-wrapper" >
|
||||
<a href="$hide_url" id="notification-show-hide-link">$hide_text</a>
|
||||
</div>
|
||||
|
||||
|
21
view/intros.tpl
Executable file
21
view/intros.tpl
Executable file
|
@ -0,0 +1,21 @@
|
|||
|
||||
<div class="intro-wrapper" id="intro-$contact-id" >
|
||||
<hr class="intro-top" />
|
||||
<p class="intro-desc">Notification type: Introduction</p>
|
||||
<div class="intro-fullname" id="intro-fullname-$contact-id" >$fullname</div>
|
||||
<a class="intro-url-link" id="intro-url-link-$contact-id" href="$url" ><img id="photo-$contact-id" class="intro-photo" src="$photo" width="175" height=175" name="$fullname" alt="fullname" /></a>
|
||||
<div class="intro-knowyou">Presumably known to you? <strong>$knowyou</strong></div>
|
||||
<div class="intro-note" id="intro-note-$contact-id">$note</div>
|
||||
<div class="intro-wrapper-end" id="intro-wrapper-end-$contact-id"></div>
|
||||
|
||||
<form class="intro-approve-form" action="dfrn_confirm" method="post">
|
||||
<input type="hidden" name="dfrn_id" value="$dfrn-id" >
|
||||
<input type="hidden" name="intro_id" value="$intro_id" >
|
||||
<input class="intro-submit-approve" type="submit" name="submit" value="Approve" />
|
||||
</form>
|
||||
<form class="intro-form" action="notifications/$intro_id" method="post">
|
||||
<input class="intro-submit-ignore" type="submit" name="submit" value="Ignore" />
|
||||
<input class="intro-submit-discard" type="submit" name="submit" value="Discard" />
|
||||
</form>
|
||||
</div>
|
||||
<div class="intro-end"></div>
|
96
view/jot-header.tpl
Executable file
96
view/jot-header.tpl
Executable file
|
@ -0,0 +1,96 @@
|
|||
|
||||
<script language="javascript" type="text/javascript" src="$baseurl/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
||||
plugins : "bbcode",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor,formatselect",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_blockformats : "blockquote,code",
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
convert_urls: false,
|
||||
content_css: "$baseurl/view/custom_tinymce.css",
|
||||
//Character count
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onKeyUp.add(function(ed, e) {
|
||||
var txt = tinyMCE.activeEditor.getContent();
|
||||
var text = txt.length;
|
||||
if(txt.length <= 140) {
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('grey');
|
||||
}
|
||||
if((txt.length > 140) && (txt .length <= 420)) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').addClass('orange');
|
||||
}
|
||||
if(txt.length > 420) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('red');
|
||||
}
|
||||
$('#character-counter').text(text);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
<script type="text/javascript" src="include/ajaxupload.js" ></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var uploader = new window.AjaxUpload(
|
||||
'wall-image-upload',
|
||||
{ action: 'wall_upload',
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,response);
|
||||
$('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
function jotGetLink() {
|
||||
reply = prompt("Please enter a link URL:");
|
||||
if(reply && reply.length) {
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
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) {
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
15
view/jot-plain.tpl
Executable file
15
view/jot-plain.tpl
Executable file
|
@ -0,0 +1,15 @@
|
|||
|
||||
<div id="profile-jot-wrapper" >
|
||||
<p id="profile-jot-desc" >
|
||||
What's on your mind?
|
||||
</p>
|
||||
<form id="profile-jot-form" action="item" method="post" >
|
||||
<input type="hidden" name="type" value="jot" />
|
||||
<textarea rows="5" cols="64" id="profile-jot-text" name="body" ></textarea>
|
||||
|
||||
</div>
|
||||
<div id="profile-jot-submit-wrapper" >
|
||||
<input type="submit" id="profile-jot-submit" name="submit" value="Submit" onclick="doCheck();" />
|
||||
</div>
|
||||
</div>
|
||||
<div id="profile-jot-end"></div>
|
31
view/jot-save.tpl
Executable file
31
view/jot-save.tpl
Executable file
|
@ -0,0 +1,31 @@
|
|||
|
||||
<div id="profile-jot-wrapper" >
|
||||
<p id="profile-jot-desc" >
|
||||
What's on your mind?
|
||||
</p>
|
||||
<form id="profile-jot-form" action="item" method="post" onclick="doCheck();" >
|
||||
<input type="hidden" name="type" value="jot" />
|
||||
<div class="richeditor">
|
||||
<div class="editbar">
|
||||
<button title="bold" onclick="doClick('bold');" type="button"><b>B</b></button>
|
||||
<button title="italic" onclick="doClick('italic');" type="button"><i>I</i></button>
|
||||
<button title="underline" onclick="doClick('underline');" type="button"><u>U</u></button>
|
||||
<button title="hyperlink" onclick="doLink();" type="button" style="background-image:url('editor/images/url.gif');"></button>
|
||||
<button title="image" onclick="doImage();" type="button" style="background-image:url('editor/images/img.gif');"></button>
|
||||
<button title="list" onclick="doClick('InsertUnorderedList');" type="button" style="background-image:url('editor/images/icon_list.gif');"></button>
|
||||
<button title="color" onclick="showColorGrid2('none')" type="button" style="background-image:url('$baseurl/editor/images/colors.gif');"></button><span id="colorpicker201" class="colorpicker201"></span>
|
||||
<button title="quote" onclick="doQuote();" type="button" style="background-image:url('editor/images/icon_quote.png');"></button>
|
||||
<button title="youtube" onclick="InsertYoutube();" type="button" style="background-image:url('editor/images/icon_youtube.gif');"></button>
|
||||
<button title="switch to source" type="button" onclick="javascript:SwitchEditor()" style="background-image:url('editor/images/icon_html.gif');"></button>
|
||||
</div>
|
||||
|
||||
<textarea rows="5" cols="64" id="profile-jot-text" name="body" ></textarea>
|
||||
<script type="text/javascript">initEditor("profile-jot-text", true);</script>
|
||||
|
||||
</div>
|
||||
<div id="profile-jot-submit-wrapper" >
|
||||
<input type="submit" id="profile-jot-submit" name="submit" value="Submit" onclick="doCheck();" />
|
||||
|
||||
</div>
|
||||
<div id="profile-jot-end"></div>
|
||||
</div>
|
33
view/jot.tpl
Executable file
33
view/jot.tpl
Executable file
|
@ -0,0 +1,33 @@
|
|||
|
||||
<div id="profile-jot-wrapper" >
|
||||
<div id="profile-jot-banner-wrapper">
|
||||
<div id="profile-jot-desc" >What's on your mind?</div>
|
||||
<div id="character-counter" class="grey"></div>
|
||||
</div>
|
||||
<div id="profile-jot-banner-end"></div>
|
||||
<form id="profile-jot-form" action="item" method="post" >
|
||||
<input type="hidden" name="type" value="wall" />
|
||||
<input type="hidden" name="profile_uid" value="$profile_uid" />
|
||||
<input type="hidden" name="return" value="$return_path" />
|
||||
|
||||
<textarea rows="5" cols="64" class="profile-jot-text" id="profile-jot-text" name="body" ></textarea>
|
||||
|
||||
</div>
|
||||
<div id="profile-jot-submit-wrapper" >
|
||||
<input type="submit" id="profile-jot-submit" name="submit" value="Submit" />
|
||||
<div id="profile-upload-wrapper" style="display: $visitor;" >
|
||||
<div id="wall-image-upload-div" ><img id="wall-image-upload" src="images/camera-icon.gif" alt="Upload Photo" title="Upload Photo" /></div>
|
||||
</div>
|
||||
<div id="profile-link-wrapper" style="display: $visitor;" ondragenter="linkdropper(event);" ondragover="linkdropper(event);" ondrop="linkdrop(event);" >
|
||||
<img id="profile-link" src="images/link-icon.gif" alt="Insert web link" title="Insert web link" ondragenter="return linkdropper(event);" ondragover="return linkdropper(event);" ondrop="linkdrop(event);" onclick="jotGetLink();" />
|
||||
</div>
|
||||
<div id="profile-rotator-wrapper" style="display: $visitor;" >
|
||||
<img id="profile-rotator" src="images/rotator.gif" alt="Please wait" title="Please wait" style="display: none;" />
|
||||
</div>
|
||||
<div id="profile-jot-perms" class="profile-jot-perms" style="display: $visitor;" ><img src="images/$lockstate_icon.gif" alt="Permission Settings" title="Permission Settings" onClick="openClose('profile-jot-acl-wrapper');" /></div>
|
||||
<div id="profile-jot-perms-end"></div>
|
||||
<div id="profile-jot-acl-wrapper" style="display: none;" >$acl</div>
|
||||
</div>
|
||||
<div id="profile-jot-end"></div>
|
||||
</form>
|
||||
</div>
|
25
view/login.tpl
Executable file
25
view/login.tpl
Executable file
|
@ -0,0 +1,25 @@
|
|||
|
||||
<form action="" method="post" >
|
||||
<input type="hidden" name="auth-params" value="login" />
|
||||
<div id="login-name-wrapper">
|
||||
<label for="login-name" id="label-login-name">Email address: </label>
|
||||
<input type="text" maxlength="60" name="login-name" id="login-name" value="" />
|
||||
</div>
|
||||
<div id="login-name-end" ></div>
|
||||
<div id="login-password-wrapper">
|
||||
<label for="login-password" id="label-login-password">Password: </label>
|
||||
<input type="password" maxlength="60" name="password" id="login-password" value="" />
|
||||
</div>
|
||||
<div id="login-password-end"></div>
|
||||
<div id="login-extra-links">
|
||||
<div id="login-extra-filler"> </div>
|
||||
$register_html
|
||||
<a href="lostpass" title="Lost your password?" id="lost-password-link" >Password Reset</a>
|
||||
</div>
|
||||
<div id="login-extra-end"></div>
|
||||
<div id="login-submit-wrapper" >
|
||||
<input type="submit" name="submit" id="login-submit-button" value="Login" />
|
||||
</div>
|
||||
<div id="login-submit-end"></div>
|
||||
</form>
|
||||
|
6
view/logout.tpl
Executable file
6
view/logout.tpl
Executable file
|
@ -0,0 +1,6 @@
|
|||
<form action="" method="post" >
|
||||
<div class="logout-wrapper">
|
||||
<input type="hidden" name="auth-params" value="logout" />
|
||||
<input type="submit" name="submit" id="logout-button" value="Logout" />
|
||||
</div>
|
||||
</form>
|
18
view/lostpass.tpl
Executable file
18
view/lostpass.tpl
Executable file
|
@ -0,0 +1,18 @@
|
|||
<h3>Forgot your Password?</h3>
|
||||
|
||||
<p id="lostpass-desc">
|
||||
Enter your email address and submit to have your password reset. Then check your email for further instructions.
|
||||
</p>
|
||||
|
||||
<form action="lostpass" method="post" >
|
||||
<div id="login-name-wrapper">
|
||||
<label for="login-name" id="label-login-name">Email address: </label>
|
||||
<input type="text" maxlength="60" name="login-name" id="login-name" value="" />
|
||||
</div>
|
||||
<div id="login-extra-end"></div>
|
||||
<div id="login-submit-wrapper" >
|
||||
<input type="submit" name="submit" id="lostpass-submit-button" value="Reset" />
|
||||
</div>
|
||||
<div id="login-submit-end"></div>
|
||||
</form>
|
||||
|
32
view/lostpass_eml.tpl
Executable file
32
view/lostpass_eml.tpl
Executable file
|
@ -0,0 +1,32 @@
|
|||
|
||||
Dear $username,
|
||||
A request was recently received at $sitename to reset your account
|
||||
password. In order to confirm this request, please select the verification link
|
||||
below or paste it into your web browser address bar.
|
||||
|
||||
If you did NOT request this change, please DO NOT follow the link
|
||||
provided and ignore and/or delete this email.
|
||||
|
||||
Your password will not be changed unless we can verify that you
|
||||
issued this request.
|
||||
|
||||
Follow this link to verify your identity:
|
||||
|
||||
$reset_link
|
||||
|
||||
You will then receive a follow-up message containing the new password.
|
||||
|
||||
You may change that password from your account settings page after logging in.
|
||||
|
||||
The login details are as follows:
|
||||
|
||||
Site Location: $siteurl
|
||||
Login Name: $email
|
||||
|
||||
|
||||
|
||||
|
||||
Sincerely,
|
||||
$sitename Administrator
|
||||
|
||||
|
15
view/mail_conv.tpl
Executable file
15
view/mail_conv.tpl
Executable file
|
@ -0,0 +1,15 @@
|
|||
<div class="mail-conv-outside-wrapper">
|
||||
<div class="mail-conv-sender" >
|
||||
<a href="$from_url" class="mail-conv-sender-url" ><img class="mail-conv-sender-photo" src="$from_photo" alt="$from_name" /></a>
|
||||
</div>
|
||||
<div class="mail-conv-detail" >
|
||||
<div class="mail-conv-sender-name" >$from_name</div>
|
||||
<div class="mail-conv-date">$date</div>
|
||||
<div class="mail-conv-subject">$subject</div>
|
||||
<div class="mail-conv-body">$body</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mail-conv-delete-wrapper" id="mail-conv-delete-wrapper-$id" ><a href="message/drop/$id" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="$delete" title="$delete" id="mail-conv-delete-icon-$id" class="mail-conv-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div><div class="mail-conv-delete-end"></div>
|
||||
|
||||
<div class="mail-conv-outside-wrapper-end"></div>
|
||||
<hr class="mail-conv-break" />
|
9
view/mail_head.tpl
Executable file
9
view/mail_head.tpl
Executable file
|
@ -0,0 +1,9 @@
|
|||
<h3>$messages</h3>
|
||||
|
||||
<div class="message-links">
|
||||
<ul>
|
||||
<li><a href="message" class="message-link-inbox">$inbox</a></li>
|
||||
<li><a href="message/sent" class="message-link-outbox">$outbox</a></li>
|
||||
<li><a href="message/new" class="message-link-new">$new</a></li>
|
||||
<ul>
|
||||
</div>
|
13
view/mail_list.tpl
Executable file
13
view/mail_list.tpl
Executable file
|
@ -0,0 +1,13 @@
|
|||
<div class="mail-list-outside-wrapper">
|
||||
<div class="mail-list-sender" >
|
||||
<a href="$from_url" class="mail-list-sender-url" ><img class="mail-list-sender-photo" src="$from_photo" alt="$from_name" /></a>
|
||||
</div>
|
||||
<div class="mail-list-detail">
|
||||
<div class="mail-list-sender-name" >$from_name</div>
|
||||
<div class="mail-list-date">$date</div>
|
||||
<div class="mail-list-subject"><a href="message/$id" class="mail-list-link">$subject</a></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mail-list-delete-wrapper" id="mail-list-delete-wrapper-$id" ><a href="message/dropconv/$id" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="$delete" title="$delete" id="mail-list-delete-icon-$id" class="mail-list-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div><div class="mail-list-delete-end"></div>
|
||||
|
||||
<div class="mail-list-outside-wrapper-end"></div>
|
17
view/mail_received_eml.tpl
Executable file
17
view/mail_received_eml.tpl
Executable file
|
@ -0,0 +1,17 @@
|
|||
|
||||
Dear $username,
|
||||
|
||||
You've received a new private message at $sitename from '$from'.
|
||||
|
||||
-----
|
||||
$title
|
||||
-----
|
||||
$body
|
||||
-----
|
||||
Please login at $siteurl to read and reply to your private messages.
|
||||
|
||||
Thank you,
|
||||
$sitename administrator
|
||||
|
||||
|
||||
|
97
view/msg-header.tpl
Executable file
97
view/msg-header.tpl
Executable file
|
@ -0,0 +1,97 @@
|
|||
|
||||
<script language="javascript" type="text/javascript" src="$baseurl/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "specific_textareas",
|
||||
editor_selector: /(profile-jot-text|prvmail-text)/,
|
||||
plugins : "bbcode",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_styles : "Code=codeStyle;Quote=quoteStyle",
|
||||
content_css : "bbcode.css",
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
convert_urls: false,
|
||||
content_css: "$baseurl/view/custom_tinymce.css",
|
||||
//Character count
|
||||
theme_advanced_path : false,
|
||||
setup : function(ed) {
|
||||
ed.onKeyUp.add(function(ed, e) {
|
||||
var txt = tinyMCE.activeEditor.getContent();
|
||||
var text = txt.length;
|
||||
if(txt.length <= 140) {
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('grey');
|
||||
}
|
||||
if((txt.length > 140) && (txt .length <= 420)) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('red');
|
||||
$('#character-counter').addClass('orange');
|
||||
}
|
||||
if(txt.length > 420) {
|
||||
$('#character-counter').removeClass('grey');
|
||||
$('#character-counter').removeClass('orange');
|
||||
$('#character-counter').addClass('red');
|
||||
}
|
||||
$('#character-counter').text(text);
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
<script type="text/javascript" src="include/ajaxupload.js" ></script>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
var uploader = new window.AjaxUpload(
|
||||
'prvmail-upload',
|
||||
{ action: 'wall_upload',
|
||||
name: 'userfile',
|
||||
onSubmit: function(file,ext) { $('#profile-rotator').show(); },
|
||||
onComplete: function(file,response) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,response);
|
||||
$('#profile-rotator').hide();
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
function jotGetLink() {
|
||||
reply = prompt("Please enter a link URL:");
|
||||
if(reply && reply.length) {
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
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) {
|
||||
$('#profile-rotator').show();
|
||||
$.get('parse_url?url=' + reply, function(data) {
|
||||
tinyMCE.execCommand('mceInsertRawHTML',false,data);
|
||||
$('#profile-rotator').hide();
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
14
view/osearch.tpl
Executable file
14
view/osearch.tpl
Executable file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"
|
||||
xmlns:moz="http://www.mozilla.org/2006/browser/search/">
|
||||
<ShortName>Friendika Global Directory</ShortName>
|
||||
<Description>Search Friendika Global Directory</Description>
|
||||
<InputEncoding>UTF-8</InputEncoding>
|
||||
<Image width="16" height="16" type="image/x-icon">http://dir.friendika.com/images/friendika-16.ico</Image>
|
||||
<Image width="64" height="64" type="image/png">http://dir.friendika.com/images/friendika-64.png</Image>
|
||||
<Url type="text/html" method="GET" template="http://dir.friendika.com/directory">
|
||||
<Param name="search" value="{searchTerms}"/>
|
||||
</Url>
|
||||
|
||||
<moz:SearchForm>http://dir.friendika.com</moz:SearchForm>
|
||||
</OpenSearchDescription>
|
20
view/passchanged_eml.tpl
Executable file
20
view/passchanged_eml.tpl
Executable file
|
@ -0,0 +1,20 @@
|
|||
|
||||
Dear $username,
|
||||
Your password has been changed as requested. Please retain this
|
||||
information for your records (or change your password immediately to
|
||||
something that you will remember).
|
||||
|
||||
|
||||
Your login details are as follows:
|
||||
|
||||
Site Location: $siteurl
|
||||
Login Name: $email
|
||||
Password: $new_password
|
||||
|
||||
You may change that password from your account settings page after logging in.
|
||||
|
||||
|
||||
Sincerely,
|
||||
$sitename Administrator
|
||||
|
||||
|
5
view/photo_album.tpl
Executable file
5
view/photo_album.tpl
Executable file
|
@ -0,0 +1,5 @@
|
|||
|
||||
<div class="photo-album-image-wrapper" id="photo-album-image-wrapper-$id">
|
||||
<a href="$photolink" class="photo-album-photo-link" id="photo-album-photo-link-$id" title="$phototitle"><img src="$imgsrc" alt="$imgalt" title="$phototitle" class="photo-album-photo" id="photo-album-photo-$id" /></a>
|
||||
</div>
|
||||
<div class="photo-album-image-wrapper-end"></div>
|
19
view/photo_edit.tpl
Executable file
19
view/photo_edit.tpl
Executable file
|
@ -0,0 +1,19 @@
|
|||
|
||||
<form action="photos/$resource_id" method="post" id="photo_edit_form" >
|
||||
|
||||
<input type="hidden" name="item_id" value="$item_id" />
|
||||
|
||||
<label id="photo-edit-caption-label" for="photo-edit-caption">$capt_label</label>
|
||||
<input id="photo-edit-caption" type="text" size="84" name="desc" value="$caption" />
|
||||
|
||||
<div id="photo-edit-caption-end"></div>
|
||||
|
||||
<label id="photo-edit-tags-label" for="photo-edit-tags-textarea" >$tag_label</label>
|
||||
<textarea name="tags" id="photo-edit-tags-textarea" rows="3" cols="64" >$tags</textarea>
|
||||
<div id="photo-edit-tags-end"></div>
|
||||
|
||||
<input id="photo-edit-submit-button" type="submit" name="submit" value="$submit" />
|
||||
<input id="photo-edit-delete-button" type="submit" name="delete" value="$delete" onclick="return confirmDelete()"; />
|
||||
|
||||
<div id="photo-edit-end"></div>
|
||||
</form>
|
22
view/photo_item.tpl
Executable file
22
view/photo_item.tpl
Executable file
|
@ -0,0 +1,22 @@
|
|||
<div class="wall-item-outside-wrapper$indent" id="wall-item-outside-wrapper-$id" >
|
||||
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$id" >
|
||||
<a href="$profile_url" title="View $name's profile" class="wall-item-photo-link" id="wall-item-photo-link-$id">
|
||||
<img src="$thumb" class="wall-item-photo" id="wall-item-photo-$id" height="80" width="80" alt="$name" /></a>
|
||||
</div>
|
||||
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$id" >
|
||||
<a href="$profile_url" title="View $name's profile" class="wall-item-name-link"><span class="wall-item-name" id="wall-item-name-$id" >$name</span></a>
|
||||
<div class="wall-item-ago" id="wall-item-ago-$id">$ago</div>
|
||||
</div>
|
||||
<div class="wall-item-content" id="wall-item-content-$id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$id">$title</div>
|
||||
<div class="wall-item-body" id="wall-item-body-$id" >$body</div>
|
||||
</div>
|
||||
$drop
|
||||
<div class="wall-item-wrapper-end"></div>
|
||||
<div class="wall-item-comment-separator"></div>
|
||||
$comment
|
||||
</div>
|
||||
|
||||
<div class="wall-item-outside-wrapper-end$indent" ></div>
|
||||
|
6
view/photo_top.tpl
Executable file
6
view/photo_top.tpl
Executable file
|
@ -0,0 +1,6 @@
|
|||
|
||||
<div class="photo-top-image-wrapper" id="photo-top-image-wrapper-$id">
|
||||
<a href="$photolink" class="photo-top-photo-link" id="photo-top-photo-link-$id" title="$phototitle"><img src="$imgsrc" alt="$imgalt" title="$phototitle" class="photo-top-photo" id="photo-top-photo-$id" /></a>
|
||||
<div class="photo-top-album-name"><a href="$albumlink" class="photo-top-album-link" title="$albumalt" >$albumname</a></div>
|
||||
</div>
|
||||
<div class="photo-top-image-wrapper-end"></div>
|
63
view/photos_upload.tpl
Executable file
63
view/photos_upload.tpl
Executable file
|
@ -0,0 +1,63 @@
|
|||
<h3>$pagename</h3>
|
||||
<form action="photos" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" >
|
||||
<div id="photos-upload-new-wrapper" >
|
||||
<div id="photos-upload-newalbum-div">
|
||||
<label id="photos-upload-newalbum-text" for="photos-upload-newalbum" >$newalbum</label>
|
||||
</div>
|
||||
<input id="photos-upload-newalbum" type="text" name="newalbum" />
|
||||
</div>
|
||||
<div id="photos-upload-new-end"></div>
|
||||
<div id="photos-upload-exist-wrapper">
|
||||
<div id="photos-upload-existing-album-text">$existalbumtext</div>
|
||||
$albumselect
|
||||
</div>
|
||||
<div id="photos-upload-exist-end"></div>
|
||||
|
||||
|
||||
<div id="photos-upload-perms" class="photos-upload-perms" ><div id="photos-upload-perms-menu" onClick="openClose('photos-upload-permissions-wrapper');" />$permissions</div>
|
||||
<div id="photos-upload-perms-end"></div>
|
||||
|
||||
<div id="photos-upload-permissions-wrapper" style="display: none;" >
|
||||
|
||||
$aclselect
|
||||
|
||||
</div>
|
||||
|
||||
<div id="photos-upload-select-files-text">$filestext</div>
|
||||
|
||||
<div id="photos_upload_applet_wrapper">
|
||||
<applet name="jumpLoaderApplet"
|
||||
code="jmaster.jumploader.app.JumpLoaderApplet.class"
|
||||
archive="$archive"
|
||||
width="700"
|
||||
height="600"
|
||||
mayscript >
|
||||
<param name="uc_uploadUrl" value="$uploadurl" />
|
||||
<param name="uc_uploadFormName" value="photos-upload-form" />
|
||||
<param name="gc_loggingLeveL" value="FATAL" />
|
||||
<param name="uc_fileParameterName" value="userfile" />
|
||||
<param name="uc_cookie" value="PHPSESSID=$sessid; path=/;" />
|
||||
<param name="vc_disableLocalFileSystem" value="false" />
|
||||
<param name="vc_uploadViewMenuBarVisible" value="false" />
|
||||
<param name="vc_mainViewFileListViewVisible" value="true" />
|
||||
<param name="vc_mainViewFileListViewHeightPercent" value="50" />
|
||||
<param name="vc_mainViewFileTreeViewVisible" value="true" />
|
||||
<param name="vc_mainViewFileTreeViewWidthPercent" value="35" />
|
||||
<param name="vc_lookAndFeel" value="system" />
|
||||
|
||||
</applet>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="photos-upload-no-java-message" >
|
||||
$nojava
|
||||
</div>
|
||||
|
||||
<input type="file" name="userfile" />
|
||||
|
||||
<div class="photos-upload-submit-wrapper" >
|
||||
<input type="submit" name="submit" value="$submit" id="photos-upload-submit" />
|
||||
</div>
|
||||
<div class="photos-upload-end" ></div>
|
||||
</form>
|
||||
|
27
view/profed_head.tpl
Executable file
27
view/profed_head.tpl
Executable file
|
@ -0,0 +1,27 @@
|
|||
<script language="javascript" type="text/javascript"
|
||||
src="$baseurl/tinymce/jscripts/tiny_mce/tiny_mce_src.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
|
||||
|
||||
tinyMCE.init({
|
||||
theme : "advanced",
|
||||
mode : "textareas",
|
||||
plugins : "bbcode",
|
||||
theme_advanced_buttons1 : "bold,italic,underline,undo,redo,link,unlink,image,forecolor",
|
||||
theme_advanced_buttons2 : "",
|
||||
theme_advanced_buttons3 : "",
|
||||
theme_advanced_toolbar_location : "top",
|
||||
theme_advanced_toolbar_align : "center",
|
||||
theme_advanced_styles : "Code=codeStyle;Quote=quoteStyle",
|
||||
content_css : "bbcode.css",
|
||||
entity_encoding : "raw",
|
||||
add_unload_trigger : false,
|
||||
remove_linebreaks : false,
|
||||
content_css: "$baseurl/view/custom_tinymce.css"
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
</script>
|
||||
|
16
view/profile-hide-friends.tpl
Executable file
16
view/profile-hide-friends.tpl
Executable file
|
@ -0,0 +1,16 @@
|
|||
<p id="hide-friends-text">
|
||||
Hide my contact/friend list from viewers of this profile?
|
||||
</p>
|
||||
|
||||
<div id="hide-friends-yes-wrapper">
|
||||
<label id="hide-friends-yes-label" for="hide-friends-yes">Yes</label>
|
||||
<input type="radio" name="hide-friends" id="hide-friends-yes" $yes_selected value="1" />
|
||||
|
||||
<div id="hide-friends-break" ></div>
|
||||
</div>
|
||||
<div id="hide-friends-no-wrapper">
|
||||
<label id="hide-friends-no-label" for="hide-friends-no">No</label>
|
||||
<input type="radio" name="hide-friends" id="hide-friends-no" $no_selected value="0" />
|
||||
|
||||
<div id="hide-friends-end"></div>
|
||||
</div>
|
16
view/profile-in-directory.tpl
Executable file
16
view/profile-in-directory.tpl
Executable file
|
@ -0,0 +1,16 @@
|
|||
<p id="profile-in-directory">
|
||||
Publish this profile in site directory?
|
||||
</p>
|
||||
|
||||
<div id="profile-in-dir-yes-wrapper">
|
||||
<label id="profile-in-dir-yes-label" for="profile-in-dir-yes">Yes</label>
|
||||
<input type="radio" name="profile_in_directory" id="profile-in-dir-yes" $yes_selected value="1" />
|
||||
|
||||
<div id="profile-in-dir-break" ></div>
|
||||
</div>
|
||||
<div id="profile-in-dir-no-wrapper">
|
||||
<label id="profile-in-dir-no-label" for="profile-in-dir-no">No</label>
|
||||
<input type="radio" name="profile_in_directory" id="profile-in-dir-no" $no_selected value="0" />
|
||||
|
||||
<div id="profile-in-dir-end"></div>
|
||||
</div>
|
71
view/profile.php
Executable file
71
view/profile.php
Executable file
|
@ -0,0 +1,71 @@
|
|||
<!DOCTYPE html ><?php // This is a perfect example of why I prefer to use template files rather than mixed PHP/HTML ?>
|
||||
<html>
|
||||
<head>
|
||||
<title><?php echo $page['title']; ?></title>
|
||||
<?php echo $page['htmlhead']; ?>
|
||||
</head>
|
||||
<body>
|
||||
<header><?php echo $page['header']; ?></header>
|
||||
<nav><?php echo $page['nav']; ?></nav>
|
||||
<aside>
|
||||
<?php if((is_array($profile)) && count($profile)) { ?>
|
||||
<div class="vcard">
|
||||
<?php if(strlen($profile['name'])) { ?>
|
||||
<div class="fn"><?php echo $profile['name']; ?></div>
|
||||
<?php } ?>
|
||||
|
||||
<?php if(strlen($profile['photo'])) { ?>
|
||||
<div id="profile-photo-wrapper"><img class="photo" src="<?php echo $profile['photo']; ?>" alt="<?php echo $profile['name']; ?>" /></div>
|
||||
<?php } ?>
|
||||
|
||||
<div id="profile-extra-links">
|
||||
<ul>
|
||||
<li><a id="dfrn-request-link" href="dfrn_request/<?php echo $profile['nickname']; ?>">Introductions</a></li>
|
||||
<?php if(! $profile['hide-friends']) echo '<li><a id="viewcontacts-link" href="viewcontacts/' . $profile['nickname'] . '">View Contacts</a></li>'; ?>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if ( (strlen($profile['address']))
|
||||
|| (strlen($profile['locality']))
|
||||
|| (strlen($profile['region']))
|
||||
|| (strlen($profile['postal-code']))
|
||||
|| (strlen($profile['country-name']))) { ?>
|
||||
<div class="location">Location:
|
||||
<div class="adr">
|
||||
<div class="street-address"><?php if(strlen($profile['address'])) echo $profile['address']; ?></div>
|
||||
<span class="city-state-zip"><span class="locality"><?php echo $profile['locality']; ?></span><?php if(strlen($profile['locality'])) echo ', '; ?><span class="region"><?php echo $profile['region'] ?></span><?php if(strlen($profile['postal-code'])) { ?> <span class="postal-code"><?php echo $profile['postal-code']; ?></span><?php } ?></span>
|
||||
<span class="country-name"><?php echo $profile['country-name']; ?></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php if(strlen($profile['gender'])) { ?>
|
||||
<div class="mf">Gender: <span class="x-gender"><?php echo $profile['gender']; ?></span></div>
|
||||
|
||||
<?php } ?>
|
||||
|
||||
<?php if(strlen($profile['pubkey'])) { ?>
|
||||
<div class="key" style="display: none"><?php echo $profile['pubkey']; ?></div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if(strlen($profile['marital'])) { ?>
|
||||
<div class="marital"><span class="marital-label"><span class="heart">♥</span> Status: </span><span class="marital-text"><?php echo $profile['marital']; ?></span></div>
|
||||
<?php } ?>
|
||||
<?php if(strlen($profile['url'])) { ?>
|
||||
<div class="homepage"><span class="homepage-label">Homepage: </span><span class="homepage-url"><?php echo $profile['homepage']; ?></span></div>
|
||||
<?php } ?>
|
||||
<?php echo $page['aside'] ?>
|
||||
</aside>
|
||||
<section>
|
||||
<?php echo $page['content']; ?>
|
||||
</section>
|
||||
<footer>
|
||||
<?php echo $page['footer']; ?>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
219
view/profile_advanced.php
Executable file
219
view/profile_advanced.php
Executable file
|
@ -0,0 +1,219 @@
|
|||
<?php
|
||||
|
||||
$o .= '';
|
||||
|
||||
$o .= <<< EOT
|
||||
|
||||
<h2>Profile</h2>
|
||||
|
||||
|
||||
EOT;
|
||||
|
||||
if($a->profile['name']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-name-wrapper" >
|
||||
<div id="advanced-profile-name-text">Full Name:</div>
|
||||
<div id="advanced-profile-name">{$a->profile['name']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-name-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['gender']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-gender-wrapper" >
|
||||
<div id="advanced-profile-gender-text">Gender:</div>
|
||||
<div id="advanced-profile-gender">{$a->profile['gender']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-gender-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['dob']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-dob-wrapper" >
|
||||
<div id="advanced-profile-dob-text">Birthday:</div>
|
||||
EOT;
|
||||
|
||||
// If no year, add an arbitrary one so just we can parse the month and day.
|
||||
|
||||
$o .= '<div id="advanced-profile-dob">'
|
||||
. ((intval($a->profile['dob']))
|
||||
? datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y')
|
||||
: datetime_convert('UTC',date_default_timezone_get(),'2001-' . substr($a->profile['dob'],6),'j F'))
|
||||
. "</div>\r\n</div>";
|
||||
|
||||
$o .= '<div id="advanced-profile-dob-end"></div>';
|
||||
|
||||
}
|
||||
|
||||
if($age = age($a->profile['dob'],$a->profile['timezone'],'')) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-age-wrapper" >
|
||||
<div id="advanced-profile-age-text">Age:</div>
|
||||
<div id="advanced-profile-age">$age</div>
|
||||
</div>
|
||||
<div id="advanced-profile-age-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['marital']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-marital-wrapper" >
|
||||
<div id="advanced-profile-marital-text"><span class="heart">♥</span> Status:</div>
|
||||
<div id="advanced-profile-marital">{$a->profile['marital']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-marital-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['sexual']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-sexual-wrapper" >
|
||||
<div id="advanced-profile-sexual-text">Sexual Preference:</div>
|
||||
<div id="advanced-profile-sexual">{$a->profile['sexual']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-sexual-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['homepage']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-homepage-wrapper" >
|
||||
<div id="advanced-profile-homepage-text">Homepage:</div>
|
||||
<div id="advanced-profile-homepage">{$a->profile['homepage']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-homepage-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['politic']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-politic-wrapper" >
|
||||
<div id="advanced-profile-politic-text">Political Views:</div>
|
||||
<div id="advanced-profile-politic">{$a->profile['politic']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-politic-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($a->profile['religion']) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-religion-wrapper" >
|
||||
<div id="advanced-profile-religion-text">Religion:</div>
|
||||
<div id="advanced-profile-religion">{$a->profile['religion']}</div>
|
||||
</div>
|
||||
<div id="advanced-profile-religion-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['about'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-about-wrapper" >
|
||||
<div id="advanced-profile-about-text">About:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-about">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-about-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['interest'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-interest-wrapper" >
|
||||
<div id="advanced-profile-interest-text">Hobbies/Interests:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-interest">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-interest-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['contact'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-contact-wrapper" >
|
||||
<div id="advanced-profile-contact-text">Contact information and Social Networks:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-contact">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-contact-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['music'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-music-wrapper" >
|
||||
<div id="advanced-profile-music-text">Musical interests:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-music">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-music-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['book'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-book-wrapper" >
|
||||
<div id="advanced-profile-book-text">Books, literature:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-book">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-book-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['tv'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-tv-wrapper" >
|
||||
<div id="advanced-profile-tv-text">Television:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-tv">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-tv-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['film'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-film-wrapper" >
|
||||
<div id="advanced-profile-film-text">Film/dance/culture/entertainment:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-film">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-film-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['romance'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-romance-wrapper" >
|
||||
<div id="advanced-profile-romance-text">Love/romance:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-romance">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-romance-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['work'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-work-wrapper" >
|
||||
<div id="advanced-profile-work-text">Work/employment:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-work">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-work-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
||||
if($txt = bbcode($a->profile['education'])) {
|
||||
$o .= <<< EOT
|
||||
<div id="advanced-profile-education-wrapper" >
|
||||
<div id="advanced-profile-education-text">School/education:</div>
|
||||
<br />
|
||||
<div id="advanced-profile-education">$txt</div>
|
||||
</div>
|
||||
<div id="advanced-profile-education-end"></div>
|
||||
EOT;
|
||||
}
|
||||
|
278
view/profile_edit.tpl
Executable file
278
view/profile_edit.tpl
Executable file
|
@ -0,0 +1,278 @@
|
|||
<h1>Edit Profile Details</h1>
|
||||
|
||||
<div id="profile-edit-links">
|
||||
<ul>
|
||||
<li><a href="profile/$profile_id/view" id="profile-edit-view-link" title="View this profile">View this profile</a></li>
|
||||
<li><a href="profiles/clone/$profile_id" id="profile-edit-clone-link" title="Create a new profile using these settings">Clone this profile</a></li>
|
||||
<li></li>
|
||||
<li><a href="profiles/drop/$profile_id" id="profile-edit-drop-link" title="Delete this profile" $disabled >Delete this profile</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div id="profile-edit-links-end"></div>
|
||||
|
||||
$default
|
||||
|
||||
<div id="profile-edit-wrapper" >
|
||||
<form id="profile-edit-form" name="form1" action="profiles/$profile_id" method="post" >
|
||||
|
||||
<div id="profile-edit-profile-name-wrapper" >
|
||||
<label id="profile-edit-profile-name-label" for="profile-edit-profile-name" >Profile Name: </label>
|
||||
<input type="text" size="32" name="profile_name" id="profile-edit-profile-name" value="$profile_name" /><div class="required">*</div>
|
||||
</div>
|
||||
<div id="profile-edit-profile-name-end"></div>
|
||||
|
||||
<div id="profile-edit-name-wrapper" >
|
||||
<label id="profile-edit-name-label" for="profile-edit-name" >Your Full Name: </label>
|
||||
<input type="text" size="32" name="name" id="profile-edit-name" value="$name" />
|
||||
</div>
|
||||
<div id="profile-edit-name-end"></div>
|
||||
|
||||
<div id="profile-edit-gender-wrapper" >
|
||||
<label id="profile-edit-gender-label" for="gender-select" >Your Gender: </label>
|
||||
$gender
|
||||
</div>
|
||||
<div id="profile-edit-gender-end"></div>
|
||||
|
||||
<div id="profile-edit-dob-wrapper" >
|
||||
<label id="profile-edit-dob-label" for="dob-select" >Birthday (y/m/d): </label>
|
||||
<div id="profile-edit-dob" >
|
||||
$dob $age
|
||||
</div>
|
||||
<div id="profile-edit-dob-end"></div>
|
||||
|
||||
$profile_in_dir
|
||||
|
||||
$hide_friends
|
||||
|
||||
<div class="profile-edit-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
|
||||
</div>
|
||||
<div class="profile-edit-submit-end"></div>
|
||||
|
||||
|
||||
<div id="profile-edit-address-wrapper" >
|
||||
<label id="profile-edit-address-label" for="profile-edit-address" >Street Address: </label>
|
||||
<input type="text" size="32" name="address" id="profile-edit-address" value="$address" />
|
||||
</div>
|
||||
<div id="profile-edit-address-end"></div>
|
||||
|
||||
<div id="profile-edit-locality-wrapper" >
|
||||
<label id="profile-edit-locality-label" for="profile-edit-locality" >Locality/City: </label>
|
||||
<input type="text" size="32" name="locality" id="profile-edit-locality" value="$locality" />
|
||||
</div>
|
||||
<div id="profile-edit-locality-end"></div>
|
||||
|
||||
|
||||
<div id="profile-edit-postal-code-wrapper" >
|
||||
<label id="profile-edit-postal-code-label" for="profile-edit-postal-code" >Postal/Zip Code: </label>
|
||||
<input type="text" size="32" name="postal_code" id="profile-edit-postal-code" value="$postal_code" />
|
||||
</div>
|
||||
<div id="profile-edit-postal-code-end"></div>
|
||||
|
||||
<div id="profile-edit-country-name-wrapper" >
|
||||
<label id="profile-edit-country-name-label" for="profile-edit-country-name" >Country: </label>
|
||||
<select name="country_name" id="profile-edit-country-name" onChange="Fill_States('$region');">
|
||||
<option selected="selected" >$country_name</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
<div id="profile-edit-country-name-end"></div>
|
||||
|
||||
<div id="profile-edit-region-wrapper" >
|
||||
<label id="profile-edit-region-label" for="profile-edit-region" >Region/State: </label>
|
||||
<select name="region" id="profile-edit-region" onChange="Update_Globals();" >
|
||||
<option selected="selected" >$region</option>
|
||||
<option>temp</option>
|
||||
</select>
|
||||
</div>
|
||||
<div id="profile-edit-region-end"></div>
|
||||
|
||||
<div class="profile-edit-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
|
||||
</div>
|
||||
<div class="profile-edit-submit-end"></div>
|
||||
|
||||
<div id="profile-edit-marital-wrapper" >
|
||||
<label id="profile-edit-marital-label" for="profile-edit-marital" >Marital Status: </label>
|
||||
$marital
|
||||
</div>
|
||||
<div id="profile-edit-marital-end"></div>
|
||||
|
||||
<div id="profile-edit-sexual-wrapper" >
|
||||
<label id="profile-edit-sexual-label" for="sexual-select" >Sexual Preference: </label>
|
||||
$sexual
|
||||
</div>
|
||||
<div id="profile-edit-sexual-end"></div>
|
||||
|
||||
|
||||
|
||||
<div id="profile-edit-homepage-wrapper" >
|
||||
<label id="profile-edit-homepage-label" for="profile-edit-homepage" >Homepage URL: </label>
|
||||
<input type="text" size="32" name="homepage" id="profile-edit-homepage" value="$homepage" />
|
||||
</div>
|
||||
<div id="profile-edit-homepage-end"></div>
|
||||
|
||||
<div id="profile-edit-politic-wrapper" >
|
||||
<label id="profile-edit-politic-label" for="profile-edit-politic" >Political Views: </label>
|
||||
<input type="text" size="32" name="politic" id="profile-edit-politic" value="$politic" />
|
||||
</div>
|
||||
<div id="profile-edit-politic-end"></div>
|
||||
|
||||
<div id="profile-edit-religion-wrapper" >
|
||||
<label id="profile-edit-religion-label" for="profile-edit-religion" >Religion: </label>
|
||||
<input type="text" size="32" name="religion" id="profile-edit-religion" value="$religion" />
|
||||
</div>
|
||||
<div id="profile-edit-religion-end"></div>
|
||||
|
||||
<div class="profile-edit-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
|
||||
</div>
|
||||
<div class="profile-edit-submit-end"></div>
|
||||
|
||||
<div id="about-jot-wrapper" >
|
||||
<p id="about-jot-desc" >
|
||||
Tell us about yourself...
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="profile-jot-text" name="about" >$about</textarea>
|
||||
|
||||
</div>
|
||||
<div id="about-jot-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="interest-jot-wrapper" >
|
||||
<p id="interest-jot-desc" >
|
||||
Hobbies/Interests
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="interest-jot-text" name="interest" >$interest</textarea>
|
||||
|
||||
</div>
|
||||
<div id="interest-jot-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="contact-jot-wrapper" >
|
||||
<p id="contact-jot-desc" >
|
||||
Contact information and Social Networks
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="contact-jot-text" name="contact" >$contact</textarea>
|
||||
|
||||
</div>
|
||||
<div id="contact-jot-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="profile-edit-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
|
||||
</div>
|
||||
<div class="profile-edit-submit-end"></div>
|
||||
|
||||
|
||||
<div id="music-jot-wrapper" >
|
||||
<p id="music-jot-desc" >
|
||||
Musical interests
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="music-jot-text" name="music" >$music</textarea>
|
||||
|
||||
</div>
|
||||
<div id="music-jot-end"></div>
|
||||
</div>
|
||||
|
||||
<div id="book-jot-wrapper" >
|
||||
<p id="book-jot-desc" >
|
||||
Books, literature
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="book-jot-text" name="book" >$book</textarea>
|
||||
|
||||
</div>
|
||||
<div id="book-jot-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="tv-jot-wrapper" >
|
||||
<p id="tv-jot-desc" >
|
||||
Television
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="tv-jot-text" name="tv" >$tv</textarea>
|
||||
|
||||
</div>
|
||||
<div id="tv-jot-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="film-jot-wrapper" >
|
||||
<p id="film-jot-desc" >
|
||||
Film/dance/culture/entertainment
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="film-jot-text" name="film" >$film</textarea>
|
||||
|
||||
</div>
|
||||
<div id="film-jot-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="profile-edit-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
|
||||
</div>
|
||||
<div class="profile-edit-submit-end"></div>
|
||||
|
||||
|
||||
<div id="romance-jot-wrapper" >
|
||||
<p id="romance-jot-desc" >
|
||||
Love/romance
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="romance-jot-text" name="romance" >$romance</textarea>
|
||||
|
||||
</div>
|
||||
<div id="romance-jot-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="work-jot-wrapper" >
|
||||
<p id="work-jot-desc" >
|
||||
Work/employment
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="work-jot-text" name="work" >$work</textarea>
|
||||
|
||||
</div>
|
||||
<div id="work-jot-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div id="education-jot-wrapper" >
|
||||
<p id="education-jot-desc" >
|
||||
School/education
|
||||
</p>
|
||||
|
||||
<textarea rows="10" cols="72" id="education-jot-text" name="education" >$education</textarea>
|
||||
|
||||
</div>
|
||||
<div id="education-jot-end"></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="profile-edit-submit-wrapper" >
|
||||
<input type="submit" name="submit" class="profile-edit-submit-button" value="Submit" />
|
||||
</div>
|
||||
<div class="profile-edit-submit-end"></div>
|
||||
|
||||
|
||||
</form>
|
||||
</div>
|
||||
<script type="text/javascript">Fill_Country('$country_name');Fill_States('$region');</script>
|
10
view/profile_entry.tpl
Executable file
10
view/profile_entry.tpl
Executable file
|
@ -0,0 +1,10 @@
|
|||
|
||||
<div class="profile-listing" >
|
||||
<div class="profile-listing-photo-wrapper" >
|
||||
<a href="profiles/$id" class="profile-listing-edit-link"><img class="profile-listing-photo" id="profile-listing-photo-$id" src="$photo" alt="Profile Image" /></a>
|
||||
</div>
|
||||
<div class="profile-listing-photo-end"></div>
|
||||
<div class="profile-listing-name" id="profile-listing-name-$id">$profile_name</div>
|
||||
</div>
|
||||
<div class="profile-listing-end"></div>
|
||||
|
9
view/profile_entry_default.tpl
Executable file
9
view/profile_entry_default.tpl
Executable file
|
@ -0,0 +1,9 @@
|
|||
|
||||
<div class="profile-listing" >
|
||||
<div class="profile-listing-photo-wrapper" >
|
||||
<a href="profiles/$id" class="profile-listing-edit-link" ><img class="profile-listing-photo" id="profile-listing-photo-$id" src="$photo" alt="Profile Image" /></a>
|
||||
</div>
|
||||
<div class="profile-listing-photo-end" ></div>
|
||||
<div class="profile-listing-name" id="profile-listing-name-$id">$profile_name</div>
|
||||
</div>
|
||||
<div class="profile-listing-end"></div>
|
8
view/profile_listing_header.tpl
Executable file
8
view/profile_listing_header.tpl
Executable file
|
@ -0,0 +1,8 @@
|
|||
<h1>Profiles</h1>
|
||||
<p id="profile-listing-desc" >
|
||||
<a href="profile_photo" >Change profile photo</a>
|
||||
</p>
|
||||
<div id="profile-listing-new-link-wrapper" >
|
||||
<a href="profiles/new" id="profile-listing-new-link" name="Create New Profile" >Create New Profile</a>
|
||||
</div>
|
||||
|
14
view/profile_photo.tpl
Executable file
14
view/profile_photo.tpl
Executable file
|
@ -0,0 +1,14 @@
|
|||
<h1>Upload Profile Photo</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="profile_photo" method="post">
|
||||
|
||||
<div id="profile-photo-upload-wrapper">
|
||||
<label id="profile-photo-upload-label" for="profile-photo-upload">Upload File: </label>
|
||||
<input name="userfile" type="file" id="profile-photo-upload" size="48" />
|
||||
</div>
|
||||
|
||||
<div id="profile-photo-submit-wrapper">
|
||||
<input type="submit" name="submit" id="profile-photo-submit" value="Upload">
|
||||
</div>
|
||||
|
||||
</form>
|
39
view/profile_selectors.php
Executable file
39
view/profile_selectors.php
Executable file
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
|
||||
|
||||
function gender_selector($current="",$suffix="") {
|
||||
$select = array('', t('Male'), t('Female'), t('Transsexual'), t('Hermaphrodite'), t('Neuter'), t('Other'), t('Undecided'));
|
||||
|
||||
$o .= "<select name=\"gender$suffix\" id=\"gender-select$suffix\" size=\"1\" >";
|
||||
foreach($select as $selection) {
|
||||
$selected = (($selection == $current) ? ' selected="selected" ' : '');
|
||||
$o .= "<option value=\"$selection\" $selected >$selection</option>";
|
||||
}
|
||||
$o .= '</select>';
|
||||
return $o;
|
||||
}
|
||||
|
||||
function sexpref_selector($current="",$suffix="") {
|
||||
$select = array('', t('Males'), t('Females'), t('Bisexual'), t('Autosexual'), t('Abstinent'), t('Virgin'), t('Nonsexual'));
|
||||
|
||||
$o .= "<select name=\"sexual$suffix\" id=\"sexual-select$suffix\" size=\"1\" >";
|
||||
foreach($select as $selection) {
|
||||
$selected = (($selection == $current) ? ' selected="selected" ' : '');
|
||||
$o .= "<option value=\"$selection\" $selected >$selection</option>";
|
||||
}
|
||||
$o .= '</select>';
|
||||
return $o;
|
||||
}
|
||||
|
||||
|
||||
function marital_selector($current="",$suffix="") {
|
||||
$select = array('', t('Single'), t('Lonely'), t('Available'), t('Unavailable'), t('Dating'), t('Unfaithful'), t('Sex Addict'), t('Friends'), t('Friends/Benefits'), t('Casual'), t('Engaged'), t('Married'), t('Partners'), t('Cohabiting'), t('Happy'), t('Not Looking'), t('Swinger'), t('Betrayed'), t('Separated'), t('Unstable'), t('Divorced'), t('Widowed'), t('Uncertain'), t('Complicated'), t('Don\'t care'), t('Ask me') );
|
||||
|
||||
$o .= "<select name=\"marital[]\" id=\"marital-select\" multiple=\"multiple\" size=\"2\" >";
|
||||
foreach($select as $selection) {
|
||||
$selected = (($selection == $current) ? ' selected="selected" ' : '');
|
||||
$o .= "<option value=\"$selection\" $selected >$selection</option>";
|
||||
}
|
||||
$o .= '</select>';
|
||||
return $o;
|
||||
}
|
6
view/profile_tabs.tpl
Executable file
6
view/profile_tabs.tpl
Executable file
|
@ -0,0 +1,6 @@
|
|||
|
||||
<div id="profile-tabs-wrapper" >
|
||||
<a href="$url" id="profile-tab-status-link" class="profile-tabs" >Status</a>
|
||||
<a href="$url?tab=profile" id="profile-tab-profile-link" class="profile-tabs" >Profile</a>
|
||||
<a href="$phototab" id="profile-tab-photos-link" class="profile-tabs" >Photos</a>
|
||||
<div id="profile-tabs-end"></div>
|
33
view/prv_message.tpl
Executable file
33
view/prv_message.tpl
Executable file
|
@ -0,0 +1,33 @@
|
|||
|
||||
<h3>$header</h3>
|
||||
|
||||
<div id="prvmail-wrapper" >
|
||||
<form id="prvmail-form" action="message" method="post" >
|
||||
|
||||
$parent
|
||||
|
||||
<div id="prvmail-to-label">$to</div>
|
||||
$select
|
||||
|
||||
<div id="prvmail-subject-label">$subject</div>
|
||||
<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="$subjtxt" $readonly />
|
||||
|
||||
<div id="prvmail-message-label">$yourmessage</div>
|
||||
<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" ></textarea>
|
||||
|
||||
</div>
|
||||
<div id="prvmail-submit-wrapper" >
|
||||
<input type="submit" id="prvmail-submit" name="submit" value="Submit" />
|
||||
<div id="prvmail-upload-wrapper" >
|
||||
<div id="prvmail-upload-div" ><img id="prvmail-upload" src="images/camera-icon.gif" alt="$upload" title="$upload" /></div>
|
||||
</div>
|
||||
<div id="prvmail-link-wrapper" >
|
||||
<img id="prvmail-link" src="images/link-icon.gif" alt="$insert" title="$insert" onclick="jotGetLink();" />
|
||||
</div>
|
||||
<div id="prvmail-rotator-wrapper" >
|
||||
<img id="prvmail-rotator" src="images/rotator.gif" alt="$wait" title="$wait" style="display: none;" />
|
||||
</div>
|
||||
</div>
|
||||
<div id="prvmail-end"></div>
|
||||
</form>
|
||||
</div>
|
16
view/pwdreset.tpl
Executable file
16
view/pwdreset.tpl
Executable file
|
@ -0,0 +1,16 @@
|
|||
<h3>Password Reset</h3>
|
||||
|
||||
<p>
|
||||
Your password has been reset as requested.
|
||||
</p>
|
||||
<p>
|
||||
Your new password is
|
||||
</p>
|
||||
<p>
|
||||
$newpass
|
||||
</p>
|
||||
<p>
|
||||
Save or copy your new password - and then <a href="$baseurl" >click here to login</a>.
|
||||
</p>
|
||||
<p>
|
||||
Your password may be changed from the 'Settings' page after successful login.
|
1
view/register-link.tpl
Executable file
1
view/register-link.tpl
Executable file
|
@ -0,0 +1 @@
|
|||
<a href="register" name="Create a New Account" id="register-link" >Register</a>
|
49
view/register.tpl
Executable file
49
view/register.tpl
Executable file
|
@ -0,0 +1,49 @@
|
|||
<h3>Registration</h3>
|
||||
|
||||
<form action="register" method="post" >
|
||||
|
||||
$registertext
|
||||
|
||||
<div id="register-name-wrapper" >
|
||||
<label for="register-name" id="label-register-name" >Your Full Name (e.g. Joe Smith): </label>
|
||||
<input type="text" maxlength="60" size="32" name="username" id="register-name" value="" >
|
||||
</div>
|
||||
<div id="register-name-end" ></div>
|
||||
|
||||
|
||||
<div id="register-email-wrapper" >
|
||||
<label for="register-email" id="label-register-email" >Your Email Address: </label>
|
||||
<input type="text" maxlength="60" size="32" name="email" id="register-email" value="" >
|
||||
</div>
|
||||
<div id="register-email-end" ></div>
|
||||
|
||||
<p id="register-nickname-desc" >
|
||||
Choose a profile nickname. This must begin with a text character.
|
||||
Your global profile locator will then be '<strong>nickname@$sitename</strong>'.
|
||||
</p>
|
||||
<div id="register-nickname-wrapper" >
|
||||
<label for="register-nickname" id="label-register-nickname" >Choose a nickname: </label>
|
||||
<input type="text" maxlength="60" size="32" name="nickname" id="register-nickname" value="" ><div id="register-sitename">@$sitename</div>
|
||||
</div>
|
||||
<div id="register-nickname-end" ></div>
|
||||
|
||||
|
||||
|
||||
<div id="register-password-wrapper" >
|
||||
<label for="register-password" id="label-register-password" >Choose a password: </label>
|
||||
<input type="password" maxlength="60" size="32" name="password" id="register-password" value="" >
|
||||
</div>
|
||||
<div id="register-password-end" ></div>
|
||||
|
||||
<div id="register-verify-wrapper" >
|
||||
<label for="register-verify" id="label-register-verify" >Verify password: </label>
|
||||
<input type="password" maxlength="60" size="32" name="verify" id="register-verify" value="" >
|
||||
</div>
|
||||
<div id="register-verify-end" ></div>
|
||||
|
||||
|
||||
<div id="register-submit-wrapper">
|
||||
<input type="submit" name="submit" id="register-submit-button" value="Register" />
|
||||
</div>
|
||||
<div id="register-submit-end" ></div>
|
||||
</form>
|
17
view/request_notify_eml.tpl
Executable file
17
view/request_notify_eml.tpl
Executable file
|
@ -0,0 +1,17 @@
|
|||
|
||||
Dear $myname,
|
||||
|
||||
You have just received a personal introduction at $sitename
|
||||
|
||||
from '$requestor'.
|
||||
|
||||
You may visit their profile at $url.
|
||||
|
||||
Please login to your site to view the complete introduction
|
||||
and approve or ignore/cancel the request.
|
||||
|
||||
$siteurl
|
||||
|
||||
Regards,
|
||||
|
||||
$sitename administrator
|
93
view/settings.tpl
Executable file
93
view/settings.tpl
Executable file
|
@ -0,0 +1,93 @@
|
|||
<h1>Account Settings</h1>
|
||||
|
||||
$nickname_block
|
||||
|
||||
|
||||
<form action="settings" id="settings-form" method="post" >
|
||||
|
||||
<div id="settings-username-wrapper" >
|
||||
<label id="settings-username-label" for="settings-username" >Username: </label>
|
||||
<input type="text" name="username" id="settings-username" value="$username" />
|
||||
</div>
|
||||
<div id="settings-username-end" ></div>
|
||||
|
||||
<div id="settings-email-wrapper" >
|
||||
<label id="settings-email-label" for="settings-email" >Email Address: </label>
|
||||
<input type="text" name="email" id="settings-email" value="$email" />
|
||||
</div>
|
||||
<div id="settings-email-end" ></div>
|
||||
|
||||
|
||||
|
||||
<div id="settings-timezone-wrapper" >
|
||||
<label id="settings-timezone-label" for="timezone_select" >Your Timezone: </label>
|
||||
$zoneselect
|
||||
</div>
|
||||
<div id="settings-timezone-end" ></div>
|
||||
|
||||
<div id="settings-theme-select">
|
||||
<label id="settings-theme-label" for="theme-select" >Display Theme: </label>
|
||||
$theme
|
||||
</div>
|
||||
<div id="settings-theme-end"></div>
|
||||
|
||||
<div id="settings-default-perms" class="settings-default-perms" >
|
||||
<div id="settings-default-perms-menu" onClick="openClose('settings-default-perms-select');" />$permissions</div>
|
||||
<div id="settings-default-perms-menu-end"></div>
|
||||
|
||||
<div id="settings-default-perms-select" style="display: none;" >
|
||||
|
||||
$aclselect
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="settings-default-perms-end"></div>
|
||||
|
||||
<div id="settings-notify-wrapper">
|
||||
<div id="settings-notify-desc">Send me a notification email when: </div>
|
||||
<label for="notify1" id="settings-label-notify1">I receive an introduction</label>
|
||||
<input id="notify1" type="checkbox" $sel_notify1 name="notify1" value="1" />
|
||||
<div id="notify1-end"></div>
|
||||
<label for="notify2" id="settings-label-notify2">My introductions are confirmed</label>
|
||||
<input id="notify2" type="checkbox" $sel_notify2 name="notify2" value="2" />
|
||||
<div id="notify2-end"></div>
|
||||
<label for="notify3" id="settings-label-notify3">Someone writes on my profile wall</label>
|
||||
<input id="notify3" type="checkbox" $sel_notify3 name="notify3" value="4" />
|
||||
<div id="notify3-end"></div>
|
||||
<label for="notify4" id="settings-label-notify4">Someone writes a followup comment</label>
|
||||
<input id="notify4" type="checkbox" $sel_notify4 name="notify4" value="8" />
|
||||
<div id="notify4-end"></div>
|
||||
<label for="notify5" id="settings-label-notify5">I receive a private message</label>
|
||||
<input id="notify5" type="checkbox" $sel_notify5 name="notify5" value="16" />
|
||||
<div id="notify5-end"></div>
|
||||
</div>
|
||||
<div id="settings=notify-end"></div>
|
||||
|
||||
<div id="settings-password-wrapper" >
|
||||
<p id="settings-password-desc" >
|
||||
Leave password fields blank unless changing
|
||||
</p>
|
||||
<label id="settings-password-label" for="settings-password" >New Password: </label>
|
||||
<input type="password" id="settings-password" name="password" ></input>
|
||||
</div>
|
||||
<div id="settings-password-end" ></div>
|
||||
|
||||
<div id="settings-confirm-wrapper" >
|
||||
<label id="settings-confirm-label" for="settings-confirm" >Confirm: </label>
|
||||
<input type="password" id="settings-confirm" name="confirm" ></input>
|
||||
</div>
|
||||
<div id="settings-confirm-end" ></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="settings-submit-wrapper" >
|
||||
<input type="submit" name="submit" id="settings-submit" value="Submit" />
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
10
view/settings_nick_set.tpl
Executable file
10
view/settings_nick_set.tpl
Executable file
|
@ -0,0 +1,10 @@
|
|||
|
||||
<div id="settings-nick-wrapper" >
|
||||
<p id="settings-nickname-desc">
|
||||
Your site nickname is <strong>$nickname</strong> and cannot be changed.<br />
|
||||
Your profile locator is <strong>'$nickname@$basepath'</strong>.
|
||||
</p>
|
||||
$subdir
|
||||
|
||||
</div>
|
||||
<div id="settings-nick-end" ></div>
|
7
view/settings_nick_subdir.tpl
Executable file
7
view/settings_nick_subdir.tpl
Executable file
|
@ -0,0 +1,7 @@
|
|||
<p>
|
||||
It appears that your website is located in a subdirectory of the<br />
|
||||
$hostname website and this setting may not work reliably.<br />
|
||||
</p>
|
||||
<p>If you have any issues, you may have better results using the profile<br />
|
||||
locator '<strong>$baseurl/profile/$nickname</strong>'.
|
||||
</p>
|
14
view/settings_nick_unset.tpl
Executable file
14
view/settings_nick_unset.tpl
Executable file
|
@ -0,0 +1,14 @@
|
|||
|
||||
<div id="settings-nick-wrapper" >
|
||||
<p id="settings-nickname-desc">
|
||||
Your profile URL is currently <strong>'$baseurl/profile/$uid'</strong>.
|
||||
Setting a nickname will allow a friendly profile URL such as
|
||||
<strong>'nickname@$basepath'</strong>.
|
||||
<br />
|
||||
Once set, it can never be changed. The nickname <strong>must</strong> start with a letter; and only letters, numbers, dashes, and underscores are allowed.
|
||||
</p>
|
||||
<label id="settings-nick-label" for="settings-nick" >URL Nickname: </label>
|
||||
<input type="text" name="nick" id="settings-nick" value="$nickname" />
|
||||
</div>
|
||||
<div id="settings-nick-end" ></div>
|
||||
|
18
view/sidenote.tpl
Executable file
18
view/sidenote.tpl
Executable file
|
@ -0,0 +1,18 @@
|
|||
|
||||
<div id="sidenote-wrapper" >
|
||||
<p id="sidenote-desc" >
|
||||
Write something
|
||||
</p>
|
||||
<form id="sidenote-form" action="profiles/$profile_id" method="post" >
|
||||
<input type="hidden" name="type" value="sidenote" />
|
||||
|
||||
<textarea rows="40" cols="24" id="sidenote-text" name="sidenote" >$sidenote</textarea>
|
||||
|
||||
</div>
|
||||
<div id="sidenote-submit-wrapper" >
|
||||
<input type="submit" id="sidenote-submit" name="submit" value="Submit" />
|
||||
|
||||
</div>
|
||||
<div id="sidenote-end"></div>
|
||||
</form>
|
||||
</div>
|
BIN
view/theme/default/dfrn.gif
Executable file
BIN
view/theme/default/dfrn.gif
Executable file
Binary file not shown.
After Width: | Height: | Size: 109 B |
BIN
view/theme/default/star.jpg
Executable file
BIN
view/theme/default/star.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 608 B |
1552
view/theme/default/style.css
Executable file
1552
view/theme/default/style.css
Executable file
File diff suppressed because it is too large
Load diff
15
view/viewcontact_template.tpl
Executable file
15
view/viewcontact_template.tpl
Executable file
|
@ -0,0 +1,15 @@
|
|||
|
||||
<div class="view-contact-wrapper" id="view-contact-wrapper-$id" >
|
||||
<div class="view-contact-photo-wrapper" >
|
||||
<div class="view-contact-photo" id="view-contact-photo-$id" >
|
||||
<a href="$url" title="$alt_text" /><img src="$thumb" alt="$name" /></a>
|
||||
</div>
|
||||
<div class="view-contact-photo-end" ></div>
|
||||
</div>
|
||||
<div class="view-contact-name-wrapper" >
|
||||
<div class="view-contact-name" id="view-contact-name-$id" >$name</div>
|
||||
</div>
|
||||
<div class="view-contact-name-end" ></div>
|
||||
</div>
|
||||
<div class="view-contact-wrapper-end"></div>
|
||||
|
27
view/wall_item.tpl
Executable file
27
view/wall_item.tpl
Executable file
|
@ -0,0 +1,27 @@
|
|||
<div class="wall-item-outside-wrapper$indent" id="wall-item-outside-wrapper-$id" >
|
||||
<div class="wall-item-content-wrapper$indent" id="wall-item-content-wrapper-$id" >
|
||||
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$id" >
|
||||
<a href="$profile_url" title="View $name's profile" class="wall-item-photo-link" id="wall-item-photo-link-$id">
|
||||
<img src="$thumb" class="wall-item-photo" id="wall-item-photo-$id" height="80" width="80" alt="$name" /></a>
|
||||
</div>
|
||||
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$id" >
|
||||
<a href="$profile_url" title="View $name's profile" class="wall-item-name-link"><span class="wall-item-name" id="wall-item-name-$id" >$name</span></a>
|
||||
<div class="wall-item-ago" id="wall-item-ago-$id">$ago</div>
|
||||
<div class="wall-item-location" id="wall-item-location-$id">$location</div>
|
||||
</div>
|
||||
<div class="wall-item-content" id="wall-item-content-$id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$id">$title</div>
|
||||
<div class="wall-item-body" id="wall-item-body-$id" >$body</div>
|
||||
</div>
|
||||
$drop
|
||||
</div>
|
||||
<div class="wall-item-wrapper-end"></div>
|
||||
|
||||
<div class="wall-item-comment-wrapper" >
|
||||
$comment
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wall-item-outside-wrapper-end$indent" ></div>
|
||||
|
1
view/wall_item_drop.tpl
Executable file
1
view/wall_item_drop.tpl
Executable file
|
@ -0,0 +1 @@
|
|||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" ><a href="item/drop/$id" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="Delete" title="Delete" id="wall-item-delete-icon-$id" class="wall-item-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div><div class="wall-item-delete-end"></div>
|
16
view/wall_received_eml.tpl
Executable file
16
view/wall_received_eml.tpl
Executable file
|
@ -0,0 +1,16 @@
|
|||
|
||||
Dear $username,
|
||||
|
||||
'$from' posted something to your profile wall.
|
||||
|
||||
-----
|
||||
$body
|
||||
-----
|
||||
|
||||
Please login at $siteurl to view or delete the item.
|
||||
|
||||
Thank you,
|
||||
$sitename administrator
|
||||
|
||||
|
||||
|
30
view/wallwall_item.tpl
Executable file
30
view/wallwall_item.tpl
Executable file
|
@ -0,0 +1,30 @@
|
|||
<div class="wall-item-outside-wrapper$indent" id="wall-item-outside-wrapper-$id" >
|
||||
<div class="wall-item-photo-wrapper" id="wall-item-ownerphoto-wrapper-$id" >
|
||||
<a href="$owner_url" title="View $owner_name's profile" class="wall-item-photo-link" id="wall-item-ownerphoto-link-$id">
|
||||
<img src="$owner_photo" class="wall-item-photo" id="wall-item-ownerphoto-$id" height="80" width="80" alt="$owner_name" /></a>
|
||||
</div>
|
||||
<div class="wall-item-arrowphoto-wrapper" ><img src="images/larrow.gif" alt="Wall-To-Wall" /></div>
|
||||
<div class="wall-item-photo-wrapper" id="wall-item-photo-wrapper-$id" >
|
||||
<a href="$profile_url" title="View $name's profile" class="wall-item-photo-link" id="wall-item-photo-link-$id">
|
||||
<img src="$thumb" class="wall-item-photo" id="wall-item-photo-$id" height="80" width="80" alt="$name" /></a>
|
||||
</div>
|
||||
<div class="wall-item-wrapper" id="wall-item-wrapper-$id" >
|
||||
<a href="$profile_url" title="View $name's profile" class="wall-item-name-link"><span class="wall-item-name" id="wall-item-name-$id" >$name</span></a> to <a href="$owner_url" title="View $owner_name's profile" class="wall-item-name-link"><span class="wall-item-name" id="wall-item-ownername-$id">$owner_name</span></a> via Wall-To-Wall:<br />
|
||||
<div class="wall-item-ago" id="wall-item-ago-$id">$ago</div>
|
||||
<div class="wall-item-location" id="wall-item-location-$id">$location</div>
|
||||
</div>
|
||||
<div class="wall-item-content" id="wall-item-content-$id" >
|
||||
<div class="wall-item-title" id="wall-item-title-$id">$title</div>
|
||||
<div class="wall-item-body" id="wall-item-body-$id" >$body</div>
|
||||
</div>
|
||||
$drop
|
||||
|
||||
<div class="wall-item-wrapper-end"></div>
|
||||
<div class="wall-item-comment-separator"></div>
|
||||
<div class="wall-item-comment-wrapper" >
|
||||
$comment
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wall-item-outside-wrapper-end$indent" ></div>
|
||||
|
11
view/xrd_host.tpl
Executable file
11
view/xrd_host.tpl
Executable file
|
@ -0,0 +1,11 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'
|
||||
xmlns:hm='http://host-meta.net/xrd/1.0'>
|
||||
|
||||
<hm:Host>$domain</hm:Host>
|
||||
|
||||
<Link rel='lrdd'
|
||||
template='http://$domain/xrd/?uri={uri}'>
|
||||
<Title>Resource Descriptor</Title>
|
||||
</Link>
|
||||
</XRD>
|
17
view/xrd_person.tpl
Executable file
17
view/xrd_person.tpl
Executable file
|
@ -0,0 +1,17 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
|
||||
|
||||
<Subject>$accturi</Subject>
|
||||
<Alias>$profile_url</Alias>
|
||||
|
||||
<Link rel='http://purl.org/macgirvin/dfrn/1.0'
|
||||
href='$profile_url' />
|
||||
<Link rel='http://webfinger.net/rel/profile-page'
|
||||
type='text/html'
|
||||
href='$profile_url' />
|
||||
<Link rel='http://microformats.org/profile/hcard'
|
||||
type='text/html'
|
||||
href='$profile_url' />
|
||||
<Link rel='http://webfinger.net/rel/avatar'
|
||||
href='$photo' />
|
||||
</XRD>
|
Loading…
Add table
Add a link
Reference in a new issue