54 $table->column(
"Title", array(
$docMgr, formatLinkPickerTitle),
false,
"width: 60%")
55 ->column(
"Author",
"{author}",
false,
"width: 20%; text-align: center")
56 ->column(
"Uploaded By",
"{Owner.first_name} {Owner.last_name}",
false,
"width: 20%; text-align: center")
57 ->column(
"Last Modified",
"{last_modified:short}",
false,
"width: 20%; text-align: center")
63 $table->emptyMessage =
"There are no files in {$library->name}.";
64 $table->cssStyle =
"width: 100%; padding-top: 8px;";
67 echo
$table->writeScript();
69 <div
style=
"border: solid 1px #666; background: url(/fakoli/images/table-header.png); width: 100%;padding: 2px 0px">
71 <select name=
"document_library_id" onchange=
"new LinkPicker().showLibrary(this.value)">
80 <div
style=
"clear: left; width: 100%;">
82 echo
"<div id='link_picker_document_list' class='scrollbox'>\n";
88 <p><button
id=
"linkButton" onclick=
"new LinkPicker().documentPickerLinkToDocument()" disabled=
"disabled" class=
"button">Link
to Document</button>
This class maps the publication table.
The DocumentManager class provides the core API and management functions for uploading documents and ...
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
if(! $document_library_id &&count($libraries) > 0) $library