From: <ma...@us...> - 2012-05-01 18:11:01
|
Revision: 9422 http://xoops.svn.sourceforge.net/xoops/?rev=9422&view=rev Author: mageg Date: 2012-05-01 18:10:53 +0000 (Tue, 01 May 2012) Log Message: ----------- update profile module Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/admin/menu.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/language/english/help/help.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/categorylist.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/fieldlist.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/steplist.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/admin/menu.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/admin/menu.php 2012-05-01 17:40:16 UTC (rev 9421) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/admin/menu.php 2012-05-01 18:10:53 UTC (rev 9422) @@ -21,36 +21,33 @@ * @version $Id$ */ -$pathIcon32 = '../../media/xoops/images/icons/32/'; - $adminmenu = array(); $i = 1; $adminmenu[$i]['title'] = _PROFILE_MI_HOME; $adminmenu[$i]['link'] = "admin/index.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . '/home.png'; +$adminmenu[$i]['icon'] = '/home.png'; $i++; $adminmenu[$i]['title'] = _PROFILE_MI_USERS; $adminmenu[$i]['link'] = "admin/user.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . '/users.png'; +$adminmenu[$i]['icon'] = '/users.png'; $i++; $adminmenu[$i]['title'] = _PROFILE_MI_CATEGORIES; $adminmenu[$i]['link'] = "admin/category.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . '/category.png'; +$adminmenu[$i]['icon'] = '/category.png'; $i++; $adminmenu[$i]['title'] = _PROFILE_MI_FIELDS; $adminmenu[$i]['link'] = "admin/field.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . '/index.png'; +$adminmenu[$i]['icon'] = '/index.png'; $i++; $adminmenu[$i]['title'] = _PROFILE_MI_STEPS; $adminmenu[$i]['link'] = "admin/step.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . '/stats.png'; +$adminmenu[$i]['icon'] = '/stats.png'; $i++; $adminmenu[$i]['title'] = _PROFILE_MI_PERMISSIONS; $adminmenu[$i]['link'] = "admin/permissions.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . '/permissions.png'; +$adminmenu[$i]['icon'] = '/permissions.png'; $i++; $adminmenu[$i]['title'] = _PROFILE_MI_ABOUT; $adminmenu[$i]['link'] = 'admin/about.php'; -$adminmenu[$i]['icon'] = $pathIcon32 . '/about.png'; -?> \ No newline at end of file +$adminmenu[$i]['icon'] = '/about.png'; \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/language/english/help/help.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/language/english/help/help.html 2012-05-01 17:40:16 UTC (rev 9421) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/language/english/help/help.html 2012-05-01 18:10:53 UTC (rev 9422) @@ -1,21 +1,18 @@ -<div id="help-template" class="outer"> - <h1 class="head">Help: <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/profile/admin/index.php" title="Back to the Administration of Profile"> Profile <img src="<{xoAdminIcons home.png}>" alt="Back to the Administration of Profile"/></a></h1> - <!-- -----Help Content ---------- --> - <h4 class="odd">Description</h4> - <p class="even">The Profile module is for managing custom user profile fields.</p> - <h4 class="odd">Install/uninstall</h4> - <p>No special measures necessary, follow the standard installation process – extract the /profile folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.</p> - <p>Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i" title="XOOPS Operations Manual">XOOPS Operations Manual</a> </p> - <h4 class="odd">Operating instructions</h4> - <p class="even">To set up this module you need to:</p> - <ul> - <li>Configure your preferences for the module (see ‘Preferences’) and optionally the Profile block if you intend to use it (see ‘Blocks’).</li> - <li>Edit existing Categories or add new ones.</li> - <li>Edit existing Fields or add new ones. Here you can specify which fields will be visible in which category, and if they will be visible during user registration.</li> - <li>Define the order of Registration steps.</li> - <li>And finally, you can set permissions for individual fields - which ones are editable, which ones are searchable.</li> - </ul> - <h4 class="odd">Tutorial</h4> - <p class="even">Tutorial coming soon.</p> - <!-- -----Help Content ---------- --> -</div> \ No newline at end of file +<!-- -----Help Content ---------- --> +<h4 class="odd">Description</h4> +<p class="even">The Profile module is for managing custom user profile fields.</p> +<h4 class="odd">Install/uninstall</h4> +<p>No special measures necessary, follow the standard installation process – extract the /profile folder into the ../modules directory. Install the module through Admin -> System Module -> Modules.</p> +<p>Detailed instructions on installing modules are available in the <a href="http://goo.gl/adT2i" title="XOOPS Operations Manual">XOOPS Operations Manual</a> </p> +<h4 class="odd">Operating instructions</h4> +<p class="even">To set up this module you need to:</p> +<ul> + <li>Configure your preferences for the module (see ‘Preferences’) and optionally the Profile block if you intend to use it (see ‘Blocks’).</li> + <li>Edit existing Categories or add new ones.</li> + <li>Edit existing Fields or add new ones. Here you can specify which fields will be visible in which category, and if they will be visible during user registration.</li> + <li>Define the order of Registration steps.</li> + <li>And finally, you can set permissions for individual fields - which ones are editable, which ones are searchable.</li> +</ul> +<h4 class="odd">Tutorial</h4> +<p class="even">Tutorial coming soon.</p> +<!-- -----Help Content ---------- --> \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/categorylist.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/categorylist.html 2012-05-01 17:40:16 UTC (rev 9421) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/categorylist.html 2012-05-01 18:10:53 UTC (rev 9422) @@ -7,8 +7,8 @@ <table class="outer"> <thead> <tr> - <th><{$smarty.const._PROFILE_AM_TITLE}></th> - <th><{$smarty.const._PROFILE_AM_DESCRIPTION}></th> + <th class="txtcenter"><{$smarty.const._PROFILE_AM_TITLE}></th> + <th class="txtleft"><{$smarty.const._PROFILE_AM_DESCRIPTION}></th> <th><{$smarty.const._PROFILE_AM_WEIGHT}></th> <th></th> </tr> @@ -16,12 +16,16 @@ <tbody> <{foreach item=category from=$categories}> <tr class="<{cycle values='odd, even'}>"> - <td><{$category.cat_title}></td> - <td><{$category.cat_description}></td> - <td><{$category.cat_weight}></td> - <td> - <a href="category.php?id=<{$category.cat_id}>" title="<{$smarty.const._EDIT}>"><{$smarty.const._EDIT}></a> - <a href="category.php?op=delete&id=<{$category.cat_id}>" title="<{$smarty.const._DELETE}>"><{$smarty.const._DELETE}></a> + <td class="txtcenter width20"><{$category.cat_title}></td> + <td class="txtleft"><{$category.cat_description}></td> + <td class="txtcenter width5"><{$category.cat_weight}></td> + <td class="xo-actions txtcenter width5"> + <a href="category.php?id=<{$category.cat_id}>" title="<{$smarty.const._EDIT}>"> + <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._EDIT}>"> + </a> + <a href="category.php?op=delete&id=<{$category.cat_id}>" title="<{$smarty.const._DELETE}>"> + <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._DELETE}>"> + </a> </td> </tr> <{/foreach}> Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/fieldlist.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/fieldlist.html 2012-05-01 17:40:16 UTC (rev 9421) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/fieldlist.html 2012-05-01 18:10:53 UTC (rev 9422) @@ -36,15 +36,19 @@ <input class="span2" type="text" name="weight[<{$field.field_id}>]" maxlength="5" value="<{$field.field_weight}>" /> <{/if}> </td> - <td> + <td class="xo-actions txtcenter width5"> <{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}>"><{$smarty.const._EDIT}></a> + <a href="field.php?id=<{$field.field_id}>" title="<{$smarty.const._EDIT}>"> + <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._EDIT}>"> + </a> <{/if}> <{if $field.canDelete}> - <a href="field.php?op=delete&id=<{$field.field_id}>" title="<{$smarty.const._DELETE}>"><{$smarty.const._DELETE}></a> + <a href="field.php?op=delete&id=<{$field.field_id}>" title="<{$smarty.const._DELETE}>"> + <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._DELETE}>"> + </a> <{/if}> </td> </tr> Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/steplist.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/steplist.html 2012-05-01 17:40:16 UTC (rev 9421) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/profile/templates/admin/steplist.html 2012-05-01 18:10:53 UTC (rev 9422) @@ -18,11 +18,15 @@ <{foreach item=step from=$steps}> <tr class="<{cycle values='odd, even'}>"> <td><{$step.step_name}></td> - <td><{$step.step_order}></td> - <td><{if $step.step_save == 1}><img src="<{xoAppUrl modules/profile/images/yes.png}>" alt="<{$smarty.const._YES}>" /><{else}><img src="<{xoAppUrl modules/profile/images/no.png}>" alt="<{$smarty.const._NO}>" /><{/if}></td> - <td> - <a href="step.php?id=<{$step.step_id}>" title="<{$smarty.const._EDIT}>"><{$smarty.const._EDIT}></a> - <a href="step.php?op=delete&id=<{$step.step_id}>" title="<{$smarty.const._DELETE}>"><{$smarty.const._DELETE}></a> + <td class="txtcenter width10"><{$step.step_order}></td> + <td class="txtcenter width10"><{if $step.step_save == 1}><img src="<{xoAppUrl modules/profile/images/yes.png}>" alt="<{$smarty.const._YES}>" /><{else}><img src="<{xoAppUrl modules/profile/images/no.png}>" alt="<{$smarty.const._NO}>" /><{/if}></td> + <td class="xo-actions txtcenter width5"> + <a href="step.php?id=<{$step.step_id}>" title="<{$smarty.const._EDIT}>"> + <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._EDIT}>"> + </a> + <a href="step.php?op=delete&id=<{$step.step_id}>" title="<{$smarty.const._DELETE}>"> + <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._DELETE}>"> + </a> </td> </tr> <{/foreach}> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |