Jump to content

Recommended Posts

I'm not sure what is wrong with this but after a friend modified a theme for PHPBB Fourms I have it just starting messing up and I cannot view any PMs.

 

So if anyone can point me in the right direction I would be extremely grateful. Thanks in advance.

 

Code:

 

<?php if (!defined('IN_PHPBB')) exit; ?><h2><?php echo ((isset($this->_rootref['L_TITLE'])) ? $this->_rootref['L_TITLE'] : ((isset($user->lang['TITLE'])) ? $user->lang['TITLE'] : '{ TITLE }')); if ($this->_rootref['CUR_FOLDER_NAME']) {  ?>: <?php echo (isset($this->_rootref['CUR_FOLDER_NAME'])) ? $this->_rootref['CUR_FOLDER_NAME'] : ''; } ?></h2>

 

<div class="panel clearfix pm-panel-header<?php if ($this->_rootref['S_VIEW_MESSAGE']) {  ?> pm<?php } ?>">

<div class="inner"><span class="corners-top"><span></span></span>

 

<?php if ($this->_rootref['FOLDER_STATUS'] && $this->_rootref['FOLDER_MAX_MESSAGES'] != 0) {  ?><p><?php echo (isset($this->_rootref['FOLDER_STATUS'])) ? $this->_rootref['FOLDER_STATUS'] : ''; ?></p><?php } if ($this->_rootref['U_POST_REPLY_PM'] || $this->_rootref['U_POST_NEW_TOPIC'] || $this->_rootref['U_FORWARD_PM']) {  ?>

 

<div class="buttons">

<?php if ($this->_rootref['U_POST_REPLY_PM']) {  ?><div class="pmreply-icon clearfix"><a title="<?php echo ((isset($this->_rootref['L_POST_REPLY_PM'])) ? $this->_rootref['L_POST_REPLY_PM'] : ((isset($user->lang['POST_REPLY_PM'])) ? $user->lang['POST_REPLY_PM'] : '{ POST_REPLY_PM }')); ?>" href="<?php echo (isset($this->_rootref['U_POST_REPLY_PM'])) ? $this->_rootref['U_POST_REPLY_PM'] : ''; ?>"><span></span><?php echo ((isset($this->_rootref['L_POST_REPLY_PM'])) ? $this->_rootref['L_POST_REPLY_PM'] : ((isset($user->lang['POST_REPLY_PM'])) ? $user->lang['POST_REPLY_PM'] : '{ POST_REPLY_PM }')); ?></a></div>

<?php } else if ($this->_rootref['U_POST_NEW_TOPIC']) {  ?><div class="newpm-icon"><a href="<?php echo (isset($this->_rootref['U_POST_NEW_TOPIC'])) ? $this->_rootref['U_POST_NEW_TOPIC'] : ''; ?>" accesskey="n" title="<?php echo ((isset($this->_rootref['L_UCP_PM_COMPOSE'])) ? $this->_rootref['L_UCP_PM_COMPOSE'] : ((isset($user->lang['UCP_PM_COMPOSE'])) ? $user->lang['UCP_PM_COMPOSE'] : '{ UCP_PM_COMPOSE }')); ?>"><span></span><?php echo ((isset($this->_rootref['L_UCP_PM_COMPOSE'])) ? $this->_rootref['L_UCP_PM_COMPOSE'] : ((isset($user->lang['UCP_PM_COMPOSE'])) ? $user->lang['UCP_PM_COMPOSE'] : '{ UCP_PM_COMPOSE }')); ?></a></div><?php } if ($this->_rootref['U_FORWARD_PM']) {  ?><div class="forwardpm-icon"><a title="<?php echo ((isset($this->_rootref['L_POST_FORWARD_PM'])) ? $this->_rootref['L_POST_FORWARD_PM'] : ((isset($user->lang['POST_FORWARD_PM'])) ? $user->lang['POST_FORWARD_PM'] : '{ POST_FORWARD_PM }')); ?>" href="<?php echo (isset($this->_rootref['U_FORWARD_PM'])) ? $this->_rootref['U_FORWARD_PM'] : ''; ?>"><span></span><?php echo ((isset($this->_rootref['L_FORWARD_PM'])) ? $this->_rootref['L_FORWARD_PM'] : ((isset($user->lang['FORWARD_PM'])) ? $user->lang['FORWARD_PM'] : '{ FORWARD_PM }')); ?></a></div><?php } ?>

 

</div>

 

<?php if ($this->_rootref['U_POST_REPLY_PM'] && $this->_rootref['S_PM_RECIPIENTS'] > (1)) {  ?>

 

<div class="reply-all"><a title="<?php echo ((isset($this->_rootref['L_REPLY_TO_ALL'])) ? $this->_rootref['L_REPLY_TO_ALL'] : ((isset($user->lang['REPLY_TO_ALL'])) ? $user->lang['REPLY_TO_ALL'] : '{ REPLY_TO_ALL }')); ?>" href="<?php echo (isset($this->_rootref['U_POST_REPLY_ALL'])) ? $this->_rootref['U_POST_REPLY_ALL'] : ''; ?>">» <?php echo ((isset($this->_rootref['L_REPLY_TO_ALL'])) ? $this->_rootref['L_REPLY_TO_ALL'] : ((isset($user->lang['REPLY_TO_ALL'])) ? $user->lang['REPLY_TO_ALL'] : '{ REPLY_TO_ALL }')); ?></a></div>

<?php } } if ($this->_rootref['TOTAL_MESSAGES'] || $this->_rootref['S_VIEW_MESSAGE']) {  ?>

 

<ul class="linklist pm-return-to">

<li class="rightside pagination">

<?php if ($this->_rootref['S_VIEW_MESSAGE']) {  ?><a class="<?php echo (isset($this->_rootref['S_CONTENT_FLOW_BEGIN'])) ? $this->_rootref['S_CONTENT_FLOW_BEGIN'] : ''; ?>" href="<?php echo (isset($this->_rootref['U_CURRENT_FOLDER'])) ? $this->_rootref['U_CURRENT_FOLDER'] : ''; ?>"><?php echo ((isset($this->_rootref['L_RETURN_TO'])) ? $this->_rootref['L_RETURN_TO'] : ((isset($user->lang['RETURN_TO'])) ? $user->lang['RETURN_TO'] : '{ RETURN_TO }')); ?> <?php echo (isset($this->_rootref['CUR_FOLDER_NAME'])) ? $this->_rootref['CUR_FOLDER_NAME'] : ''; ?></a><?php } if ($this->_rootref['FOLDER_CUR_MESSAGES'] != 0) {  if ($this->_rootref['TOTAL_MESSAGES']) {  echo (isset($this->_rootref['TOTAL_MESSAGES'])) ? $this->_rootref['TOTAL_MESSAGES'] : ''; } ?>

 

</div>

</div>

 

<form id="viewfolder" method="post" action="<?php echo (isset($this->_rootref['S_PM_ACTION'])) ? $this->_rootref['S_PM_ACTION'] : ''; ?>" </form>

 

Link to comment
https://forums.phpfreaks.com/topic/267019-getting-an-error/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.