|
From: Jon O. <jon...@us...> - 2008-02-27 21:34:34
|
Update of /cvsroot/mxbb/mx_simpledoc/templates/_core In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv28823 Modified Files: simpledoc_index.tpl simpledoc_publish.tpl simpledoc_view_plain.tpl Log Message: Updated: Bugfix for releases New feature: Renaming folders and docs Index: simpledoc_index.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/templates/_core/simpledoc_index.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** simpledoc_index.tpl 9 Sep 2007 20:51:28 -0000 1.1 --- simpledoc_index.tpl 27 Feb 2008 21:34:27 -0000 1.2 *************** *** 110,113 **** --- 110,119 ---- float:left; } + .DynamicTree .actions_r { + margin-top: 0px; + margin-left: 0px; + height: 20px; + float:right; + } .DynamicTree .tooltip { margin-top: 28px; *************** *** 119,122 **** --- 125,129 ---- .DynamicTree .moveLeft, .DynamicTree .moveRight, + .DynamicTree .rename, .DynamicTree .insert, .DynamicTree .remove { *************** *** 134,137 **** --- 141,145 ---- .DynamicTree .moveRight:hover, .DynamicTree .insert:hover, + .DynamicTree .rename:hover, .DynamicTree .remove:hover { background-color: {T_TR_COLOR1}; *************** *** 149,152 **** --- 157,166 ---- .DynamicTree #tree-insert-form .button { margin-top: 4px; } + .DynamicTree #tree-rename-form { display: none; margin-top: 5em; } + .DynamicTree #tree-rename-form .label { text-align: right; width: 50px; padding-right: 8px; } + .DynamicTree #tree-rename-form .input { margin-bottom: 2px; padding-left: 3px; } + .DynamicTree #tree-rename-form select { margin-bottom: 2px; } + .DynamicTree #tree-rename-form .button { margin-top: 4px; } + .XulMenu { font-family: georgia, tahoma, verdana; *************** *** 363,370 **** --- 377,403 ---- <a id="tree-moveLeft" class="moveLeft" href="javascript:void(0)"><img src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}simpledoc/shared/DynamicTree/images/moveLeft.gif" width="20" height="20" alt=""></a> <a id="tree-moveRight" class="moveRight" href="javascript:void(0)"><img src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}simpledoc/shared/DynamicTree/images/moveRight.gif" width="20" height="20" alt=""></a> + </div> + <div class="actions_r"> <a id="tree-insert" class="insert" href="javascript:void(0)"><img src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}simpledoc/shared/DynamicTree/images/insert.gif" width="20" height="20" alt=""></a> + <a id="tree-rename" class="rename" href="javascript:void(0)"><img src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}simpledoc/shared/DynamicTree/images/rename.gif" width="20" height="20" alt=""></a> <a id="tree-remove" class="remove" href="javascript:void(0)"><img src="{MX_ROOT_PATH}{MODULE_ROOT_PATH}simpledoc/shared/DynamicTree/images/delete.gif" width="20" height="20" alt=""></a> </div> <div class="tooltip" id="tree-tooltip"></div> + <div id="tree-rename-form"> + <form action="javascript:void(0)" method="get"> + <table cellspacing="0" cellpadding="0"> + <tr> + <td class="label">{L_NAME}</td> + <td><input class="input" size="18" id="tree-rename-name" name="tree-rename-name" type="text" value="" /></td> + </tr> + <tr> + <td colspan="2" align="center"> + <input id="tree-rename-button" class="button" type="button" value="Rename" /> + <input id="tree-rename-cancel" type="button" value="Cancel" /> + </td> + </tr> + </table> + </form> + </div> <div id="tree-insert-form"> <form action="javascript:void(0)" method="get"> Index: simpledoc_publish.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/templates/_core/simpledoc_publish.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** simpledoc_publish.tpl 9 Sep 2007 20:51:28 -0000 1.1 --- simpledoc_publish.tpl 27 Feb 2008 21:34:27 -0000 1.2 *************** *** 211,215 **** </div> <script type="text/javascript">var menu = new XulMenu("menu"); menu.zIndex.visible = 10; menu.init();</script> ! </td> </tr> --- 211,215 ---- </div> <script type="text/javascript">var menu = new XulMenu("menu"); menu.zIndex.visible = 10; menu.init();</script> ! </td> </tr> *************** *** 217,225 **** <td id="top" class="simpledoc_title"> <span class="nomargin">{L_PROJECT_NAME} - {L_PUBLISH}</span> ! </td> </tr> <tr> <td id="left" class="row1"> ! <p> <table> --- 217,225 ---- <td id="top" class="simpledoc_title"> <span class="nomargin">{L_PROJECT_NAME} - {L_PUBLISH}</span> ! </td> </tr> <tr> <td id="left" class="row1"> ! <p> <table> *************** *** 242,246 **** <input type="hidden" name="page" value="{PAGE_ID}"> <input type="hidden" name="mode" value="publish_export"> ! <table> <tr> --- 242,246 ---- <input type="hidden" name="page" value="{PAGE_ID}"> <input type="hidden" name="mode" value="publish_export"> ! <table> <tr> *************** *** 260,271 **** </tr> </form> ! <tr><td colspan="2"> </td></tr> ! <form name="dir" action="{MODE_PUBLISH_EXPORT_URL}" method="get" onsubmit="this.submit.disabled=true;"> <input type="hidden" name="publish_dir" value="1"> <input type="hidden" name="page" value="{PAGE_ID}"> <input type="hidden" name="mode" value="publish_export"> ! <tr> <td>{L_PUBLISHTEMPLATES}</td> --- 260,271 ---- </tr> </form> ! <tr><td colspan="2"> </td></tr> ! <form name="dir" action="{MODE_PUBLISH_EXPORT_URL}" method="get" onsubmit="this.submit.disabled=true;"> <input type="hidden" name="publish_dir" value="1"> <input type="hidden" name="page" value="{PAGE_ID}"> <input type="hidden" name="mode" value="publish_export"> ! <tr> <td>{L_PUBLISHTEMPLATES}</td> *************** *** 289,293 **** <tr> <td colspan="2"> ! <input type="submit" name="submit" value="{L_PUBLISH}" onclick="this.blur(); setCookie('publish-dir-template', this.form.template.selectedIndex, COOKIE_YEAR);" <?php if (!$CONFIG['publish_dir'] || !$publish_dir_ok) echo 'disabled="disabled"'; ?> {PUBLISH_DIR_ERROR} </td> --- 289,293 ---- <tr> <td colspan="2"> ! <input type="submit" name="submit" value="{L_PUBLISH}" onclick="this.blur(); setCookie('publish-dir-template', this.form.template.selectedIndex, COOKIE_YEAR);" <!-- IF PUBLISH_DIR_ERROR -->'disabled="disabled"'<!-- ENDIF --> > {PUBLISH_DIR_ERROR} </td> *************** *** 296,305 **** </form> </p> ! <script type="text/javascript"> if (getCookie("publish-zip-template")) document.forms["zip"].template.selectedIndex = getCookie("publish-zip-template"); if (getCookie("publish-dir-template")) document.forms["dir"].template.selectedIndex = getCookie("publish-dir-template"); </script> ! </td> </tr> --- 296,305 ---- </form> </p> ! <script type="text/javascript"> if (getCookie("publish-zip-template")) document.forms["zip"].template.selectedIndex = getCookie("publish-zip-template"); if (getCookie("publish-dir-template")) document.forms["dir"].template.selectedIndex = getCookie("publish-dir-template"); </script> ! </td> </tr> Index: simpledoc_view_plain.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_simpledoc/templates/_core/simpledoc_view_plain.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** simpledoc_view_plain.tpl 9 Sep 2007 20:51:28 -0000 1.1 --- simpledoc_view_plain.tpl 27 Feb 2008 21:34:27 -0000 1.2 *************** *** 255,259 **** <td id="top" class="simpledoc_title"> <span class="nomargin">{L_PROJECT_NAME} {MANAGE}</span> ! </td> </tr> <tr> --- 255,259 ---- <td id="top" class="simpledoc_title"> <span class="nomargin">{L_PROJECT_NAME} {MANAGE}</span> ! </td> </tr> <tr> *************** *** 278,281 **** </tr> </table> - - --- 278,279 ---- |