From: <ny...@us...> - 2008-10-08 17:10:55
|
Revision: 15051 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=15051&view=rev Author: nyloth Date: 2008-10-08 17:10:46 +0000 (Wed, 08 Oct 2008) Log Message: ----------- [NEW] smarty button: deploy smarty button in tiki-admin_calendars.tpl. It has to be used like this: {button _text="{tr}Create Calendar{/tr}" href="tiki-admin_calendars.php?show=mod"} To produce this HTML code: <span class="button"><a href="tiki-admin_calendars.php?show=mod">Create Calendar</a></span> + Fix the magnifier icon (_id of smarty icon must not contain the file extension, i.e. '.png') Modified Paths: -------------- trunk/templates/tiki-admin_calendars.tpl Modified: trunk/templates/tiki-admin_calendars.tpl =================================================================== --- trunk/templates/tiki-admin_calendars.tpl 2008-10-08 17:07:06 UTC (rev 15050) +++ trunk/templates/tiki-admin_calendars.tpl 2008-10-08 17:10:46 UTC (rev 15051) @@ -2,7 +2,7 @@ {if $calendarId} <div class="navbar"> - <a href="tiki-admin_calendars.php?show=mod">{tr}Create Calendar{/tr}</a> + {button _text="{tr}Create Calendar{/tr}" href="tiki-admin_calendars.php?show=mod"} </div> {/if} @@ -56,7 +56,7 @@ </td> <td> <a title="{tr}Edit{/tr}" class="link" href="tiki-admin_calendars.php?offset={$offset}&sort_mode={$sort_mode}&calendarId={$id}">{icon _id='page_edit'}</a> - <a title="{tr}View Calendar{/tr}" class="link" href="tiki-calendar.php?calIds[]={$id}">{icon _id=magnifier.png alt="{tr}View{/tr}"}</a> + <a title="{tr}View Calendar{/tr}" class="link" href="tiki-calendar.php?calIds[]={$id}">{icon _id='magnifier' alt="{tr}View{/tr}"}</a> <a title="{tr}Delete{/tr}" class="link" href="tiki-admin_calendars.php?offset={$offset}&sort_mode={$sort_mode}&drop={$id}" title="{tr}Delete{/tr}">{icon _id='cross' alt='{tr}Delete{/tr}'}</a> <a title="{tr}Add Event{/tr}" class="link" href="tiki-calendar_edit_item.php?calendarId={$id}">{icon _id='add' alt="{tr}Add Event{/tr}"}</a> </td> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |