mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
removing smarty - part XIII (almost there)
- reimplemented Utilities-Page and Account-Page - moved account-ajax to ajaxHandler - AjaxHandler::handle() can no longer call itself, if the parameter is empty - cache is now compressed (has a negligible delay) - revisited User-Class / Accounts: * implemented mail-confirmation (be sure to configure your server appropriately) * implemented recovery of password or username * there are now 3 options to auth against: 1) aowow-DB (default); 2) wow-auth-DB; 3) user-defined script (SOAP or similar exotic methods) * dropped the aowow-cookie, it relies on php-sessions now * reworked how bans are handled (can now also ban from upload, rate, comment) - fixed enhancements on itemTooltips account related localization for FR, ES and RU is lacking (help is appreciated) _account and _account_banned have changed and are incompatible with the prvious version
This commit is contained in:
@@ -1858,7 +1858,7 @@ var Markup = {
|
||||
if(attr.url && Markup._isUrlSafe(attr.url))
|
||||
str += '<a href="' + Markup._fixUrl(attr.url) + '"' + (Markup._isUrlExternal(attr.url) ? ' target="_blank"' : '') + '>' + username + '</a>';
|
||||
else if(g_isUsernameValid(username))
|
||||
str += '<a href="/user=' + username + '">' + username + '</a>';
|
||||
str += '<a href="?user=' + username + '">' + username + '</a>';
|
||||
else
|
||||
str += username;
|
||||
str += '</b> '+ LANG.markup_said + '</small><div class="pad"></div>';
|
||||
@@ -2125,7 +2125,7 @@ var Markup = {
|
||||
toHtml: function(attr)
|
||||
{
|
||||
return;
|
||||
return '<img' + Markup._addGlobalAttributes(attr) + ' src="/signature=generate&id=' + attr.unnamed + '.png" alt="" />';
|
||||
return '<img' + Markup._addGlobalAttributes(attr) + ' src="?signature=generate&id=' + attr.unnamed + '.png" alt="" />';
|
||||
}
|
||||
},
|
||||
small:
|
||||
@@ -2913,7 +2913,7 @@ var Markup = {
|
||||
if(g_customColors[username])
|
||||
postColor = 'comment-' + g_customColors[username];
|
||||
|
||||
str += postColor + '"><small class="icon-wowhead"><b class="' + postColor + '"><a href="/user=' + username + '">' + username + '</a></b> ' + LANG.markup_said + '</small><div class="pad"></div>';
|
||||
str += postColor + '"><small class="icon-wowhead"><b class="' + postColor + '"><a href="?user=' + username + '">' + username + '</a></b> ' + LANG.markup_said + '</small><div class="pad"></div>';
|
||||
return [str, '</div>'];
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user