Skip to content

Commit

Permalink
[#669 state:resolved] Added missing file theme_mode.mtml
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeThomsen committed Dec 25, 2010
1 parent 48cc147 commit 20a567e
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions addons/ThemeManager.plugin/tmpl/theme_mode.mtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<mt:SetVarBlock name="page_title">Theme: <mt:Var name="ts_label"></mt:SetVarBlock>

<mt:SetVarBlock name="html_head" append="1">
<link rel="stylesheet" href="<mt:PluginStaticWebPath component="ThemeManager">css/app.css" type="text/css" />
</mt:SetVarBlock>

<mt:include name="dialog/header.tmpl">

<div id="theme-info">
<form method="post" action="<mt:Var name="script_url">" name="select_theme">
<input type="hidden" name="__mode" value="setup_theme" />
<input type="hidden" name="_type" value="theme" />
<input type="hidden" name="blog_id" value="<mt:Var name="blog_id">" />
<input type="hidden" name="theme_id" value="<mt:Var name="ts_id">" />
<input type="hidden" name="plugin_sig" value="<mt:Var name="plugin_sig">" />

<p><__trans phrase="Theme Manager can deploy this theme in one of two modes: Production Mode and Designer Mode. Production Mode is used for live, production sites; Designer Mode speeds theme creation. Refer to the Theme Manager documentation for more details on the difference between these options. Select a mode for this theme on this blog below; if you&rsquo;re unsure which mode to use, select Production."></p>

<div>
<label><input type="radio" name="theme_mode" value="production" checked="checked" /> <__trans phrase="Production Mode"></label>
</div>
<div>
<label><input type="radio" name="theme_mode" value="designer" /> <__trans phrase="Designer Mode"></label>
</div>

<div id="status">
<div id="status-inner">
<p><__trans phrase="Applying the selected theme..."></p>
<img src="<mt:Var name="static_uri">images/indicator.gif" width="66" height="66" border="0" />
</div>
</div>

<div class="actions-bar">
<div class="actions-bar-inner pkg actions">
<button
type="submit"
onclick="document.getElementById('status').style.display='block';this.submit();"
accesskey="s"
title="<__trans phrase="Apply (s)">"
class="primary-button"
><__trans phrase="Apply"></button>
<button
onclick="closeDialog(); return false"
type="submit"
accesskey="x"
class="cancel"
title="<__trans phrase="Cancel (x)">"
><__trans phrase="Cancel"></button>
</div>
</div>
</form>
</div>
<mt:include name="dialog/footer.tmpl">

0 comments on commit 20a567e

Please sign in to comment.