Added possibility to specify a different paging size.

This commit is contained in:
Dario Solera 2011-01-04 09:39:25 +00:00
parent 9acaf35935
commit 42f4344501
18 changed files with 183 additions and 83 deletions

View file

@ -432,6 +432,18 @@ namespace ScrewTurn.Wiki {
}
}
/// <summary>
/// Gets or sets the number of items displayed in pages/users lists.
/// </summary>
public static int ListSize {
get {
return GetInt(Provider.GetSetting("ListSize"), 50);
}
set {
Provider.SetSetting("ListSize", value.ToString());
}
}
/// <summary>
/// Gets or sets the Account Activation Mode.
/// </summary>