Umfragen
action.widget.php File Reference

executes some actions on widgets More...

Go to the source code of this file.

Variables

 $db = new db( DB_USER, DB_PASS, DB_DATABASE, DB_HOST )
 $config = new config($db)
 $messages = new messageHandler()
 $edit = ""
 $noWidgetID = false
if((intval($_SESSION["user"]->
ID)!==intval($poll->owner))
AND(!in_array("{$_SESSION["user"]->
ID}", explode(",", SUPER_ADMIN))))
if(isset($_GET["action"]))
else if((isset($_POST["add_widget"]))
AND($_POST["add_widget"]!="")) 
$navbar = array( 0 => array("name"=>"Backend","href"=>"index.php","onclick"=>"") )
 $navbar [] = array( "name"=>"Umfrage {$poll->ID} Bearbeiten" , "href"=>"edit.php?pollID={$poll->ID}" , "onclick"=>"")

Detailed Description

executes some actions on widgets

parameters GET

  • pollID
  • widgetID
  • optionID
  • action

valid actions

mvup, mvdown, rmwid, export_XML_widget , import_XML_widget,

redirects

Definition in file action.widget.php.

Variable Documentation

$config = new config($db)

Definition at line 57 of file action.widget.php.

$db = new db( DB_USER, DB_PASS, DB_DATABASE, DB_HOST )

Definition at line 56 of file action.widget.php.

$edit = ""

Definition at line 61 of file action.widget.php.

$messages = new messageHandler()

Definition at line 60 of file action.widget.php.

if ((intval($_SESSION["user"]->ID)!==intval($poll->owner)) AND(!in_array("{$_SESSION["user"]->ID}", explode(",", SUPER_ADMIN)))) if (isset($_GET["action"])) else if ((isset($_POST["add_widget"])) AND($_POST["add_widget"]!="")) $navbar = array( 0 => array("name"=>"Backend","href"=>"index.php","onclick"=>"") )

Definition at line 270 of file action.widget.php.

$navbar[] = array( "name"=>"Umfrage {$poll->ID} Bearbeiten" , "href"=>"edit.php?pollID={$poll->ID}" , "onclick"=>"")

Definition at line 271 of file action.widget.php.

$noWidgetID = false

Definition at line 69 of file action.widget.php.