журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[livejournal] r22218: LJSUP-12506: Notice user about installed...

Committer: nnikulochkina
LJSUP-12506: Notice user about installed applications after changing password
U   trunk/htdocs/changepassword.bml
U   trunk/htdocs/changepassword.bml.text
Modified: trunk/htdocs/changepassword.bml
===================================================================
--- trunk/htdocs/changepassword.bml	2012-06-09 08:36:51 UTC (rev 22217)
+++ trunk/htdocs/changepassword.bml	2012-06-09 09:05:22 UTC (rev 22218)
@@ -218,7 +218,7 @@
      if ($count = LJ::UserApps->user_apps_count($u)){
          $body .= "<?p " 
              . BML::ml('.installed_apps', {'count' => $count})
-             . ($remote ? BML::ml('.uninstall_apps') : '')
+             . ($remote ? BML::ml('.uninstall_apps', {href => "/login.bml?ret=http://".$LJ::DOMAIN_WEB."/manage/settings/?cat=userapps"}) : '')
              . " p?>";
      }
      

Modified: trunk/htdocs/changepassword.bml.text
===================================================================
--- trunk/htdocs/changepassword.bml.text	2012-06-09 08:36:51 UTC (rev 22217)
+++ trunk/htdocs/changepassword.bml.text	2012-06-09 09:05:22 UTC (rev 22218)
@@ -66,7 +66,7 @@
 
 .proceed.instructions=Press the button below and your password will be changed. You will receive an email as well, noting the password change.
 
-.uninstall_apps= Would you like to <a href=/manage/settings/?cat=userapps>uninstall applications</a>?
+.uninstall_apps= Would you like to <a href="[[href]]">uninstall applications</a>?
 
 .relogin=In addition, you have been logged out from all your existing sessions. You should <a [[aopts]]>log in again</a> before continuing.
 

Tags: bml, livejournal, nikulochkina, nnikulochkina, text
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