Stud.IP  4.1 Revision
index.php File Reference

Functions

if(isset($error))($error, $error_detail) ?><? endif ?><? if(isset($flash['error']))($flash['error'], $flash['error_detail']) ?><? elseif(isset($flash['message']))($flash['message']) ?><? elseif($num_updates)($this->render_partial('admin/plugin/update_info')) ?><? endif ?><? if($delete_plugin)('shared/question', [ 'question'=> sprintf(_('Wollen Sie wirklich "%s" deinstallieren?'), $delete_plugin['name']), 'approvalLink'=> $controller->url_for( 'admin/plugin/delete/' . $delete_plugin['id'], ['studip_ticket'=> get_ticket()]), 'disapprovalLink'=> $controller->url_for('admin/plugin')]) ?><? endif ?><? if(count($plugins) count($plugins) count(array_filter( $plugins,( $p) { return $p[ 'enabled'];})) count(array_filter($plugins,($p) { return ! $p['enabled'];}))) ?></div ><?foreach ($plugins as $plugin) ($plugin['enabled']) echo 'checked'
 

Variables

if(isset( $error))( $error, $error_detail) ?><? endif ?><? if(isset( $flash[ 'error']))( $flash[ 'error'], $flash[ 'error_detail']) ?><? elseif(isset( $flash[ 'message']))( $flash[ 'message']) ?><? elseif( $num_updates)( $this->render_partial( 'admin/plugin/update_info')) ?><? endif ?><? if( $delete_plugin)( 'shared/question',['question'=> sprintf(_( 'Wollen Sie wirklich "%s" deinstallieren?'), $delete_plugin[ 'name']), 'approvalLink'=> $controller->url_for('admin/plugin/delete/' . $delete_plugin[ 'id'],[ 'studip_ticket'=> get_ticket()]), 'disapprovalLink'=> $controller->url_for( 'admin/plugin')]) ?><? endif ?><? if(count( $plugins) else
 

Function Documentation

◆ ($plugins as $plugin)()

if(isset( $error))( $error, $error_detail) ?><? endif ?><? if(isset( $flash[ 'error']))( $flash[ 'error'], $flash[ 'error_detail']) ?><? elseif(isset( $flash[ 'message']))( $flash[ 'message']) ?><? elseif( $num_updates)( $this->render_partial( 'admin/plugin/update_info')) ?><? endif ?><? if( $delete_plugin)( 'shared/question',['question'=> sprintf(_( 'Wollen Sie wirklich "%s" deinstallieren?'), $delete_plugin[ 'name']), 'approvalLink'=> $controller->url_for('admin/plugin/delete/' . $delete_plugin[ 'id'],[ 'studip_ticket'=> get_ticket()]), 'disapprovalLink'=> $controller->url_for( 'admin/plugin')]) ?><? endif ?><? if(count( $plugins) count( $plugins) count(array_filter($plugins, ($p) { return $p['enabled'];})) count(array_filter( $plugins, ( $p) { return ! $p[ 'enabled'];}))) ?></div ><?foreach ( $plugins as $plugin) (   $plugin[ 'enabled'])

Variable Documentation

◆ else

if(isset($error))($error, $error_detail) ?> <? endif ?> <? if (isset($flash['error']))($flash['error'], $flash['error_detail']) ?> <? elseif (isset($flash['message']))($flash['message']) ?> <? elseif ($num_updates) ($this->render_partial('admin/plugin/update_info')) ?> <? endif ?> <? if ($delete_plugin) ('shared/question', [ 'question' => sprintf(_('Wollen Sie wirklich "%s" deinstallieren?'), $delete_plugin['name']), 'approvalLink' => $controller->url_for( 'admin/plugin/delete/' . $delete_plugin['id'], ['studip_ticket' => get_ticket()] ), 'disapprovalLink' => $controller->url_for('admin/plugin') ]) ?> <? endif ?> <? if (count($plugins) else
Initial value:
= MessageBox::info(_('Es sind noch keine Plugins in diesem Stud.IP vorhanden.'), [
_('Sie können Plugins aus dem Marktplatz installieren oder manuell hochladen.'),
sprintf(
_('Benutzen Sie dafür die Funktion "%sweitere Plugins installieren%s" in der Info-Box.'),
'<a href="' . $controller->url_for('admin/plugin/search') . '">',
'</a>'
)
])
static info($message, $details=array(), $close_details=false)
Definition: MessageBox.class.php:92