From: <txm...@us...> - 2015-02-16 08:00:39
|
Revision: 12982 http://sourceforge.net/p/xoops/svn/12982 Author: txmodxoops Date: 2015-02-16 08:00:36 +0000 (Mon, 16 Feb 2015) Log Message: ----------- Adaptive cpanel theme in admin profile module Added Paths: ----------- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_categorylist.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_fieldlist.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_steplist.html XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_visibility.html Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_categorylist.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_categorylist.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_categorylist.html 2015-02-16 08:00:36 UTC (rev 12982) @@ -0,0 +1,19 @@ +<table class="table table-bordered"> + <tr> + <th><{$smarty.const._PROFILE_AM_TITLE}></th> + <th><{$smarty.const._PROFILE_AM_DESCRIPTION}></th> + <th><{$smarty.const._PROFILE_AM_WEIGHT}></th> + <th><{$smarty.const._PROFILE_AM_ACTION}></th> + </tr> + <{foreach item=category from=$categories}> + <tr class="<{cycle values='odd, even'}>"> + <td><{$category.cat_title}></td> + <td><{$category.cat_description}></td> + <td align= "center"><{$category.cat_weight}></td> + <td align= "center"> + <a href="category.php?id=<{$category.cat_id}>" title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <a href="category.php?op=delete&id=<{$category.cat_id}>" title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>"</a> + </td> + </tr> + <{/foreach}> +</table> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_fieldlist.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_fieldlist.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_fieldlist.html 2015-02-16 08:00:36 UTC (rev 12982) @@ -0,0 +1,57 @@ +<form action="field.php" method="post" id="fieldform"> + <table class="table table-bordered"> + <th><{$smarty.const._PROFILE_AM_NAME}></th> + <th><{$smarty.const._PROFILE_AM_TITLE}></th> + <th><{$smarty.const._PROFILE_AM_DESCRIPTION}></th> + <th><{$smarty.const._PROFILE_AM_TYPE}></th> + <th><{$smarty.const._PROFILE_AM_CATEGORY}></th> + <th><{$smarty.const._PROFILE_AM_WEIGHT}></th> + <th><{$smarty.const._PROFILE_AM_REQUIRED}></th> + <th><{$smarty.const._PROFILE_AM_ACTION}></th> + <{foreach item=category from=$fieldcategories}> + <{foreach item=field from=$category}> + <tr class="<{cycle values='odd, even'}>"> + <td><{$field.field_name}></td> + <td><{$field.field_title}></td> + <td><{$field.field_description}></td> + <td><{$field.fieldtype}></td> + <td> + <{if $field.canEdit}> + <select name="category[<{$field.field_id}>]"><{html_options options=$categories selected=$field.cat_id}></select> + <{/if}> + </td> + <td> + <{if $field.canEdit}> + <input type="text" name="weight[<{$field.field_id}>]" size="5" maxlength="5" value="<{$field.field_weight}>" /> + <{/if}> + </td> + <td align="center"> + <{if $field.canEdit}> + <a href="field.php?op=toggle&field_required=<{$field.field_required}>&field_id=<{$field.field_id}>"><img src="<{xoModuleIcons16}><{$field.field_required}>.png" title="<{$smarty.const._PROFILE_AM_REQUIRED_TOGGLE}>" alt="<{$smarty.const._PROFILE_AM_REQUIRED_TOGGLE}>" /></a> + <{/if}> + </td> + <td align= "center"> + <{if $field.canEdit}> + <input type="hidden" name="oldweight[<{$field.field_id}>]" value="<{$field.field_weight}>" /> + <input type="hidden" name="oldcat[<{$field.field_id}>]" value="<{$field.cat_id}>" /> + <input type="hidden" name="field_ids[]" value="<{$field.field_id}>" /> + <a href="field.php?id=<{$field.field_id}>" title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <{/if}> + <{if $field.canDelete}> + <a href="field.php?op=delete&id=<{$field.field_id}>" title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>"</a> + <{/if}> + </td> + </tr> + <{/foreach}> + <{/foreach}> + <tr class="<{cycle values='odd, even'}>"> + <td colspan="5"> </td> + <td> + <{$token}> + <input type="hidden" name="op" value="reorder" /> + <input type="submit" name="submit" class="btn btn-default" value="<{$smarty.const._SUBMIT}>" /> + </td> + <td colspan="2"> </td> + </tr> + </table> +</form> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_steplist.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_steplist.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_steplist.html 2015-02-16 08:00:36 UTC (rev 12982) @@ -0,0 +1,19 @@ +<table class="table table-bordered"> + <th><{$smarty.const._PROFILE_AM_STEPNAME}></th> + <th><{$smarty.const._PROFILE_AM_STEPORDER}></th> + <th><{$smarty.const._PROFILE_AM_STEPSAVE}></th> + <th><{$smarty.const._PROFILE_AM_ACTION}></th> + <{foreach item=step from=$steps}> + <tr class="<{cycle values='odd, even'}>"> + <td><{$step.step_name}></td> + <td align= "center"><{$step.step_order}></td> + <td align="center"> + <a href="step.php?op=toggle&step_save=<{$step.step_save}>&step_id=<{$step.step_id}>"><img src="<{xoModuleIcons16}><{$step.step_save}>.png" title="<{$smarty.const._PROFILE_AM_SAVESTEP_TOGGLE}>" alt="<{$smarty.const._PROFILE_AM_SAVESTEP_TOGGLE}>" /></a> + </td> + <td align= "center"> + <a href="step.php?id=<{$step.step_id}>" title="<{$smarty.const._EDIT}>"><img src="<{xoModuleIcons16 edit.png}>" alt="<{$smarty.const._EDIT}>" title="<{$smarty.const._EDIT}>" /></a> + <a href="step.php?op=delete&id=<{$step.step_id}>" title="<{$smarty.const._DELETE}>"><img src="<{xoModuleIcons16 delete.png}>" alt="<{$smarty.const._DELETE}>" title="<{$smarty.const._DELETE}>"</a> + </td> + </tr> + <{/foreach}> +</table> \ No newline at end of file Added: XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_visibility.html =================================================================== --- XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_visibility.html (rev 0) +++ XoopsCore/branches/2.5.x/2.5.8_timgno/htdocs/modules/profile/templates/profile_admin_visibility.html 2015-02-16 08:00:36 UTC (rev 12982) @@ -0,0 +1,35 @@ +<br /> +<div class="head"> + <form id="<{$addform.name}>" method="<{$addform.method}>" action="<{$addform.action}>"> + <{foreach item=element from=$addform.elements}> + <{$element.caption}> <{$element.body}> + <{/foreach}> + </form> +</div> + +<table class="table table-bordered"> + <{foreach item=field from=$fields key=field_id}> + <tr class="<{cycle values='odd,even'}>"> + <td class="width20"><{$field}></td> + <td> + <{if isset($visibilities.$field_id)}> + <ul> + <{foreach item=visibility from=$visibilities.$field_id}> + <{assign var=user_gid value=$visibility.user_group}> + <{assign var=profile_gid value=$visibility.profile_group}> + <li> + <{$smarty.const._PROFILE_AM_FIELDVISIBLEFOR}> <{$groups.$user_gid}> + <{$smarty.const._PROFILE_AM_FIELDVISIBLEON}> <{$groups.$profile_gid}> + <a href="visibility.php?op=del&field_id=<{$field_id}>&ug=<{$user_gid}>&pg=<{$profile_gid}>" title="<{$smarty.const._DELETE}>"> + <img src="<{$xoops_url}>/modules/profile/images/no.png" alt="<{$smarty.const._DELETE}>" /> + </a> + </li> + <{/foreach}> + </ul> + <{else}> + <{$smarty.const._PROFILE_AM_FIELDNOTVISIBLE}> + <{/if}> + </td> + </tr> + <{/foreach}> +</table> \ No newline at end of file |