Procedural File: index.php
Source Location: /public_html/admin/plugins/links/index.php
Page Details:
Geeklog links administration page.
Tags:
Includes:
deleteLink [line 463]
string deleteLink(
string $lid, [string $type = ''])
|
|
Delete a link
Tags:
Parameters
| string |
$lid |
id of link to delete |
| string |
$type |
'submission' when attempting to delete a submission |
editlink [line 90]
string editlink(
string $mode, [string $lid = ''])
|
|
Shows the links editor
Tags:
Parameters
| string |
$mode |
Used to see if we are moderating a link or simply editing one |
| string |
$lid |
ID of link to edit |
listlinks [line 373]
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:
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 |
|
|