[Comoblog-commit] modules/mod_skinselect/admin/templates mod_skinselect.tpl.htm,NONE,1.1 mod_skinsel
Status: Inactive
Brought to you by:
markwallis
|
From: iamdecal <iam...@us...> - 2006-02-24 00:01:35
|
Update of /cvsroot/comoblog/modules/mod_skinselect/admin/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13177/mod_skinselect/admin/templates Added Files: mod_skinselect.tpl.htm mod_skinselect_add.tpl.htm mod_skinselect_edit.tpl.htm Log Message: initial commit to make sure i've not missed anything transfering the code from my live site down to my cvs version basic premis is that new skins sit in css/SKINNAME/css.php of mod skin select is set to be shown then the users can change the skin via a drop down, if not then a default can be set in the admin area. these skins are imported after the rest of the css so that the content overrides and extends the existing comoblog css - i think we need to decide if skins will provide a full set of styleing or just override and extend the exising code should skin css be entered via the admin area, or uploaded (like a module) ? id prefere to upload as a module as that allows for custom images etc note need to change things like the topic icons some how --- NEW FILE: mod_skinselect_add.tpl.htm --- <!-- BEGIN: main --> {FILE "../../../admin/templates/mod_popup_header.tpl.htm"} <br /> <p align="center"><b>NEW Skin</b></p> <br /> <form action="{ACTION}" method="POST"> <p>Title:<br /> <input type="text" name="skinselect_title" value="" maxlength="255" size="40" style="width:300px;"> </p> <p>Description:<br /> <textarea name="skinselect_description" rows="10" style="width:300px;"></textarea> </p> <p>Link Text:<br /> <input type="text" name="skinselect_nav_text" value="" maxlength="255" size="40" style="width:300px;"> </p> <p>Link Code<br /> <input type="text" name="skinselect_nav_link" value="" maxlength="255" size="40" style="width:300px;"> </p> <p>Author:<br /> <input type="text" name="skinselect_author" value="" maxlength="255" size="40" style="width:300px;"> </p> <p>Visible: <br /> <input type="radio" name="skinselect_visible" value="Y">Yes / <input type="radio" name="skinselect_visible" value="N">No </p> <input type="image" src="../../../admin/img/save.gif" border="0"> </form> {FILE "../../../admin/templates/mod_footer.tpl.htm"} <!-- END: main --> --- NEW FILE: mod_skinselect_edit.tpl.htm --- <!-- BEGIN: main --> {FILE "../../../admin/templates/mod_popup_header.tpl.htm"} <br /> <p align="center"><b>EDIT skinselect ITEM</b></p> <br /> <form action="{ACTION}" method="post"> <input type="text" name="skinselect_id" value="{ITEM.skinselect_id}" > <p>Title:<br /> <input type="text" name="skinselect_title" value="{ITEM.skinselect_title}" maxlength="255" size="40" style="width:300px;"> </p> <p>Description:<br /> <textarea name="skinselect_description" rows="10" style="width:300px;">{ITEM.skinselect_description}</textarea> </p> <p>Link Text:<br /> <input type="text" name="skinselect_nav_text" value="{ITEM.skinselect_nav_text}" maxlength="255" size="40" style="width:300px;"> </p> <p>Link Code<br /> <input type="text" name="skinselect_nav_link" value="{ITEM.skinselect_nav_link}" maxlength="255" size="40" style="width:300px;"> </p> <p>Author:<br /> <input type="text" name="skinselect_author" value="{ITEM.skinselect_author}" maxlength="255" size="40" style="width:300px;"> </p> <p>Visible: <br /> <input type="radio" name="skinselect_visible" value="Y">Yes / <input type="radio" name="skinselect_visible" value="N">No </p> <input type="image" src="../../../admin/img/save.gif" border="0"> </form> {FILE "../../../admin/templates/mod_footer.tpl.htm"} <!-- END: main --> --- NEW FILE: mod_skinselect.tpl.htm --- <!-- BEGIN: main --> {FILE "../../../admin/templates/mod_header.tpl.htm"} <table border="0" width="760" align="center" cellspacing="0" cellpadding="4" style="border: 1px solid black;"> <tr> <td width="20"><a href="mod_skinselect_add.php" onclick="void open_popup(this.href,520,450); return false;"><img src="../../../admin/img/add.gif" border="0"></a></td> <td width="720"><a href="mod_skinselect_add.php" onclick="void open_popup(this.href,520,450); return false;">Add new Skin</a></td> </tr> </table> <br /> <br /> <!-- BEGIN: items --> <table border="0" width="760" align="center" cellspacing="0" cellpadding="4" style="border: 1px solid black;"> <tr bgcolor="{BGCOLOR}"> <td valign="top"><b>Link Code</b></td> <td valign="top"><b>Skin Title</b></td> <td valign="top"><b>Skin Description</b></td> <td valign="top"><b>Visible</b></td> <td valign="top"><b>Preview</b></td> <td><b>Edit</b></td> <td><b>Delete</b></td> </tr> <!-- BEGIN: item --> <tr bgcolor="{BGCOLOR}"> <td valign="top"><b>{ITEM.skinselect_nav_link}</b></td> <td valign="top"><b>{ITEM.skinselect_title}</b></td> <td valign="top">{ITEM.skinselect_description}</td> <td valign="top">{ITEM.skinselect_visible}</td> <td valign="top"><img src="/moblog/skins/ITEM.skinselect_nav_link}/images/preview.jpeg" alt="" border="0"></td> <td><a href="mod_skinselect_edit.php?i={ITEM.skinselect_id}" onclick="void open_popup(this.href,400,300); return false;"><img src="../../../admin/img/edit.gif" border="0"></a></td> <td><a href="mod_skinselect_del.php?i={ITEM.skinselect_id}" onclick="if (confirm('Are you sure you want to delete this item? ({ITEM.skinselect_title})')) document.location.href=this.href; else return false;"><img src="../../../admin/img/delete.gif" border="0"></a></td> </tr> <!-- END: item --> </table> <!-- END: items --> {FILE "../../../admin/templates/mod_footer.tpl.htm"} <!-- END: main --> |