[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/public_html/admin/plugins/links/ -> index.php (sommaire)

Geeklog links administration page.

Author: Trinity Bays <trinity93@steubentech.com>
Author: Tony Bibbs <tony@tonybibbs.com>
Author: Tom Willett <twillett@users.sourceforge.net>
Author: Blaine Lang <langmail@sympatico.ca>
Author: Dirk Haun <dirk@haun-online.de>
Copyright: Copyright © 2005-2006
License: http://opensource.org/licenses/gpl-license.php GNU Public License
Version: 1.0
Poids: 435 lignes (20 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 public_html/admin/auth.inc.php
 public_html/lib-common.php

Définit 4 fonctions

  editlink()
  savelink()
  listlinks()
  deleteLink()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

editlink($mode, $lid = '')   X-Ref
Shows the links editor

param: string  $mode   Used to see if we are moderating a link or simply editing one
param: string  $lid    ID of link to edit
return: string HTML for the link editor form

savelink($lid, $old_lid, $category, $categorydd, $url, $description, $title, $hits, $owner_id, $group_id, $perm_owner, $perm_group, $perm_members, $perm_anon)   X-Ref
Saves link to the database

param: string  $lid            ID for link
param: string  $old_lid        old ID for link
param: string  $category       Category link belongs to
param: string  $categorydd     Category links belong to
param: string  $url            URL of link to save
param: string  $description    Description of link
param: string  $title          Title of link
param: int     $hits           Number of hits for link
param: int     $owner_id       ID of owner
param: int     $group_id       ID of group link belongs to
param: int     $perm_owner     Permissions the owner has
param: int     $perm_group     Permissions the group has
param: int     $perm_members   Permissions members have
param: int     $perm_anon      Permissions anonymous users have
return: string                  HTML redirect or error message

listlinks()   X-Ref
List links


deleteLink($lid)   X-Ref
Delete a link

param: string  $lid    id of link to delete
return: string          HTML redirect



Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics