From: <ri...@us...> - 2008-05-13 01:40:48
|
Revision: 12810 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=12810&view=rev Author: ricks99 Date: 2008-05-12 18:40:55 -0700 (Mon, 12 May 2008) Log Message: ----------- [UI]Added icon to error. Added link to create category, if permission. Modified Paths: -------------- branches/1.10/templates/tiki-directory_add_site.tpl Modified: branches/1.10/templates/tiki-directory_add_site.tpl =================================================================== --- branches/1.10/templates/tiki-directory_add_site.tpl 2008-05-12 21:43:43 UTC (rev 12809) +++ branches/1.10/templates/tiki-directory_add_site.tpl 2008-05-13 01:40:55 UTC (rev 12810) @@ -3,9 +3,8 @@ {include file=tiki-directory_bar.tpl} <br /><br /> -{if $categs[0] eq ''} - {tr}You cannot add sites until Directory Categories are setup.{/tr}<br /> - {tr}Please contact the Site Administrator{/tr} +{if $categs[0] eq ''}{icon _id=exclamation style="vertical-align:middle" alt="{tr}Error{/tr}"} {tr}You cannot add sites until Directory Categories are setup.{/tr}<br />{if $tiki_p_admin_directory_cats ne 'y'} + {tr}Please contact the Site Administrator{/tr}{else}{tr}<a href="tiki-directory_admin_categories.php">Add a category now</a>.{/tr}{/if} {else} {if $save eq 'y'} <h2>{tr}Site added{/tr}</h2> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |