Stud.IP  2.5 Revision
admin_news.php File Reference

Functions

if($view_mode !='user') callback_cmp_newsarray ($a, $b)
 

Variables

 $Seminar_Session = Request::option('Seminar_Session')
 
 $news_range_id = Request::option('news_range_id')
 
 $news_range_name = Request::quoted('news_range_name')
 
 $cmd = Request::option('cmd')
 
 $edit_news = Request::quoted('edit_news')
 
 $view_mode = Request::quoted('view_mode')
 
 $title = Request::quoted('title')
 
 $view = Request::option('view')
 
 $search = Request::quoted('search')
 
 $list = Request::option('list')
 
if($list|| $view||($news_range_id !=$user->id &&$news_range_id !='studip') && $view_mode !='user' &&!(isDeputyEditAboutActivated() &&isDeputy($auth->auth["uid"], $news_range_id, true))) else
 
 $news = new AdminNewsController()
 
if($perm->have_perm("admin")) if($cmd=='news_edit') $topic = Request::quoted('topic')
 
 $body = Request::quoted('body')
 
if($cmd=="news_submit") if($cmd=="new_entry" &&Request::submitted('change_rss') &&get_config('NEWS_RSS_EXPORT_ENABLE') && $news->get_news_range_perm($news_range_id) > 1) if($news->msg) $news msg =""
 
if($cmd=="new_entry") if (! $cmd OR $cmd=="show")
 

Function Documentation

◆ callback_cmp_newsarray()

if ( $view_mode !='user') callback_cmp_newsarray (   $a,
  $b 
)
Here is the call graph for this function:

Variable Documentation

◆ $body

$body = Request::quoted('body')

◆ $cmd

$cmd = Request::option('cmd')

◆ $edit_news

$edit_news = Request::quoted('edit_news')

◆ $list

$list = Request::option('list')

◆ $news

◆ $news_range_id

$news_range_id = Request::option('news_range_id')

◆ $news_range_name

$news_range_name = Request::quoted('news_range_name')

◆ $search

$search = Request::quoted('search')

◆ $Seminar_Session

$Seminar_Session = Request::option('Seminar_Session')

◆ $title

$title = Request::quoted('title')

◆ $topic

if ( $perm->have_perm("admin")) if ( $cmd=='news_edit') $topic = Request::quoted('topic')

◆ $view

◆ $view_mode

$view_mode = Request::quoted('view_mode')

◆ else

if ( $list||$view||( $news_range_id !=$user->id && $news_range_id !='studip') &&$view_mode !='user' &&!(isDeputyEditAboutActivated() && isDeputy( $auth->auth["uid"], $news_range_id, true))) else
Initial value:
{
Navigation::activateItem('/tools/news')
static activateItem($path)
Definition: Navigation.php:57

◆ if

if ( $cmd=="new_entry") if(! $cmd OR $cmd=="show")

◆ msg

if ( $cmd=="edit") if ( $cmd=="kill") if ( $news->msg) $news msg =""