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
<?php | |
namespace Craft; | |
class AutoActivatePlugin extends BasePlugin | |
{ | |
function getName() | |
{ | |
return Craft::t('Auto activate from CP'); | |
} |
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
<?php | |
namespace Craft; | |
class UserPhotoPlugin extends BasePlugin | |
{ | |
function getName() | |
{ | |
return Craft::t('Upload user photos on the front-end'); | |
} | |
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
<?php | |
namespace Craft; | |
class SaveProfilePlugin extends BasePlugin | |
{ | |
function getName() | |
{ | |
return Craft::t('Save profile too when saving user'); | |
} | |
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
<?php | |
namespace Craft; | |
class AssetUploadPlugin extends BasePlugin | |
{ | |
function getName() | |
{ | |
return Craft::t('Upload assets on the front-end'); | |
} | |
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
{% if not user %} | |
{% redirect "profiel" %} | |
{% endif %} | |
{% extends "_layout" %} | |
{% set title = "Gekoppelde familieleden" %} | |
{% set entry = craft.entries.section('registratie').authorId(currentUser.id).first() %} | |
{% if entry | length == 0 %} | |
{% set entry = craft.entries.section('registratie').first() %} | |
{% endif %} |
NewerOlder