From 98567268ffa9a093bd3c711962960b733740b2e9 Mon Sep 17 00:00:00 2001 From: Awais-cb Date: Fri, 12 May 2017 15:15:00 +0500 Subject: [PATCH] Modified:Added reply option in received message --- .../cb_28/layout/blocks/pm/messages.html | 106 +++++++++--------- 1 file changed, 54 insertions(+), 52 deletions(-) diff --git a/upload/styles/cb_28/layout/blocks/pm/messages.html b/upload/styles/cb_28/layout/blocks/pm/messages.html index c283ae62..adeaa9ea 100644 --- a/upload/styles/cb_28/layout/blocks/pm/messages.html +++ b/upload/styles/cb_28/layout/blocks/pm/messages.html @@ -5,57 +5,59 @@
- - - - {if $show_from} - - {/if} - {if $show_to} - - {/if} - - - - - {section name=msg loop=$user_msgs} - - - {if $show_from} - - {/if} - {if $show_to} - + {/if} + + + + + + {sectionelse} + {lang code='you_dont_hv_any_pm'} + {/section} +
- - {lang code='from'}{lang code='to'}{lang code='subject'}{lang code='date_sent'}{lang code='date_added'}
- - - {$user_msgs[msg].message_from_user} - - - {$to_id = $user_msgs[msg].message_to} - {$trimed_to = str_replace('#','', $to_id)} - - {ucfirst(get_username($trimed_to))} + + + + {if $show_from} + + {/if} + {if $show_to} + + {/if} + + + + + + {section name=msg loop=$user_msgs} + + + {if $show_from} + + {/if} + {if $show_to} + - {/if} - - - - - {sectionelse} - {lang code='you_dont_hv_any_pm'} - {/section} -
+ + {lang code='from'}{lang code='to'}{lang code='subject'}{lang code='date_sent'}{lang code='date_added'}{lang code='Reply'}
+ + + {$user_msgs[msg].message_from_user} + + + {$to_id = $user_msgs[msg].message_to} + {$trimed_to = str_replace('#','', $to_id)} + + {ucfirst(get_username($trimed_to))} - - - {$user_msgs[msg].message_subject|truncate:70} - - - - - {$user_msgs[msg].date_added}
- +
+
+ {$user_msgs[msg].message_subject|truncate:70} + + + + + {$user_msgs[msg].date_added}{lang code=' Reply '}
+
@@ -78,8 +80,8 @@
{lang code='To'} : - {$to_id = $pr_msg.message_to} - {$trimed_to = str_replace('#','', $to_id)} + {$to_id = $pr_msg.message_to} + {$trimed_to = str_replace('#','', $to_id)} {ucfirst(get_username($trimed_to))}