Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed hardcoded HTML from function COM_showMessageText
Added new template file system_message.thtml and added default template variable {image_type} which is now set for all templates if exists.
- Loading branch information
1 parent
c67a996
commit d41208d
Showing
4 changed files
with
40 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{# begin {templatelocation} #} | ||
|
||
{start_block_msg} | ||
<p class="sysmessage"><img src="{layout_url}/images/sysmessage.{image_type}" alt=""{xhtml}>{lang_message}</p> | ||
{end_block_msg} | ||
|
||
{# end {templatelocation} #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{# begin {templatelocation} #} | ||
|
||
{start_block_msg} | ||
<p class="sysmessage"><img src="{layout_url}/images/sysmessage.{image_type}" alt=""{xhtml}>{lang_message}</p> | ||
{end_block_msg} | ||
|
||
{# end {templatelocation} #} |
7 changes: 7 additions & 0 deletions
7
public_html/layout/modern_curve/controls/system_message.thtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{# begin {templatelocation} #} | ||
|
||
{start_block_msg} | ||
<p class="sysmessage"><img src="{layout_url}/images/sysmessage.{image_type}" alt=""{xhtml}>{lang_message}</p> | ||
{end_block_msg} | ||
|
||
{# end {templatelocation} #} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters