|
From: Jon O. <jon...@us...> - 2006-08-01 21:00:42
|
Update of /cvsroot/mxbb/mx_kb/templates/subSilver/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv21873/modules/mx_kb/templates/subSilver/admin Modified Files: kb_cat_auth_body.tpl kb_cat_edit_body.tpl kb_config_body.tpl Removed Files: kb_art_body.tpl Log Message: Index: kb_cat_auth_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_cat_auth_body.tpl,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** kb_cat_auth_body.tpl 5 Apr 2006 21:19:50 -0000 1.3 --- kb_cat_auth_body.tpl 1 Aug 2006 21:00:38 -0000 1.4 *************** *** 8,18 **** <th class="thCornerL" height="25" nowrap="nowrap">{L_GROUPS}</th> <th class="thTop" nowrap="nowrap">{L_VIEW}</th> - <th class="thTop" nowrap="nowrap">{L_UPLOAD}</th> - <th class="thTop" nowrap="nowrap">{L_RATE}</th> - <th class="thTop" nowrap="nowrap">{L_COMMENT}</th> <th class="thTop" nowrap="nowrap">{L_EDIT}</th> <th class="thTop" nowrap="nowrap">{L_DELETE}</th> ! <!-- <th class="thTop" nowrap="nowrap">{L_APPROVAL}</th> ! <th class="thTop" nowrap="nowrap">{L_APPROVAL_EDIT}</th> --> <th class="thCornerR" nowrap="nowrap">{L_IS_MODERATOR}</th> </tr> --- 8,19 ---- <th class="thCornerL" height="25" nowrap="nowrap">{L_GROUPS}</th> <th class="thTop" nowrap="nowrap">{L_VIEW}</th> <th class="thTop" nowrap="nowrap">{L_EDIT}</th> <th class="thTop" nowrap="nowrap">{L_DELETE}</th> ! <th class="thTop" nowrap="nowrap">{L_UPLOAD}</th> ! <th class="thTop" nowrap="nowrap">{L_RATE}</th> ! <th class="thTop" nowrap="nowrap">{L_VIEW_COMMENT}</th> ! <th class="thTop" nowrap="nowrap">{L_POST_COMMENT}</th> ! <th class="thTop" nowrap="nowrap">{L_EDIT_COMMENT}</th> ! <th class="thTop" nowrap="nowrap">{L_DELETE_COMMENT}</th> <th class="thCornerR" nowrap="nowrap">{L_IS_MODERATOR}</th> </tr> *************** *** 24,49 **** </td> <td class="row2" align="center"> ! <input name="post[]" type="checkbox" {grouprow.POST_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="rate[]" type="checkbox" {grouprow.RATE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="comment[]" type="checkbox" {grouprow.COMMENT_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="edit[]" type="checkbox" {grouprow.EDIT_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="delete[]" type="checkbox" {grouprow.DELETE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> - <!-- <td class="row2" align="center"> ! <input name="approval[]" type="checkbox" {grouprow.APPROVAL_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="approval_edit[]" type="checkbox" {grouprow.APPROVAL_EDIT_CHECKED} value="{grouprow.GROUP_ID}" /> </td> - --> <td class="row2" align="center"> <input name="moderator[]" type="checkbox" {grouprow.MODERATOR_CHECKED} value="{grouprow.GROUP_ID}" /> --- 25,51 ---- </td> <td class="row2" align="center"> ! <input name="edit[]" type="checkbox" {grouprow.EDIT_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="delete[]" type="checkbox" {grouprow.DELETE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="post[]" type="checkbox" {grouprow.POST_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="rate[]" type="checkbox" {grouprow.RATE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="view_comment[]" type="checkbox" {grouprow.COMMENT_VIEW_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="post_comment[]" type="checkbox" {grouprow.COMMENT_POST_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> ! <input name="edit_comment[]" type="checkbox" {grouprow.COMMENT_EDIT_CHECKED} value="{grouprow.GROUP_ID}" /> ! </td> ! <td class="row2" align="center"> ! <input name="delete_comment[]" type="checkbox" {grouprow.COMMENT_DELETE_CHECKED} value="{grouprow.GROUP_ID}" /> </td> <td class="row2" align="center"> <input name="moderator[]" type="checkbox" {grouprow.MODERATOR_CHECKED} value="{grouprow.GROUP_ID}" /> *************** *** 52,56 **** <!-- END grouprow --> <tr> ! <td class="cat" height="25" align="center" colspan="8"><input type="reset" value="{L_RESET}" class="liteoption" /> <input name="submit" type="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table> --- 54,58 ---- <!-- END grouprow --> <tr> ! <td class="cat" height="25" align="center" colspan="11"><input type="reset" value="{L_RESET}" class="liteoption" /> <input name="submit" type="submit" value="{L_SUBMIT}" class="mainoption" /></td> </tr> </table> --- kb_art_body.tpl DELETED --- Index: kb_cat_edit_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_cat_edit_body.tpl,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** kb_cat_edit_body.tpl 3 Jul 2006 12:24:44 -0000 1.7 --- kb_cat_edit_body.tpl 1 Aug 2006 21:00:38 -0000 1.8 *************** *** 1,8 **** <h1>{L_EDIT_TITLE}</h1> <p>{L_EDIT_DESCRIPTION}</p> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> ! <form action="{S_ACTION}" method="post"> <tr> <th class="thHead" colspan="2">{L_CAT_SETTINGS}</th> --- 1,34 ---- + <script language="JavaScript" type="text/javascript"> + <!-- + var error_msg = ""; + function checkAddForm() + { + error_msg = ""; + + if(document.form.catname.value == "") + { + error_msg += "Empty Category name!!"; + } + + if(error_msg != "") + { + alert(error_msg); + error_msg = ""; + return false; + } + else + { + return true; + } + } + // --> + </script> + <h1>{L_EDIT_TITLE}</h1> <p>{L_EDIT_DESCRIPTION}</p> ! <form action="{S_ACTION}" method="post" name="form" onsubmit="return checkAddForm();"> ! <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center"> <tr> <th class="thHead" colspan="2">{L_CAT_SETTINGS}</th> *************** *** 25,28 **** --- 51,61 ---- </select> </tr> + <tr> + <td class="row1">{L_CAT_ALLOWFILE}<br><span class="gensmall">{L_CAT_ALLOWFILE_INFO}</span></td> + <td class="row2"> + <input type="radio" name="cat_allow_file" value="1" {CHECKED_YES}>{L_YES} + <input type="radio" name="cat_allow_file" value="0" {CHECKED_NO}>{L_NO} + </td> + </tr> <!-- BEGIN switch_edit_category --> <tr> *************** *** 91,106 **** </tr> <tr> - <td class="row1" width="50%">{L_UPLOAD_LEVEL}<br><span class="gensmall">{L_UPLOAD_LEVEL_INFO}</span></td> - <td class="row2" width="50%">{S_UPLOAD_LEVEL}</td> - </tr> - <tr> - <td class="row1" width="50%">{L_RATE_LEVEL}<br><span class="gensmall">{L_RATE_LEVEL_INFO}</span></td> - <td class="row2" width="50%">{S_RATE_LEVEL}</td> - </tr> - <tr> - <td class="row1" width="50%">{L_COMMENT_LEVEL}<br><span class="gensmall">{L_COMMENT_LEVEL_INFO}</span></td> - <td class="row2" width="50%">{S_COMMENT_LEVEL}</td> - </tr> - <tr> <td class="row1" width="50%">{L_EDIT_LEVEL}<br><span class="gensmall">{L_EDIT_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_EDIT_LEVEL}</td> --- 124,127 ---- *************** *** 111,114 **** --- 132,139 ---- </tr> <tr> + <td class="row1" width="50%">{L_UPLOAD_LEVEL}<br><span class="gensmall">{L_UPLOAD_LEVEL_INFO}</span></td> + <td class="row2" width="50%">{S_UPLOAD_LEVEL}</td> + </tr> + <tr> <td class="row1" width="50%">{L_APPROVAL_LEVEL}<br><span class="gensmall">{L_APPROVAL_LEVEL_INFO}</span></td> <td class="row2" width="50%">{S_APPROVAL_LEVEL}</td> *************** *** 118,121 **** --- 143,166 ---- <td class="row2" width="50%">{S_APPROVAL_EDIT_LEVEL}</td> </tr> + <tr> + <td class="row1" width="50%">{L_RATE_LEVEL}<br><span class="gensmall">{L_RATE_LEVEL_INFO}</span></td> + <td class="row2" width="50%">{S_RATE_LEVEL}</td> + </tr> + <tr> + <td class="row1" width="50%">{L_VIEW_COMMENT_LEVEL}<br><span class="gensmall">{L_VIEW_COMMENT_LEVEL_INFO}</span></td> + <td class="row2" width="50%">{S_VIEW_COMMENT_LEVEL}</td> + </tr> + <tr> + <td class="row1" width="50%">{L_POST_COMMENT_LEVEL}<br><span class="gensmall">{L_POST_COMMENT_LEVEL_INFO}</span></td> + <td class="row2" width="50%">{S_POST_COMMENT_LEVEL}</td> + </tr> + <tr> + <td class="row1" width="50%">{L_EDIT_COMMENT_LEVEL}<br><span class="gensmall">{L_EDIT_COMMENT_LEVEL_INFO}</span></td> + <td class="row2" width="50%">{S_EDIT_COMMENT_LEVEL}</td> + </tr> + <tr> + <td class="row1" width="50%">{L_DELETE_COMMENT_LEVEL}<br><span class="gensmall">{L_DELETE_COMMENT_LEVEL_INFO}</span></td> + <td class="row2" width="50%">{S_DELETE_COMMENT_LEVEL}</td> + </tr> <tr> <td class="cat" colspan="2" align="center">{S_HIDDEN}<input type="submit" name="submit" value="{L_CREATE}" class="mainoption" /></td> Index: kb_config_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_config_body.tpl,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** kb_config_body.tpl 5 Jul 2006 22:48:26 -0000 1.15 --- kb_config_body.tpl 1 Aug 2006 21:00:39 -0000 1.16 *************** *** 110,114 **** </tr> <tr> ! <td class="row1"><span class="genmed">{L_CAT_COL}</span></td> <td class="row2"><input class="post" type="text" maxlength="2" size="5" name="cat_col" value="{CAT_COL}" /></td> </tr> --- 110,118 ---- </tr> <tr> ! <td class="row1">{L_USE_SIMPLE_NAVIGATION}<br /><span class="gensmall">{L_USE_SIMPLE_NAVIGATION_EXPLAIN}</span></td> ! <td class="row2" width="50%"><input type="radio" name="use_simple_navigation" value="1" {S_USE_SIMPLE_NAVIGATION_YES} /> {L_YES} <input type="radio" name="use_simple_navigation" value="0" {S_USE_SIMPLE_NAVIGATION_NO} /> {L_NO}</td> ! </tr> ! <tr> ! <td class="row1">{L_CAT_COL}</td> <td class="row2"><input class="post" type="text" maxlength="2" size="5" name="cat_col" value="{CAT_COL}" /></td> </tr> |