Description: Creates a dialog to en/disable a blog. The displaying state is written to the DB.
Parameter:
- blogVarName: Variable name of the blog to store in the DB.
- css: Name of the CSS class to color the dialog.
- blogName: Name of the blog als human readle heading.
- width: Width of the box containing the switch dialog.
- dialogCode: The HTML code of the dialog element is written to this variable.
Returns:
- : True if the blog should be shown otherwise false.
root
2015-09-06