<{$id}> |
<{if $actionForm->get('dirname',$id) == $moduleObjects[$id]->getVar('dirname')}>
diff --git a/xoops_trust_path/modules/xupdate/admin/templates/admin_themefinder_install_confirm.html b/xoops_trust_path/modules/xupdate/admin/templates/admin_themefinder_install_confirm.html
index 37cdfa3..8179d7b 100644
--- a/xoops_trust_path/modules/xupdate/admin/templates/admin_themefinder_install_confirm.html
+++ b/xoops_trust_path/modules/xupdate/admin/templates/admin_themefinder_install_confirm.html
@@ -42,21 +42,21 @@ <{$smarty.const._AD_XUPDATE_LANG_THEMES}> <{$smarty.const
-
+
<{$smarty.const._MI_XUPDATE_FTP_ADDON_URL}> |
<{xoops_input type=hidden name=addon_url value=$addon_url }>
<{$addon_url|xoops_escape:show}>
|
-
+
target_key |
<{xoops_input type=hidden name=target_key value=$target_key }>
<{$target_key|xoops_escape:show}>
|
-
+
<{$smarty.const._AD_XUPDATE_LANG_TYPE}> |
<{xoops_input type=hidden name=target_type value=$target_type }>
diff --git a/xoops_trust_path/modules/xupdate/admin/templates/include_options_form.html b/xoops_trust_path/modules/xupdate/admin/templates/include_options_form.html
index 498eafb..ec38d0b 100644
--- a/xoops_trust_path/modules/xupdate/admin/templates/include_options_form.html
+++ b/xoops_trust_path/modules/xupdate/admin/templates/include_options_form.html
@@ -1,7 +1,7 @@
<{$smarty.template}>
<{if $options.writable_dir || $options.writable_file || $options.no_overwrite || $options.no_update || $options.delete_dir || $options.delete_file}>
- |
+
options |
diff --git a/xoops_trust_path/modules/xupdate/class/Ftp.class.php b/xoops_trust_path/modules/xupdate/class/Ftp.class.php
index 8668ffa..08f84d4 100644
--- a/xoops_trust_path/modules/xupdate/class/Ftp.class.php
+++ b/xoops_trust_path/modules/xupdate/class/Ftp.class.php
@@ -131,7 +131,13 @@ public function app_login( $server = null ) {
return $ret;
}
- public function uploadNakami( $sourcePath, $targetPath ) {
+ /**
+ * FTP content
+ * @param $sourcePath
+ * @param $targetPath
+ * @return array|bool
+ */
+ public function uploadNakami($sourcePath, $targetPath ) {
$this->mes .= ' start FTP put (normal mode) form `' . htmlspecialchars( substr( $sourcePath, strlen( $this->exploredDirPath ) + 1 ), ENT_QUOTES, _CHARSET ) . '` to `' . htmlspecialchars( $targetPath, ENT_QUOTES, _CHARSET ) . "` .. \n";
$result = $this->_ftpPutNakami( $sourcePath, $targetPath );
| |