23 $icon = $doc->getIcon(
'', 20);
25 return sprintf(
'<img class="icon" src="%s">', $icon);
32 $icon = $doc->getEmblem(20);
34 return sprintf(
'<img class="icon" src="%s">', $icon);
39 $domains = $doc->getDomainIds();
40 if (count($domains) > 0) {
43 foreach ( $domains as $domain ) {
44 $sDomain[] = $doc->getHTMLTitle($domain);
47 $img = sprintf(
'<img class="icon" src="%s"> ', $action->getImageUrl(
'domainsync.png',
true, 20));
49 return $img . implode(
", ", $sDomain);
66 include_once (
"FDL/Class.DocWait.php");
67 $w =
new DocWait($doc->dbaccess);
75 case docWait::invalid :
76 $img = sprintf(
'<img title="%s" class="icon" src="%s"> ', _(
"off:invalid"), $action->getImageUrl(
'status_invalid.png',
true, 20));
77 $message=$w->statusmessage;
79 case docWait::constraint :
80 $img = sprintf(
'<img title="%s" class="icon" src="%s"> ', _(
"off:constraint"), $action->getImageUrl(
'status_constraint.png',
true, 20));
81 $message=$w->statusmessage;
83 case docWait::upToDate :
84 $img = sprintf(
'<img title="%s" class="icon" src="%s"> ', _(
"off:upToDate"), $action->getImageUrl(
'status_uptodate.png',
true, 20));
85 $message=sprintf(
"last update %s", FrenchDateToLocaleDate($w->date));
87 case docWait::conflict :
88 $img = sprintf(
'<img title="%s" class="icon" src="%s"> ', _(
"off:conflict"), $action->getImageUrl(
'status_conflict.png',
true, 20));
89 $message=$w->statusmessage;
93 $message=$w->statusmessage;
95 return $img . $message;
106 "htitle" => _(
"icon"),
109 "method" =>
"offFolderListFormat::getIcon(THIS)"
112 "htitle" => _(
"title"),
115 "method" =>
"::getHtmlTitle()"
118 "htitle" => _(
"Modification Date Menu"),
121 "method" =>
"wsFolderListFormat::getMDate(THIS)"
124 "htitle" => _(
"Domain"),
125 "horder" =>
"status",
127 "method" =>
"offFolderListFormat::getSyncStatus(THIS)"
130 "htitle" => _(
"Status"),
131 "horder" =>
"status",
133 "method" =>
"offFolderListFormat::getStatus(THIS)"
136 "htitle" => _(
"Reason"),
139 "method" =>
"offFolderListFormat::getStatusMessage(THIS)"