<?xml version="1.0" encoding="utf-8"?>
<extension type="module" version="5.0" client="site" method="upgrade">
    <name>Jobs Website Footer</name>
    <author>Your Name</author>
    <creationDate>2024</creationDate>
    <copyright>Copyright</copyright>
    <license>GNU General Public License version 2 or later</license>
    <authorEmail>your@email.com</authorEmail>
    <authorUrl>www.yourwebsite.com</authorUrl>
    <version>1.0.0</version>
    <description>Professional footer module for jobs website</description>
    
    <files>
        <filename module="mod_jobs_footer">mod_jobs_footer.php</filename>
        <filename>helper.php</filename>
        <folder>tmpl</folder>
        <folder>language</folder>
    </files>
    
    <config>
        <fields name="params">
            <fieldset name="basic">
                <!-- Contacts Section -->
                <field name="contact_email" 
                       type="email" 
                       label="Contact Email"
                       description="Enter contact email address"
                       default="info@jobswebsite.com" />
                
                <field name="contact_phone" 
                       type="text" 
                       label="Contact Phone"
                       description="Enter contact phone number"
                       default="+1 (555) 123-4567" />
                
                <!-- Work Hours Section -->
                <field name="work_hours_title" 
                       type="text" 
                       label="Work Hours Title"
                       default="Working Hours" />
                
                <field name="work_hours" 
                       type="textarea" 
                       label="Work Hours"
                       description="Enter work hours (one per line)"
                       rows="5"
                       filter="raw">
                    Monday - Friday: 9:00 AM - 6:00 PM
Saturday: 10:00 AM - 4:00 PM
Sunday: Closed
                </field>
                
                <!-- Important Links Section -->
                <field name="important_links_title" 
                       type="text" 
                       label="Important Links Title"
                       default="Important Links" />
                
                <field name="link1_title" 
                       type="text" 
                       label="Link 1 Title"
                       default="Privacy Policy" />
                
                <field name="link1_url" 
                       type="url" 
                       label="Link 1 URL"
                       description="Enter full URL including http:// or https://"
                       default="#" />
                
                <field name="link2_title" 
                       type="text" 
                       label="Link 2 Title"
                       default="Terms of Service" />
                
                <field name="link2_url" 
                       type="url" 
                       label="Link 2 URL"
                       description="Enter full URL including http:// or https://"
                       default="#" />
                
                <!-- Job Alert Link -->
                <field name="job_alert_title" 
                       type="text" 
                       label="Job Alert Title"
                       default="Job Alerts" />
                
                <field name="job_alert_url" 
                       type="url" 
                       label="Job Alert URL"
                       description="Enter Job Alerts page URL"
                       default="#" />
                
                <!-- Job Categories Link -->
                <field name="job_categories_title" 
                       type="text" 
                       label="Job Categories Title"
                       default="Browse Categories" />
                
                <field name="job_categories_url" 
                       type="url" 
                       label="Job Categories URL"
                       description="Enter Job Categories page URL"
                       default="#" />
                
                <!-- Display Options -->
                <field name="moduleclass_sfx" 
                       type="text" 
                       label="Module Class Suffix"
                       description="Add custom CSS class to the module" />
            </fieldset>
        </fields>
    </config>
</extension>