summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2021-02-03 13:52:02 -0500
committerspiderr <spiderr@bitweaver.org>2021-02-03 13:52:02 -0500
commit372124e44a89a02a916f35687773298b7d96e72e (patch)
tree2f7f9372d07ac989297352dbb2a7ba2c5a65b13b /templates
parent8100f531ffe00ab3da809b8b7f28878607b227de (diff)
downloadthemes-372124e44a89a02a916f35687773298b7d96e72e.tar.gz
themes-372124e44a89a02a916f35687773298b7d96e72e.tar.bz2
themes-372124e44a89a02a916f35687773298b7d96e72e.zip
remove custom theme.php feature themes_edit_css
Diffstat (limited to 'templates')
-rw-r--r--templates/edit_css.tpl82
1 files changed, 0 insertions, 82 deletions
diff --git a/templates/edit_css.tpl b/templates/edit_css.tpl
deleted file mode 100644
index 6b03913..0000000
--- a/templates/edit_css.tpl
+++ /dev/null
@@ -1,82 +0,0 @@
-{literal}
-<script type="text/javascript">
-<!--//
-function confirmform(text)
-{
-var agree=confirm(text);
-
-if (agree)
-return true;
-else
-return false;
-}
-// -->
-</script>
-{/literal}
-
-<a class="pagetitle" href="{$smarty.const.THEMES_PKG_URL}edit_css.php">{tr}Edit Custom Theme{/tr}</a><br /><br />
-{if $successMsg}
-<div style="color: green">{$successMsg}</div>
-{/if}
-{if $errorMsg}
-<div style="color: red">{$errorMsg}</div>
-{/if}
-<div>
- <form method="post" action="{$smarty.const.THEMES_PKG_URL}edit_css.php">
- <div style="padding:4px;border-bottom:1px solid #c3b3a3;">
- <textarea name="textData" rows="42" cols="50" wrap="virtual" style="padding:7px;padding-right:0;">{$data|escape}</textarea>
- </div>
- <div style="">
- <span>
- <input type="submit" class="btn btn-default" name="fSaveCSS" value="Save">
- <input type="submit" class="btn btn-default" name="fCancelCSS" value="Cancel">
- </span>
- <span style="float: right">
-
- <input type="submit" class="btn btn-default" name="fResetCSS" value="Reset CSS" onclick="return confirmform('Are you sure you want to reset your CSS back to the defaults? Any changes you have made will be lost.');">
- to the
- <select name="resetStyle">
- {section name=ix loop=$styles}
- <option value="{$styles[ix]|escape}" {if $assignStyle eq $styles[ix]}selected="selected"{/if}>{$styles[ix]}</option>
- {/section}
- </select>
- theme
-
- </span>
- </div>
- </form>
-</div>
-<!-- Images Used by custom theme -->
-<div>
-<br /><br />
-<h3>Images Used By Your Custom Theme</h3>
-<br />
-
-<table cellpadding="3">
- <tr>
- <th>Image</th>
- <th>Action</th>
- </tr>
- {section name=ix loop=$themeImages}
- <tr bgcolor="{cycle values="#eeeeee,#dddddd"}">
- <td width="200px" cellpadding="3">{$themeImages[ix]}</td>
- <td cellpadding="3">
- {booticon iname="icon-folder-open" ipackage="icons" iexplain=preview onclick="javascript"}
- {booticon iname="icon-folder-open" ipackage="icons" iexplain=preview onclick="javascript:popup('$customCSSImageURL/$themeImages[ix]')"}
- <a href="{$smarty.const.THEMES_PKG_URL}/edit_css.php?fDeleteImg={$themeImages[ix]}">
- {booticon iname="icon-trash" ipackage="icons" iexplain=remove onclick="return confirm('Are you sure you want to delete $themeImages[ix]?');"}
- <img class="icon" src="{$smarty.const.LIBERTY_PKG_URL}icons/delete.gif" title="{tr}Remove{/tr}" alt="{tr}Remove{/tr}" onclick="return confirm('Are you sure you want to delete {$themeImages[ix]}?');"/>
- </a>
- </input>
- </td>
- </tr>
- {/section}
-</table>
-<br />
-<form enctype="multipart/form-data" method="post" action="{$smarty.const.THEMES_PKG_URL}edit_css.php"
-<input type="hidden" name="MAX_FILE_SIZE" value="1024000">
-Upload Image: <input type="file" name="fImgUpload"> <br /> <br/>
-<input type="submit" class="btn btn-default" value="Upload Image" name="fUpload">
-</form>
-</div>
-