Changeset 690828
- Timestamp:
- 04/02/2013 09:31:03 PM (11 years ago)
- Location:
- wp-stacker
- Files:
-
- 6 edited
- 11 copied
Legend:
- Unmodified
- Added
- Removed
-
wp-stacker/tags/1.4/css/main.css
r665217 r690828 81 81 width: 600px; 82 82 } 83 84 85 86 -
wp-stacker/tags/1.4/js/main.js
r665217 r690828 43 43 } 44 44 }); 45 46 47 48 49 45 50 }); -
wp-stacker/tags/1.4/readme.txt
r665217 r690828 4 4 Requires at least: 3.4 5 5 Tested up to: 3.5.1 6 Stable tag: 1. 36 Stable tag: 1. 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 51 51 == Changelog == 52 53 54 55 56 57 52 58 53 59 = 1.3 = -
wp-stacker/tags/1.4/wp-stacker.php
r665217 r690828 6 6 Author: Jan Karres 7 7 Author URI: http://jankarres.de/ 8 Version: 1. 38 Version: 1. 9 9 */ 10 10 11 if(!class_exists('wpstacker')) { 11 12 class wpstacker { … … 23 24 24 25 // Set plugin version 25 $this->version = '1. 3';26 $this->version = '1.'; 26 27 27 28 // Check WP version … … 1007 1008 // Options page controller 1008 1009 function options_page_controller() { 1010 1011 1012 1013 1014 1015 1009 1016 // Check if should start Pocket auth process 1010 1017 if (isset($_GET['auth-get'])) { … … 1183 1190 1184 1191 // Function to set the main page 1185 function main_link() { 1192 function main_link() { 1186 1193 // Start the view of the main page 1187 add_menu_page('WP Stacker', 'WP Stacker', 5, 'pocket_poster', array($this, 'main_page_view'), plugin_dir_url(__FILE__) . 'images/icons/16.png', 2 5);1194 add_menu_page('WP Stacker', 'WP Stacker', 5, 'pocket_poster', array($this, 'main_page_view'), plugin_dir_url(__FILE__) . 'images/icons/16.png', 2); 1188 1195 } 1189 1196 … … 1216 1223 1217 1224 <?php 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1218 1236 if ($_POST['mode'] != 'get') { 1219 1237 $this->support_div(); … … 1259 1277 }else { // newest to oldest 1260 1278 $getLinksPost['sort'] = 'newest'; 1279 1280 1281 1282 1283 1261 1284 } 1262 1285 … … 1287 1310 <?php $this->support_div(); ?> 1288 1311 1289 <p><strong>You do not have usable elements in your Pocket account! Is the <i>Links to use</i> setting correct?</strong></p> 1312 <p><strong>You do not have usable elements<?php 1313 if ($_POST['onlyWithTag'] && $_POST['tag'] != '') { 1314 echo ' with the tag <i>' . stripslashes_deep($_POST['tag']) . '</i>'; 1315 } 1316 ?> in your Pocket account! Is the <i>Links to use</i> setting correct?</strong></p> 1290 1317 <p>You have to look for interesting links, before you can post them ;-)</p> 1291 1318 <?php … … 1458 1485 } 1459 1486 }else { // Print introduction 1487 1488 1489 1490 1491 1492 1493 1494 1495 1460 1496 ?> 1461 1497 <br /><br /> … … 1472 1508 1473 1509 <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>"> 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1474 1526 <p class="submit"> 1475 1527 <input type="hidden" name="mode" value="get" /> -
wp-stacker/trunk/css/main.css
r665217 r690828 81 81 width: 600px; 82 82 } 83 84 85 86 -
wp-stacker/trunk/js/main.js
r665217 r690828 43 43 } 44 44 }); 45 46 47 48 49 45 50 }); -
wp-stacker/trunk/readme.txt
r665217 r690828 4 4 Requires at least: 3.4 5 5 Tested up to: 3.5.1 6 Stable tag: 1. 36 Stable tag: 1. 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 51 51 == Changelog == 52 53 54 55 56 57 52 58 53 59 = 1.3 = -
wp-stacker/trunk/wp-stacker.php
r665217 r690828 6 6 Author: Jan Karres 7 7 Author URI: http://jankarres.de/ 8 Version: 1. 38 Version: 1. 9 9 */ 10 10 11 if(!class_exists('wpstacker')) { 11 12 class wpstacker { … … 23 24 24 25 // Set plugin version 25 $this->version = '1. 3';26 $this->version = '1.'; 26 27 27 28 // Check WP version … … 1007 1008 // Options page controller 1008 1009 function options_page_controller() { 1010 1011 1012 1013 1014 1015 1009 1016 // Check if should start Pocket auth process 1010 1017 if (isset($_GET['auth-get'])) { … … 1183 1190 1184 1191 // Function to set the main page 1185 function main_link() { 1192 function main_link() { 1186 1193 // Start the view of the main page 1187 add_menu_page('WP Stacker', 'WP Stacker', 5, 'pocket_poster', array($this, 'main_page_view'), plugin_dir_url(__FILE__) . 'images/icons/16.png', 2 5);1194 add_menu_page('WP Stacker', 'WP Stacker', 5, 'pocket_poster', array($this, 'main_page_view'), plugin_dir_url(__FILE__) . 'images/icons/16.png', 2); 1188 1195 } 1189 1196 … … 1216 1223 1217 1224 <?php 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1218 1236 if ($_POST['mode'] != 'get') { 1219 1237 $this->support_div(); … … 1259 1277 }else { // newest to oldest 1260 1278 $getLinksPost['sort'] = 'newest'; 1279 1280 1281 1282 1283 1261 1284 } 1262 1285 … … 1287 1310 <?php $this->support_div(); ?> 1288 1311 1289 <p><strong>You do not have usable elements in your Pocket account! Is the <i>Links to use</i> setting correct?</strong></p> 1312 <p><strong>You do not have usable elements<?php 1313 if ($_POST['onlyWithTag'] && $_POST['tag'] != '') { 1314 echo ' with the tag <i>' . stripslashes_deep($_POST['tag']) . '</i>'; 1315 } 1316 ?> in your Pocket account! Is the <i>Links to use</i> setting correct?</strong></p> 1290 1317 <p>You have to look for interesting links, before you can post them ;-)</p> 1291 1318 <?php … … 1458 1485 } 1459 1486 }else { // Print introduction 1487 1488 1489 1490 1491 1492 1493 1494 1495 1460 1496 ?> 1461 1497 <br /><br /> … … 1472 1508 1473 1509 <form method="post" action="<?php echo $_SERVER['REQUEST_URI']; ?>"> 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1474 1526 <p class="submit"> 1475 1527 <input type="hidden" name="mode" value="get" />
Note: See TracChangeset
for help on using the changeset viewer.