Gossamer Forum
Home : Products : Links 2.0 : Customization :

A Mod Request

Quote Reply
A Mod Request
Is there a mod which shows the original record and the modified record (waiting for validation) side the side.

Eg. In the admin page, there can be a link - 'Compare'.
When one clicks on this link a list of modified records (awaiting validation) shows.
When a record is clicked a pop up window comes up (2 frames).
Left frame shows the original record.
Right frame shows the modifed record.

The right frame has the following links/check boxes:
1) Validate the modified record.
2) Delete the modified record and keep the original record.
3) Delete both the modified record and the original record.

Both the left frame and the right frame should have the option for being able to make some changes
Quote Reply
Re: [bigpatsu] A Mod Request In reply to
I think this mod will not be of much use you can see the ID and check in your listing directly what is listed
Megrisoft
Web Hosting Company
India Software Company
SEO Company


Quote Reply
Re: [bigpatsu] A Mod Request In reply to
in the sub send_email function of modify.cgi ( in my version, at least, which is heavily modified ), I did the following it ain't perfect but it sure helped me
Code:
sub send_email {
# --------------------------------------------------------
# Sends an email to the admin, letting him know that there is
# a new link waiting to be validated.
# Check to make sure that there is an admin email address defined.
$db_admin_email or &cgierr("Admin Email Address Not Defined in config file!");
my $to = $db_admin_email;
my $from = $in{$db_cols[$db_contact_email]};
my $subject = "Modification to Database: $in{'Title'}";
my $msg = qq|
The following link was modified and is awaiting validation:ORIGINAL LINK:
===============================================
ID: $original{'ID'}
Username: $original{'UserName'}
nUserName: $in{'UserName'}
Password: $original{'Password'}
nPassword: $in{'Password'}
Title: $original{'Title'}
nTitle: $in{'Title'}
URL: $original{'URL'}
nURL: $in{'URL'}
Category: $original{'Category'}
nCategory: $in{'Category'}
Alt Category: $original{'AltCategories'}
nAlt Category: $in{'AltCategories'}
DateAdded: $original{'DateAdded'}
nDateAdded: $in{'DateAdded'}
Date Modified: $original{'Date'}
nDate Modified: $in{'Date'}
Contact Name: $original{'ContactName'}
nContact Name: $in{'ContactName'}
Contact Email: $original{'ContactEmail'}
nContact Email: $in{'ContactEmail'}


Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."