Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r23442: LJSUP-14303: Create HTML-layout for Shop...

Committer: esavintcev
LJSUP-14303: Create HTML-layout for Shop pages
U   trunk/cgi-bin/weblib.pl
Modified: trunk/cgi-bin/weblib.pl
===================================================================
--- trunk/cgi-bin/weblib.pl	2012-12-07 13:26:24 UTC (rev 23441)
+++ trunk/cgi-bin/weblib.pl	2012-12-07 13:51:55 UTC (rev 23442)
@@ -191,9 +191,11 @@
         my $label = $BML::ML{'web.authas.label'};
         $label = $BML::ML{'web.authas.label.comm'} if ($opts->{'type'} eq "C");
         $ret = ($opts->{'label'} || $label) . " ";
+        my %select_id = $opts->{'id'} ? ( id => $opts->{'id'} ) : ();
         $ret .= LJ::html_select({ 'name' => 'authas',
                                  'selected' => $opts->{'authas'} || $u->{'user'},
                                  'class' => 'hideable',
+                                 %select_id,
                                  },
                                  ## We loaded all users in LJ::get_authas_list(). Here we use their singletons.
                                  (map { my $u = LJ::load_user ($_); ($_, $u->display_name) } @list), @{$opts->{'add_fields'}} ) . " ";

Tags: esavintcev, livejournal, pl, savintsev_egor
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