/** * copyright : (C) 2001-2019 Advanced Internet Designs Inc. * email : forum@prohost.org * $Id: karma_show.tmpl 6338 2019-11-15 17:53:09Z naudefj $ * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; version 2 of the License. **/ {MAIN_SECTION: karma_show Show user's karma} {IF: $GLOBALS['FUD_OPT_4'] & 4 && $obj->poster_id > 0}
{IF: $MOD}{ENDIFI} {MSG: karma}: {VAR: obj->karma} {IF: $MOD}{ENDIFI} {ENDIFI} {MAIN_SECTION: END} {MAIN_SECTION: karma_change Links/buttons to change user's karma} {IF: ($GLOBALS['FUD_OPT_4'] & 4 && $perms & 1024 && $obj->poster_id > 0 && !$obj->cant_karma && $obj->poster_id != $usr->id)} id} class="SmallText">{MSG: rate_author} +1 -1 {ENDIFI} {MAIN_SECTION: END}