Skip to content

Commit

Permalink
entries tpl minor improvement and notes
Browse files Browse the repository at this point in the history
  • Loading branch information
ophian committed Feb 20, 2012
1 parent 4631e17 commit 9163510
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/admin/tpl/entries.inc.tpl
Expand Up @@ -140,11 +140,11 @@
{if count($entry.categories)}
{$CONST.IN}
{foreach $entry.categories as $cat}
{$caturl = serendipity_categoryURL($cat)}{* serendipity_categoryURL($cat) entweder die fnction in security setting aufnehmen oder nachbilden oder raus *}
{$caturl = serendipity_categoryURL($cat)}{* serendipity_categoryURL($cat) include to allowed php_functions in Smarty Security, or rebuild somehow, or rewrite tpl *}
{$cats[] = '<a href="{$caturl}">{$cat.category_name|escape)}</a>'}
{/foreach}
{foreach $cats AS $implode_cat}
{$implode_cat}{if !$implode_cat@last}, {/if}
{$implode_cat}{if (count($cats) > 1) && !$implode_cat@last}, {/if}
{/foreach}
{/if}
Expand All @@ -155,7 +155,7 @@
<td align="right">
{if ($entry.isdraft == true) || (!$showFutureEntries && ($entry.timestamp >= $serverOffsetHour))}
<a target="_blank" href="?serendipity[noBanner]=true&amp;serendipity[noSidebar]=true&amp;serendipity[action]=admin&amp;serendipity[adminModule]=entries&amp;serendipity[adminAction]=preview&amp;serendipity[id]={$entry.id}&amp;{$urltoken}" title="{$CONST.PREVIEW} #{$entry.id}" class="serendipityIconLink"><img src="{serendipity_getFile file='admin/img/zoom.png'}" alt="{$CONST.PREVIEW}" />{$CONST.PREVIEW}</a>
{else}
{else} {* serendipity_archiveURL() include to allowed php_functions in Smarty Security, or rebuild somehow, or rewrite tpl *}
<a target="_blank" href="{serendipity_archiveURL($entry.id, $entry.title, "serendipityHTTPPath", true, ['timestamp' => $entry.timestamp])}" title="{$CONST.VIEW} #{$entry.id}" class="serendipityIconLink"><img src="{serendipity_getFile file='admin/img/zoom.png'}" alt="{$CONST.VIEW}" />{$CONST.VIEW}</a>
{/if}
<a href="?serendipity[action]=admin&amp;serendipity[adminModule]=entries&amp;serendipity[adminAction]=edit&amp;serendipity[id]={$entry.id}" title="{$CONST.EDIT} #{$entry.id}" class="serendipityIconLink"><img src="{serendipity_getFile file='admin/img/edit.png'}" alt="{$CONST.EDIT}" />{$CONST.EDIT}</a>
Expand Down Expand Up @@ -243,13 +243,13 @@
{foreach $rip_entry AS $rip}
{$rip}
<br />
{/foreach}
{/foreach}
{/if}
{if ($marty.get.adminAction && $is_doMultiDelete)}
{foreach $delete_entry AS $erase}
{$erase}
{$erase}
<br />
{/foreach}
{/foreach}
{/if}
{if ($marty.get.adminAction && ( $is_delete || $is_multidelete ))}
<br />
Expand Down

0 comments on commit 9163510

Please sign in to comment.