mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
ok, this one is rather large... the most important change:
re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different apart from this, code cleanage, bug fixing, etc. git-svn-id: file:///svn/phpbb/trunk@6015 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -17,7 +17,9 @@ var on_page = '{ON_PAGE}';
|
||||
var per_page = '{PER_PAGE}';
|
||||
var base_url = '{BASE_URL}';
|
||||
|
||||
// Jump to page
|
||||
/**
|
||||
* Jump to page
|
||||
*/
|
||||
function jumpto()
|
||||
{
|
||||
var page = prompt(jump_page, on_page);
|
||||
@@ -28,8 +30,10 @@ function jumpto()
|
||||
}
|
||||
}
|
||||
|
||||
// Set display of page element
|
||||
// s[-1,0,1] = hide,toggle display,show
|
||||
/**
|
||||
* Set display of page element
|
||||
* s[-1,0,1] = hide,toggle display,show
|
||||
*/
|
||||
function dE(n, s, type)
|
||||
{
|
||||
if (!type)
|
||||
@@ -45,8 +49,10 @@ function dE(n, s, type)
|
||||
e.style.display = (s == 1) ? type : 'none';
|
||||
}
|
||||
|
||||
// Mark/unmark checkboxes
|
||||
// id = ID of parent container, name = name prefix, state = state [true/false]
|
||||
/**
|
||||
* Mark/unmark checkboxes
|
||||
* id = ID of parent container, name = name prefix, state = state [true/false]
|
||||
*/
|
||||
function marklist(id, name, state)
|
||||
{
|
||||
var parent = document.getElementById(id);
|
||||
@@ -67,6 +73,9 @@ function marklist(id, name, state)
|
||||
}
|
||||
|
||||
<!-- IF S_INCLUDE_SWATCH -->
|
||||
/**
|
||||
* Color swatch
|
||||
*/
|
||||
function swatch()
|
||||
{
|
||||
window.open('{UA_SWATCH}', '_swatch', 'height=115, resizable=yes, scrollbars=no, width=636');
|
||||
|
Reference in New Issue
Block a user