Browse Source

view directory cleanup

pull/1/head
Friendika 11 years ago
parent
commit
8c395f96de
  1. 0
      include/acl_selectors.php
  2. 2
      mod/group.php
  3. 2
      mod/message.php
  4. 2
      mod/network.php
  5. 4
      mod/photos.php
  6. 2
      mod/profile.php
  7. 2
      mod/settings.php
  8. 14
      view/about.tpl
  9. 21
      view/atom_cmnt.tpl
  10. 28
      view/atom_item.tpl
  11. 3
      view/atom_tomb.tpl

0
view/acl_selectors.php → include/acl_selectors.php

2
mod/group.php

@ -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())

2
mod/message.php

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

2
mod/network.php

@ -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");

4
mod/photos.php

@ -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) {

2
mod/profile.php

@ -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']))))

2
mod/settings.php

@ -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'])

14
view/about.tpl

@ -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>

21
view/atom_cmnt.tpl

@ -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>

28
view/atom_item.tpl

@ -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>

3
view/atom_tomb.tpl

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