Changeset 8078 for lang/perl/plagger/lib/Plagger
- Timestamp:
- 03/18/08 18:22:58 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/plagger/lib/Plagger/Plugin/Publish/NiftyClip.pm
r559 r8078 32 32 33 33 my @tags = @{$args->{entry}->tags}; 34 my $tag_string = @tags ? join(' ', @tags) : ''; 34 35 35 36 my $summary; … … 41 42 if ($res && $res->is_success) { 42 43 eval { 43 for (my $num = 0; $num < @tags; $num++) {44 if ($num == 0) {45 $self->{mech}->form_name('savingForm')->find_input(46 'tagname')->value($tags[0]);47 } else {48 $self->{mech}->form_name('savingForm')->push_input(49 'text', {50 name => 'tagname',51 value => $tags[$num],52 });53 }54 }55 44 $self->{mech}->submit_form( 56 45 form_name => 'savingForm', … … 59 48 url => encode('utf-8', $args->{entry}->link), 60 49 comment => $summary, 50 suggesttags => $tag_string, 61 51 public_flag => ($self->conf->{default_public} ? 'on' : 'off'), 62 52 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)