diff options
author | Kevin Chabowski <kevin@kch42.de> | 2012-01-13 17:37:08 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2012-01-13 17:37:08 +0100 |
commit | 1f8533ded93beac340daa2f8672b9f3d5c7e8414 (patch) | |
tree | b000f526c358a4cf1d836b44421c58d4996dc5f2 /ratatoeskr/templates/src/systemtemplates/master.html | |
parent | f570dab1ebfda9d80dca0d1dcffe4c195b8932be (diff) | |
download | ratatoeskr-cms-1f8533ded93beac340daa2f8672b9f3d5c7e8414.tar.gz ratatoeskr-cms-1f8533ded93beac340daa2f8672b9f3d5c7e8414.tar.bz2 ratatoeskr-cms-1f8533ded93beac340daa2f8672b9f3d5c7e8414.zip |
created ste:default_error / ste:default_success tags.
Will make it easier for plugin authors to get an consistentlook and feel.
Diffstat (limited to 'ratatoeskr/templates/src/systemtemplates/master.html')
-rwxr-xr-x | ratatoeskr/templates/src/systemtemplates/master.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ratatoeskr/templates/src/systemtemplates/master.html b/ratatoeskr/templates/src/systemtemplates/master.html index 637f967..67207b9 100755 --- a/ratatoeskr/templates/src/systemtemplates/master.html +++ b/ratatoeskr/templates/src/systemtemplates/master.html @@ -1,3 +1,17 @@ +<ste:mktag name="default_success"> + <ste:if>$success + <ste:then> + <div class="success"><ste:escape>$success</ste:escape></div> + </ste:then> + </ste:if> +</ste:mktag> +<ste:mktag name="default_error"> + <ste:if>$error + <ste:then> + <div class="error"><ste:escape>$error</ste:escape></div> + </ste:then> + </ste:if> +</ste:mktag> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> |