diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-01-14 06:40:55 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-01-14 06:40:55 +0300 |
commit | 76071515bf1aa9e1def7f4c185b1ab0cc9c385e6 (patch) | |
tree | 3f10980a093701ec7d7b69af024a6dedca08e0fe /plugins/SitesManager/templates | |
parent | 032b512a4262fa432e5c2aa97d35daaab912ca2b (diff) |
Fixing #452
Diffstat (limited to 'plugins/SitesManager/templates')
-rw-r--r-- | plugins/SitesManager/templates/DisplayJavascriptCode.tpl | 54 | ||||
-rw-r--r-- | plugins/SitesManager/templates/SitesManager.tpl | 128 |
2 files changed, 91 insertions, 91 deletions
diff --git a/plugins/SitesManager/templates/DisplayJavascriptCode.tpl b/plugins/SitesManager/templates/DisplayJavascriptCode.tpl index 784557308c..e601c8dc58 100644 --- a/plugins/SitesManager/templates/DisplayJavascriptCode.tpl +++ b/plugins/SitesManager/templates/DisplayJavascriptCode.tpl @@ -1,27 +1,27 @@ -{loadJavascriptTranslations plugins='SitesManager'}
-{assign var=showSitesSelection value=false}
-{assign var=showPeriodSelection value=false}
-{include file="CoreAdminHome/templates/header.tpl"}
-{include file="CoreAdminHome/templates/menu.tpl"}
-
-{literal}
-<style>
-code {
- background-color:#F0F7FF;
- border-color:#00008B;
- border-style:dashed dashed dashed solid;
- border-width:1px 1px 1px 5px;
- direction:ltr;
- display:block;
- font-size:80%;
- margin:2px 2px 20px;
- padding:4px;
- text-align:left;
- font-family: "Courier New" Courier monospace;
-}
-</style>
-{/literal}
-
-<p>{'SitesManager_JsCodeHelp'|translate}:</p>
-
-<code>{$jsTag}</code>
+{loadJavascriptTranslations plugins='SitesManager'} +{assign var=showSitesSelection value=false} +{assign var=showPeriodSelection value=false} +{include file="CoreAdminHome/templates/header.tpl"} +{include file="CoreAdminHome/templates/menu.tpl"} + +{literal} +<style> +code { + background-color:#F0F7FF; + border-color:#00008B; + border-style:dashed dashed dashed solid; + border-width:1px 1px 1px 5px; + direction:ltr; + display:block; + font-size:80%; + margin:2px 2px 20px; + padding:4px; + text-align:left; + font-family: "Courier New" Courier monospace; +} +</style> +{/literal} + +<p>{'SitesManager_JsCodeHelp'|translate}:</p> + +<code>{$jsTag}</code> diff --git a/plugins/SitesManager/templates/SitesManager.tpl b/plugins/SitesManager/templates/SitesManager.tpl index e9cec2405a..d90a27c29f 100644 --- a/plugins/SitesManager/templates/SitesManager.tpl +++ b/plugins/SitesManager/templates/SitesManager.tpl @@ -1,64 +1,64 @@ -{loadJavascriptTranslations plugins='SitesManager'}
-{assign var=showSitesSelection value=false}
-{assign var=showPeriodSelection value=false}
-{include file="CoreAdminHome/templates/header.tpl"}
-{include file="CoreAdminHome/templates/menu.tpl"}
-
-<script type="text/javascript" src="plugins/SitesManager/templates/SitesManager.js"></script>
-{literal}
-<style>
-.addRowSite:hover, .editableSite:hover, .addsite:hover, .cancel:hover, .deleteSite:hover, .editSite:hover, .updateSite:hover{
- cursor: pointer;
-}
-.addRowSite a {
- text-decoration: none;
-}
-.addRowSite {
- padding:1em;
- font-color:#3A477B;
- padding:1em;
- font-weight:bold;
-}
-#editSites {
- valign: top;
-}
-</style>
-{/literal}
-<h2>{'SitesManager_WebsitesManagement'|translate}</h2>
-<p>{'SitesManager_MainDescription'|translate}</p>
-
-<div id="ajaxError" style="display:none"></div>
-<div id="ajaxLoading" style="display:none"><div id="loadingPiwik"><img src="themes/default/images/loading-blue.gif" alt="" /> {'General_LoadingData'|translate} </div></div>
-
-{if $adminSites|@count == 0}
- {'SitesManager_NoWebsites'|translate}
-{else}
- <table class="admin" id="editSites" border=1 cellpadding="10">
- <thead>
- <tr>
- <th>{'SitesManager_Id'|translate}</th>
- <th>{'SitesManager_Name'|translate}</th>
- <th>{'SitesManager_Urls'|translate}</th>
- <th> </th>
- <th> </th>
- <th> {'SitesManager_JsCode'|translate} </th>
- </tr>
- </thead>
- <tbody>
- {foreach from=$adminSites key=i item=site}
- <tr id="row{$i}">
- <td id="idSite">{$site.idsite}</td>
- <td id="siteName" class="editableSite">{$site.name}</td>
- <td id="urls" class="editableSite">{foreach from=$site.alias_urls item=url}{$url}<br />{/foreach}</td>
- <td><img src='plugins/UsersManager/images/edit.png' class="editSite" id="row{$i}" href='#' alt="" /></td>
- <td><img src='plugins/UsersManager/images/remove.png' class="deleteSite" id="row{$i}" value="{'General_Delete'|translate}" alt="" /></td>
- <td><a href='{url action=displayJavascriptCode idsite=$site.idsite}'>{'SitesManager_ShowJsCode'|translate}</a></td>
- </tr>
- {/foreach}
-
- </tbody>
- </table>
- <div class="addRowSite"><a href="#"><img src='plugins/UsersManager/images/add.png' alt="" /> {'SitesManager_AddSite'|translate}</a></div>
-{/if}
-
-{include file="CoreAdminHome/templates/footer.tpl"}
+{loadJavascriptTranslations plugins='SitesManager'} +{assign var=showSitesSelection value=false} +{assign var=showPeriodSelection value=false} +{include file="CoreAdminHome/templates/header.tpl"} +{include file="CoreAdminHome/templates/menu.tpl"} + +<script type="text/javascript" src="plugins/SitesManager/templates/SitesManager.js"></script> +{literal} +<style> +.addRowSite:hover, .editableSite:hover, .addsite:hover, .cancel:hover, .deleteSite:hover, .editSite:hover, .updateSite:hover{ + cursor: pointer; +} +.addRowSite a { + text-decoration: none; +} +.addRowSite { + padding:1em; + font-color:#3A477B; + padding:1em; + font-weight:bold; +} +#editSites { + valign: top; +} +</style> +{/literal} +<h2>{'SitesManager_WebsitesManagement'|translate}</h2> +<p>{'SitesManager_MainDescription'|translate}</p> + +<div id="ajaxError" style="display:none"></div> +<div id="ajaxLoading" style="display:none"><div id="loadingPiwik"><img src="themes/default/images/loading-blue.gif" alt="" /> {'General_LoadingData'|translate} </div></div> + +{if $adminSites|@count == 0} + {'SitesManager_NoWebsites'|translate} +{else} + <table class="admin" id="editSites" border=1 cellpadding="10"> + <thead> + <tr> + <th>{'SitesManager_Id'|translate}</th> + <th>{'SitesManager_Name'|translate}</th> + <th>{'SitesManager_Urls'|translate}</th> + <th> </th> + <th> </th> + <th> {'SitesManager_JsCode'|translate} </th> + </tr> + </thead> + <tbody> + {foreach from=$adminSites key=i item=site} + <tr id="row{$i}"> + <td id="idSite">{$site.idsite}</td> + <td id="siteName" class="editableSite">{$site.name}</td> + <td id="urls" class="editableSite">{foreach from=$site.alias_urls item=url}{$url}<br />{/foreach}</td> + <td><img src='plugins/UsersManager/images/edit.png' class="editSite" id="row{$i}" href='#' alt="" /></td> + <td><img src='plugins/UsersManager/images/remove.png' class="deleteSite" id="row{$i}" value="{'General_Delete'|translate}" alt="" /></td> + <td><a href='{url action=displayJavascriptCode idsite=$site.idsite}'>{'SitesManager_ShowJsCode'|translate}</a></td> + </tr> + {/foreach} + + </tbody> + </table> + <div class="addRowSite"><a href="#"><img src='plugins/UsersManager/images/add.png' alt="" /> {'SitesManager_AddSite'|translate}</a></div> +{/if} + +{include file="CoreAdminHome/templates/footer.tpl"} |