1
0
Fork 0

view directory cleanup

This commit is contained in:
Friendika 2010-11-15 21:02:59 -08:00
parent 3374c698a2
commit 8c395f96de
11 changed files with 7 additions and 73 deletions

View file

@ -113,7 +113,7 @@ function group_content(&$a) {
if(($a->argc == 2) && (intval($a->argv[1]))) {
require_once('view/acl_selectors.php');
require_once('include/acl_selectors.php');
$r = q("SELECT * FROM `group` WHERE `id` = %d AND `uid` = %d LIMIT 1",
intval($a->argv[1]),
intval(local_user())

View file

@ -1,6 +1,6 @@
<?php
require_once('view/acl_selectors.php');
require_once('include/acl_selectors.php');
function message_init(&$a) {

View file

@ -41,7 +41,7 @@ function network_content(&$a, $update = 0) {
'$geotag' => $geotag
));
require_once('view/acl_selectors.php');
require_once('include/acl_selectors.php');
$tpl = load_view_file("view/jot.tpl");

View file

@ -1,8 +1,8 @@
<?php
require_once('Photo.php');
require_once('include/Photo.php');
require_once('include/items.php');
require_once('view/acl_selectors.php');
require_once('include/acl_selectors.php');
require_once('include/bbcode.php');
function photos_init(&$a) {

View file

@ -159,7 +159,7 @@ function profile_content(&$a, $update = 0) {
'$geotag' => $geotag
));
require_once('view/acl_selectors.php');
require_once('include/acl_selectors.php');
$tpl = load_view_file("view/jot.tpl");
if(is_array($a->user) && ((strlen($a->user['allow_cid'])) || (strlen($a->user['allow_gid'])) || (strlen($a->user['deny_cid'])) || (strlen($a->user['deny_gid']))))

View file

@ -163,7 +163,7 @@ function settings_content(&$a) {
return;
}
require_once('view/acl_selectors.php');
require_once('include/acl_selectors.php');
$p = q("SELECT * FROM `profile` WHERE `is-default` = 1 AND `uid` = %d LIMIT 1",
intval($_SESSION['uid'])

View file

@ -1,14 +0,0 @@
<div id="about-jot-wrapper" >
<p id="about-jot-desc" >
Tell us about yourself.
</p>
<textarea rows="15" cols="72" id="profile-jot-text" name="body" >$about</textarea>
</div>
<div id="about-jot-submit-wrapper" >
<input type="submit" id="about-jot-submit" name="submit" value="Submit" />
</div>
<div id="profile-jot-end"></div>
</div>

View file

@ -1,21 +0,0 @@
<entry>
<author>
<name>$name</name>
<uri>$profile_page</uri>
<link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="$thumb" />
<link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$thumb" />
</author>
<thr:in-reply-to ref="$parent_id" />
<id>$item_id</id>
<title>$title</title>
<published>$published</published>
<updated>$updated</updated>
<content type="$type" >$content</content>
<link rel="alternate" href="$alt" />
<dfrn:comment-allow>$comment_allow</dfrn:comment-allow>
<as:verb>$verb</as:verb>
$actobj
$mentioned
</entry>

View file

@ -1,28 +0,0 @@
<entry>
<author>
<name>$name</name>
<uri>$profile_page</uri>
<link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="$thumb" />
<link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$thumb" />
</author>
<dfrn:owner>
<name>$owner_name</name>
<uri>$owner_profile_page</uri>
<link rel="photo" type="image/jpeg" media:width="80" media:height="80" href="$owner_thumb" />
<link rel="avatar" type="image/jpeg" media:width="80" media:height="80" href="$owner_thumb" />
</dfrn:owner>
<id>$item_id</id>
<title>$title</title>
<published>$published</published>
<updated>$updated</updated>
<content type="$type" >$content</content>
<link rel="alternate" href="$alt" />
<dfrn:location>$location</dfrn:location>
<georss:point>$coord</georss:point>
<dfrn:comment-allow>$comment_allow</dfrn:comment-allow>
<as:verb>$verb</as:verb>
$actobj
$mentioned
</entry>

View file

@ -1,3 +0,0 @@
<at:deleted-entry ref="$id" when="$updated" />