1
0

tpl fixes for smarty3, thanks to timbalu

This commit is contained in:
Garvin Hicking
2011-01-06 12:12:47 +00:00
parent bd0d0b7bc0
commit ada93a01c5
5 changed files with 7 additions and 5 deletions

View File

@ -104,7 +104,7 @@
if (newname = prompt('{$CONST.ENTER_NEW_NAME}' + fname, fname)) {ldelim}
newloc = '?{$media.token_url}&serendipity[adminModule]=images&serendipity[adminAction]=rename&serendipity[fid]='+ escape(id) + '&serendipity[newname]='+ escape(newname);
location.href=newloc;
}
{rdelim}
{rdelim}
{/if}

View File

@ -120,7 +120,7 @@
<td>{$CONST.SORT_ORDER}</td>
<td><select name="serendipity[sortorder][ordermode]">
<option value="DESC" {if $media.sortorder.ordermode == 'DESC'}selected="selected"{/if}>{$CONST.SORT_ORDER_DESC}</option>
<option value="ASC" {if $media.sortorder.ordermode == 'ASC'}selected="selected"{/if}>{$CONST.SORT_ORDER_ASC }</option>
<option value="ASC" {if $media.sortorder.ordermode == 'ASC'}selected="selected"{/if}>{$CONST.SORT_ORDER_ASC}</option>
</select>
</td>
<td>{$CONST.FILES_PER_PAGE}</td>

View File

@ -26,7 +26,7 @@ function showNodes(n) {ldelim}
default:
html += 'Type is ' + n.nodeType + ', Content is <strong>' + n.nodeValue + '<\/strong>';
}
{rdelim}
if (n.hasChildNodes()) {ldelim}
html += '\n<ol>\n';