Первый фоллен на хелле (wildkin) wrote in changelog,
Первый фоллен на хелле
wildkin
changelog

[livejournal] r19231: LJSUP-8685: Ability to add to friends pa...

Committer: dnikolaev
LJSUP-8685: Ability to add to friends page content by Tag

U   trunk/htdocs/friends/add.bml
Modified: trunk/htdocs/friends/add.bml
===================================================================
--- trunk/htdocs/friends/add.bml	2011-06-06 07:03:31 UTC (rev 19230)
+++ trunk/htdocs/friends/add.bml	2011-06-06 07:06:03 UTC (rev 19231)
@@ -331,7 +331,7 @@
      $body .= '<p><input type="text" class="b-addfriend-input" id="searchTag" autocomplete="off" placeholder="' . $ML{'.tags.input.tag'} . '" /> <input id="selectTag" type="button" value="' . $ML{'.tags.button.select'} . '" /></p>';
      $body .= '<input type="hidden" id="selectedTags" name="friend_tags">';
      $body .= '<p class="i-bubble b-bubble-alert b-bubble-noarrow">' . $ML{'.tags.find.tags'} . '</p>';
-     $body .= '<ul class="b-pending-users b-addfriend-alltags">';
+     $body .= '<ul class="b-pending-users b-addfriend-alltags" id="allTags">';
 
      {
          my @tags = sort grep { !$friend_tags_map->{$_} } keys %$user_tags_map;
@@ -347,16 +347,7 @@
      $body .= '</div>';
 
      $body .= '<script id="tagTmpl" type="text/x-jquery-tmpl">
-           <li>
-           <span class="ljappippu_pers">
-                   <a href="#">${tagName}</a>
-                   (-)
-                   {{if hasCloseButton }}
-                   <i title="' . $ML{'.tags.cross.tooltip'} . '" class="i-pending-close" ></i>
-                   {{/if}}
-           </span>
-           <b class="i-pending-users-comma">,</b>
-           </li>
+           <li><span><a href="#" target="_blank">${tagName}</a> (-){{if hasCloseButton }}<i title="' . $ML{'.tags.cross.tooltip'} . '" class="i-pending-close" ></i>{{/if}}</span><b>,</b></li>
     </script>';
  }
  

Tags: bml, livejournal, wildkin
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