Skip to content

Commit

Permalink
Add a few hooks
Browse files Browse the repository at this point in the history
These hooks are necessary for an upcoming plugin!
  • Loading branch information
GigaHacer committed Jul 5, 2022
1 parent a9b4d18 commit 28c1515
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions views/conversation.view.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ function makePermalink(postId) {return "<?php echo $permalink;?>".replace("%s",
</div>
<div class='body<?php if($this->editingPost==$post["id"]):?> edit<?php endif;?>'>
<?php echo $this->editingPost==$post["id"]?$this->getEditArea($post["id"],$this->formatForEditing($post["body"])):$this->displayPost($post["body"]);?>
<?php $this->callHook("postFooter", array($post)); ?>
</div>
</div>
<?php
Expand Down
2 changes: 1 addition & 1 deletion views/profile.view.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<?php endforeach;?>

</div>
<div class='avatar'><img src='<?php echo $this->eso->getAvatar($this->member["memberId"],$this->member["avatarFormat"],"l");?>' alt=''/></div>
<div class='avatar'><img src='<?php echo $this->eso->getAvatar($this->member["memberId"],$this->member["avatarFormat"],"l");?>' alt=''/><?php $this->callHook("profileInfo"); ?></div>
<div class='clear'></div>
</div>

Expand Down
3 changes: 3 additions & 0 deletions views/settings.view.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@
<li><label id='lbl-pass'></label> <?php echo $this->eso->skin->button(array("value"=>$language["Save changes"],"name"=>"settingsUsername[submit]"));?></li>

</ul></fieldset>

<?php $this->callHook("settingsPageEnd");?>

<?php if(!count($this->messages)):?><script type='text/javascript'>Settings.hideFieldset("settingsUser")</script><?php endif;?>
</form>
<?php endif;?>
Expand Down

0 comments on commit 28c1515

Please sign in to comment.