templates/de/html/member/member_doubler.tpl svneol=native#text/plain
templates/de/html/member/member_doubler_list.tpl svneol=native#text/plain
templates/de/html/member/member_doubler_list_rows.tpl svneol=native#text/plain
+templates/de/html/member/member_edit_refback.tpl svneol=native#text/plain
templates/de/html/member/member_footer.tpl svneol=native#text/plain
templates/de/html/member/member_goto_top.tpl svneol=native#text/plain
templates/de/html/member/member_header.tpl svneol=native#text/plain
templates/de/html/member/member_list_beg_row.tpl svneol=native#text/plain
templates/de/html/member/member_list_coupon.tpl svneol=native#text/plain
templates/de/html/member/member_list_coupon_row.tpl svneol=native#text/plain
+templates/de/html/member/member_list_refback.tpl svneol=native#text/plain
+templates/de/html/member/member_list_refback_deleted_row.tpl svneol=native#text/plain
+templates/de/html/member/member_list_refback_level.tpl svneol=native#text/plain
+templates/de/html/member/member_list_refback_row.tpl svneol=native#text/plain
templates/de/html/member/member_list_reflinks.tpl svneol=native#text/plain
templates/de/html/member/member_list_reflinks_row.tpl svneol=native#text/plain
templates/de/html/member/member_list_surfbar.tpl svneol=native#text/plain
./inc/language-functions.php:44:// @TODO Rewrite all language constants to this function.
./inc/language/newsletter_de.php:13: * @TODO This language file is completely out-dated, please do no *
./inc/language/rallye_de.php:13: * @TODO Naming convention not applied for language strings *
-./inc/language/refback_de.php:44:// @TODO Rewrite these constants to one
+./inc/language/refback_de.php:53: // @TODO Rewrite these constants to one
./inc/language/sponsor_de.php:117:// @TODO Rewrite these four constants to one and use sprintf()
./inc/libs/admins_functions.php:474: // @TODO This can be, somehow, rewritten
./inc/libs/bonus_functions.php:194: // @TODO Move this HTML to a template
./templates/de/html/admin/admin_list_country_edit_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_reset_pass_done.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/admin/admin_send_reset_link.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/member/member_refback_edit.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/member/member_refback_list_level.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/member/member_refback_list_row_deleted.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/member/member_refback_list_row.tpl:1:<!-- @DEPRECATED //-->
+./templates/de/html/member/member_refback_list.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_reflinks_row.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_reflinks_table.tpl:1:<!-- @DEPRECATED //-->
./templates/de/html/member/member_surfbar_book_dynamic.tpl:1:<!-- @DEPRECATED //-->
} // END - if
// Admin language strings
-// @TODO Rewrite these constants to one
addMessages(array(
'ADMIN_LIST_USER_NOREFS' => "Das Mitglied <span class=\"data\">%s</span> hat in dieser Referal-Ebene keine Refs.",
'ADMIN_LIST_USER_NODATA' => "Das Mitglied <span class=\"data\">%s</span> wurde bereits gelöscht.",
'ADMIN_CONFIG_REFBACK_MIN_PERCENTS' => "Minimum erlaubte Refback-Prozente:<br /><span class=\"notice\">(0% ist immer erlaubt!)</span>",
'ADMIN_CONFIG_REFBACK_MAX_PERCENTS' => "Maximum erlaubte Refback-Prozente:",
-// Member language strings
- 'MEMBER_REFBACK_LIST_TITLE_1' => "Refback Übersicht für Referal-Ebene <u>",
+ // Member language strings
+ // @TODO Rewrite these constants to one
+ 'MEMBER_REFBACK_LIST_TITLE_1' => "Refback-Übersicht für Referal-Ebene <u>",
'MEMBER_REFBACK_LIST_TITLE_2' => "</u> (<u>",
'MEMBER_REFBACK_LIST_TITLE_3' => "%</u>)",
'MEMBER_REFBACK_TITLE' => "Refback und Referal-Übersicht",
'MEMBER_REFBACK_NOTE' => "Hier können Sie in jeder Referal-Ebene jedem von Ihnen geworbenen Mitglied Refback einstellen. Sollte Ihr Referal {?POINTS?} verdienen und diese ihm/ihr nicht direkt gutgeschrieben werden, so erhält Ihr Referal die eingestellten Prozente von Ihrem Referalverdienst aufgebucht. Ihnen wird dafür sein Anteil (=eingestellte Prozente) von Ihrem Referalverdienst abgezogen. Unter <strong>{--MEMBER_REFBACK_POINTS--}</strong> sind die {?POINTS?}-Gutschriften durch Refback an das jeweilige Mitglied zu verstehen.",
- 'MEMBER_REFBACK_EXAMPLE' => "Ein Rechenbeispiel: Ihr Referal <strong>X</strong> verdient 1.000 {?POINTS?}, es sind 10% in Ref-Ebene 1 eingestellt. Ohne Refback erhalten Sie 100 {?POINTS?} in Referal-Ebene 1 gutgeschrieben. Nun haben Sie einen Refback von 90% dem Referal <strong>X</strong> gegeben. Ihrem Referal werden somit 90 und Ihnen die restlichen 10 {?POINTS?} gutgeschrieben.",
+ 'MEMBER_REFBACK_EXAMPLE' => "Ein Rechenbeispiel: Ihr Referal <strong>X</strong> verdient 1.000 {?POINTS?}, es sind 10% in Ref-Ebene 1 eingestellt. Ohne Refback erhalten Sie 100 {?POINTS?} in Referal-Ebene 1 gutgeschrieben. Nun haben Sie einen Refback von 90% dem Referal <strong>X</strong> gegeben. Die 100 {?POINTS?} werden nun aufgeteilt: Ihrem Referal werden 90 und Ihnen die restlichen 10 von den ursprünglichen 100 {?POINTS?} gutgeschrieben.",
'MEMBER_REFBACK_NO_ENTRIES' => "Es gibt technische Probleme mit der Refback-Tabelle. Bitte Support benachrichtigen.",
'MEMBER_REFBACK_EDIT_SUBMIT' => "Refback einstellen",
- 'MEMBER_REFBACK_REFID' => "Mitglieder-Id (Nickname)",
+ 'MEMBER_REFBACK_REFID' => "Mitglieder-Id",
'MEMBER_REFBACK_LEVEL_REFID' => "Werber",
'MEMBER_REFBACK_STATUS' => "Referal-Status",
'MEMBER_REFBACK_PERCENTS' => "Refback Prozente",
'MEMBER_REFBACK_DISABLED' => "Refback ist administrativ deaktiviert. Bitte nutze die Referal-Übersicht links im Menü.",
'MEMBER_REFBACK_MIN_MAX_NOTE' => "<strong>Hinweis:</strong> Sie können derzeit zwischen <u>{%config,translateComma=refback_min_perc%}</u> und <u>{%config,translateComma=refback_max_perc%}</u> Prozent, inklusive, Refback einstellen.",
-// Error messages for members
+ // Error messages for members
'MEMBER_REFBACK_ERROR_MESSAGE' => "Fehler beim Einstellen des Refbacks. Fehlermeldung:<br />\n<span class=\"data\">%s</span>",
'MEMBER_REFBACK_ERROR_GENERAL' => "Allgemeiner Scriptefehler. Bitte beim Support melden.",
'MEMBER_REFBACK_ERROR_NO_MEMBER' => "Nur Mitglieder können Refbacks einstellen.",
'MEMBER_REFBACK_ERROR_OUT_OF_BOUNDS' => "Sie können nur mindestens <span class=\"data\">{?refback_min_perc?}%</span> und maximal <span class=\"data\">{?refback_max_perc?}%</span> einstellen.",
'MEMBER_REFBACK_DONE' => "Refback eingestellt. Dieser ist ab jetzt gültig.",
-// Subject lines
+ // Subject lines
'ADMIN_REFBACK_SUBJECT' => "Es wurde Refback eingestellt",
'MEMBER_REFBACK_SUBJECT' => "Für Sie wurde Refback eingestellt",
));
// Some percents given?
if ($percents > 0) {
- //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'points=' . $points . ',[percents]=' . $content['refback_percents'] . ',percents=' . $percents . ',level=' . $content['level']);
+ //* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'points=' . $points . ',refback_percents=' . $content['refback_percents'] . ',percents=' . $percents . ',level=' . $content['level']);
// Calculate points for refback
$refback = $points * ($content['refback_percents'] / 100) * ($percents / 100);
$content = getArrayFromUserRefbackData(postRequestParameter('id'));
// Load form for editing
- loadTemplate('member_refback_edit', false, $content);
+ loadTemplate('member_edit_refback', false, $content);
}
} // END - if
// Load row template
if ($deleted === true) {
- $rows .= loadTemplate('member_refback_list_row_deleted', true, $refRow);
+ $rows .= loadTemplate('member_list_refback_deleted_row', true, $refRow);
} else {
- $rows .= loadTemplate('member_refback_list_row', true, $refRow);
+ $rows .= loadTemplate('member_list_refback_row', true, $refRow);
}
// Count this ref and switch color
$content['rows'] = $rows;
// Load level template
- $OUT .= loadTemplate('member_refback_list_level', true, $content);
+ $OUT .= loadTemplate('member_list_refback_level', true, $content);
} // END - while
// Load main template
- loadTemplate('member_refback_list', false, $OUT);
+ loadTemplate('member_list_refback', false, $OUT);
} else {
// No entries
displayMessage('{--MEMBER_REFBACK_NO_ENTRIES--}');
-----------------------------------
Email-Adresse: {%user,email=$userid%}
-----------------------------------
-Refback: {%pipe,translateComma=$content[percents]%}%
+Refback: {%pipe,translateComma=$content[refback_percents]%}%
-----------------------------------
Bereits erhalten: {%pipe,translateComma=$content[refback_points]%} {?POINTS?}
-----------------------------------
Hallo {%user,gender,translateGender=$userid%} {%user,surname=$userid%} {%user,family=$userid%},
-Das Mitglied $content[refid] hat Ihnen soeben {%pipe,translateComma=$content[percents]%}% Refback eingestellt. Sie erhalten also anteilig {?POINTS?} von seinen Referal-Gutschriften die Sie ihm/ihr bringen ebenfalls gutgeschrieben.
+Das Mitglied $content[refid] hat Ihnen soeben {%pipe,translateComma=$content[refback_percents]%}% Refback eingestellt. Sie erhalten also anteilig {?POINTS?} von seinen Referal-Gutschriften die Sie ihm/ihr bringen ebenfalls gutgeschrieben.
------------------------------
Ihr Mitglieder-Id ist: $userid
------------------------------
-Refback: {%pipe,translateComma=$content[percents]%}%
+Refback: {%pipe,translateComma=$content[refback_percents]%}%
------------------------------
Sie haben bereits {%pipe,translateComma=$content[refback_points]%} {?POINTS?} Refback-Vergütung an das Mitglied abgegeben.
--- /dev/null
+<div align="center">
+<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=refback%}" method="post">
+<input type="hidden" name="id" value="$content[id]" />
+<div class="table dashed">
+<div class="table_header bottom">
+ <strong>{--MEMBER_REFBACK_EDIT_TITLE--}</strong><br />
+ <span class="notice">{--MEMBER_REFBACK_REFID--}: $content[refid]</span>
+</div>
+<div class="bottom" align="center">
+ {--MEMBER_REFBACK_PERCENTS--}:
+ <input type="text" class="form_field" name="refback_percents" size="6" maxlength="7" value="{%pipe,translateComma=$content[refback_percents]%}" />%
+</div>
+<div class="table_footer">
+ <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
+ <input type="submit" class="form_submit" name="edit" value="{--MEMBER_REFBACK_EDIT_SUBMIT--}" />
+</div>
+</div>
+</form>
+</div>
+
+<div class="notice">
+ {--MEMBER_REFBACK_MIN_MAX_NOTE--}
+</div>
--- /dev/null
+<div class="table2 dashed">
+<div class="header_column bottom">
+ <strong>{--MEMBER_REFBACK_TITLE--}</strong>
+</div>
+$content
+<div class="top">
+ <div class="notice">{--MEMBER_REFBACK_NOTE--}</div>
+ <div class="notice">{--MEMBER_REFBACK_EXAMPLE--}</div>
+</div>
+</div>
--- /dev/null
+<tr>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[refid] ($content[nickname])
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[level_refid]
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ {%pipe,translateComma=$content[refback_percents]%}%
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ {%pipe,translateComma=$content[refback_points]%} {?POINTS?}
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[click_rate]%
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[joined]
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">
+ <form accept-charset="UTF-8" style="paddin-bottom:0px">
+ <input type="button" name="edit" class="form_submit disabled" title="{--MEMBER_REFBACK_DELETED_TITLE--}"
+ disabled="disabled" value="{--MEMBER_REFBACK_DELETED_SUBMIT--}" />
+ </form>
+ </td>
+</tr>
--- /dev/null
+<div align="center" style="padding:0px;margin:0px">
+<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="730">
+<tr>
+ <td align="center" class="header_column" colspan="7">
+ <strong>{--MEMBER_REFBACK_LIST_TITLE_1--}$content[level]{--MEMBER_REFBACK_LIST_TITLE_2--}{%pipe,translateComma=$content[percents]%}{--MEMBER_REFBACK_LIST_TITLE_3--}</strong>
+ </td>
+</tr>
+<tr>
+ <td align="center" class="header_column bottom right">
+ <strong>{--MEMBER_REFBACK_REFID--}</strong>
+ </td>
+ <td align="center" class="header_column bottom right">
+ <strong>{--MEMBER_REFBACK_LEVEL_REFID--}</strong>
+ </td>
+ <td align="center" class="header_column bottom right">
+ <strong>{--MEMBER_REFBACK_PERCENTS--}</strong>
+ </td>
+ <td align="center" class="header_column bottom right">
+ <strong>{--MEMBER_REFBACK_POINTS--}</strong>
+ </td>
+ <td align="center" class="header_column bottom right">
+ <strong>{--MEMBER_CLICK_RATE--}</strong>
+ </td>
+ <td align="center" class="header_column bottom right">
+ <strong>{--MEMBER_JOINED--}</strong>
+ </td>
+ <td align="center" class="header_column bottom" width="134">
+ <strong>{--MEMBER_REFBACK_EDIT--}</strong>
+ </td>
+</tr>
+$content[rows]
+<tr>
+ <td align="center" class="table_footer" colspan="7">
+ <span class="notice">{%message,MEMBER_REFLIST_COUNTER=$content[counter]%}</span>
+ </td>
+</tr>
+</table>
+</div>
--- /dev/null
+<tr>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[refid] ({%user,nickname,fixEmptyContentToDashes=$content[refid]%})
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[level_refid]
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ {%pipe,translateComma=$content[refback_percents]%}%
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ {%pipe,translateComma=$content[refback_points]%} {?POINTS?}
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[click_rate]%
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom right">
+ $content[joined]
+ </td>
+ <td align="center" class="{%template,ColorSwitch%} bottom">
+ <form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=refback%}" method="post">
+ <input type="hidden" name="id" value="$content[id]" />
+ <input type="submit" class="form_submit" name="edit" value="{--MEMBER_REFBACK_EDIT_SUBMIT--}" />
+ </form>
+ </td>
+</tr>
-<div align="center">
-<form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=refback%}" method="post">
-<input type="hidden" name="id" value="$content[id]" />
-<div class="table dashed">
-<div class="table_header bottom">
- <strong>{--MEMBER_REFBACK_EDIT_TITLE--}</strong><br />
- <span class="notice">{--MEMBER_REFBACK_REFID--}: $content[refid]</span>
-</div>
-<div class="bottom" align="center">
- {--MEMBER_REFBACK_PERCENTS--}:
- <input type="text" class="form_field" name="refback_percents" size="6" maxlength="7" value="{%pipe,translateComma=$content[refback_percents]%}" />%
-</div>
-<div class="table_footer">
- <input type="reset" class="form_reset" value="{--CLEAR_FORM--}" />
- <input type="submit" class="form_submit" name="edit" value="{--MEMBER_REFBACK_EDIT_SUBMIT--}" />
-</div>
-</div>
-</form>
-</div>
-
-<div class="notice">
- {--MEMBER_REFBACK_MIN_MAX_NOTE--}
-</div>
+<!-- @DEPRECATED //-->
-<div class="table2 dashed">
-<div class="header_column bottom">
- <strong>{--MEMBER_REFBACK_TITLE--}</strong>
-</div>
-$content
-<div class="top">
- <div class="notice">{--MEMBER_REFBACK_NOTE--}</div>
- <div class="notice">{--MEMBER_REFBACK_EXAMPLE--}</div>
-</div>
-</div>
+<!-- @DEPRECATED //-->
-<div align="center" style="padding:0px;margin:0px">
-<table border="0" cellspacing="0" cellpadding="0" class="table dashed" width="730">
-<tr>
- <td align="center" class="header_column" colspan="7">
- <strong>{--MEMBER_REFBACK_LIST_TITLE_1--}$content[level]{--MEMBER_REFBACK_LIST_TITLE_2--}{%pipe,translateComma=$content[percents]%}{--MEMBER_REFBACK_LIST_TITLE_3--}</strong>
- </td>
-</tr>
-<tr>
- <td align="center" class="header_column bottom right">
- <strong>{--MEMBER_REFBACK_REFID--}</strong>
- </td>
- <td align="center" class="header_column bottom right">
- <strong>{--MEMBER_REFBACK_LEVEL_REFID--}</strong>
- </td>
- <td align="center" class="header_column bottom right">
- <strong>{--MEMBER_REFBACK_PERCENTS--}</strong>
- </td>
- <td align="center" class="header_column bottom right">
- <strong>{--MEMBER_REFBACK_POINTS--}</strong>
- </td>
- <td align="center" class="header_column bottom right">
- <strong>{--MEMBER_CLICK_RATE--}</strong>
- </td>
- <td align="center" class="header_column bottom right">
- <strong>{--MEMBER_JOINED--}</strong>
- </td>
- <td align="center" class="header_column bottom" width="134">
- <strong>{--MEMBER_REFBACK_EDIT--}</strong>
- </td>
-</tr>
-$content[rows]
-<tr>
- <td align="center" class="table_footer" colspan="7">
- <span class="notice">{%message,MEMBER_REFLIST_COUNTER=$content[counter]%}</span>
- </td>
-</tr>
-</table>
-</div>
+<!-- @DEPRECATED //-->
-<tr>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[refid] ({%user,nickname,fixEmptyContentToDashes=$content[refid]%})
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[level_refid]
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- {%pipe,translateComma=$content[refback_percents]%}%
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- {%pipe,translateComma=$content[refback_points]%} {?POINTS?}
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[click_rate]%
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[joined]
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom">
- <form accept-charset="UTF-8" action="{%url=modules.php?module=login&what=refback%}" method="post">
- <input type="hidden" name="id" value="$content[id]" />
- <input type="submit" class="form_submit" name="edit" value="{--MEMBER_REFBACK_EDIT_SUBMIT--}" />
- </form>
- </td>
-</tr>
+<!-- @DEPRECATED //-->
-<tr>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[refid] ($content[nickname])
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[level_refid]
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- {%pipe,translateComma=$content[refback_percents]%}%
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- {%pipe,translateComma=$content[refback_points]%} {?POINTS?}
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[click_rate]%
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom right">
- $content[joined]
- </td>
- <td align="center" class="{%template,ColorSwitch%} bottom">
- <form accept-charset="UTF-8" style="paddin-bottom:0px">
- <input type="button" name="edit" class="form_submit disabled" title="{--MEMBER_REFBACK_DELETED_TITLE--}"
- disabled="disabled" value="{--MEMBER_REFBACK_DELETED_SUBMIT--}" />
- </form>
- </td>
-</tr>
+<!-- @DEPRECATED //-->