diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-11-15 15:25:14 -0500 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-11-15 15:25:14 -0500 |
commit | 445148827d8f0d144085a19bcb47bc84d0c8b599 (patch) | |
tree | 55d3c14f801b83c9212c0001322b64f8112cc3c8 | |
parent | 841681579bda0934296ab828abef792f1ce509f7 (diff) | |
download | themesite-445148827d8f0d144085a19bcb47bc84d0c8b599.tar.gz themesite-445148827d8f0d144085a19bcb47bc84d0c8b599.zip |
admin: include the theme ID, and default to "delete" when a theme has been hidden due to being replaced.
-rw-r--r-- | private/templates/adminlist.tpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/private/templates/adminlist.tpl b/private/templates/adminlist.tpl index d1e2aca..43697d5 100644 --- a/private/templates/adminlist.tpl +++ b/private/templates/adminlist.tpl @@ -44,7 +44,7 @@ <td>{html_image file="`$datadir`/`$themes[i].mainlcd`/`$themes[i].shortname`/`$themes[i].sshot_wps`" href="download.php?themeid=`$themes[i].id`" path=$path oversrc=$themes[i].sshot_menu oversrc1=$themes[i].sshot_1 oversrc2=$themes[i].sshot_2 oversrc3=$themes[i].sshot_3 alt="Download" title="Download"}</td> <td> - <strong>{$themes[i].name}</strong> + <strong>#{$themes[i].id}: {$themes[i].name}</strong> <p><small> <strong>Author:</strong> <a href="mailto:{$themes[i].email|escape:'html'}">{$themes[i].author|escape:'html'}</a><br /> {if $themes[i].verified == 0} @@ -78,10 +78,10 @@ <input type="radio" id="reported[{$id}]" name="status[{$id}]" value="2" {if $themes[i].approved == 2}checked="checked" {/if}/><br /> <label for="hidden[{$id}]">Hidden</label> - <input type="radio" id="hidden[{$id}]" name="status[{$id}]" value="0" {if $themes[i].approved == 0}checked="checked" {/if}/><br /> + <input type="radio" id="hidden[{$id}]" name="status[{$id}]" value="0" {if $themes[i].approved == 0 && $themes[i].reason != "Theme was replaced by newer version."}checked="checked" {/if}/><br /> <label for="delete[{$id}]">Delete</label> - <input type="radio" id="delete[{$id}]" name="status[{$id}]" value="-1" /> + <input type="radio" id="delete[{$id}]" name="status[{$id}]" value="-1" {if $themes[i].approved == 0 && $themes[i].reason == "Theme was replaced by newer version."}checked="checked" {/if} /> </td> <td> <textarea rows="10" cols="40" name="reason[{$id}]">{$themes[i].reason|escape:'html'}</textarea> |