[3569] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
---|
| 2 | <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> |
---|
| 3 | <xsl:output method="html" omit-xml-declaration="yes"/> |
---|
| 4 | |
---|
| 5 | <xsl:param name="checkList" /> |
---|
| 6 | <xsl:param name="checkIcons" /> |
---|
| 7 | <xsl:param name="check_created" /> |
---|
| 8 | <xsl:param name="check_createdby_id" /> |
---|
| 9 | <xsl:param name="check_comment" /> |
---|
| 10 | <xsl:param name="check_mime_type" /> |
---|
| 11 | <xsl:param name="check_modified" /> |
---|
| 12 | <xsl:param name="check_modifiedby_id" /> |
---|
| 13 | <xsl:param name="check_owner" /> |
---|
| 14 | <xsl:param name="check_size" /> |
---|
| 15 | <xsl:param name="check_version" /> |
---|
| 16 | <xsl:param name="lang_cancel" /> |
---|
| 17 | <xsl:param name="lang_created_by" /> |
---|
| 18 | <xsl:param name="lang_created" /> |
---|
| 19 | <xsl:param name="lang_comment" /> |
---|
| 20 | <xsl:param name="lang_modified_by" /> |
---|
| 21 | <xsl:param name="lang_modified" /> |
---|
| 22 | <xsl:param name="lang_owner" /> |
---|
| 23 | <xsl:param name="lang_save" /> |
---|
| 24 | <xsl:param name="lang_size" /> |
---|
| 25 | <xsl:param name="lang_type" /> |
---|
| 26 | <xsl:param name="lang_version" /> |
---|
| 27 | <xsl:param name="lang_view_as_list" /> |
---|
| 28 | <xsl:param name="lang_view_as_icons" /> |
---|
| 29 | <xsl:param name="onclickCancel" /> |
---|
| 30 | <xsl:param name="onclickSave" /> |
---|
| 31 | |
---|
| 32 | <xsl:template match="view_config"> |
---|
| 33 | |
---|
| 34 | <div id="menu_col_pref"> |
---|
| 35 | |
---|
| 36 | <input name="prefView" value="viewList" type="radio"> |
---|
| 37 | <xsl:if test="$checkList = 1"> |
---|
| 38 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 39 | </xsl:if> |
---|
| 40 | </input> |
---|
| 41 | <xsl:value-of select="$lang_view_as_list"/> |
---|
| 42 | |
---|
| 43 | <input name="prefView" value="viewIcons" type="radio"> |
---|
| 44 | <xsl:if test="$checkIcons = 1"> |
---|
| 45 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 46 | </xsl:if> |
---|
| 47 | </input> |
---|
| 48 | <xsl:value-of select="$lang_view_as_icons"/><br/> |
---|
| 49 | |
---|
[3679] | 50 | <input value="mime_type" type="checkbox"> |
---|
[3569] | 51 | <xsl:if test="$check_mime_type = 1"> |
---|
| 52 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 53 | </xsl:if> |
---|
| 54 | </input> |
---|
| 55 | <xsl:value-of select="$lang_type"/><br/> |
---|
| 56 | |
---|
[3679] | 57 | <input value="size" type="checkbox"> |
---|
[3569] | 58 | <xsl:if test="$check_size = 1"> |
---|
| 59 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 60 | </xsl:if> |
---|
| 61 | </input> |
---|
| 62 | <xsl:value-of select="$lang_size"/><br/> |
---|
| 63 | |
---|
[3679] | 64 | <input value="created" type="checkbox"> |
---|
[3569] | 65 | <xsl:if test="$check_created = 1"> |
---|
| 66 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 67 | </xsl:if> |
---|
| 68 | </input> |
---|
| 69 | <xsl:value-of select="$lang_created"/><br/> |
---|
| 70 | |
---|
[3679] | 71 | <input value="modified" type="checkbox"> |
---|
[3569] | 72 | <xsl:if test="$check_modified = 1"> |
---|
| 73 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 74 | </xsl:if> |
---|
| 75 | </input> |
---|
| 76 | <xsl:value-of select="$lang_modified"/><br/> |
---|
| 77 | |
---|
[3679] | 78 | <input value="owner" type="checkbox"> |
---|
[3569] | 79 | <xsl:if test="$check_owner = 1"> |
---|
| 80 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 81 | </xsl:if> |
---|
| 82 | </input> |
---|
| 83 | <xsl:value-of select="$lang_owner"/><br/> |
---|
| 84 | |
---|
[3679] | 85 | <input value="createdby_id" type="checkbox"> |
---|
[3569] | 86 | <xsl:if test="$check_createdby_id = 1"> |
---|
| 87 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 88 | </xsl:if> |
---|
| 89 | </input> |
---|
| 90 | <xsl:value-of select="$lang_created_by"/><br/> |
---|
| 91 | |
---|
[3679] | 92 | <input value="modifiedby_id" type="checkbox"> |
---|
[3569] | 93 | <xsl:if test="$check_modifiedby_id = 1"> |
---|
| 94 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 95 | </xsl:if> |
---|
| 96 | </input> |
---|
| 97 | <xsl:value-of select="$lang_modified_by"/><br/> |
---|
| 98 | |
---|
[3679] | 99 | <input value="comment" type="checkbox"> |
---|
[3569] | 100 | <xsl:if test="$check_comment = 1"> |
---|
| 101 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 102 | </xsl:if> |
---|
| 103 | </input> |
---|
| 104 | <xsl:value-of select="$lang_comment"/><br/> |
---|
| 105 | |
---|
[3679] | 106 | <input value="version" type="checkbox"> |
---|
[3569] | 107 | <xsl:if test="$check_version = 1"> |
---|
| 108 | <xsl:attribute name="checked">checked</xsl:attribute> |
---|
| 109 | </xsl:if> |
---|
| 110 | </input> |
---|
| 111 | <xsl:value-of select="$lang_version"/><br/> |
---|
| 112 | |
---|
| 113 | </div> |
---|
| 114 | |
---|
| 115 | <div style="margin-top:15px;"> |
---|
| 116 | <input style="margin-left:5px;" value="{$lang_save}" onclick="{$onclickSave}" type="button" /> |
---|
| 117 | <input style="margin-left:5px;" value="{$lang_cancel}" onclick="{$onclickCancel}" type="button" /> |
---|
| 118 | </div> |
---|
| 119 | |
---|
| 120 | </xsl:template> |
---|
| 121 | |
---|
| 122 | </xsl:stylesheet> |
---|