YaWK  24.1
Yet another WebKit
blog-togglegroup.php File Reference

Go to the source code of this file.

Variables

if(!isset($language)||(!isset($lang))) $item = new \YAWK\PLUGINS\BLOG\blog()
 
switch($item->gid$progress = "success"
 
$item blogid = $_GET['blogid']
 
if($item->toggleRole($db, $item->gid, $item->id)) else
 
if(!isset($db)) $item gid = $_GET['itemgid']
 
$item id = $_GET['itemid']
 

Variable Documentation

◆ $item

◆ $progress

switch ( $item->gid) $progress = "success"

Definition at line 44 of file blog-togglegroup.php.

◆ blogid

$item blogid = $_GET['blogid']

Definition at line 17 of file blog-togglegroup.php.

◆ else

if ( $item->toggleRole( $db, $item->gid, $item->id)) else
Initial value:
{
print \YAWK\alert::draw("danger", "$lang[ERROR]", "$lang[GROUPS] $lang[TOGGLE_FAILED]","plugin=blog&pluginpage=blog-entries&blogid=" . $item->blogid . "","3800")
if(!isset($language)||(!isset($lang))) $item

Definition at line 51 of file blog-togglegroup.php.

◆ gid

if (!isset( $db)) $item gid = $_GET['itemgid']

Definition at line 16 of file blog-togglegroup.php.

◆ id

$item id = $_GET['itemid']

Definition at line 18 of file blog-togglegroup.php.