fix typo in function name

This commit is contained in:
Uwe Steinmann 2018-03-22 06:30:15 +01:00
parent 4a83c561f1
commit ba13d0eba2
2 changed files with 2 additions and 2 deletions

View File

@ -132,7 +132,7 @@ class SeedDMS_Extension_Mgr {
*
* @return boolean
*/
public function isWritableExitDir() { /* {{{ */
public function isWritableExtDir() { /* {{{ */
return is_writable($this->extdir);
} /* }}} */

View File

@ -206,7 +206,7 @@ class SeedDMS_View_ExtensionMgr extends SeedDMS_Bootstrap_Style {
echo "<td nowrap>".$re['author']['name']."<br /><small>".$re['author']['company']."</small></td>";
echo "<td nowrap>";
echo "<div class=\"list-action\">";
if(!$checkmsgs && $extmgr->isWritableExitDir())
if(!$checkmsgs && $extmgr->isWritableExtDir())
echo "<form style=\"display: inline-block; margin: 0px;\" method=\"post\" action=\"../op/op.ExtensionMgr.php\" id=\"".$re['name']."-import\">".createHiddenFieldWithKey('extensionmgr')."<input type=\"hidden\" name=\"action\" value=\"import\" /><input type=\"hidden\" name=\"currenttab\" value=\"repository\" /><input type=\"hidden\" name=\"url\" value=\"".$re['filename']."\" /><a class=\"import\" data-extname=\"".$re['name']."\" title=\"".getMLText('import_extension')."\"><i class=\"icon-download\"></i></a></form>";
echo "</div>";
echo "</td>";