forked from AKSW/xodx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use new layout and logger support in Saft
- Loading branch information
1 parent
0adb25f
commit 3bd2420
Showing
10 changed files
with
54 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<h3>Friends</h3> | ||
<?php if($this->addFriend == true) : ?> | ||
<form method="post" action="?c=person&a=addfriend"> | ||
<div class="input-append"> | ||
<input type="hidden" name="person" value="<?= htmlentities($this->personUri) ?>" /> | ||
<input type="text" name="friend" placeholder="Add a friends URI" /><button class="btn btn-primary" type="submit">Add</button> | ||
</div> | ||
</form> | ||
<?php endif; ?> | ||
<?php foreach($this->knows as $contact) : ?> | ||
<address> | ||
<?php | ||
if ($contact['name'] != null) { | ||
$name = $contact['name']; | ||
} elseif ($contact['nick'] != null) { | ||
$name = $contact['nick']; | ||
} else { | ||
$name = "unknown name"; | ||
} | ||
?> | ||
<strong><?= $name ?></strong><br /> | ||
<a href="?c=person&uri=<?= urlencode($contact['contactUri']) ?>"><?= $contact['contactUri'] ?></a> | ||
</address> | ||
<?php endforeach; ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters