Commit 500f6728 authored by lindonb's avatar lindonb

[REF] iconset conversions

parent 45ac46a8
{* $Id$ *}
<div class="panel panel-default">
{if !empty($confirmation_text)}
<div class="panel-heading">{icon _id=information style="vertical-align:middle"} {$confirmation_text|escape}</div>
<div class="panel-heading">
{icon name='information' style="vertical-align:middle"} {$confirmation_text|escape}
</div>
{/if}
{if !empty($confirm_detail)}
{$confirm_detail}
......
......@@ -34,9 +34,15 @@
<div class="col-sm-9 col-sm-offset-3">
<input type="submit" class="btn btn-default btn-sm" name="editcopyright" value="{tr}Edit{/tr}">
<a title="{tr}Delete{/tr}" href="copyrights.php?page={$page|escape:"url"}&amp;action=delete&amp;copyrightId={$copyrights[i].copyrightId}" >{icon _id='cross' alt="{tr}Remove{/tr}"}</a>
<a href="copyrights.php?page={$page|escape:"url"}&amp;action=up&amp;copyrightId={$copyrights[i].copyrightId}">{icon _id='resultset_up'}</a>
<a href="copyrights.php?page={$page|escape:"url"}&amp;action=down&amp;copyrightId={$copyrights[i].copyrightId}">{icon _id='resultset_down'}</a>
<a class="tips" title=":{tr}Delete{/tr}" href="copyrights.php?page={$page|escape:"url"}&amp;action=delete&amp;copyrightId={$copyrights[i].copyrightId}" >
{icon name='remove' alt="{tr}Remove{/tr}"}
</a>
<a class="tips" title=":{tr}Up{/tr}" href="copyrights.php?page={$page|escape:"url"}&amp;action=up&amp;copyrightId={$copyrights[i].copyrightId}">
{icon name='up'}
</a>
<a class="tips" title=":{tr}Down{/tr}" href="copyrights.php?page={$page|escape:"url"}&amp;action=down&amp;copyrightId={$copyrights[i].copyrightId}">
{icon name='down'}
</a>
</div>
</div>
</form>
......
......@@ -4,7 +4,9 @@
<div id="tiki-mid">
<div class="panel panel-default">
<div class="panel-heading">{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle"} {tr}Error{/tr}</div>
<div class="panel-heading">
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle"} {tr}Error{/tr}<
/div>
<div class="panel-body">
{$msg}
</div>
......
......@@ -9,7 +9,7 @@
{/if}
<div id="tiki-mid">
<div class="panel panel-default">
<div class="panel-heading">{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle"}{tr}Error{/tr}</div>
<div class="panel-heading">{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle"}{tr}Error{/tr}</div>
<div class="panel-body">
{$msg}
<a href="javascript:window.close()" class="linkmenu">{tr}Close Window{/tr}</a><br><br>
......
......@@ -23,7 +23,7 @@
<td id="centercolumn"><div id="tiki-center">
<br>
<div class="panel panel-default">
<div class="panel-heading">{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle"} {$errortitle|default:"{tr}Error{/tr}"}
<div class="panel-heading">{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle"} {$errortitle|default:"{tr}Error{/tr}"}
</div>
<div class="panel-body">
<br>{$msg}
......
......@@ -18,9 +18,9 @@
</select>
</div>
{if preg_match('/desc$/',$sort_mode)}
{icon _id='arrow_up' width='16' height='16' class='icon sort_invert' title="{tr}Sort direction{/tr}" href='#'}
{icon name='sort-up' class='icon sort_invert' title="{tr}Sort direction{/tr}" href='#'}
{else}
{icon _id='arrow_down' width='16' height='16' class='icon sort_invert' title="{tr}Sort direction{/tr}" href='#'}
{icon name='sort-down' class='icon sort_invert' title="{tr}Sort direction{/tr}" href='#'}
{/if}
</div>
{else}
......
......@@ -178,13 +178,21 @@
{$cat_tree}
<div class="clearfix">
{if $tiki_p_admin_categories eq 'y'}
<div class="pull-right"><a href="tiki-admin_categories.php" class="link">{tr}Admin Categories{/tr} {icon _id='wrench'}</a></div>
<div class="pull-right">
<a href="tiki-admin_categories.php" class="link">
{tr}Admin Categories{/tr} {icon name='wrench'}
</a>
</div>
{/if}
{select_all checkbox_names='cat_categories[]' label="{tr}Select/deselect all categories{/tr}"}
{else}
<div class="clearfix">
{if $tiki_p_admin_categories eq 'y'}
<div class="pull-right"><a href="tiki-admin_categories.php" class="link">{tr}Admin Categories{/tr} {icon _id='wrench'}</a></div>
<div class="pull-right">
<a href="tiki-admin_categories.php" class="link">
{tr}Admin Categories{/tr} {icon name='wrench'}
</a>
</div>
{/if}
{tr}No categories defined{/tr}
{/if}
......
......@@ -7,7 +7,9 @@
{else}
<a class="label label-default" href="tiki-browse_freetags.php?tag={$smarty.capture.tagurl|escape:'url'}">{$taginfo.tag|escape}</a>
{if isset($deleteTag) and $tiki_p_admin eq 'y'}
<a title="{tr}Untag{/tr} {$taginfo.tag|escape}" href="{$smarty.server.REQUEST_URI}{if strstr($smarty.server.REQUEST_URI, '?')}&amp;{else}?{/if}delTag={$taginfo.tag|escape:'url'}">{icon _id=cross alt="{tr}Untag{/tr}"}</a>&nbsp;
<a class="tips" title=":{tr}Untag{/tr} {$taginfo.tag|escape}" href="{$smarty.server.REQUEST_URI}{if strstr($smarty.server.REQUEST_URI, '?')}&amp;{else}?{/if}delTag={$taginfo.tag|escape:'url'}">
{icon name='remove' alt="{tr}Untag{/tr}"}
</a>&nbsp;
{/if}
{/if}
{/foreach}
......
......@@ -70,7 +70,7 @@ var CHECKBOX_LIST = [{{section name=user loop=$items}'msg[{$items[user].msgId}]'
{section name=user loop=$items}
<tr>
<td class="prio{$items[user].priority}"><input type="checkbox" name="msg[{$items[user].msgId}]"></td>
<td class="prio{$items[user].priority}">{if $items[user].isFlagged eq 'y'}{icon _id='flag_blue' alt="{tr}Flagged{/tr}"}{/if}</td>
<td class="prio{$items[user].priority}">{if $items[user].isFlagged eq 'y'}{icon name='flag' alt="{tr}Flagged{/tr}"}{/if}</td>
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}">{$items[user].user_from|userlink}</td>
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}"><a class="readlink" href="messu-read_archive.php?offset={$offset}&amp;flag={$flag}&amp;priority={$items[user].priority}&amp;flagval={$flagval}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;msgId={$items[user].msgId}">{$items[user].subject|escape}</a></td>
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}">{$items[user].date|tiki_short_datetime}</td><!--date_format:"%d %b %Y [%H:%I]"-->
......
......@@ -6,11 +6,11 @@
{if $message}
<div class="alert alert-warning">
{if $preview eq '1'}
{icon _id=exclamation style="vertical-align:middle" alt="{tr}Confirmation{/tr}"}
{icon name='help' style="vertical-align:middle" alt="{tr}Confirmation{/tr}"}
{elseif $sent eq '1'}
{icon _id=accept alt="{tr}OK{/tr}" style="vertical-align:middle;"}
{icon name='ok' alt="{tr}OK{/tr}" style="vertical-align:middle;"}
{else}
{icon _id=exclamation style="vertical-align:middle" alt="{tr}Error{/tr}"}
{icon name='error' style="vertical-align:middle" alt="{tr}Error{/tr}"}
{/if}
{$message}
{if $preview eq '1'}
......
......@@ -15,9 +15,9 @@
{if $sent}
<div class="alert alert-warning">
{if (strstr($message, "{tr}ERROR{/tr}")) or (strstr($message, "{tr}Invalid{/tr}"))}
{icon _id=delete alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{icon name='remove' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{else}
{icon _id=accept alt="{tr}Send{/tr}" style="vertical-align:middle"}
{icon name='ok' alt="{tr}Send{/tr}" style="vertical-align:middle"}
{/if}
{$message}
</div>
......
......@@ -69,14 +69,14 @@
{section name=user loop=$items}
<tr>
<td class="prio{$items[user].priority}"><input type="checkbox" name="msg[{$items[user].msgId}]"></td>
<td class="prio{$items[user].priority}">{if $items[user].isFlagged eq 'y'}{icon _id='flag_blue' alt="{tr}Flagged{/tr}"}{/if}</td>
<td class="prio{$items[user].priority}">{if $items[user].isFlagged eq 'y'}{icon name='flag' alt="{tr}Flagged{/tr}"}{/if}</td>
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}">{$items[user].user_from|userlink}</td>
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}"><a class="readlink" href="messu-read.php?offset={$offset}&amp;flag={$flag}&amp;priority={$items[user].priority}&amp;flagval={$flagval}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:'url'}&amp;msgId={$items[user].msgId}">{$items[user].subject|escape}</a></td>
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}">{$items[user].date|tiki_short_datetime}</td><!--date_format:"%d %b %Y [%H:%I]"-->
<td class="prio{$items[user].priority}">
{if $items[user].replyto_hash eq ""}&nbsp;{else}
<a class="readlink" href="messu-mailbox.php?origto={$items[user].replyto_hash}">
{icon _id='email_go' alt="{tr}Find replied message{/tr}"}
{icon name='envelope' alt="{tr}Find replied message{/tr}"}
</a>
{/if}
</td>
......
......@@ -68,7 +68,7 @@
</table>
<div class="messureadflag">
{if $msg.isFlagged eq 'y'}
{icon _id='flag_blue' alt="flag"}<a class="link" href="messu-read.php?offset={$offset}&amp;action=isFlagged&amp;actionval=n&amp;msgId={$msgId}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Unflag{/tr}</a>
{icon name='flag' alt="flag"}<a class="link" href="messu-read.php?offset={$offset}&amp;action=isFlagged&amp;actionval=n&amp;msgId={$msgId}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Unflag{/tr}</a>
{else}
<a class="link" href="messu-read.php?offset={$offset}&amp;action=isFlagged&amp;actionval=y&amp;msgId={$msgId}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Flag this message{/tr}</a>
{/if}
......
......@@ -35,7 +35,7 @@
</table>
<div class="messureadflag">
{if $msg.isFlagged eq 'y'}
{icon _id='flag_blue' alt="flag"}<a class="link" href="messu-read_archive.php?offset={$offset}&amp;action=isFlagged&amp;actionval=n&amp;msgId={$msgId}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Unflag{/tr}</a>
{icon name='flag' alt="flag"}<a class="link" href="messu-read_archive.php?offset={$offset}&amp;action=isFlagged&amp;actionval=n&amp;msgId={$msgId}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Unflag{/tr}</a>
{else}
<a class="link" href="messu-read_archive.php?offset={$offset}&amp;action=isFlagged&amp;actionval=y&amp;msgId={$msgId}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;flag={$flag|escape:"url"}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Flag this message{/tr}</a>
{/if}
......
......@@ -35,7 +35,7 @@
</table>
<div class="messureadflag">
{if $msg.isFlagged eq 'y'}
{icon _id='flag_blue' alt="flag"}<a class="link" href="messu-read_sent.php?offset={$offset}&amp;action=isFlagged&amp;actionval=n&amp;msgId={$msgId}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Unflag{/tr}</a>
{icon name='flag' alt="flag"}<a class="link" href="messu-read_sent.php?offset={$offset}&amp;action=isFlagged&amp;actionval=n&amp;msgId={$msgId}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Unflag{/tr}</a>
{else}
<a class="link" href="messu-read_sent.php?offset={$offset}&amp;action=isFlagged&amp;actionval=y&amp;msgId={$msgId}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;flag={$flag}&amp;priority={$priority}&amp;flagval={$flagval}">{tr}Flag this message{/tr}</a>
{/if}
......
......@@ -70,7 +70,7 @@ var CHECKBOX_LIST = [{{section name=user loop=$items}'msg[{$items[user].msgId}]'
{section name=user loop=$items}
<tr>
<td class="prio{$items[user].priority}"><input type="checkbox" name="msg[{$items[user].msgId}]"></td>
<td class="prio{$items[user].priority}">{if $items[user].isFlagged eq 'y'}{icon _id='flag_blue' alt="{tr}Flagged{/tr}"}{/if}</td>
<td class="prio{$items[user].priority}">{if $items[user].isFlagged eq 'y'}{icon name='flag' alt="{tr}Flagged{/tr}"}{/if}</td>
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}">{$items[user].user_to|username}</td>
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}"><a class="readlink" href="messu-read_sent.php?offset={$offset}&amp;flag={$flag}&amp;priority={$items[user].priority}&amp;flagval={$flagval}&amp;sort_mode={$sort_mode}&amp;find={$find|escape:"url"}&amp;msgId={$items[user].msgId}">{$items[user].subject|escape}</a></td>
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}">{$items[user].date|tiki_short_datetime}</td><!--date_format:"%d %b %Y [%H:%I]"-->
......@@ -78,7 +78,7 @@ var CHECKBOX_LIST = [{{section name=user loop=$items}'msg[{$items[user].msgId}]'
<td {if $items[user].isRead eq 'n'}style="font-weight:bold"{/if} class="prio{$items[user].priority}">
{if $items[user].isReplied eq 'n'}{tr}No{/tr}{else}
<a class="readlink" href="messu-mailbox.php?replyto={$items[user].hash}">
{icon _id='email_go' alt="{tr}Replied{/tr}"}
{icon name='envelope' alt="{tr}Replied{/tr}"}
</a>
&nbsp;
<a href="tiki-user_information.php?view_user={$items[user].user_from}">{$items[user].user_from}</a>
......
......@@ -16,13 +16,13 @@
{if $module_flip eq 'y' and $prefs.javascript_enabled ne 'n'}
<span class="moduleflip" id="moduleflip-{$smarty.capture.name}">
<a title="{tr}Toggle module contents{/tr}" class="flipmodtitle close" href="javascript:icntoggle('mod-{$smarty.capture.name}','module.png');">
{icon id="icnmod-"|cat:$smarty.capture.name class="flipmodimage" _id="module" alt="[{tr}Toggle{/tr}]"}
{icon id="icnmod-"|cat:$smarty.capture.name class="flipmodimage" name="module" alt="[{tr}Toggle{/tr}]"}
</a>
</span>
{if $prefs.menus_items_icons eq 'y'}
<span class="moduleflip moduleflip-vert" id="moduleflip-vert-{$smarty.capture.name}">
<a title="{tr}Toggle module contents{/tr}" class="flipmodtitle" href="javascript:flip_class('main','minimize-modules-left','maximize-modules');icntoggle('mod-{$smarty.capture.name}','vmodule.png');">
{icon id="icnmod-"|cat:$smarty.capture.name class="flipmodimage" _id="trans" alt="[{tr}Toggle Vertically{/tr}]" _defaultdir="img"}
{icon id="icnmod-"|cat:$smarty.capture.name class="flipmodimage" name="move" alt="[{tr}Toggle Vertically{/tr}]" _defaultdir="img"}
</a>
</span>
{/if}
......@@ -39,7 +39,7 @@
{if $module_flip eq 'y' and $prefs.javascript_enabled ne 'n'}
<span class="moduleflip" id="moduleflip-{$smarty.capture.name}">
<a title="{tr}Toggle module contents{/tr}" class="flipmodtitle" href="javascript:icntoggle('mod-{$smarty.capture.name}','module.png');">
{icon name="icnmod-"|cat:$smarty.capture.name class="flipmodimage" _id="module" alt="[{tr}Toggle{/tr}]"}
{icon id="icnmod-"|cat:$smarty.capture.name class="flipmodimage" name="module" alt="[{tr}Toggle{/tr}]"}
</a>
</span>
{/if}
......@@ -61,17 +61,17 @@
{if $user and $prefs.user_assigned_modules == 'y' and $prefs.feature_modulecontrols eq 'y'}
<div class="panel-footer">
<span class="modcontrols">
<a title="{tr}Move module up{/tr}" href="{$current_location|escape}{$mpchar|escape}mc_up={$module_name}">
{icon _id="resultset_up" alt="{tr}Up{/tr}"}
<a class="tips" title=":{tr}Move module up{/tr}" href="{$current_location|escape}{$mpchar|escape}mc_up={$module_name}">
{icon name="up" alt="{tr}Up{/tr}"}
</a>
<a title="{tr}Move module down{/tr}" href="{$current_location|escape}{$mpchar|escape}mc_down={$module_name}">
{icon _id="resultset_down" alt="{tr}Down{/tr}"}
<a clas="tips" title=":{tr}Move module down{/tr}" href="{$current_location|escape}{$mpchar|escape}mc_down={$module_name}">
{icon name="down" alt="{tr}Down{/tr}"}
</a>
<a title="{tr}Move module to opposite side{/tr}" href="{$current_location|escape}{$mpchar|escape}mc_move={$module_name}">
{icon _id="arrow_right-left" alt="{tr}Move to opposite side{/tr}"}
<a class="tips" title=":{tr}Move module to opposite side{/tr}" href="{$current_location|escape}{$mpchar|escape}mc_move={$module_name}">
{icon name="move" alt="{tr}Move to opposite side{/tr}"}
</a>
<a title="{tr}Unassign this module{/tr}" href="{$current_location|escape}{$mpchar|escape}mc_unassign={$module_name}" onclick='return confirmTheLink(this,"{tr}Are you sure you want to unassign this module?{/tr}")'>
{icon _id="cross" alt="{tr}Unassign{/tr}"}
<a class="tips" title=":{tr}Unassign this module{/tr}" href="{$current_location|escape}{$mpchar|escape}mc_unassign={$module_name}" onclick='return confirmTheLink(this,"{tr}Are you sure you want to unassign this module?{/tr}")'>
{icon name="remove" alt="{tr}Unassign{/tr}"}
</a>
</span>
</div>
......
{if $downloadLink}
<small>
<a href="{$downloadLink}" target="_blank">{icon _id='disk' alt="{tr}Download Log File{/tr}"}
<a href="{$downloadLink}" target="_blank">{icon name='floppy' alt="{tr}Download Log File{/tr}"}
{tr}Download Log File{/tr}</a>
</small>
{/if}
......
......@@ -21,7 +21,7 @@
{if $structure_tree.editable}
{if $structure_tree.flag == 'L'}
{capture assign=title}{tr _0=$structure_tree.user}locked by %0{/tr}{/capture}
{icon _id='lock' alt="{tr}Locked{/tr}" title=$title}
{icon name='lock' alt="{tr}Locked{/tr}" title=$title}
{else}
{self_link _script='tiki-editpage.php' page=$structure_tree.pageName _class='tips' _title=':{tr}Edit page{/tr}'}
{icon name="edit"}
......
......@@ -4,7 +4,7 @@
{/title}
{if !empty($errors)}
<div class="alert alert-warning">
{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{foreach from=$errors item=m name=errors}
{$m}
{if !$smarty.foreach.errors.last}<br>{/if}
......
......@@ -4,7 +4,7 @@
{/title}
{if !empty($errors)}
<div class="alert alert-warning">
{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{foreach from=$errors item=m name=errors}
{$m}
{if !$smarty.foreach.errors.last}<br>{/if}
......
......@@ -6,7 +6,7 @@
{/title}
{if !empty($errors)}
<div class="alert alert-warning">
{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{foreach from=$errors item=m name=errors}
{$m}
{if !$smarty.foreach.errors.last}<br>{/if}
......
......@@ -37,20 +37,28 @@
<td>{$a.accountTax}</td>
{if $tiki_p_acct_manage_accounts=='y'}
<td style="width:64px;">
<a class="icon" href="tiki-accounting_account.php?bookId={$bookId}&accountId={$a.accountId}&action=edit">{icon _id="page_edit" alt="{tr}edit account{/tr}"}</a>
<a class="icon" href="tiki-accounting_account.php?bookId={$bookId}&accountId={$a.accountId}&action=edit">
{icon name="edit" alt="{tr}edit account{/tr}"}
</a>
<a class="icon" href="tiki-accounting_account.php?bookId={$bookId}&accountId={$a.accountId}&action=lock">
{if $a.accountLocked==1}
{icon _id="lock_open" alt="{tr}unlock account{/tr}" _confirm="{tr}Are you sure you want to unlock this account?{/tr}"}
{icon name="unlock" alt="{tr}unlock account{/tr}" _confirm="{tr}Are you sure you want to unlock this account?{/tr}"}
{else}
{icon _id="lock" alt="{tr}lock account{/tr}" _confirm="{tr}Are you sure you want to lock this account?{/tr}"}
{icon name="lock" alt="{tr}lock account{/tr}" _confirm="{tr}Are you sure you want to lock this account?{/tr}"}
{/if}
</a>
<a class="icon" href="tiki-accounting_account.php?bookId={$bookId}&accountId={$a.accountId}&action=delete">{icon _id="delete" alt="{tr}delete account{/tr}" _confirm="{tr}Are you sure, you want to delete this account{/tr}"}</a>
<a class="icon" href="tiki-accounting_account.php?bookId={$bookId}&accountId={$a.accountId}&action=delete">
{icon name="remove" alt="{tr}delete account{/tr}" _confirm="{tr}Are you sure, you want to delete this account{/tr}"}
</a>
</td>
{/if}
</tr>
{/foreach}
</table>
{button href="tiki-accounting_account.php?action=new&bookId=$bookId" _text="{tr}Create a new account{/tr}"}
<a class="icon" href="tiki-accounting_export.php?action=print&bookId={$bookId}&what=accounts" target="new">{icon _id="printer" alt="{tr}printable version{/tr}"}</a>
<a class="icon" href="tiki-accounting_export.php?action=settings&bookId={$bookId}&what=accounts">{icon _id="table" alt="{tr}export table{/tr}"}</a>
<a class="icon" href="tiki-accounting_export.php?action=print&bookId={$bookId}&what=accounts" target="new">
{icon name="print" alt="{tr}printable version{/tr}"}
</a>
<a class="icon" href="tiki-accounting_export.php?action=settings&bookId={$bookId}&what=accounts">
{icon name="export" alt="{tr}export table{/tr}"}
</a>
......@@ -5,7 +5,7 @@
{/title}
{if !empty($errors)}
<div class="alert alert-warning">
{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{foreach from=$errors item=m name=errors}
{$m}
{if !$smarty.foreach.errors.last}<br>{/if}
......
{* $Id$ *}
{if !empty($errors)}
<div class="alert alert-warning">
{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{foreach from=$errors item=m name=errors}
{$m}
{if !$smarty.foreach.errors.last}<br>{/if}
......@@ -35,7 +35,9 @@
<td>
{if $element.bookClosed=='y'}{tr}closed{/tr}{else}{tr}open{/tr}
{if $canCreate}
<a class="icon" href="tiki-accounting_books.php?action=close&bookId={$element.bookId}">{icon _id="book_key" _confirm="{tr}Are you sure, you want to close this book{/tr}" alt="{tr}close book{/tr}"}</a>
<a class="icon" href="tiki-accounting_books.php?action=close&bookId={$element.bookId}">
{icon name="file-archive" _confirm="{tr}Are you sure, you want to close this book{/tr}" alt="{tr}close book{/tr}"}
</a>
{/if}
{/if}
</td>
......
......@@ -4,7 +4,7 @@
{/title}
{if !empty($errors)}
<div class="alert alert-warning">
{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{foreach from=$errors item=m name=errors}
{$m}
{if !$smarty.foreach.errors.last}<br>{/if}
......
......@@ -35,7 +35,7 @@ var account='';
{/title}
{if !empty($errors)}
<div class="alert alert-warning">
{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{foreach from=$errors item=m name=errors}
{$m}
{if !$smarty.foreach.errors.last}<br>{/if}
......
{* $Id$ *}
<a class="icon" href="tiki-accounting_export.php?action=print&what=journal&bookId={$bookId}{if isset($account.accountId)}&accountId={$account.accountId}{/if}" target="new">{icon _id="printer" alt="{tr}printable version{/tr}"}</a>
<a class="icon" href="tiki-accounting_export.php?action=settings&what=journal&bookId={$bookId}{if isset($account.accountId)}&accountId={$account.accountId}{/if}">{icon _id="table" alt="{tr}export table{/tr}"}</a>
<a class="icon" href="tiki-accounting_export.php?action=print&what=journal&bookId={$bookId}{if isset($account.accountId)}&accountId={$account.accountId}{/if}" target="new">
{icon name="print" alt="{tr}printable version{/tr}"}
</a>
<a class="icon" href="tiki-accounting_export.php?action=settings&what=journal&bookId={$bookId}{if isset($account.accountId)}&accountId={$account.accountId}{/if}">
{icon name="export" alt="{tr}export table{/tr}"}
</a>
<div class="table-responsive">
<table class="table normal">
<tr>
......@@ -36,7 +40,9 @@
<td rowspan="{$j.maxcount}">
{if $j.journalCancelled==1}&nbsp;
{else}
<a class="icon" href="tiki-accounting_cancel.php?bookId={$bookId}&journalId={$j.journalId}">{icon _id="delete" alt="{tr}cancel this transaction{/tr}" _confirm="{tr}Are you sure you want to cancel this transaction{/tr}"}</a>
<a class="icon" href="tiki-accounting_cancel.php?bookId={$bookId}&journalId={$j.journalId}">
{icon name="remove" alt="{tr}cancel this transaction{/tr}" _confirm="{tr}Are you sure you want to cancel this transaction{/tr}"}
</a>
{/if}
</td>
{/if}
......
......@@ -37,7 +37,7 @@ var account='';
{if !empty($errors)}
<div class="alert alert-warning">
{icon _id=exclamation alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{icon name='error' alt="{tr}Error{/tr}" style="vertical-align:middle" align="left"}
{foreach from=$errors item=m name=errors}
{$m}
{if !$smarty.foreach.errors.last}<br>{/if}
......
{* $Id$ *}
<a class="icon" href="tiki-accounting_export.php?action=print&what=stack&bookId={$bookId}" target="new">{icon _id="printer" alt="{tr}printable version{/tr}"}</a>
<a class="icon" href="tiki-accounting_export.php?action=settings&what=stack&bookId={$bookId}">{icon _id="table" alt="{tr}export table{/tr}"}</a>
<a class="icon" href="tiki-accounting_export.php?action=print&what=stack&bookId={$bookId}" target="new">
{icon name="print" alt="{tr}printable version{/tr}"}
</a>
<a class="icon" href="tiki-accounting_export.php?action=settings&what=stack&bookId={$bookId}">
{icon name="export" alt="{tr}export table{/tr}"}
</a>
<table class="table normal">
<tr>
<th rowspan="2">{tr}Id{/tr}</th>
......@@ -47,8 +51,14 @@
<td class="journal">{if $i<$j.creditcount}{$j.credit[$i].stackItemText|escape}{/if}&nbsp;</td>
{if $smarty.section.posts.first}
<td rowspan="{$s.maxcount}">
<a class="icon" href="tiki-accounting_stack.php?action=delete&bookId={$bookId}&stackId={$s.stackId}">{icon _id="delete" alt="{tr}delete this transaction from the stack{/tr}" _confirm="{tr}Are you sure you want to delete this transaction from stack?{/tr}"}</a><br>
{if $canBook}<a class="icon" href="tiki-accounting_stack.php?action=confirm&bookId={$bookId}&stackId={$s.stackId}">{icon _id="arrow_right" alt="{tr}confirm this transaction{/tr}" _confirm="{tr}Are you sure you want to confirm this transaction?{/tr}"}</a><br>{/if}
<a class="icon" href="tiki-accounting_stack.php?action=delete&bookId={$bookId}&stackId={$s.stackId}">
{icon name="remove" alt="{tr}delete this transaction from the stack{/tr}" _confirm="{tr}Are you sure you want to delete this transaction from stack?{/tr}"}
</a><br>
{if $canBook}
<a class="icon" href="tiki-accounting_stack.php?action=confirm&bookId={$bookId}&stackId={$s.stackId}">
{icon name="help" alt="{tr}confirm this transaction{/tr}" _confirm="{tr}Are you sure you want to confirm this transaction?{/tr}"}
</a><br>
{/if}
</td>
{/if}
</tr>
......
......@@ -48,9 +48,15 @@
{section name=ix loop=$comments}{assign var=id value=$comments[ix].threadId}
{capture name=over_actions}
{strip}
<a href="{$comments[ix].href}">{icon _id='magnifier' alt="{tr}Display{/tr}"}</a>
<a href="{$comments[ix].href|cat:"&amp;comments_threadId=$id&amp;edit_reply=1#form"}">{icon _id='page_edit' alt="{tr}Edit{/tr}"}</a>
{self_link remove=1 checked=$id _icon='cross'}{tr}Delete{/tr}{/self_link}
<a href="{$comments[ix].href}">
{icon name='view' _menu_text='y' _menu_icon='y' alt="{tr}Display{/tr}"}
</a>
<a href="{$comments[ix].href|cat:"&amp;comments_threadId=$id&amp;edit_reply=1#form"}">
{icon name='edit' _menu_text='y' _menu_icon='y' alt="{tr}Edit{/tr}"}
</a>
{self_link remove=1 checked=$id _menu_text='y' _menu_icon='y' _icon_name='remove'}
{tr}Delete{/tr}
{/self_link}
{/strip}
{/capture}
......
......@@ -287,6 +287,9 @@ function iconset_legacy()
'filter' => array(
'id' => 'find',
),
'flag' => array(
'id' => 'flag_blue',
),
'floppy' => array(
'id' => 'disk',
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment