Plugin Directory

Changeset 204597


Ignore:
Timestamp:
02/12/2010 04:34:36 PM (16 years ago)
Author:
erwinwolff
Message:

sync

Location:
magazine-edition-control/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • magazine-edition-control/trunk/beheer.php

    r203977 r204597  
    55Description: Magazine Edition Control
    66Author: Micro Formatica
    7 Version: 1
     7Version: 1.1
    88Author URI: http://www.microformatica.com
    99*/
     
    2626
    2727*/
     28
    2829add_action('activated_plugin', 'magazinedition_install');
     30
    2931add_action('admin_menu', 'magazinedition_admin_actions');
    3032
     
    6062function magazinedition_admin_actions()
    6163{
     64if ( current_user_can('manage_options') ) {
    6265    add_menu_page("Magazine Edtion Control", "Magazine Edtion Control", 1,"magazinedition", "magazinedition_menu");
     66}
    6367}
    6468 
  • magazine-edition-control/trunk/magazinedition-admin.php

    r204277 r204597  
    2828        $wpdb->query("INSERT INTO " . $wpdb->prefix . "magazinedition_uitgaven VALUES (NULL, '" . $_POST["datecreate"] . "', '', '', '" . magazinedition_uuid() . "', 0, '' )");   
    2929        } else {       
    30         echo "<div style=\"background-color: red; color: white; margin-left: 10px; font-weight: bold;\">Ongeldige invoer. Controleer het invoerveld.</div>";
     30        echo "<div style=\"background-color: red; color: white; margin-left: 10px; font-weight: bold;\">Invalid entry. Please use the calendar next to the entry field.</div>";
    3131    }
    3232}
     
    139139   echo "<div id='editorcontainer'><textarea name=\"desc\" rows=\"5\" class=\"theEditor\" cols=\"40\">" . resetencap(base64_decode($result->uitgave_desc)) . "</textarea></div><br /><br />";
    140140
     141if ( current_user_can('manage_options') ) {
    141142   echo "<input type=\"submit\" name=\"uitgave\" value=\"Edit edition\"> <span style=\"float: right;\"><a href=\"" . $PHP_SELF . "?page=magazinedition&deleteme=" . $thisid . "\" style=\"align: right; color: red;\" title=\"Are you sure? You cannot undo this action.\">Delete this edition</a></span>";
     143}
     144
    142145   echo "</form>";
    143146   echo "</div>";
  • magazine-edition-control/trunk/readme.txt

    r204229 r204597  
    55Requires at least: 2.9.1
    66Tested up to: 2.9.1
    7 Stable tag: 1
     7Stable tag: 1.1
    88
    99Control the editions of your magazine or just group up the content of your blog. Easy and with no expensive software.
     
    4646}
    4747
    48 $datum = $wpdb->get_row("SELECT * FROM " . $wpdb->prefix . "magazinedition_uitgaven WHERE cat_guid='" . $uitgave . "'");
     48$datum = $wpdb->get_row("SELECT * FROM " . $wpdb->prefix . "magazinedition_uitgaven WHERE cat_guid='" . urlencode($uitgave) . "'");
    4949
    5050
     
    6767echo resetencap(base64_decode($datum->uitgave_desc));
    6868
    69 ?>
    7069// ****************************
    7170
     71?>
     72
    7273`
     74**The hacking part is too difficult for me, can I just pay you? **
    7375
     76Of course, just follow the download link and provide us your info, and we will get it set up for you.
    7477
    7578
     
    9194== Changelog ==
    9295
     96= 1.1 =
     97* Some minor changes.
     98
    9399= 1.0 =
    94100* Initial release
    95101
    96102== Upgrade Notice ==
     103
     104= 1.1 =
     105* Some minor changes.
    97106
    98107= 1.0 =
Note: See TracChangeset for help on using the changeset viewer.