projects
/
WP-Plugins
/
glm-wp-importer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d18dc
)
Add import method
author
Steve Sutton
<steve@gaslightmedia.com>
Fri, 10 Jul 2015 17:44:30 +0000
(13:44 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Fri, 10 Jul 2015 17:44:30 +0000
(13:44 -0400)
controllers/Import.php
patch
|
blob
|
history
diff --git
a/controllers/Import.php
b/controllers/Import.php
index
f51a03b
..
5aa61e4
100644
(file)
--- a/
controllers/Import.php
+++ b/
controllers/Import.php
@@
-83,6
+83,16
@@
$sql = "SELECT * FROM toolbox.pages";
$data = $this->_dbh->query($sql)->fetchAll();
printf('<p>Found %d Pages</p>', count($data));
+ echo '<a href="admin.php?import=toolbox&step=1">Start the Import Now</a>';
+ }
+
+ function fetchAllPages()
+ {
+ }
+
+ function import()
+ {
+
}
function dispatch()