Ticket #1488 (closed defect: fixed)
tag_post.php : ça couine
Reported by: | brol | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 2.5.2 |
Component: | module:plugins | Version: | 2.5 |
Severity: | normal | Keywords: | |
Cc: |
Description
le retour du validateur...
\dotclear\plugins\tags\tag_posts.php à partir de la ligne 124, proposition de remplacer :
{ echo '<form action="'.$this_url.'" method="post">'. '<div class="fieldset"><h3>'.__('Actions for this tag').'</h3>'. '<p><label for="new_tag_id">'.__('Edit tag name:').'</label>'. form::field('new_tag_id',20,255,html::escapeHTML($tag)). '<input type="submit" value="'.__('Rename').'" />'. $core->formNonce(). '</form>'; # Remove tag if (!$posts->isEmpty() && $core->auth->check('contentadmin',$core->blog->id)) { echo '<form id="tag_delete" action="'.$this_url.'" method="post">'. '<p class="no-margin">'.__('Delete this tag:').'</p>'. '<input type="submit" class="delete" name="delete" value="'.__('Delete').'" />'. $core->formNonce(). '</form>'; } echo '</p></div>'; }
par :
{ echo '<div class="fieldset"><form action="'.$this_url.'" method="post">'. '<h3>'.__('Actions for this tag').'</h3>'. '<p><label for="new_tag_id">'.__('Edit tag name:').'</label>'. form::field('new_tag_id',20,255,html::escapeHTML($tag)). '<input type="submit" value="'.__('Rename').'" />'. $core->formNonce(). '</p></form>'; # Remove tag if (!$posts->isEmpty() && $core->auth->check('contentadmin',$core->blog->id)) { echo '<form id="tag_delete" action="'.$this_url.'" method="post">'. '<p class="no-margin">'.__('Delete this tag:').'<br />'. '<input type="submit" class="delete" name="delete" value="'.__('Delete').'" />'. $core->formNonce(). '</p></form>'; } echo '</div>'; }
Change History
comment:1 Changed 10 years ago by franck <carnet.franck.paul@…>
- Status changed from new to closed
- Resolution set to fixed
comment:2 Changed 10 years ago by Dsls
(In [ed3941c86c07]) * fixed missing translation in blog_del.php html title
- made "Edit entry "name" " more flexible
- tag_posts.php small fix vor validator (inputs set in <p>), see #1488
Note: See
TracTickets for help on using
tickets.
(In [f5d51e1a2833]) fixes #1488, </p> not in right place.