Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r18257: LJINT-385

Committer: ailyin
LJINT-385
U   trunk/cgi-bin/LJ/Talk.pm
U   trunk/htdocs/gadgets/logcom.bml
U   trunk/templates/CommentForm/FormEmbedable.tmpl
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-02-10 08:49:12 UTC (rev 18256)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-02-10 08:50:56 UTC (rev 18257)
@@ -1972,6 +1972,7 @@
         'logout_url'            => $opts->{'logout_url'},
         'js_check_domain'       => $opts->{'js_check_domain'},
         'partner_domain'        => $opts->{'partner_domain'},
+        'partner_remote_ljuser' => $opts->{'partner_remote_ljuser'},
     );
 
     return $template->output;

Modified: trunk/htdocs/gadgets/logcom.bml
===================================================================
--- trunk/htdocs/gadgets/logcom.bml	2011-02-10 08:49:12 UTC (rev 18256)
+++ trunk/htdocs/gadgets/logcom.bml	2011-02-10 08:50:56 UTC (rev 18257)
@@ -63,12 +63,15 @@
                          'returnto=' . LJ::eurl($thispage) . '&' .
                          'sessid=' . $remote_sessid;
 
+        my $ljuser_html = $partner->ljuser_html($remote);
+
         return
             LJ::Talk::talkform({
                 'embedable_form'    => 1,
                 'logout_url'        => $logout_url,
                 'js_check_domain'   => $js_check_domain,
                 'partner_domain'    => $domain,
+                'partner_remote_ljuser' => $ljuser_html,
 
                 'remote'            => $remote,
                 'journalu'          => $journal,

Modified: trunk/templates/CommentForm/FormEmbedable.tmpl
===================================================================
--- trunk/templates/CommentForm/FormEmbedable.tmpl	2011-02-10 08:49:12 UTC (rev 18256)
+++ trunk/templates/CommentForm/FormEmbedable.tmpl	2011-02-10 08:50:56 UTC (rev 18257)
@@ -22,7 +22,7 @@
             <input type="hidden" name="partner_domain" value="<TMPL_VAR expr="ehtml(partner_domain)">" >
 			<fieldset>
 				<p class="lj3-identity">
-					От <strong><a href="javascript:void(0);"><TMPL_VAR remote_display_name></a></strong>
+					От <TMPL_VAR partner_remote_ljuser>
 					<span class="lj3-logout">(<a href="<TMPL_VAR logout_url>">Выйти</a>)</span>
 				</p>
 				<p class="lj3-input-wrapper">

Tags: andy, bml, livejournal, pm, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments