1
0
mirror of https://github.com/e107inc/e107.git synced 2025-05-02 18:27:52 +02:00

Some LAN fixes in the "Import into e107" plugin.

This commit is contained in:
Cameron 2013-03-05 15:09:45 -08:00
parent 591475199f
commit 762545a28a
3 changed files with 6 additions and 6 deletions

View File

@ -536,7 +536,7 @@ function showStartPage()
</fieldset> </fieldset>
</form>"; </form>";
$ns->tablerender(LAN_CONVERT_01, $emessage->render().$text); $ns->tablerender(LAN_PLUGIN_IMPORT_NAME, $emessage->render().$text);
} }
@ -703,7 +703,7 @@ function showImportOptions($mode='csv')
if (varset($current_db_type)) $temp .= " flagbits('{$current_db_type}');"; if (varset($current_db_type)) $temp .= " flagbits('{$current_db_type}');";
if (varset($temp)) $text .= "<script type=\"text/javascript\"> {$temp}</script>"; if (varset($temp)) $text .= "<script type=\"text/javascript\"> {$temp}</script>";
$ns -> tablerender(LAN_CONVERT_01." :: ".$importType, $emessage->render().$text); $ns -> tablerender(LAN_PLUGIN_IMPORT_NAME.SEP.$importType, $emessage->render().$text);
} }

View File

@ -5,6 +5,6 @@
* *
* 'Import plugin' global language defines * 'Import plugin' global language defines
*/ */
define("LAN_PLUGIN_IMPORT_NAME", "Import plugin"); define("LAN_PLUGIN_IMPORT_NAME", "Import into e107");
define("LAN_PLUGIN_IMPORT_DESCRIPTION", "Import data from Wordpress, Joomla, Drupal, Blogpost, RSS and other formats."); define("LAN_PLUGIN_IMPORT_DESCRIPTION", "Import data from Wordpress, Joomla, Drupal, Blogpost, RSS and other formats.");
?> ?>

View File

@ -233,14 +233,14 @@ class html_import extends base_import_class
<td>".$data['title']."</td>\n <td>".$data['title']."</td>\n
<td>".$tp->text_truncate($data['body'],150)."</td>\n <td>".$tp->text_truncate($data['body'],150)."</td>\n
<td class='center middle'> <td>
<a class='e-dialog' href='".$this->localPath.$key."'>".$key."</a> <a class='e-dialog' href='".$this->localPath.$key."'>".$key."</a>
</td> </td>
"; ";
$text .= " $text .= "
<td class='center middle'> <td>
".$frm->selectbox('add__'.$key,array('news'=>'News','page'=>'Page','0'=>'Ignore'))." ".$frm->selectbox('add__'.$key,array('news'=>'News','page'=>'Page','0'=>'Ignore'))."
</td> </td>
</tr>"; </tr>";
@ -262,7 +262,7 @@ class html_import extends base_import_class
</fieldset> </fieldset>
</form>"; </form>";
$ns->tablerender(LAN_CONVERT_01,$text); $ns->tablerender(LAN_PLUGIN_IMPORT_NAME.SEP.$this->feedUrl,$text);