Dotclear


Ignore:
Timestamp:
11/09/11 14:46:29 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Message:

Made tags plugin a bit more independent...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/tags/_admin.php

    r738 r753  
    172172               try 
    173173               { 
     174 
    174175                    $meta =& $GLOBALS['core']->meta; 
    175176                    $tags = $meta->splitMetaValues($_POST['new_tags']); 
     
    222223     } 
    223224      
    224      public static function adminPostsActionsContent($core,$action,$hidden_fields) 
     225     public static function adminPostsActionsContent($core,$action,$hidden_fields,$form_uri="posts_actions.php") 
    225226     { 
    226227          if ($action == 'tags') 
     
    228229               echo 
    229230               '<h2 class="page-title">'.__('Add tags to entries').'</h2>'. 
    230                '<form action="posts_actions.php" method="post">'. 
     231               '<form action="'.$form_uri.'" method="post">'. 
    231232               '<div><label for="new_tags" class="area">'.__('Tags to add:').'</label> '. 
    232233               form::textarea('new_tags',60,3). 
     
    267268                
    268269               echo 
    269                '<form action="posts_actions.php" method="post">'. 
     270               '<form action="'.$form_uri.'" method="post">'. 
    270271               '<fieldset><legend>'.__('Following tags have been found in selected entries:').'</legend>'; 
    271272                
Note: See TracChangeset for help on using the changeset viewer.

Sites map