Update of /cvsroot/phpwebsite-comm/modules/contacts/conf
In directory sc8-pr-cvs1:/tmp/cvs-serv24899
Added Files:
boost.php contacts.php controlpanel.php layout.php manager.php
module_rights.txt users.php
Log Message:
Initial check-in
--- NEW FILE: boost.php ---
<?php
/**
* @version $Id: boost.php,v 1.1 2003/05/27 16:58:51 dtseiler Exp $
* @author Don Seiler <do...@NO...>
*/
$mod_title = "contacts";
$mod_pname = "Contacts";
$mod_directory = "contacts";
$mod_filename = "index.php";
$allow_view = "all";
$mod_icon = "contacts.png";
$priority = 50;
$admin_mod = 1;
$active = "on";
$version = "0.1.0";
$admin_op = "&CONTACTS_MAN_OP=list";
$mod_class_files = array("AddressType.php",
"PhoneType.php",
"Country.php",
"Contact.php",
"Address.php",
"Phone.php",
"Manager.php");
$mod_sessions = array("CONTACTS_Manager");
$init_object = array("CONTACTS_Manager"=>"CONTACTS_Manager");
?>
--- NEW FILE: contacts.php ---
<?php
/**
* @version $Id: contacts.php,v 1.1 2003/05/27 16:58:51 dtseiler Exp $
* @author Don Seiler <do...@NO...>
*/
/* The version of this module */
define("PHPWSBB_VERSION", "0.1.0");
/* The title to be used throughout the module */
define("PHPWSBB_TITLE", "Bulletin Board v" . PHPWSBB_VERSION);
?>
--- NEW FILE: controlpanel.php ---
<?php
/**
* @version $Id: controlpanel.php,v 1.1 2003/05/27 16:58:51 dtseiler Exp $
*/
$image["name"] = "contacts.png";
$image["alt"] = "Author: Don Seiler";
$link[] = array ("label"=>"Contacts",
"module"=>"contacts",
"url"=>"index.php?module=contacts&CONTACTS_MAN_OP=list",
"image"=>$image,
"description"=>"Blah blah blah",
"tab"=>"content");
?>
--- NEW FILE: layout.php ---
<?php
/**
* @version $Id: layout.php,v 1.1 2003/05/27 16:58:51 dtseiler Exp $
* @author Don Seiler <do...@NO...>
*/
$layout_info[] = array( "content_var"=>"CNT_contacts",
"transfer_var"=>"body");
?>
--- NEW FILE: manager.php ---
<?php
/**
* @version $Id: manager.php,v 1.1 2003/05/27 16:58:51 dtseiler Exp $
* @author Don Seiler <do...@NO...>
*/
/* The name of my lists and their corresponding database constraints */
$lists = array("contacts"=>"approved=1",
"countries"=>"approved=1",
"phonetypes"=>"approved=1",
"addresstypes"=>"approved=1");
/* The directory where my templates are located */
$templates = array("contacts"=>"contacts",
"countries"=>"countries",
"phonetypes"=>"phonetypes",
"addresstypes"=>"addresstypes");
/*
* CONTACTS
*/
$contactsColumns = array( "label"=>$_SESSION["translate"]->it("Subject"),
"owner"=>$_SESSION["translate"]->it("Poster"),
"updated"=>$_SESSION["translate"]->it("Last Post"),
"id"=>NULL,
"locked"=>NULL,
"sticky"=>NULL );
$contactsActions = array( "view"=>"View",
"edit"=>"Edit",
"delete"=>"Delete"
);
$contactsPermissions = array( "view"=>NULL,
"edit"=>"edit_contacts",
"delete"=>"delete_contacts"
);
$contactsPaging = array( "op"=>"CONTACTS_MAN_OP=list",
"limit"=>50,
"secion"=>1,
"limits"=>array(5,10,25,50),
"back"=>"<<",
"forward"=>">>"
);
?>
--- NEW FILE: module_rights.txt ---
edit_contacts::Add/Edit Contacts
delete_contacts::Delete Contacts
--- NEW FILE: users.php ---
<?php
/**
* @version $Id: users.php,v 1.1 2003/05/27 16:58:51 dtseiler Exp $
* @author Don Seiler <do...@NO...>
*/
$default_user_menu = "personal";
$default_admin_menu = "content";
?>
|