diff options
| author | Greg Roach <fisharebest@gmail.com> | 2017-09-26 17:02:19 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2017-09-26 17:02:39 +0100 |
| commit | a078385ab6e1f346ddf795e4d45f53f87ef9de08 (patch) | |
| tree | 87c443ac24d24b7322508b48d649965732d2cbfd /app/Datatables.php | |
| parent | c10e7dd976ff27218c2f6ef15cf02c9f5c531d89 (diff) | |
| download | webtrees-a078385ab6e1f346ddf795e4d45f53f87ef9de08.tar.gz webtrees-a078385ab6e1f346ddf795e4d45f53f87ef9de08.tar.bz2 webtrees-a078385ab6e1f346ddf795e4d45f53f87ef9de08.zip | |
Working on blocks and templates
Diffstat (limited to 'app/Datatables.php')
| -rw-r--r-- | app/Datatables.php | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/app/Datatables.php b/app/Datatables.php index 7418118f58..9d0b19e5b2 100644 --- a/app/Datatables.php +++ b/app/Datatables.php @@ -41,7 +41,7 @@ class Datatables { * * @return string[] */ - private static function languageAttributes(array $lengths = [10, 25, 100, -1]) { + public static function languageAttributes(array $lengths = [10, 25, 100, -1]) { $length_menu = FunctionsEdit::numericOptions($lengths); $language = [ @@ -117,23 +117,6 @@ class Datatables { } /** - * Generate the HTML attributes for a table of research tasks. - * - * @return string - */ - public static function researchTaskTableAttributes() { - return Html::attributes([ - 'class' => 'table table-bordered table-sm table-responsive datatables table-research-task', - //'data-columns' => '[{ type: "num" }, { type: "text" }, { type: "text" }, { type: "text" }]', - 'data-columns' => '[null, null, null, null]', - 'data-info' => 'false', - 'data-paging' => 'false', - 'data-searching' => 'false', - 'data-state-save' => 'true', - ] + self::languageAttributes()); - } - - /** * Generate the HTML attributes for a table of repositories. * * @return string |
