From 3fd6188c47838fa1dfe5737b6aa24ccdbb89302a Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sat, 17 Jun 2006 15:30:18 +0000 Subject: add forminput when no categories found --- templates/pigeonholes_input_inc.tpl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'templates/pigeonholes_input_inc.tpl') diff --git a/templates/pigeonholes_input_inc.tpl b/templates/pigeonholes_input_inc.tpl index dae3465..465d939 100644 --- a/templates/pigeonholes_input_inc.tpl +++ b/templates/pigeonholes_input_inc.tpl @@ -28,10 +28,12 @@ {/if} {/forminput} {else} -

{tr}There are no categories available at the moment.{/tr}

- {if $gBitUser->isAdmin()} - {smartlink ititle="Create Category" ipackage="pigeonholes" ifile="edit_pigeonholes.php"} - {/if} + {forminput} +

{tr}There are no categories available at the moment.{/tr}

+ {if $gBitUser->isAdmin()} + {smartlink ititle="Create Category" ipackage="pigeonholes" ifile="edit_pigeonholes.php"} + {/if} + {/forminput} {/if} {/legend} -- cgit v1.3