Commit 13758d238ccd9672c581191602fc6f3dc54fbc44
1 parent
63c4ea3d
Template for rendering a document action.
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@3602 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
16 additions
and
0 deletions
templates/ktcore/document_action.smarty
0 → 100644
| 1 | +{if $disabled} | ||
| 2 | +<span class="disabledbutton" | ||
| 3 | +{if $disabled_text} | ||
| 4 | +title="{$disabled_text} | ||
| 5 | +onClick="alert('{$disabled_text}');" | ||
| 6 | +{/if} | ||
| 7 | +>{$name|strtoupper}</span> | ||
| 8 | +{else} | ||
| 9 | +<a href="{$url}"><span | ||
| 10 | +class="button" | ||
| 11 | +{if $alert} | ||
| 12 | +onClick="alert('{$alert}'); return true;" | ||
| 13 | +{/if} | ||
| 14 | +onMouseOver="javascript:this.style.backgroundColor='#EEEEEE';" | ||
| 15 | +onMouseOut="javascript:this.style.backgroundColor='#FFFFFF';">{$name|strtoupper}</span></a> | ||
| 16 | +{/if} |