Simple Invoices logo
    • CommentAuthorapmuthu
    • CommentTimeNov 22nd 2007 edited
     permalink
    The [color=green]Manage Invoices Page[/color] shows a nice set of [b]graphics inline[/b] with each record (although in MSIE the icons are truncated at the bottom due to the css having set the row height slightly smaller than it's liking).

    In order to get the same feature with [color=red]Manage Invoice Preferences[/color], the file [b]/templates/default/preferences/manage.tpl[/b] must edited as below.
    Lines 13-15[code] <col style='width:10%;' />
    <col style='width:10%;' />
    <col style='width:40%;' />[/code]Replace with[code] <col style='width:4%;' />
    <col style='width:6%;' />
    <col style='width:50%;' />[/code]

    Lines 31 to 34:-[code] <a class="index_table"
    href="index.php?module=preferences&view=details&submit={$preference.pref_id}&action=view">{$LANG.view}</a> ::
    <a class="index_table"
    href="index.php?module=preferences&view=details&submit={$preference.pref_id}&action=edit">{$LANG.edit}</a> </td>[/code]Replace with[code] <!-- Quick View -->
    <a class="index_table"
    title="{$LANG.quick_view_tooltip} {$LANG.inv_pref} {$preference.pref_id}"
    href="index.php?module=preferences&view=details&submit={$preference.pref_id}&action=view">
    <img src="images/common/view.png" height="16" border="-5px" padding="-4px" valign="bottom" /></a>

    <!-- Edit View -->
    <a class="index_table"
    title="{$LANG.edit_view_tooltip} {$LANG.inv_pref} {$preference.pref_id}"
    href="index.php?module=preferences&view=details&submit={$preference.pref_id}&action=edit">
    <img src="images/common/edit.png" height="16" border="-5px" padding="-4px" valign="bottom" /></a> </td>[/code]In a similar way, we can make all [b]manage[/b] pages appear with nice [b]inline graphics[/b].
    • CommentAuthorapmuthu
    • CommentTimeNov 22nd 2007 edited
     permalink
    The original [b]/templates/default/invoices/manage.tpl[/b] has redundant [b]</a>[/b] at lines [b]68[/b] and [b]74[/b] - [b]both lines can be deleted[/b].
    • CommentAuthorapmuthu
    • CommentTimeNov 22nd 2007 edited
     permalink
    The /templates/default/preferences/add.tpl and details.tpl can be altered to have the Detail Line as textarea as shown in http://simpleinvoices.org/forum/topic-326.html
    • CommentAuthorapmuthu
    • CommentTimeNov 22nd 2007 edited
     permalink
    In the first post in this thread, for the last replace:-
    The {$LANG.quick_view_tooltip} can be replaced with {$LANG.view}
    The {$LANG.edit_view_tooltip} can be replaced with {$LANG.edit}
    • CommentAuthorjustin
    • CommentTimeNov 23rd 2007 edited
     permalink