[ Index ]

PHP Cross Reference of Nucleus CMS 3.32

title

Body

[close]

/nucleus/libs/ -> ADMIN.php (summary)

The code for the Nucleus admin area

Copyright: Copyright (C) 2002-2007 The Nucleus Group
License: http://nucleuscms.org/license.txt GNU General Public License
Version: $Id: ADMIN.php 1189 2007-08-06 15:30:51Z kaigreve $
File Size: 6261 lines (195 kb)
Included or required: 3 times
Referenced: 1 time
Includes or requires: 2 files
 nucleus/libs/backup.php
 nucleus/libs/skinie.php

Defines 1 class

ADMIN:: (129 methods):
  ADMIN()
  action()
  action_showlogin()
  action_login()
  action_overview()
  bloglink()
  action_manage()
  action_itemlist()
  action_batchitem()
  action_batchcomment()
  action_batchmember()
  action_batchteam()
  action_batchcategory()
  batchMoveSelectDestination()
  batchMoveCategorySelectDestination()
  batchAskDeleteConfirmation()
  selectBlogCategory()
  selectBlog()
  action_browseownitems()
  action_itemcommentlist()
  action_browseowncomments()
  action_blogcommentlist()
  action_createitem()
  action_itemedit()
  action_itemupdate()
  action_itemdelete()
  action_itemdeleteconfirm()
  deleteOneItem()
  updateFuturePosted()
  action_itemmove()
  action_itemmoveto()
  moveOneItem()
  action_additem()
  action_sendping()
  action_rawping()
  action_commentedit()
  action_commentupdate()
  action_commentdelete()
  action_commentdeleteconfirm()
  deleteOneComment()
  action_usermanagement()
  action_memberedit()
  action_editmembersettings()
  action_changemembersettings()
  action_memberadd()
  action_activate()
  _showActivationPage()
  action_activatesetpwd()
  action_manageteam()
  action_teamaddmember()
  action_teamdelete()
  action_teamdeleteconfirm()
  deleteOneTeamMember()
  action_teamchangeadmin()
  action_blogsettings()
  action_categorynew()
  action_categoryedit()
  action_categoryupdate()
  action_categorydelete()
  action_categorydeleteconfirm()
  deleteOneCategory()
  moveOneCategory()
  action_blogsettingsupdate()
  action_deleteblog()
  action_deleteblogconfirm()
  action_memberdelete()
  action_memberdeleteconfirm()
  deleteOneMember()
  action_createnewlog()
  action_addnewlog()
  action_addnewlog2()
  action_skinieoverview()
  action_skinieimport()
  action_skiniedoimport()
  action_skinieexport()
  action_templateoverview()
  action_templateedit()
  _templateEditRow()
  action_templateupdate()
  addToTemplate()
  action_templatedelete()
  action_templatedeleteconfirm()
  action_templatenew()
  action_templateclone()
  action_skinoverview()
  action_skinnew()
  action_skinedit()
  action_skineditgeneral()
  action_skinedittype()
  action_skinupdate()
  action_skindelete()
  action_skindeleteconfirm()
  action_skinremovetype()
  action_skinremovetypeconfirm()
  action_skinclone()
  skinclonetype()
  action_settingsedit()
  action_settingsupdate()
  updateConfig()
  error()
  disallow()
  pagehead()
  pagefoot()
  action_regfile()
  action_bookmarklet()
  action_actionlog()
  action_banlist()
  action_banlistdelete()
  action_banlistdeleteconfirm()
  action_banlistnewfromitem()
  action_banlistnew()
  action_banlistadd()
  action_clearactionlog()
  action_backupoverview()
  action_backupcreate()
  action_backuprestore()
  action_pluginlist()
  action_pluginhelp()
  action_pluginadd()
  action_pluginupdate()
  action_plugindelete()
  action_plugindeleteconfirm()
  deleteOnePlugin()
  action_pluginup()
  action_plugindown()
  action_pluginoptions()
  action_pluginoptionsupdate()
  _insertPluginOptions()
  input_yesno()


Class: ADMIN  - X-Ref

Builds the admin area and executes admin actions

ADMIN()   X-Ref
Class constructor


action($action)   X-Ref
Executes an action

param: string $action action to be performed

action_showlogin()   X-Ref


action_login($msg = '', $passvars = 1)   X-Ref


action_overview($msg = '')   X-Ref
provides a screen with the overview of the actions available


bloglink(&$blog)   X-Ref
Returns a link to a weblog

param: object BLOG

action_manage($msg = '')   X-Ref


action_itemlist($blogid = '')   X-Ref


action_batchitem()   X-Ref


action_batchcomment()   X-Ref


action_batchmember()   X-Ref


action_batchteam()   X-Ref


action_batchcategory()   X-Ref


batchMoveSelectDestination($type, $ids)   X-Ref


batchMoveCategorySelectDestination($type, $ids)   X-Ref


batchAskDeleteConfirmation($type, $ids)   X-Ref


selectBlogCategory($name, $selected = 0, $tabindex = 0, $showNewCat = 0, $iForcedBlogInclude = -1)   X-Ref
Inserts a HTML select element with choices for all categories to which the current
member has access


selectBlog($name, $mode='blog', $selected = 0, $tabindex = 0, $showNewCat = 0, $iForcedBlogInclude = -1)   X-Ref
Inserts a HTML select element with choices for all blogs to which the user has access
mode = 'blog' => shows blognames and values are blogids
mode = 'category' => show category names and values are catids

param: $iForcedBlogInclude

action_browseownitems()   X-Ref


action_itemcommentlist($itemid = '')   X-Ref
Show all the comments for a given item

param: int $itemid

action_browseowncomments()   X-Ref
Browse own comments


action_blogcommentlist($blogid = '')   X-Ref
Browse all comments for a weblog

param: int $blogid

action_createitem()   X-Ref
Provide a page to item a new item to the given blog


action_itemedit()   X-Ref


action_itemupdate()   X-Ref


action_itemdelete()   X-Ref


action_itemdeleteconfirm()   X-Ref


deleteOneItem($itemid)   X-Ref
Deletes one item and returns error if something goes wrong

param: int $itemid

updateFuturePosted($blogid)   X-Ref
Update a blog's future posted flag

param: int $blogid

action_itemmove()   X-Ref


action_itemmoveto()   X-Ref


moveOneItem($itemid, $destCatid)   X-Ref
Moves one item to a given category (category existance should be checked by caller)
errors are returned

param: int $itemid
param: int $destCatid category ID to which the item will be moved

action_additem()   X-Ref
Adds a item to the chosen blog


action_sendping($blogid = -1)   X-Ref
Shows a window that says we're about to ping.
immediately refresh to the real pinging page, which will
show an error, or redirect to the blog.

param: int $blogid ID of blog for which ping needs to be sent out

action_rawping()   X-Ref
Sends the real ping (can take up to 10 seconds!)


action_commentedit()   X-Ref
Allows to edit previously made comments


action_commentupdate()   X-Ref


action_commentdelete()   X-Ref


action_commentdeleteconfirm()   X-Ref


deleteOneComment($commentid)   X-Ref


action_usermanagement()   X-Ref
Usermanagement main


action_memberedit()   X-Ref
Edit member settings


action_editmembersettings($memberid = '')   X-Ref


action_changemembersettings()   X-Ref


action_memberadd()   X-Ref


action_activate()   X-Ref
Account activation

author: dekarma

_showActivationPage($key, $message = '')   X-Ref


action_activatesetpwd()   X-Ref
Account activation - set password part

author: dekarma

action_manageteam()   X-Ref
Manage team


action_teamaddmember()   X-Ref
Add member to team


action_teamdelete()   X-Ref


action_teamdeleteconfirm()   X-Ref


deleteOneTeamMember($blogid, $memberid)   X-Ref


action_teamchangeadmin()   X-Ref


action_blogsettings()   X-Ref


action_categorynew()   X-Ref


action_categoryedit($catid = '', $blogid = '', $desturl = '')   X-Ref


action_categoryupdate()   X-Ref


action_categorydelete()   X-Ref


action_categorydeleteconfirm()   X-Ref


deleteOneCategory($catid)   X-Ref


moveOneCategory($catid, $destblogid)   X-Ref


action_blogsettingsupdate()   X-Ref


action_deleteblog()   X-Ref


action_deleteblogconfirm()   X-Ref


action_memberdelete()   X-Ref


action_memberdeleteconfirm()   X-Ref


deleteOneMember($memberid)   X-Ref


action_createnewlog()   X-Ref


action_addnewlog()   X-Ref


action_addnewlog2()   X-Ref


action_skinieoverview()   X-Ref


action_skinieimport()   X-Ref


action_skiniedoimport()   X-Ref


action_skinieexport()   X-Ref


action_templateoverview()   X-Ref


action_templateedit($msg = '')   X-Ref


_templateEditRow(&$template, $description, $name, $help = '', $tabindex = 0, $big = 0)   X-Ref


action_templateupdate()   X-Ref


addToTemplate($id, $partname, $content)   X-Ref


action_templatedelete()   X-Ref


action_templatedeleteconfirm()   X-Ref


action_templatenew()   X-Ref


action_templateclone()   X-Ref


action_skinoverview()   X-Ref


action_skinnew()   X-Ref


action_skinedit()   X-Ref


action_skineditgeneral()   X-Ref


action_skinedittype($msg = '')   X-Ref


action_skinupdate()   X-Ref


action_skindelete()   X-Ref


action_skindeleteconfirm()   X-Ref


action_skinremovetype()   X-Ref


action_skinremovetypeconfirm()   X-Ref


action_skinclone()   X-Ref


skinclonetype($skin, $newid, $type)   X-Ref


action_settingsedit()   X-Ref


action_settingsupdate()   X-Ref


updateConfig($name, $val)   X-Ref


error($msg)   X-Ref
Error message

param: string $msg message that will be shown

disallow()   X-Ref


pagehead($extrahead = '')   X-Ref


pagefoot()   X-Ref


action_regfile()   X-Ref


action_bookmarklet()   X-Ref


action_actionlog()   X-Ref


action_banlist()   X-Ref


action_banlistdelete()   X-Ref


action_banlistdeleteconfirm()   X-Ref


action_banlistnewfromitem()   X-Ref


action_banlistnew($blogid = '')   X-Ref


action_banlistadd()   X-Ref


action_clearactionlog()   X-Ref


action_backupoverview()   X-Ref


action_backupcreate()   X-Ref


action_backuprestore()   X-Ref


action_pluginlist()   X-Ref


action_pluginhelp()   X-Ref


action_pluginadd()   X-Ref


action_pluginupdate()   X-Ref


action_plugindelete()   X-Ref


action_plugindeleteconfirm()   X-Ref


deleteOnePlugin($pid, $callUninstall = 0)   X-Ref


action_pluginup()   X-Ref


action_plugindown()   X-Ref


action_pluginoptions($message = '')   X-Ref


action_pluginoptionsupdate()   X-Ref


_insertPluginOptions($context, $contextid = 0)   X-Ref


input_yesno($name, $checkedval,$tabindex = 0, $value1 = 1, $value2 = 0, $yesval = _YES, $noval = _NO, $isAdmin = 0)   X-Ref
Helper functions to create option forms etc.




Generated: Tue Feb 12 15:34:36 2008 Cross-referenced by PHPXref 0.7