mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
add hook addFolderAttributes
This commit is contained in:
parent
24458ab648
commit
dc6ec3c5c7
|
@ -119,6 +119,15 @@ $(document).ready( function() {
|
|||
}
|
||||
}
|
||||
}
|
||||
$arrs = $this->callHook('addFolderAttributes', $folder);
|
||||
if(is_array($arrs)) {
|
||||
foreach($arrs as $arr) {
|
||||
$this->formField($arr[0], $arr[1]);
|
||||
}
|
||||
} elseif(is_string($arrs)) {
|
||||
echo $arrs;
|
||||
}
|
||||
|
||||
$this->formSubmit("<i class=\"icon-save\"></i> ".getMLText('add_subfolder'));
|
||||
?>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue
Block a user