Changeset 204597
- Timestamp:
- 02/12/2010 04:34:36 PM (16 years ago)
- Location:
- magazine-edition-control/trunk
- Files:
-
- 3 edited
-
beheer.php (modified) (3 diffs)
-
magazinedition-admin.php (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
magazine-edition-control/trunk/beheer.php
r203977 r204597 5 5 Description: Magazine Edition Control 6 6 Author: Micro Formatica 7 Version: 1 7 Version: 1.1 8 8 Author URI: http://www.microformatica.com 9 9 */ … … 26 26 27 27 */ 28 28 29 add_action('activated_plugin', 'magazinedition_install'); 30 29 31 add_action('admin_menu', 'magazinedition_admin_actions'); 30 32 … … 60 62 function magazinedition_admin_actions() 61 63 { 64 if ( current_user_can('manage_options') ) { 62 65 add_menu_page("Magazine Edtion Control", "Magazine Edtion Control", 1,"magazinedition", "magazinedition_menu"); 66 } 63 67 } 64 68 -
magazine-edition-control/trunk/magazinedition-admin.php
r204277 r204597 28 28 $wpdb->query("INSERT INTO " . $wpdb->prefix . "magazinedition_uitgaven VALUES (NULL, '" . $_POST["datecreate"] . "', '', '', '" . magazinedition_uuid() . "', 0, '' )"); 29 29 } 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>"; 31 31 } 32 32 } … … 139 139 echo "<div id='editorcontainer'><textarea name=\"desc\" rows=\"5\" class=\"theEditor\" cols=\"40\">" . resetencap(base64_decode($result->uitgave_desc)) . "</textarea></div><br /><br />"; 140 140 141 if ( current_user_can('manage_options') ) { 141 142 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 142 145 echo "</form>"; 143 146 echo "</div>"; -
magazine-edition-control/trunk/readme.txt
r204229 r204597 5 5 Requires at least: 2.9.1 6 6 Tested up to: 2.9.1 7 Stable tag: 1 7 Stable tag: 1.1 8 8 9 9 Control the editions of your magazine or just group up the content of your blog. Easy and with no expensive software. … … 46 46 } 47 47 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) . "'"); 49 49 50 50 … … 67 67 echo resetencap(base64_decode($datum->uitgave_desc)); 68 68 69 ?>70 69 // **************************** 71 70 71 ?> 72 72 73 ` 74 **The hacking part is too difficult for me, can I just pay you? ** 73 75 76 Of course, just follow the download link and provide us your info, and we will get it set up for you. 74 77 75 78 … … 91 94 == Changelog == 92 95 96 = 1.1 = 97 * Some minor changes. 98 93 99 = 1.0 = 94 100 * Initial release 95 101 96 102 == Upgrade Notice == 103 104 = 1.1 = 105 * Some minor changes. 97 106 98 107 = 1.0 =
Note: See TracChangeset
for help on using the changeset viewer.