tpl fixes for smarty3, thanks to timbalu
This commit is contained in:
@ -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}
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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';
|
||||
|
Reference in New Issue
Block a user