This repository has been archived by the owner on Apr 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added simplistic public profile functionality.
- Loading branch information
Showing
4 changed files
with
74 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
/* | ||
* Account plugin for Wolf CMS. <http://www.wolfcms.org> | ||
* Copyright (C) 2010 Martijn van der Kleijn <martijn.niji@gmail.com> | ||
* | ||
* This file is part of the Account plugin for Wolf CMS. | ||
* | ||
* The Account plugin for Wolf CMS is made available under the terms of the GNU GPLv3 license. | ||
* Please see <http://www.gnu.org/licenses/gpl.html> for full details. | ||
*/ | ||
|
||
/** | ||
* The Account plugin allows end users to view and manipulate their accounts. | ||
* | ||
* @package wolf | ||
* @subpackage plugin.account | ||
* | ||
* @author Martijn van der Kleijn <martijn.niji@gmail.com> | ||
* @version 1.0.0 | ||
* @since Wolf version 0.7.0 | ||
* @license http://www.gnu.org/licenses/gpl.html GPLv3 License | ||
* @copyright Martijn van der Kleijn, 2010 | ||
*/ | ||
?> | ||
|
||
<div id="account"> | ||
<h1><?php echo __('Public profile for :username', array(':username' => $user->username)); ?></h1> | ||
<table> | ||
<tr> | ||
<td><?php echo __('Username'); ?></td> | ||
<td><?php echo $user->username; ?></td> | ||
</tr> | ||
<tr> | ||
<td><?php echo __('Full name'); ?></td> | ||
<td><?php echo $user->name; ?></td> | ||
</tr> | ||
<?php foreach($profile as $entryName => $entryValue) { ?> | ||
<tr> | ||
<td><?php echo $entryName; ?></td> | ||
<td><?php echo $entryValue; ?></td> | ||
</tr> | ||
<?php } ?> | ||
</table> | ||
</div> |