Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3c058d7f

Von Sven Schöling vor etwa 12 Jahren hinzugefügt

  • ID 3c058d7f8bd76f7e0ec7442afc59ce4617b32b55
  • Vorgänger f7467a94
  • Nachfolger 0c016be5

Whitespace entfernt und Identifier minifiziert um response zu verkleinern

Unterschiede anzeigen:

bin/mozilla/menu.pl
129 129
    my $anchor = $menuitem->{href};
130 130

  
131 131
    my %common_args = (
132
        label   => $label,
133
        spacer  => $spacer,
134
        target  => $menuitem->{target},
135
        item_id => "$id_prefix\_$id",
132
        l   => $label,
133
        s  => $spacer,
134
        t  => $menuitem->{target},
135
        id => "$id_prefix\_$id",
136 136
        height  => 16,
137 137
    );
138 138

  
139 139
    if (!$level) { # toplevel
140 140
      push @items, { %common_args,
141
        img      => "icon24 $icon_class",   #  make_image(size => 24, label => $item),
142
        height   => 24,
143
        class    => 'm',
141
        i      => "icon24 $icon_class",   #  make_image(size => 24, label => $item),
142
        c    => 'm',
144 143
      };
145 144
      push @items, section_menu($menu, $item, "$id_prefix\_$id");
146 145
    } elsif ($menuitem->{submenu}) {
147 146
      push @items, { %common_args,
148
        img      => "icon16 submenu",   #make_image(label => 'submenu'),
149
        class    => 'sm',
147
        i      => "icon16 submenu",   #make_image(label => 'submenu'),
148
        c    => 'sm',
150 149
      };
151 150
      push @items, section_menu($menu, $item, "$id_prefix\_$id");
152 151
    } elsif ($menuitem->{module}) {
153 152
      push @items, { %common_args,
154
        img     => "icon16 $icon_class",  #make_image(size => 16, label => $item),
155
        href    => $anchor,
156
        class   => 'i',
153
        i     => "icon16 $icon_class",  #make_image(size => 16, label => $item),
154
        h    => $anchor,
155
        c   => 'i',
157 156
      };
158 157
    }
159 158
  } continue {

Auch abrufbar als: Unified diff