Dotclear


Ignore:
Timestamp:
11/17/12 16:15:50 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Some minors enhancements, addresses #1171

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/categories.php

    r1015 r1016  
    3535                    throw new Exception(__('This category does not exist.')); 
    3636               } 
     37               if ($mov_cat == $_POST['del_cat']) { 
     38                    throw new Exception(__('The entries cannot be moved to the category you choose to delete.')); 
     39               } 
    3740               unset($c); 
    3841          } 
     
    185188     '<p><label for="del_cat">'.__('Choose a category to remove:').' '. 
    186189     form::combo('del_cat',$cats).'</label></p> '. 
    187      '<p><label for="mov_cat">'.__('Move its content to another category:').' '. 
     190     '<p><label for="mov_cat">'.__('And choose the category which receive its entries:').' '. 
    188191     form::combo('mov_cat',$dest).'</label></p> '. 
    189192     '<p><input type="submit" value="'.__('Delete').'" class="delete" /></p>'. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map