|
From: Jon O. <jon...@us...> - 2006-07-03 12:46:57
|
Update of /cvsroot/mxbb/mx_kb/templates/subSilver/admin In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv1736/modules/mx_kb/templates/subSilver/admin Modified Files: kb_cat_edit_body.tpl Log Message: simplification of cat permissions Index: kb_cat_edit_body.tpl =================================================================== RCS file: /cvsroot/mxbb/mx_kb/templates/subSilver/admin/kb_cat_edit_body.tpl,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** kb_cat_edit_body.tpl 5 Apr 2006 21:19:50 -0000 1.6 --- kb_cat_edit_body.tpl 3 Jul 2006 12:24:44 -0000 1.7 *************** *** 5,17 **** <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> </tr> ! <tr> <td class="row1">{L_CATEGORY}</td> <td class="row2"><input class="post" type="text" size="25" name="catname" value="{CAT_NAME}" class="post" /></td> </tr> <!-- BEGIN switch_cat --> ! <tr> <td class="row1">{L_DESCRIPTION}</td> <td class="row2"><textarea rows="5" cols="45" wrap="virtual" name="catdesc" class="post">{CAT_DESCRIPTION}</textarea></td> --- 5,17 ---- <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> </tr> ! <tr> <td class="row1">{L_CATEGORY}</td> <td class="row2"><input class="post" type="text" size="25" name="catname" value="{CAT_NAME}" class="post" /></td> </tr> <!-- BEGIN switch_cat --> ! <tr> <td class="row1">{L_DESCRIPTION}</td> <td class="row2"><textarea rows="5" cols="45" wrap="virtual" name="catdesc" class="post">{CAT_DESCRIPTION}</textarea></td> *************** *** 26,30 **** </tr> <!-- BEGIN switch_edit_category --> ! <tr> <td class="row1">{L_NUMBER_ARTICLES}</td> <td class="row2"><input class="post" type="text" size="4" maxlength="3" name="number_articles" value="{NUMBER_ARTICLES}" class="post" /></td> --- 26,30 ---- </tr> <!-- BEGIN switch_edit_category --> ! <tr> <td class="row1">{L_NUMBER_ARTICLES}</td> <td class="row2"><input class="post" type="text" size="4" maxlength="3" name="number_articles" value="{NUMBER_ARTICLES}" class="post" /></td> *************** *** 36,44 **** <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_COMMENTS_TITLE}</th> ! </tr> <tr> <td class="row1" width="50%">{L_USE_COMMENTS}<br /><span class="gensmall">{L_USE_COMMENTS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="cat_allow_comments" value="-1" {S_USE_COMMENTS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="cat_allow_comments" value="1" {S_USE_COMMENTS_YES} /> {L_YES} <input type="radio" name="cat_allow_comments" value="0" {S_USE_COMMENTS_NO} /> {L_NO}</td> ! </tr> <tr> <td class="row1" width="50%">{L_INTERNAL_COMMENTS}<br /><span class="gensmall">{L_INTERNAL_COMMENTS_EXPLAIN}</span></td> --- 36,44 ---- <!-- TITLE ------------------------------------------------------------------------------------------- --> <th class="thHead" colspan="2"> {L_COMMENTS_TITLE}</th> ! </tr> <tr> <td class="row1" width="50%">{L_USE_COMMENTS}<br /><span class="gensmall">{L_USE_COMMENTS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="cat_allow_comments" value="-1" {S_USE_COMMENTS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="cat_allow_comments" value="1" {S_USE_COMMENTS_YES} /> {L_YES} <input type="radio" name="cat_allow_comments" value="0" {S_USE_COMMENTS_NO} /> {L_NO}</td> ! </tr> <tr> <td class="row1" width="50%">{L_INTERNAL_COMMENTS}<br /><span class="gensmall">{L_INTERNAL_COMMENTS_EXPLAIN}</span></td> *************** *** 48,55 **** <td class="row1" width="50%">{L_FORUM_ID}<br /><span class="gensmall">{L_FORUM_ID_EXPLAIN}</span></td> <td class="row2" width="50%">{FORUM_LIST}</td> ! </tr> ! <tr> ! <td class="row1" width="50%">{L_AUTOGENERATE_COMMENTS}<br /><span class="gensmall">{L_AUTOGENERATE_COMMENTS_EXPLAIN}</span></td> ! <td class="row2" width="50%"><input type="radio" name="autogenerate_comments" value="-1" {S_AUTOGENERATE_COMMENTS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="autogenerate_comments" value="1" {S_AUTOGENERATE_COMMENTS_YES} /> {L_YES} <input type="radio" name="autogenerate_comments" value="0" {S_AUTOGENERATE_COMMENTS_NO} /> {L_NO}</td> </tr> <tr> --- 48,55 ---- <td class="row1" width="50%">{L_FORUM_ID}<br /><span class="gensmall">{L_FORUM_ID_EXPLAIN}</span></td> <td class="row2" width="50%">{FORUM_LIST}</td> ! </tr> ! <tr> ! <td class="row1" width="50%">{L_AUTOGENERATE_COMMENTS}<br /><span class="gensmall">{L_AUTOGENERATE_COMMENTS_EXPLAIN}</span></td> ! <td class="row2" width="50%"><input type="radio" name="autogenerate_comments" value="-1" {S_AUTOGENERATE_COMMENTS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="autogenerate_comments" value="1" {S_AUTOGENERATE_COMMENTS_YES} /> {L_YES} <input type="radio" name="autogenerate_comments" value="0" {S_AUTOGENERATE_COMMENTS_NO} /> {L_NO}</td> </tr> <tr> *************** *** 60,64 **** <td class="row1" width="50%">{L_USE_RATINGS}<br /><span class="gensmall">{L_USE_RATINGS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="cat_allow_ratings" value="-1" {S_USE_RATINGS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="cat_allow_ratings" value="1" {S_USE_RATINGS_YES} /> {L_YES} <input type="radio" name="cat_allow_ratings" value="0" {S_USE_RATINGS_NO} /> {L_NO}</td> ! </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> --- 60,64 ---- <td class="row1" width="50%">{L_USE_RATINGS}<br /><span class="gensmall">{L_USE_RATINGS_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="cat_allow_ratings" value="-1" {S_USE_RATINGS_DEFAULT} /> {L_DEFAULT} <input type="radio" name="cat_allow_ratings" value="1" {S_USE_RATINGS_YES} /> {L_YES} <input type="radio" name="cat_allow_ratings" value="0" {S_USE_RATINGS_NO} /> {L_NO}</td> ! </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> *************** *** 68,72 **** <td class="row1" width="50%">{L_PRE_TEXT_NAME}<br /><span class="gensmall">{L_PRE_TEXT_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="show_pretext" value="-1" {S_DEFAULT_PRETEXT} /> {L_DEFAULT} <input type="radio" name="show_pretext" value="1" {S_SHOW_PRETEXT} /> {L_SHOW} <input type="radio" name="show_pretext" value="0" {S_HIDE_PRETEXT} /> {L_HIDE}</td> ! </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> --- 68,72 ---- <td class="row1" width="50%">{L_PRE_TEXT_NAME}<br /><span class="gensmall">{L_PRE_TEXT_EXPLAIN}</span></td> <td class="row2" width="50%"><input type="radio" name="show_pretext" value="-1" {S_DEFAULT_PRETEXT} /> {L_DEFAULT} <input type="radio" name="show_pretext" value="1" {S_SHOW_PRETEXT} /> {L_SHOW} <input type="radio" name="show_pretext" value="0" {S_HIDE_PRETEXT} /> {L_HIDE}</td> ! </tr> <tr> <!-- TITLE ------------------------------------------------------------------------------------------- --> *************** *** 80,125 **** <td class="row1" width="50%">{L_NOTIFY_GROUP}<br /><span class="gensmall">{L_NOTIFY_GROUP_EXPLAIN}</span></td> <td class="row2" width="50%">{NOTIFY_GROUP}</td> - </tr> - - <tr> - <th class="thHead" height="25" nowrap="nowrap" colspan="2">{L_CAT_PERMISSIONS}</th> - </tr> - <tr> - <td class="row1"><span class="gen">{L_VIEW_LEVEL}:</span></td> - <td class="row2"><select name="auth_view"><option {VIEW_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {VIEW_REG} value="{S_USER}">{L_REG}</option><option {VIEW_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {VIEW_MOD} value="{S_MOD}">{L_MOD}</option><option {VIEW_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> - </tr> - <tr> - <td class="row1"><span class="gen">{L_UPLOAD_LEVEL}:</span></td> - <td class="row2"><select name="auth_post"><option {UPLOAD_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {UPLOAD_REG} value="{S_USER}">{L_REG}</option><option {UPLOAD_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {UPLOAD_MOD} value="{S_MOD}">{L_MOD}</option><option {UPLOAD_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> - </tr> - <tr> - <td class="row1"><span class="gen">{L_RATE_LEVEL}:</span></td> - <td class="row2"><select name="auth_rate"><option {RATE_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {RATE_REG} value="{S_USER}">{L_REG}</option><option {RATE_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {RATE_MOD} value="{S_MOD}">{L_MOD}</option><option {RATE_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> - </tr> - <tr> - <td class="row1"><span class="gen">{L_COMMENT_LEVEL}:</span></td> - <td class="row2"><span class="gen"><select name="auth_comment"><option {COMMENT_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {COMMENT_REG} value="{S_USER}">{L_REG}</option><option {COMMENT_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {COMMENT_MOD} value="{S_MOD}">{L_MOD}</option><option {COMMENT_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></span></td> - </tr> - <tr> - <td class="row1"><span class="gen">{L_EDIT_LEVEL}:</span></td> - <td class="row2"><select name="auth_edit"><option {EDIT_GUEST} value="{S_GUEST}">{L_GUEST}</option><option {EDIT_REG} value="{S_USER}">{L_REG}</option><option {EDIT_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {EDIT_MOD} value="{S_MOD}">{L_MOD}</option><option {EDIT_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> - </tr> - <tr> - <td class="row1"><span class="gen">{L_DELETE_LEVEL}:</span></td> - <td class="row2"><select name="auth_delete"><option {DELETE_REG} value="{S_USER}">{L_REG}</option><option {DELETE_PRIVATE} value="{S_PRIVATE}">{L_PRIVATE}</option><option {DELETE_MOD} value="{S_MOD}">{L_MOD}</option><option {DELETE_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> ! <td class="row1"><span class="gen">{L_APPROVAL_LEVEL}:</span></td> ! <td class="row2"><select name="auth_approval"><option {APPROVAL_DISABLED} value="{S_GUEST}">{L_DISABLED}</option><option {APPROVAL_MOD} value="{S_MOD}">{L_MOD}</option><option {APPROVAL_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> </tr> <tr> - <td class="row1"><span class="gen">{L_APPROVAL_EDIT_LEVEL}:</span></td> - <td class="row2"><select name="auth_approval_edit"><option {APPROVAL_DISABLED} value="{S_GUEST}">{L_DISABLED}</option><option {APPROVAL_MOD} value="{S_MOD}">{L_MOD}</option><option {APPROVAL_ADMIN} value="{S_ADMIN}">{L_ADMIN}</option></select></td> - </tr> - <tr> <td class="cat" colspan="2" align="center">{S_HIDDEN}<input type="submit" name="submit" value="{L_CREATE}" class="mainoption" /></td> </tr> </table> </form> ! <br clear="all" /> \ No newline at end of file --- 80,126 ---- <td class="row1" width="50%">{L_NOTIFY_GROUP}<br /><span class="gensmall">{L_NOTIFY_GROUP_EXPLAIN}</span></td> <td class="row2" width="50%">{NOTIFY_GROUP}</td> </tr> + <tr> ! <!-- TITLE ------------------------------------------------------------------------------------------- --> ! <th class="thHead" height="25" nowrap="nowrap" colspan="2">{L_CAT_PERMISSIONS}</th> </tr> + <tr> + <td class="row1" width="50%">{L_VIEW_LEVEL}<br><span class="gensmall">{L_VIEW_LEVEL_INFO}</span></td> + <td class="row2" width="50%">{S_VIEW_LEVEL}</td> + </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> + </tr> + <tr> + <td class="row1" width="50%">{L_DELETE_LEVEL}<br><span class="gensmall">{L_DELETE_LEVEL_INFO}</span></td> + <td class="row2" width="50%">{S_DELETE_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> + </tr> + <tr> + <td class="row1" width="50%">{L_APPROVAL_EDIT_LEVEL}<br><span class="gensmall">{L_APPROVAL_EDIT_LEVEL_INFO}</span></td> + <td class="row2" width="50%">{S_APPROVAL_EDIT_LEVEL}</td> + </tr> <tr> <td class="cat" colspan="2" align="center">{S_HIDDEN}<input type="submit" name="submit" value="{L_CREATE}" class="mainoption" /></td> </tr> </table> </form> ! <br clear="all" /> \ No newline at end of file |