pandamasta

Untitled

Dec 29th, 2013
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. class Controller_Editor extends Controller_Template
  2. {
  3. public $template = 'editor';
  4.  
  5. function before()
  6. {
  7. parent::before();
  8. $this->template->editor = '';
  9. }
  10. function after()
  11. {
  12.  
  13. parent::after();
  14. }
  15. public function action_index() {
  16.  
  17. $this->template->editor = Ckeditor::instance();
  18. }
  19. public function action_text() {
  20.  
  21. //$this->template->result = $_POST[ 'name' ];
  22. }
  23.  
  24.  
  25. }
  26.  
  27. -----------------------------
Advertisement
Add Comment
Please, Sign In to add comment