Plugin Directory

Changeset 1486503


Ignore:
Timestamp:
08/30/2016 02:35:28 PM (9 years ago)
Author:
clicface
Message:

Improving the creation of a new employee

Location:
clicface-trombi
Files:
28 added
2 edited

Legend:

Unmodified
Added
Removed
  • clicface-trombi/trunk/clicface-trombi.php

    r1457457 r1486503  
    44Plugin URI: https://plugins.clicface.com/
    55Description: A great plugin for WordPress that creates a directory of all your employees.
    6 Version: 2.02
     6Version: 2.03
    77Author: Clicface
    88Author URI: https://plugins.clicface.com/
     
    315315    if ($type == 'collaborateur') {
    316316        $update_post['ID'] = $post_id;
     317       
     318        if ( isset($_POST['nom']) &&  isset($_POST['prenom']) ) {
     319            update_post_meta($post_id, 'nom', $_POST['nom']);
     320            update_post_meta($post_id, 'prenom', $_POST['prenom']);
     321            update_post_meta($post_id, 'mail', $_POST['mail']);
     322            update_post_meta($post_id, 'website', $_POST['website']);
     323            update_post_meta($post_id, 'fonction', $_POST['fonction']);
     324            update_post_meta($post_id, 'telephone_fixe', $_POST['telephone_fixe']);
     325            update_post_meta($post_id, 'telephone_portable', $_POST['telephone_portable']);
     326            update_post_meta($post_id, 'commentaires', $_POST['commentaires']);
     327            update_post_meta($post_id, 'facebook', $_POST['facebook']);
     328            update_post_meta($post_id, 'twitter', $_POST['twitter']);
     329            update_post_meta($post_id, 'linkedin', $_POST['linkedin']);
     330            update_post_meta($post_id, 'youtube', $_POST['youtube']);
     331        }
    317332       
    318333        // On sauvegarde une première fois
  • clicface-trombi/trunk/readme.txt

    r1457457 r1486503  
    44Tags: online directory, directory, employee, employee list, employees, staff, staff directory, staff list, business directory, member directory, trombinoscope, org chart
    55Requires at least: 2.9.2
    6 Tested up to: 4.5.3
    7 Stable tag: 2.02
     6Tested up to: 4.6
     7Stable tag: 2.03
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8585
    8686== Changelog ==
     87= 2.03 =
     88* Improving the creation of a new employee
     89
    8790= 2.02 =
    8891* Forcing Permalink structure update after plugin activation to avoid 404 errors
Note: See TracChangeset for help on using the changeset viewer.