Only display Edit button when no other handler_body_main has been set (ie., if file really doesn't exist).

This commit is contained in:
uriel 2009-03-04 09:05:40 +01:00
parent d21e6caeb7
commit 8f3cbc3b0d

View File

@ -30,7 +30,7 @@ fn dirdir_init {
mkdir -p `{basename -d $local_path}
save_page
}
if not
if not if(~ $"handler_body_main '')
ll_add handlers_bar_left tpl_handler \
apps/dirdir/sidebar_controls.tpl