Dotclear


Ignore:
Timestamp:
09/24/13 09:37:38 (12 years ago)
Author:
Dsls
Branch:
default
Message:
  • Restored previous available pages actions
  • strenghened code in actions (especially if no selection in secondary action page)
  • isolated pages plugin classes, more readable now
  • Made terms more generic in tags behaviors ("selection" instead of "entries")
File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/actions/class.dcaction.php

    r2048 r2055  
    4444     protected $cb_title; 
    4545      
     46     /** @var string title for caller page title */ 
     47     protected $caller_title; 
     48      
    4649    /** 
    4750     * Class constructor 
     
    6669          $this->from = new ArrayObject($_POST); 
    6770          $this->field_entries = 'entries'; 
     71          $this->caller_title = __('Entries'); 
    6872     } 
    6973      
     
    194198     } 
    195199 
     200 
    196201     /** 
    197202     * getRedirection - returns redirection URL 
     
    237242     } 
    238243 
     244     /** 
     245     * getCallerTitle - returns current form URI, if any 
     246     * 
     247     * @access public 
     248      * 
     249     * @return string the form URI 
     250     */ 
     251     public function getCallerTitle() { 
     252          return $this->caller_title; 
     253     } 
     254      
    239255     /** 
    240256     * getAction - returns current action, if any 
     
    275291               } catch (Exception $e) { 
    276292                    $this->error($e); 
     293                    return true; 
    277294               } 
    278295          } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map