Links
[ class tree: Links ] [ index: Links ] [ all elements ]

Procedural File: index.php

Source Location: /public_html/admin/plugins/links/index.php



Page Details:

Geeklog links administration page.



Tags:

author:  Trinity Bays <trinity93@gmail.com>
author:  Dirk Haun <dirk@haun-online.de>
author:  Tony Bibbs <tony@tonybibbs.com>
author:  Tom Willett <twillett@users.sourceforge.net>
author:  Blaine Lang <langmail@sympatico.ca>
version:  2.0
copyright:  Copyright &copy; 2005-2007
since:  GL 1.4.0
license:  GNU General Public License v2
filesource:  Source Code for this file


Includes:

require_once('../../auth.inc.php') [line 56]
require_once('../../../lib-common.php') [line 55]
Geeklog common function library and Admin authentication







deleteLink [line 463]

string deleteLink( string $lid, [string $type = ''])

Delete a link



Tags:

return:  HTML redirect


Parameters

string   $lid   id of link to delete
string   $type   'submission' when attempting to delete a submission
[ Top ]



editlink [line 90]

string editlink( string $mode, [string $lid = ''])

Shows the links editor



Tags:

return:  HTML for the link editor form
global:  array $_CONF: core config vars
global:  array $_GROUPS: core group data
global:  array $_TABLES: core table data
global:  array $_USER: core user data
global:  array $_LI_CONF: links plugin config vars
global:  array $LANG_LINKS_ADMIN: links plugin lang vars
global:  array $LANG_ACCESS: core lang access vars


Parameters

string   $mode   Used to see if we are moderating a link or simply editing one
string   $lid   ID of link to edit
[ Top ]



listlinks [line 373]

void listlinks( )

List links



Tags:

global:  array $_CONF: core config vars
global:  array $_TABLES: core table data
global:  array $LANG_ADMIN: core user data
global:  array $LANG_LINKS_ADMIN: core lang admin vars
global:  array $LANG_ACCESS: links plugin lang vars
global:  array $_IMAGE_TYPE: core lang access vars


[ Top ]



savelink [line 247]

string savelink( string $lid, string $old_lid, string $cid, string $categorydd, string $url, string $description, string $title, int $hits, int $owner_id, int $group_id, int $perm_owner, int $perm_group, int $perm_members, int $perm_anon)

Saves link to the database



Tags:

return:  HTML redirect or error message
global:  array $_CONF: core config vars
global:  array $_GROUPS: core group data
global:  array $_TABLES: core table data
global:  array $_USER: core user data
global:  array $MESSAGE: core msg data
global:  array $LANG_LINKS_ADMIN: links plugin lang admin vars


Parameters

string   $lid   ID for link
string   $old_lid   old ID for link
string   $cid   cid of category link belongs to
string   $categorydd   Category links belong to
string   $url   URL of link to save
string   $description   Description of link
string   $title   Title of link
int   $hits   Number of hits for link
int   $owner_id   ID of owner
int   $group_id   ID of group link belongs to
int   $perm_owner   Permissions the owner has
int   $perm_group   Permissions the group has
int   $perm_members   Permissions members have
int   $perm_anon   Permissions anonymous users have
[ Top ]



Documentation generated on Sat, 11 Feb 2012 02:07:55 -0500 by phpDocumentor 1.4.3