tribulant

Untitled

Aug 10th, 2012
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     function screen_settings($current, $screen) {          
  2.         if (!empty($_GET['page']) && $_GET['page'] == "newsletters-subscribers") {
  3.                 global $Db, $Field;
  4.                 $Db -> model = $Field -> model;
  5.                 $conditions['1'] = "1 AND `slug` != 'email'";
  6.                 $fields = $Db -> find_all($conditions, false, array('title', "ASC"));
  7.            
  8.                 $current .= $this -> render('subscribers' . DS . 'screen-options', array('fields' => $fields), false, 'admin');
  9.         }
  10.         return $current;
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment