Skip to content
This repository has been archived by the owner on Feb 23, 2020. It is now read-only.

Commit

Permalink
little change for Jalali hook : https://github.com/EhsanCh/whmcs-jala…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehsan authored and Ehsan committed Apr 26, 2016
1 parent 1c57b65 commit 20cfdbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion announcements.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<h2>
<span class="label label-default">
{"M jS"|date:$announcement.timestamp}
{if $jdate}{$announcement.date}{else}{"M jS"|date:$announcement.timestamp}{/if}
</span>
<a href="{if $seofriendlyurls}{$WEB_ROOT}/announcements/{$announcement.id}/{$announcement.urlfriendlytitle}.html{else}{$smarty.server.PHP_SELF}?id={$announcement.id}{/if}">{$announcement.title}</a>
</h2>
Expand Down
2 changes: 1 addition & 1 deletion homepage.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div class="announcement-single">
<h3>
<span class="label label-default">
{$announcement.rawDate|date_format:"M jS"}
{if $jdate}{$announcement.date}{else}{$announcement.rawDate|date_format:"M jS"}{/if}
</span>
<a href="{if $seofriendlyurls}{$WEB_ROOT}/announcements/{$announcement.id}/{$announcement.urlfriendlytitle}.html{else}announcements.php?id={$announcement.id}{/if}">{$announcement.title}</a>
</h3>
Expand Down

0 comments on commit 20cfdbe

Please sign in to comment.