TopLevel Advertiser.php - jcobban/Genealogy GitHub Wiki
This script implements the interface used by each Advertiser
to manage their account. Each Advertiser
is represented by an instance of class Advertiser. This script is invoked by method='get'
for initial display, in particular from the User Account.php. It is re-invoked by method='post'
if the user makes changes to the Advertiser
information.
When invoked by method='get'
it supports the following parameters:
parameter | description |
---|---|
'lang' | the language selection |
When invoked by method='post'
it supports the following parameters:
parameter | description |
---|---|
'ademail' | the email of the account contact at the Advertiser , which can be changed by the account administrator. |
'lang' | the language selection |
This displays information about the advertiser account that looks like:
The account owner can change the e-mail address associated with the account and can modify the content of the advertisement. When a new advertising account is added by the site administrator a basic advertisement is created which is shown above. The account owner can download the current advertisement, which is in the form of an HTML page, modify it with whatever tools the account owner prefers, and then upload the modified advertisement to the site.
Access to this dialog is provided by a new "button" on the User Account page, which is highlighted in the following screenshot:
This script is only available to users who have an advertising account. Other users will never see a link to this page and if they manually enter the URL will only see an error message indicating that they are not authorized.
Next: Advertisers.js