From: <ma...@us...> - 2012-04-29 20:17:51
|
Revision: 9411 http://xoops.svn.sourceforge.net/xoops/?rev=9411&view=rev Author: mageg Date: 2012-04-29 20:17:44 +0000 (Sun, 29 Apr 2012) Log Message: ----------- Update avatar Modified Paths: -------------- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/admin/menu.php XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/help/help.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/templates/admin/avatars_custom.html XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/templates/admin/avatars_system.html Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/admin/menu.php =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/admin/menu.php 2012-04-29 20:11:00 UTC (rev 9410) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/admin/menu.php 2012-04-29 20:17:44 UTC (rev 9411) @@ -19,22 +19,21 @@ * @author Mage Grégory (AKA Mage) * @version $Id$ */ -$pathIcon32 = '../../media/xoops/images/icons/32/'; $adminmenu = array(); $i = 1; $adminmenu[$i]['title'] = _MI_AVATARS_INDEX; $adminmenu[$i]['link'] = "admin/index.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . 'home.png'; +$adminmenu[$i]['icon'] = 'home.png'; $i++; $adminmenu[$i]['title'] = _MI_AVATARS_SYSTEM; $adminmenu[$i]['link'] = "admin/avatar_system.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . 'avatar_system.png'; +$adminmenu[$i]['icon'] = 'avatar_system.png'; $i++; $adminmenu[$i]['title'] = _MI_AVATARS_CUSTOM; $adminmenu[$i]['link'] = "admin/avatar_custom.php"; -$adminmenu[$i]['icon'] = $pathIcon32 . 'avatar_custom.png'; +$adminmenu[$i]['icon'] = 'avatar_custom.png'; $i++; $adminmenu[$i]['title'] = _MI_AVATARS_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/avatars/language/english/help/help.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/help/help.html 2012-04-29 20:11:00 UTC (rev 9410) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/language/english/help/help.html 2012-04-29 20:17:44 UTC (rev 9411) @@ -1,22 +1,15 @@ -<div id="help-template" class="outer"> - <h1 class="head">Help: - <a class="ui-corner-all tooltip" href="<{$xoops_url}>/modules/avatars/admin/index.php" title="Back to the administration of Avatars"> - Avatars <img src="<{xoAdminIcons home.png}>" alt="Back to the administration of Avatars"/> - </a> - </h1> - <!-- ===== Help Content ======= --> - <h4 class="odd">Description</h4><br/> - Avatars are small graphics or pictures that can be used in various content settings around the site. They are often used next to a user name to add a bit of "visual identification." Typical applications are the forum. - <br/><br/> - The Avatar Manager allows the Site administrator to add, edit or delete System Avatars as well as Custom Avatars. - <br/><br/> - <h4 class="odd">System Avatar</h4><br/> - System Avatars are images uploaded by the Site administrator in the Avatar Manager section. - <br/><br/> - <h4 class="odd">Custom Avatar</h4><br/> - Custom Avatars are images directly uploaded by a user. For a user to be able to upload an avatar, the correct option must be configured in the User Info Settings of the Site Preferences. - <br/><br/> - <h4 class="odd">Edit and delete Avatars</h4><br/> - The Site administrator can edit the name and the display order of all the System Avatars, as well as deleting anyone of them. Note that if the Site administrator deleted an avatar that is used by a user, this user will lose his avatar. - <!-- ===== Help Content ======= --> -</div> \ No newline at end of file +<!-- ===== Help Content ======= --> +<h4>Description</h4><br/> +Avatars are small graphics or pictures that can be used in various content settings around the site. They are often used next to a user name to add a bit of "visual identification." Typical applications are the forum. +<br/><br/> +The Avatar Manager allows the Site administrator to add, edit or delete System Avatars as well as Custom Avatars. +<br/><br/> +<h4>System Avatar</h4><br/> +System Avatars are images uploaded by the Site administrator in the Avatar Manager section. +<br/><br/> +<h4>Custom Avatar</h4><br/> +Custom Avatars are images directly uploaded by a user. For a user to be able to upload an avatar, the correct option must be configured in the User Info Settings of the Site Preferences. +<br/><br/> +<h4>Edit and delete Avatars</h4><br/> +The Site administrator can edit the name and the display order of all the System Avatars, as well as deleting anyone of them. Note that if the Site administrator deleted an avatar that is used by a user, this user will lose his avatar. +<!-- ===== Help Content ======= --> \ No newline at end of file Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/templates/admin/avatars_custom.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/templates/admin/avatars_custom.html 2012-04-29 20:11:00 UTC (rev 9410) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/templates/admin/avatars_custom.html 2012-04-29 20:17:44 UTC (rev 9411) @@ -18,19 +18,19 @@ <{foreach item=avatar from=$avatars_list}> <div class="cp-avatar"> <div class="xo-thumbimg"> - <img class="tooltip" src="../../system/class/thumbs/phpThumb.php?src=<{$xoops_rootpath}>/uploads/<{$avatar.avatar_file}>&h=120&w=120" alt="<{$avatar.avatar_name}>" title="<{$avatar.avatar_name}>"/> + <img class="xo-tooltip" src="../../system/class/thumbs/phpThumb.php?src=<{$xoops_rootpath}>/uploads/<{$avatar.avatar_file}>&h=120&w=120" alt="<{$avatar.avatar_name}>" title="<{$avatar.avatar_name}>"/> </div> <div class="xo-actions txtcenter"> <div class="spacer bold"><{$avatar.avatar_name}></div> <img id="loading_avt<{$avatar.avatar_id}>" src="<{xoAppUrl media/xoops/images/spinner.gif}>" style="display:none;" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /> - <img class="cursorpointer tooltip" id="avt<{$avatar.avatar_id}>" onclick="Xoops.changeStatus( 'avatar_custom.php', { op: 'update_display', avatar_id: <{$avatar.avatar_id}> }, 'avt<{$avatar.avatar_id}>', 'avatar_custom.php' )" src="<{if $avatar.avatar_display}><{xoAdminIcons success.png}><{else}><{xoAdminIcons cancel.png}><{/if}>" alt="<{if $avatar.avatar_display}><{$smarty.const._AM_AVATARS_OFF}><{else}><{$smarty.const._AM_AVATARS_ON}><{/if}>" title="<{if $avatar.avatar_display}><{$smarty.const._AM_AVATARS_OFF}><{else}><{$smarty.const._AM_AVATARS_ON}><{/if}>" /> - <a class="tooltip" href="<{$xoops_url}>/modules/profile/userinfo.php?uid=<{$avatar.user}>" title="<{$smarty.const._AM_AVATARS_USERS}>"> + <img class="cursorpointer xo-tooltip" id="avt<{$avatar.avatar_id}>" onclick="Xoops.changeStatus( 'avatar_custom.php', { op: 'update_display', avatar_id: <{$avatar.avatar_id}> }, 'avt<{$avatar.avatar_id}>', 'avatar_custom.php' )" src="<{if $avatar.avatar_display}><{xoAdminIcons success.png}><{else}><{xoAdminIcons cancel.png}><{/if}>" alt="<{if $avatar.avatar_display}><{$smarty.const._AM_AVATARS_OFF}><{else}><{$smarty.const._AM_AVATARS_ON}><{/if}>" title="<{if $avatar.avatar_display}><{$smarty.const._AM_AVATARS_OFF}><{else}><{$smarty.const._AM_AVATARS_ON}><{/if}>" /> + <a class="xo-tooltip" href="<{$xoops_url}>/modules/profile/userinfo.php?uid=<{$avatar.user}>" title="<{$smarty.const._AM_AVATARS_USERS}>"> <img src="<{xoAdminIcons user_edit.png}>" alt="<{$smarty.const._AM_AVATARS_USERS}>" title="<{$smarty.const._AM_AVATARS_USERS}>" /> </a> - <a class="tooltip" href="avatar_custom.php?op=edit&avatar_id=<{$avatar.avatar_id}>" title="<{$smarty.const._AM_AVATARS_EDIT}>"> + <a class="xo-tooltip" href="avatar_custom.php?op=edit&avatar_id=<{$avatar.avatar_id}>" title="<{$smarty.const._AM_AVATARS_EDIT}>"> <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._AM_AVATARS_EDIT}>" /> </a> - <a class="tooltip" href="avatar_custom.php?op=delete&avatar_id=<{$avatar.avatar_id}>" title="<{$smarty.const._AM_AVATARS_DELETE}>"> + <a class="xo-tooltip" href="avatar_custom.php?op=delete&avatar_id=<{$avatar.avatar_id}>" title="<{$smarty.const._AM_AVATARS_DELETE}>"> <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_AVATARS_DELETE}>" /> </a> </div> Modified: XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/templates/admin/avatars_system.html =================================================================== --- XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/templates/admin/avatars_system.html 2012-04-29 20:11:00 UTC (rev 9410) +++ XoopsCore/branches/2.6.x/2.6.0/htdocs/modules/avatars/templates/admin/avatars_system.html 2012-04-29 20:17:44 UTC (rev 9411) @@ -18,17 +18,17 @@ <{foreach item=avatar from=$avatars_list}> <div class="cp-avatar"> <div class="xo-thumbimg"> - <img class="tooltip" src="../../system/class/thumbs/phpThumb.php?src=<{$xoops_rootpath}>/uploads/<{$avatar.avatar_file}>&h=120&w=120" alt="<{$avatar.avatar_name}>" title="<{$avatar.avatar_name}>"/> + <img class="xo-tooltip" src="../../system/class/thumbs/phpThumb.php?src=<{$xoops_rootpath}>/uploads/<{$avatar.avatar_file}>&h=120&w=120" alt="<{$avatar.avatar_name}>" title="<{$avatar.avatar_name}>"/> </div> <div class="xo-actions txtcenter"> <div class="spacer bold"><{$avatar.avatar_name}></div> <img id="loading_avt<{$avatar.avatar_id}>" src="<{xoAppUrl media/xoops/images/spinner.gif}>" style="display:none;" alt="<{$smarty.const._AM_SYSTEM_LOADING}>" /> - <img class="cursorpointer tooltip" id="avt<{$avatar.avatar_id}>" onclick="Xoops.changeStatus( 'avatar_system.php', { op: 'update_display', avatar_id: <{$avatar.avatar_id}> }, 'avt<{$avatar.avatar_id}>', 'avatar_system.php' )" src="<{if $avatar.avatar_display}><{xoAdminIcons success.png}><{else}><{xoAdminIcons cancel.png}><{/if}>" alt="<{if $avatar.avatar_display}><{$smarty.const._AM_AVATARS_OFF}><{else}><{$smarty.const._AM_AVATARS_ON}><{/if}>" title="<{if $avatar.avatar_display}><{$smarty.const._AM_AVATARS_OFF}><{else}><{$smarty.const._AM_AVATARS_ON}><{/if}>" /> - <img class="cursorhelp tooltip" src="<{xoAdminIcons forum.png}>" alt="<{$avatar.count}> <{$smarty.const._AM_AVATARS_USERS}>" title="<{$avatar.count}> <{$smarty.const._AM_AVATARS_USERS}>" /> - <a class="tooltip" href="avatar_system.php?op=edit&avatar_id=<{$avatar.avatar_id}>" title="<{$smarty.const._AM_AVATARS_EDIT}>"> + <img class="cursorpointer" id="avt<{$avatar.avatar_id}>" onclick="Xoops.changeStatus( 'avatar_system.php', { op: 'update_display', avatar_id: <{$avatar.avatar_id}> }, 'avt<{$avatar.avatar_id}>', 'avatar_system.php' )" src="<{if $avatar.avatar_display}><{xoAdminIcons success.png}><{else}><{xoAdminIcons cancel.png}><{/if}>" alt="<{if $avatar.avatar_display}><{$smarty.const._AM_AVATARS_OFF}><{else}><{$smarty.const._AM_AVATARS_ON}><{/if}>" title="<{if $avatar.avatar_display}><{$smarty.const._AM_AVATARS_OFF}><{else}><{$smarty.const._AM_AVATARS_ON}><{/if}>" /> + <img class="cursorhelp xo-tooltip" src="<{xoAdminIcons forum.png}>" alt="<{$avatar.count}> <{$smarty.const._AM_AVATARS_USERS}>" title="<{$avatar.count}> <{$smarty.const._AM_AVATARS_USERS}>" /> + <a class="xo-tooltip" href="avatar_system.php?op=edit&avatar_id=<{$avatar.avatar_id}>" title="<{$smarty.const._AM_AVATARS_EDIT}>"> <img src="<{xoAdminIcons edit.png}>" alt="<{$smarty.const._AM_AVATARS_EDIT}>" /> </a> - <a class="tooltip" href="avatar_system.php?op=delete&avatar_id=<{$avatar.avatar_id}>" title="<{$smarty.const._AM_AVATARS_DELETE}>"> + <a class="xo-tooltip" href="avatar_system.php?op=delete&avatar_id=<{$avatar.avatar_id}>" title="<{$smarty.const._AM_AVATARS_DELETE}>"> <img src="<{xoAdminIcons delete.png}>" alt="<{$smarty.const._AM_AVATARS_DELETE}>" /> </a> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |