diff options
Diffstat (limited to 'src/defidx.html')
-rw-r--r-- | src/defidx.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/defidx.html b/src/defidx.html index 12bea9f..385eeec 100644 --- a/src/defidx.html +++ b/src/defidx.html @@ -11,8 +11,8 @@ <table id="indexlist"> <tr class="indexhead"> <th class="indexcolicon"> - {% if $(icon blank) %} - <img src="{% $(icon blank) %}" alt="[ICO]"> + {% if $(iconlookup BLANK) %} + <img src="{% $(iconsrc) %}" alt="[{% $(iconalt) %}]"> {% else %} [ICO] {% endif %} @@ -36,8 +36,8 @@ {% if $(updir $URI) %} <tr class="odd"> <td class="indexcolicon"> - {% if $(icon back) %} - <img src="{% $(icon 'back') %}" alt="[PARENTDIR]"> + {% if $(iconlookup "..") %} + <img src="{% $(iconsrc) %}" alt=" {% $(iconalt) %}]"> {% else %} [PARENTDIR] {% endif %} @@ -53,8 +53,8 @@ {% loop %} <tr class="{% $ROWCLASS %}"> <td class="indexcolicon"> - {% if $(icon $MIMETYPE) %} - <img src="{% $(icon $MIMETYPE) %}" alt="[{% $(alt $MIMETYPE) %}]"> + {% if $(iconlookup "$FILENAME" "$MIMETYPE" "$FILETYPE") %} + <img src="{% $(iconsrc) %}" alt="[{% $(iconalt) %}]"> {% else %} [{% $FILETYPE %}] {% endif %} |