X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Ffiler.php;h=47c4aa5e4cbc6fc05139174415d2f5485a97f7fb;hb=325d3afe183a397ea6688480c1b2df8e1be99dc1;hp=c0cca9e6df072e5a9495e0777db58a08592591b4;hpb=afe7f09b278bca546f606a6ce54707a853cddf47;p=friendica.git diff --git a/mod/filer.php b/mod/filer.php old mode 100755 new mode 100644 index c0cca9e6df..47c4aa5e4c --- a/mod/filer.php +++ b/mod/filer.php @@ -5,9 +5,9 @@ require_once('include/bbcode.php'); require_once('include/items.php'); -function filer_content(&$a) { +function filer_content(App $a) { - if(! local_user()) { + if (! local_user()) { killme(); } @@ -24,12 +24,13 @@ function filer_content(&$a) { $filetags = get_pconfig(local_user(),'system','filetags'); $filetags = file_tag_file_to_list($filetags,'file'); $filetags = explode(",", $filetags); + $tpl = get_markup_template("filer_dialog.tpl"); $o = replace_macros($tpl, array( '$field' => array('term', t("Save to Folder:"), '', '', $filetags, t('- select -')), '$submit' => t('Save'), )); - + echo $o; } killme();