mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-21 09:03:38 +02:00
add missing str_repeat functions in common.js and use it for batch_manager_global.tpl
git-svn-id: http://piwigo.org/svn/trunk@26179 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -3,6 +3,11 @@ function array_delete(arr, item) {
|
||||
if (i != -1) arr.splice(i, 1);
|
||||
}
|
||||
|
||||
function str_repeat(i, m) {
|
||||
for (var o = []; m > 0; o[--m] = i);
|
||||
return o.join('');
|
||||
}
|
||||
|
||||
function sprintf() {
|
||||
var i = 0, a, f = arguments[i++], o = [], m, p, c, x, s = '';
|
||||
while (f) {
|
||||
|
||||
Reference in New Issue
Block a user