function getWebFormList() { $do_userform = new WebFormUser(); $do_userform->getUsersWebForms(); $output = ''; if (isset($GLOBALS['plugin_item_value'])) { $up = '../'; } else { $up = ''; } if ($do_userform->getNumRows()) { $count = 0; while ($do_userform->next()) { $e_remove_wf = new Event("do_userform->eventDeleteWebForm"); $e_remove_wf->addParam('id', $do_userform->idwebformuser); $e_remove_wf->addParam("goto", $_SERVER['PHP_SELF']); $count++; $output .= '<div id="webform' . $count . '" class="co_worker_item co_worker_desc">'; $output .= '<div style="position: relative;">'; $output .= '<a href="' . $up . 'WebForm/' . $do_userform->idwebformuser . '">' . $do_userform->title . '</a>'; $img_del = '<img src="/images/delete.gif" width="14px" height="14px" alt="" />'; $output .= '<div width="15px" id="trashcan' . $count . '" class="deletenote" style="right:0;">' . $e_remove_wf->getLink($img_del) . '</div>'; $output .= '</div></div>'; } } else { $this->setIsActive(false); } return $output; }
/** * A custom method within the Plugin to generate the content * * @return string : HTML form * @see class/UserRelations.class.php */ function generateCoworkerInvitationList() { $output = ''; $_SESSION['do_coworker']->getAllRequestsSent(); if ($_SESSION['do_coworker']->getNumrows()) { $count = 0; while ($_SESSION['do_coworker']->next()) { $e_remove_invitation = new Event("do_coworker->eventRemoveInvitation"); $e_remove_invitation->addParam('id', $_SESSION['do_coworker']->iduser_relations); $e_remove_invitation->addParam("goto", $_SERVER['PHP_SELF']); $output .= '<div class="co_worker_item"><div class="co_worker_desc">'; $output .= '<div id="invite' . $count . '" class="co_worker_item co_worker_desc">'; $output .= '<div style="position: relative;">'; if ($_SESSION['do_coworker']->idcoworker) { $output .= $_SESSION['do_User']->getFullName($_SESSION['do_coworker']->idcoworker); } else { $output .= $_SESSION['do_coworker']->decrypt($_SESSION['do_coworker']->enc_email); } $img_del = '<img src="/images/delete.gif" width="14px" height="14px" alt="" />'; $output .= '<div width="15px" id="trashcan' . $count . '" class="deletenote" style="right:0;">' . $e_remove_invitation->getLink($img_del) . '</div>'; $output .= '</div></div>'; $output .= '</div></div>'; } return $output; } else { $this->setIsActive(false); } }
/** * A custom method within the Plugin to generate the content * * @return string : HTML * @see class/Invoice.class.php */ function generateInvoicesYTDBlock() { $output = ''; $output .= '<div class="spacerblock_20"></div>'; $quote_ytd_total = $_SESSION['do_invoice_list']->getTotalQuotesYTD(); $invoice_ytd_total = $_SESSION['do_invoice_list']->getTotalInvoiceYTD(); $invoice_sent = $_SESSION['do_invoice_list']->getTotalSentYTD(); $paid_ytd_total = $_SESSION['do_invoice_list']->getTotalPaidYTD(); $pastdue_ytd_total = $_SESSION['do_invoice_list']->getTotalPastDueYTD(); $e_filter_inv = new Event("do_invoice_list->eventFilterInvoice"); $e_filter_inv->addParam("type", "User"); $e_filter_inv->addParam("goto", "invoices.php"); $e_filter_inv->setLevel(10); $output .= '<table width="100%">'; if ($quote_ytd_total) { $e_filter_inv->addParam("status", "Quote"); $output .= '<tr><td style="text-align:left;">Quotes:</td><td style="text-align:right;">' . $e_filter_inv->getLink($_SESSION['do_invoice_list']->viewAmount($quote_ytd_total)) . '</td></tr>'; } if ($invoice_ytd_total) { $e_filter_inv->addParam("status", "Invoiced"); $output .= '<tr><td style="text-align:left;">Invoiced:</td><td style="text-align:right;">' . $e_filter_inv->getLink($_SESSION['do_invoice_list']->viewAmount($invoice_ytd_total)) . '</td></tr>'; } if ($invoice_sent) { $e_filter_inv->addParam("status", "Sent"); $output .= '<tr><td style="text-align:left;">Pending Payment:</td><td style="text-align:right;">' . $e_filter_inv->getLink($_SESSION['do_invoice_list']->viewAmount($invoice_sent)) . '</td></tr>'; } if ($paid_ytd_total) { $e_filter_inv->addParam("status", "Paid"); $output .= '<tr><td style="text-align:left;">Paid:</td><td style="text-align:right;">' . $e_filter_inv->getLink($_SESSION['do_invoice_list']->viewAmount($paid_ytd_total)) . '</td></tr>'; } if ($pastdue_ytd_total) { $e_filter_inv->addParam("status", "Overdue"); $output .= '<tr><td style="text-align:left;">Past Due:</td><td style="text-align:right;">' . $e_filter_inv->getLink($_SESSION['do_invoice_list']->viewAmount($pastdue_ytd_total)) . '</td></tr>'; } $output .= '</table>'; return $output; }
/** * A custom method within the Plugin to generate the content * * @return string : HTML form * @see class/ProjectTask.class.php */ function generateDropBoxBlock() { $output = ''; if ($_SESSION['do_project_task']->drop_box_code) { $output .= _('Use the following Email Id to create a note :') . '<br />'; $emailid = $_SESSION['do_project_task']->getDropBoxEmail(); $output .= '<a href = "mailto:' . $emailid . '">' . $emailid . '</a>'; } else { $e_gen_dropboxid = new Event("do_project_task->eventGenerateDropBoxIdTask"); $e_gen_dropboxid->addParam("goto", "task.php"); $output .= '<br />' . _('No drop box code is generated'); $output .= '<br />' . _('Generate one by') . ' ' . $e_gen_dropboxid->getLink(_('clicking here')); } return $output; }
function getZendBlockConent() { // echo $_GET['idprojecttask']; $do_project_task = new ProjectTask(); $idtask = $do_project_task->getTaskId($_GET['idprojecttask']); // echo $idtask; $data = $do_project_task->getProjectTaskDetailsByTaskId($idtask); //echo $data->getData('idproject'); $idproject = $data->getData('idproject'); //$idproject = $data['idproject']; //echo '-'.$idproject; $do_zend = new Zendesk(); if ($do_zend->zendeskProjectUserRelation($_SESSION['do_User']->iduser, $idproject)) { /*Ticket Block*/ $ticket = $do_zend->getZendTicketId($_SESSION['do_User']->iduser, $_GET['idprojecttask']); $ticket_id = $ticket['ticket']; if (!empty($ticket_id)) { $idzendesk_task_ticket_releation = $ticket['idzendesk_task_ticket_releation']; $output .= '<div style="position: relative;">'; $output .= '<b>Ticket ID: ' . $ticket_id . '</b>'; $e_remove_invitation = new Event("Zendesk->eventRemoveZendTicket"); $e_remove_invitation->addParam('idzendesk_task_ticket_releation', $idzendesk_task_ticket_releation); $e_remove_invitation->addParam("goto", "Task/" . $_SESSION['do_project_task']->idproject_task); $img_del = '<img src="/images/delete.gif" width="14px" height="14px" alt="" />'; $output .= '<div style="float:right;align:right;">' . $e_remove_invitation->getLink($img_del) . '</div>'; $output .= '</div><br /><br />'; } /* Ticket Block ends */ //$ticket_id = $do_zend->getZendTicketId($_SESSION['do_User']->iduser,$_GET['idprojecttask']); $output .= '<a href="#" onclick="showZBox();return false;">' . _('Add/Update Zendesk Ticket ID') . '</a>'; $output .= '<div id="task_zbox" style="display:none;">'; $e_zticket = new Event("Zendesk->eventAddZendTicket"); //$e_zticket->setLevel(160); $e_zticket->addParam("idproject", $idproject); $e_zticket->addParam("idproject_task", $_GET['idprojecttask']); $e_zticket->addParam("iduser", $_SESSION['do_User']->iduser); $e_zticket->addParam("goto", "Task/" . $_SESSION['do_project_task']->idproject_task); $output .= $e_zticket->getFormHeader(); $output .= $e_zticket->getFormEvent(); $output .= '<input type="text" name="z_ticket_id" id = "z_ticket_id" value= ' . $ticket_id . '>'; $output .= '<input value="' . _('Add Zend Ticket') . '" type="submit">'; $output .= $e_zticket->getFormFooter(); $output .= '<br /><br /><a href="#" onclick="hideZbox(); return false;">' . _('Hide') . '</a>'; $output .= '</div>'; } return $output; }
/** * A custom method within the Plugin to generate the content * * @return string : HTML * @see class/UserSettings.class.php * @see class/DiscussionEmailSetting.class.php */ function generateAddTaskBlock() { $output = ''; $idproject = $_SESSION["do_project"]->idproject; if (!is_object($_SESSION['UserSettings'])) { $do_user_settings = new UserSettings(); $do_user_settings->sessionPersistent("UserSettings", "logout.php", OFUZ_TTL); } $data = $_SESSION['UserSettings']->getSettingValue("task_discussion_alert"); $global_discussion_email_on = 'Yes'; if (!$data) { $global_discussion_email_on = 'Yes'; } else { if (is_array($data)) { if ($data["setting_value"] == 'Yes') { $global_discussion_email_on = 'Yes'; } else { $global_discussion_email_on = 'No'; } } } $_SESSION['UserSettings']->global_task_discussion_alert = $global_discussion_email_on; if ($global_discussion_email_on == 'Yes') { $DiscussionEmailSetting = new DiscussionEmailSetting(); $data = $DiscussionEmailSetting->isDiscussionAlertSet($idproject, 'Project'); if ($data && is_array($data)) { $output .= _('You have turned off email alert for this project.<br /> If you want to get email alerts for this project please turn it on. <br />'); $set_email_alert_on = new Event("DiscussionEmailSetting->eventSetOnDiscussionAlert"); $set_email_alert_on->addParam("setting_level", "Project"); $set_email_alert_on->addParam("id", $data["iddiscussion_email_setting"]); $output .= '<br />'; $output .= $set_email_alert_on->getLink('Turn On'); } else { $output .= _('Your email alert for the project discussion is set on by default. You can turn off if you do not want to receive emails for this project discussion.<br />'); $set_email_alert_off = new Event("DiscussionEmailSetting->eventSetOffDiscussionAlert"); $set_email_alert_off->addParam("id", $idproject); $set_email_alert_off->addParam("setting_level", "Project"); $output .= '<br />'; $output .= $set_email_alert_off->getLink('Turn Off'); } } return $output; }
/** * A custom method within the Plugin to generate the content * * @return string : HTML */ function generateAddGitRepositoryBlock() { $output = ''; $data = array(); $do_user_git = new UserGitrepo(); $git_repo = $do_user_git->CheckGitProjectExist($_SESSION["do_project"]->idproject); if (!is_array($git_repo)) { $data = $do_user_git->GetAllGitRepositoryForUser($_SESSION["do_User"]->iduser); if ($data != '') { $output .= _('Select the repository name from the list to add a git repository for this project.'); $output .= '<br />'; $e_git_repo = new Event("UserGitrepo->eventAddProjectGitRepo"); $e_git_repo->addParam("goto", "Project/" . $_SESSION["do_project"]->idproject); $e_git_repo->addParam("idproject", $_SESSION["do_project"]->idproject); $output .= $e_git_repo->getFormHeader(); $output .= $e_git_repo->getFormEvent(); $output .= $data; $output .= $e_git_repo->getFormFooter('Add this Git Repository'); } else { $path = $_SERVER['SERVER_NAME'] . '/Setting/Git/git_repo'; $output .= _('If you want to share git project repository, add Git Repository to your Ofuz account'); $output .= '<br /><br />'; $output .= '<a href="/Setting/Git/git_repo">'; $output .= _('Add Git-Repository'); $output .= '</a>'; } } else { $output .= _('Currently The Following Git Repository is associated with this Project'); $output .= '<br /><br />'; $e_del_gitrepo = new Event("UserGitrepo->eventSelfDelProjectGitRepo"); $e_del_gitrepo->addParam("goto", "Project/" . $_SESSION["do_project"]->idproject); $e_del_gitrepo->addParam("idgit_project", $git_repo["idgit_project"]); $output .= '<div id="templt" class="co_worker_item co_worker_desc">'; $output .= '<div style="position: relative;">'; $output .= '<b>' . $git_repo['git_repo'] . '</b>'; $img_del = '<img class="delete_icon_tag" border="0" width="14px" height="14px" src="/images/delete.gif">'; $output .= '<div width="15px" id="trashcan" class="deletenote" style="right:0;">' . $e_del_gitrepo->getLink($img_del, ' title="' . _('Remove') . '"') . '</div>'; $output .= '</div></div>'; } return $output; }
function getEmailTemplateList() { $user_email_templates = new EmailTemplateUser("blank"); $user_email_templates->getUserSavedEmailTemplates(); $output = ''; if ($user_email_templates->getNumRows()) { $count = 0; while ($user_email_templates->next()) { $e_remove_etml = new Event("do_user_email_teml->eventDeleteUserEmailTmpl"); $e_remove_etml->addParam('id', $user_email_templates->idemailtemplate_user); $e_remove_etml->addParam("goto", $_SERVER['PHP_SELF']); $count++; $output .= '<div id="templt' . $count . '" class="co_worker_item co_worker_desc">'; $output .= '<div style="position: relative;">'; $output .= '<a href="' . $GLOBALS['cfg_plugin_mkt_path'] . 'MEmailTemplate/' . $user_email_templates->idemailtemplate_user . '">' . $user_email_templates->name . '</a>'; $img_del = '<img src="/images/delete.gif" width="14px" height="14px" alt="Delete" />'; $output .= '<div width="15px" id="trashcan' . $count . '" class="deletenote" style="right:0;">' . $e_remove_etml->getLink($img_del, ' title="' . _('Delete') . '"') . '</div>'; $output .= '</div></div>'; } } else { $this->setIsActive(false); } return $output; }
$e->setProperty("dtstart", "{$startdate}", array("VALUE" => "DATE")); $e->setProperty('description', $vivek->getData("task_description")); $e->setProperty('summary', $vivek->getData("task_description")); $e->setProperty('class', 'PUBLIC'); } $c->createCalendar(); $str = $c->saveCalendar(); $tt = $_SERVER["SERVER_NAME"]; $path = "http://" . "{$tt}" . "/" . "Calevents/" . "{$iduser}.ics"; $ff = "Calevents/{$iduser}.ics"; system("chmod 0777 {$ff}"); echo _('Your iCal URL is : ' . $path . ' '); } else { echo _('You do not yet have an API key. '); echo _('Please generate one '); echo $e_set_api->getLink('here'); echo '<div class="spacerblock_20"></div>'; } ?> </div> <div class="solidline"></div> </td></tr></table> <div class="spacerblock_40"></div> <div class="layout_footer"></div> </div> </td><td class="layout_rmargin"></td></tr></table> <?php //include_once('includes/ofuz_facebook.php'); ?> </body> </html>
$item_count = 0; $del_auto_responder_email = new Event('AutoResponderEmail->eventDelAutoResponderEmail'); $del_auto_responder_email->addParam('goto', 'settings_auto_responder_email.php'); while ($Emails->next()) { $item_count++; echo '<div class="contacts" id="autores_email">'; echo '<div class="contacts_desc">'; echo '<span class="contacts_name">'; echo '<a href="' . $cfg_plugin_mkt_path . 'AutoResponderEmailEdit/' . $Emails->idautoresponder_email . '">' . $Emails->subject . '</a>'; echo '</span>'; echo '</div>'; $del_auto_responder_email->addParam('id', $Emails->idautoresponder_email); $del_img_url = 'delete <img src="/images/delete.gif" width="14px" height="14px" alt="" />'; echo '<div id="trashcan', $item_count, '" align="right" style="margin-left:400px;display:none;position:absolute;">'; //echo $del_auto_responder_email->getLink($del_img_url, ' title="'._('Delete this Auto Responder Email').'" onclick="if (!confirm(\'Do you really want to delete?\')) return false;"').'</span>'; echo $del_auto_responder_email->getLink($del_img_url, ' title="' . _('Delete this Auto Responder Email') . '" onclick="return confirm(\'' . 'Do you really want to delete?' . '\')"') . '</span>'; echo '</div>'; echo '<div class="spacerblock_2"></div>'; echo '<div class="solidline"></div>'; } } else { echo '<div style="margin-left:0px;">'; echo '<div class="messages_unauthorized">'; echo '<b>' . _('You do not have any auto responder Email Templates for ' . $_SESSION['do_auto_responder_detail']->name . '. To add click ') . '<a href = "#" onclick ="addAutoResponderEmail();return false;">' . _('here') . '</a></b>'; echo '</div></div>'; } ?> </div> </td></tr></table> <div class="spacerblock_40"></div>
<?php // Paypal details starts here $inv_paypal_email = $UserSettings->getSettingValue("paypal_business_email"); if ($inv_paypal_email && is_array($inv_paypal_email)) { $e_inv_paypal = new Event("UserSettings->eventUpdatePaypalDetail"); $e_inv_paypal->setLevel(20); $e_inv_paypal->addParam("id_paypal_business", $inv_paypal_email["iduser_settings"]); $e_inv_paypal->addParam("goto", $_SERVER['PHP_SELF']); echo '<table width="60%" height="75px"><tr><td width="50%">'; echo $e_inv_paypal->getFormHeader(); echo $e_inv_paypal->getFormEvent(); $e_del_paypal = new Event("UserSettings->eventDelPayPalDetail"); $e_del_paypal->setLevel(25); $e_del_paypal->addParam("id_paypal_business", $inv_paypal_email["iduser_settings"]); $e_del_paypal->addParam("goto", $_SERVER['PHP_SELF']); echo '<b>' . _('Paypal details') . '</b> ' . $e_del_paypal->getLink(_('delete')) . '<br />'; echo _('Paypal Business Email :') . '<br /> <input type = "text" name = "paypal_b_email" id="paypal_b_email" value ="' . $inv_paypal_email["setting_value"] . '" size="40"><br />'; echo '</td>'; echo '<td width="10%" style="text-align:left;">'; echo $e_inv_paypal->getFormFooter(_('Save')); echo '</td></tr></table>'; } else { $e_inv_paypal = new Event("UserSettings->eventAddPaypalDetail"); $e_inv_paypal->setLevel(20); $e_inv_paypal->addParam("goto", $_SERVER['PHP_SELF']); echo '<table width="50%" height="75px"><tr><td width="40%">'; echo $e_inv_paypal->getFormHeader(); echo $e_inv_paypal->getFormEvent(); echo '<b>' . _('Paypal details') . '</b><br />';
echo _('select all'); ?> </a></span> | <span class="bluelink"><a href="#" onclick="fnSelNone(); return false;"><?php echo _('select none'); ?> </a></span> )</span> </div> <div class="contentfull"> <?php if (!is_resource($_SESSION['do_Contacts']->getResultSet())) { $_SESSION['do_Contacts']->query("SELECT * FROM " . $_SESSION['do_Contacts']->getSqlViewName() . " ORDER BY " . $_SESSION['do_Contacts']->sql_view_order . " LIMIT " . $_SESSION['do_Contacts']->sql_qry_start . "," . $_SESSION['do_Contacts']->sql_view_limit); } if (strlen($_SESSION['do_Contacts']->search_keyword) > 0 && $_SESSION['do_Contacts']->getNumRows() == 0) { echo '<br /><br />'; $e_clear_search = new Event("do_Contacts->eventClearSearch"); $data = array("click_here" => $e_clear_search->getLink(_('click here'))); $msg = new Message(); $msg->setData(array("click_here" => $e_clear_search->getLink(_('click here')))); $msg->getMessage("no_contact_found"); $msg->displayMessage(); } else { $_SESSION['do_Contacts']->first(); $OfuzList = new OfuzListContact($_SESSION['do_Contacts']); $OfuzList->setMultiSelect(true); $OfuzList->displayList(); } ?> </div> <div id="last_contact_loader"></div> </form> </td></tr></table>
if ($do_gt->isPrev($do_gt->idemailtemplate)) { $e_prev = new Event("GoogleTranslatorEmailtemplate->eventSetPrevTemplate"); $e_prev->addParam("current_idtemplate", $do_gt->idemailtemplate); $e_prev->addParam("goto", $_SERVER['PHP_SELF']); echo $e_prev->getLink("Previous"); } ?> </td> <td width="25%" align="right"> <?php if ($do_gt->isNext($do_gt->idemailtemplate)) { echo "    "; $e_next = new Event("GoogleTranslatorEmailtemplate->eventSetNextTemplate"); $e_next->addParam("current_idtemplate", $do_gt->idemailtemplate); $e_next->addParam("goto", $_SERVER['PHP_SELF']); echo $e_next->getLink("Next"); } ?> </td> </tr> <tr> <td colspan="2"> <?php while ($do_gt->next()) { $e_gt = new Event("GoogleTranslatorEmailtemplate->eventTranslateLanguage"); $e_gt->addParam("goto", $_SERVER['PHP_SELF']); // $e_gt->addParam("src_lng",$src_lng); // $e_gt->addParam("dest_lng",$dest_lng); echo $e_gt->getFormHeader(); echo $e_gt->getFormEvent(); ?>
?> </div> <div class="contentfull"> <?php $UserSettings = new UserSettings(); $e_set_ggear = new Event("UserSettings->eventSetSetting"); $e_set_ggear->addParam("goto", $_SERVER['PHP_SELF']); $e_set_ggear->addParam("setting_name", "google_gears"); echo '<div class="messageshadow">'; echo '<div class="messages">'; $msg = new Message(); if ($UserSettings->getSetting("google_gears") == 'Yes') { echo $msg->getMessage('google_gears'); echo '<br />'; $e_set_ggear->addParam("setting_value", "No"); echo $e_set_ggear->getLink(_('Turn Off')); } else { echo $msg->getMessage('google_gears'); echo '<br />'; $e_set_ggear->addParam("setting_value", "Yes"); echo $e_set_ggear->getLink(_('Turn On')); } echo '</div></div>'; echo '<br />'; ?> </div> <div class="solidline"></div> </td></tr></table> <div class="spacerblock_40"></div> <div class="layout_footer"></div> </div>
<div class="spacerblock_20"></div> <table class="layout_columns"><tr><td class="layout_rcolumn"> <div id="email_msg" style="display:none"> <div style="margin-left:0px;" class="messages_unauthorized"> <?php echo _('Sending Emails......'); ?> </div> </div> <?php if ($_SESSION['extra_amt'] != '') { echo '<br />'; echo '<div style="margin-left:0px;">'; echo '<div class="messages_unauthorized">'; $cancel_extra_amt_pay = new Event("PaymentInvoice->eventCancelExtraAmtPay"); $cancel_link = $cancel_extra_amt_pay->getLink(_('Cancel')); echo _('You can apply the amount ') . $_SESSION['do_invoice_list']->viewAmount($_SESSION['extra_amt']) . _(' for the Note') . ' "' . $_SESSION['ref_num'] . '" ' . _('to any of the following invoices.') . ' ' . $cancel_link; echo '</div></div><br />'; } ?> <table class="invoice_list"> <tr> <th class="invoice_list_12pct center_text"><?php echo _('Invoice #'); ?> </th> <th class="invoice_list_40pct left_text"><?php echo _('Client'); ?> </th> <th class="invoice_list_12pct center_text"><?php
// else if (strlen($note_text) > 500) { // $preview_note = substr($note_text, 0, 500).' ...'; //} //$added_by = $do_user->getFullName($do_notes->iduser); $e_PrioritySort = new Event('ContactNotes->eventPrioritySortNotes'); $e_PrioritySort->addParam('goto', $_SERVER['PHP_SELF']); $e_PrioritySort->addParam('idnote', $do_notes->idcontact_note); $star_img_url = '<img src="/images/' . ($do_notes->priority > 0 ? 'star_priority.gif' : 'star_normal.gif') . '" class="star_icon" width="14" height="14" alt="" />'; //if (is_object($_SESSION["ContactNotesEditSave"])) { // $e_note_del = new Event("ContactNotes->eventdelContactNoteById"); //} //$e_note_del->addParam("goto", $_SERVER['PHP_SELF']); //$e_note_del->addParam("id", $do_notes->idcontact_note); //$del_img_url = 'delete <img src="/images/delete.gif" width="14px" height="14px" alt="" />'; echo '<div id="notetext', $note_count, '" class="vpad10">'; echo '<div style="height:24px;position:relative;"><div class="percent95"><img src="/images/note_icon.gif" class="note_icon" width="16" height="16" alt="" />', $e_PrioritySort->getLink($star_img_url); list($yyyy, $mm, $dd) = split("-", $do_notes->date_added); if ($yyyy < date('Y')) { $added_by = date('l, F j Y', strtotime($do_notes->date_added)); } else { $added_by = date('l, F j', strtotime($do_notes->date_added)); } echo '<b>' . $added_by . '</b> (' . _('Added By') . ' : ' . $do_notes->getNoteOwnerFullName() . ')</div> </div>'; //if ($preview_note != '') { // echo '<div id="notepreview',$do_notes->idcontact_note,'">',nl2br(stripslashes($preview_note)),'<br /><a href="#" onclick="showFullNote(',$do_notes->idcontact_note,'); return false;" />more ...</a><br /></div>'; //} else { echo $note_text; //} echo $do_notes->formatDocumentLink() . '</div>'; } }
<?php $_SESSION['do_coworker']->getAllRequest(); //Get all the requests if ($_SESSION['do_coworker']->getNumrows()) { echo '<br /><b>' . _('The following User(s) are waiting for approval from you to become Co-Workers.') . '</b><br />'; while ($_SESSION['do_coworker']->next()) { $user_name = $_SESSION['do_User']->getFullName($_SESSION['do_coworker']->iduser); $e_accept = new Event("do_coworker->eventAcceptInvitation"); $e_accept->addParam("id", $_SESSION['do_coworker']->iduser_relations); $e_accept->addParam("goto", $_SERVER['PHP_SELF']); $e_accept->addParam("coworker", $_SESSION['do_coworker']->idcoworker); $e_accept->addParam("user", $_SESSION['do_coworker']->iduser); $e_reject = new Event("do_coworker->eventRejectInvitation"); $e_reject->addParam("id", $_SESSION['do_coworker']->iduser_relations); $e_reject->addParam("goto", $_SERVER['PHP_SELF']); echo '<div style="width:200px;float:left;">' . $user_name . '</div><div style="position:relative;">' . $e_accept->getLink("Accept") . ' ' . $e_reject->getLink("Reject") . '</div>'; } } else { // echo '<br /><b>You have no Invitations to be a Co-Worker.</b><br />'; } // echo '<div class="solidline"></div>'; ?> <!-- </div> </div> <div class="contentfull">--> <?php $set_share = false; if (isset($_POST['ck'])) { $contact_ids = $_POST['ck']; $set_share = true; // Request comes from Contact page
/** * Get the project discussion on scroll down */ function autoLoadPrjDiscussionOnScrollDown() { if ($_SESSION['ProjectDiscussCount']->prj_discussion_count >= $_SESSION['ProjectDiscussCount']->sql_qry_start) { $_SESSION['ProjectDiscussCount']->sql_qry_start = $_SESSION['ProjectDiscussCount']->sql_qry_start + $this->sql_view_limit; } echo '<script type="text/javascript"> $(document).ready(function() { $("div[id^=notetext]").hover(function(){$("div[id^=trashcan]",this).show("fast");},function(){$("div[id^=trashcan]",this).hide("fast");}); //fnSetProgress(arguments[0]); }); </script>'; $do_discuss = $_SESSION['do_project_task']->getChildProjectDiscuss("ORDER BY priority DESC, date_added DESC,idproject_discuss DESC LIMIT {$_SESSION['ProjectDiscussCount']->sql_qry_start},{$this->sql_view_limit}"); $do_discuss->sessionPersistent('ProjectDiscussEditSave', "project.php", OFUZ_TTL); if ($do_discuss->getNumRows()) { $item_count = 0; while ($do_discuss->next()) { $file = ''; $preview_item = ''; if ($do_discuss->document != '') { $doc_name = $do_discuss->document; $doc_name = str_replace(" ", "%20%20", $do_discuss->document); $doc_name = str_replace(" ", "%20", $doc_name); $file_url = "/files/" . $doc_name; //$file_url = '/files/'.$do_discuss->document; $file = '<br /><a href="' . $file_url . '" target="_blank">' . $do_discuss->document . '</a>'; } $item_text = $do_discuss->formatDiscussionItemDisplay($do_discuss->discuss); if (substr_count($item_text, '<br />') > 4) { $preview_item = preg_replace('/(.*?<br \\/>.*?<br \\/>.*?<br \\/>.*?<br \\/>)(.*)/', '$1', str_replace("\n", '', $item_text)) . ' '; } else { if (strlen($item_text) > 500) { $preview_item = substr($item_text, 0, 500); } } if ($do_discuss->iduser) { $added_by = $_SESSION['do_User']->getFullName($do_discuss->iduser); } else { $added_by = $do_discuss->drop_box_sender; } $e_gen_dropboxid = new Event('do_project_task->eventGenerateDropBoxIdTask'); $e_PrioritySort = new Event('ProjectDiscuss->eventPrioritySortNotes'); $e_PrioritySort->addParam('goto', 'task.php'); $e_PrioritySort->addParam('idnote', $do_discuss->idproject_discuss); $star_img_url = '<img src="/images/' . ($do_discuss->priority > 0 ? 'star_priority.gif' : 'star_normal.gif') . '" class="star_icon" width="14" height="14" alt="' . _('Star this note to move it on top') . '" />'; if (is_object($_SESSION['ProjectDiscussEditSave'])) { $e_discuss_del = new Event('ProjectDiscussEditSave->eventTempDelNoteById'); } $e_discuss_del->addParam('goto', 'task.php'); $e_discuss_del->addParam('id', $do_discuss->idproject_discuss); $e_discuss_del->addParam('context', 'ProjectDiscuss'); $del_img_url = _('delete') . ' <img src="/images/delete.gif" width="14px" height="14px" alt="" />'; echo '<div id="notetext', $do_discuss->idproject_discuss, '" class="vpad10">'; echo '<div style="height:24px;position:relative;"><div class="percent95"><img src="/images/discussion.png" class="note_icon" width="16" height="16" alt=' . _('Task Discussion') . '" />', $e_PrioritySort->getLink($star_img_url, ' title="' . _('Star this note to move it on top') . '"'); echo '<b>' . date('l, F j', strtotime($do_discuss->date_added)) . '</b> (Added By : ' . $added_by . ')</div> <div id="trashcan', $item_count++, '" class="deletenote" style="right:0;">' . '<a href="#" onclick="fnEditNote(\'notetext' . $do_discuss->idproject_discuss . '\',' . $do_discuss->idproject_discuss . ');return false;">' . _('edit') . '</a> | ' . $e_discuss_del->getLink($del_img_url, ' title="' . _('Delete this note') . '"') . '</div></div>'; if ($do_discuss->is_truncated) { echo '<div id="notepreview', $do_discuss->idproject_discuss, '">', $item_text, '<a href="#" onclick="showFullNote(', $do_discuss->idproject_discuss, '); return false;">' . _('more...') . '</a><br /></div>'; } else { echo $item_text; } echo $do_discuss->formatDocumentLink() . '</div> <div id="e' . $do_discuss->idproject_discuss . '" style="display: none;" class="note_edit_box"></div> <div id="' . $do_discuss->idproject_discuss . '" class="message_box"></div>'; } } }
/** * Method to get the Invoices Past due * @param $idcontact -- INT * @param $idcompany -- INT * @return $html -- String */ function getInvoicesPastDue($idcontact = "", $idcompany = "") { $q_past_due = new sqlQuery($this->getDbCon()); $contact_related = false; if ($multiple_add === true) { $qry_mul_add_inv_exclude_idinvoice = " AND idinvocie <> " . $_SESSION['do_invoice']->idinvoice; } if ($idcontact == "") { $q_past_due->query("Select * from " . $this->table . " where iduser = "******" AND due_date < '" . date("Y-m-d") . "' \r\n AND status <> 'Quote'\r\n AND status <> 'Paid'\r\n AND status <> 'Cancel'\r\n "); } else { $q_past_due->query("Select * from " . $this->table . " where iduser = "******" AND due_date < '" . date("Y-m-d") . "'\r\n AND status <> 'Quote'\r\n AND status <> 'Paid'\r\n AND (idinvoice = " . $idcontact . " or idcompany = " . $idcompany . ")\r\n AND status <> 'Cancel'\r\n "); if ($q_past_due->getNumRows() < 1) { $q_past_due->query("Select * from " . $this->table . " where iduser = "******" AND due_date < '" . date("Y-m-d") . "' \r\n AND status <> 'Quote'\r\n AND status <> 'Paid'\r\n AND status <> 'Cancel'\r\n "); } $contact_related = true; } if ($q_past_due->getNumRows()) { $do_contact_past_due = new Contact(); $html = ''; $html .= '<br /><br />'; $html .= '<div style="background-color:#ffffcc; padding: 6px 20px; color: #3f312b; font-size: 11pt; background-color: #ffffcc; border: solid 2px #f6bfbc; margin-right: 20px;" id="past_due_invoices" >'; if (!$contact_related) { $html .= '<div align="left" style="float:left;"><b>' . _('Past due invoices') . '</b></div>'; $html .= '<div align="right"><a href="#" onclick = "sendPastDueRemainder();return false;">' . _('send email reminder') . '</a> <a href="#" onclick="closePastDue();return false;">' . _('close') . '<img src="/images/delete.gif"></a></div>'; } else { $e_pay_cancel = new Event("do_invoice->eventCancelMultiPayment"); $no = $e_pay_cancel->getLink('No'); $html .= '<div align="left" style="float:left;"><b>' . _('Would you like add payment from the remaining ' . $this->viewAmount($_SESSION['extra_amt'])) . ' in one of the following invoices? ' . $no . '</b></div>'; $html .= '<div ><br /></div>'; } $html .= '<div style="width:700px;margin-left:0px;margin-top:5px;height:30px;text-align:left;position: relative; color:#FFA500;font-size:14px;">'; $html .= '<div style="width:100px;float:left;"><b>' . _('Number') . '</b></div>'; $html .= '<div style="width:250px;float:left;"><b>' . _('Contact') . '</b></div>'; $html .= '<div style="width:100px;float:left;"><b>' . _('Due Date') . '</b></div>'; $html .= '<div style="width:100px;float:left;"><b>' . _('Total') . '</b></div>'; $html .= '<div style="width:100px;float:left;"><b>' . _('Due') . '</b></div>'; $html .= '</div>'; while ($q_past_due->fetch()) { $html .= '<div class="invoices_past_due" id="cw' . $q_past_due->getData("idinvoice") . '" href="javascript:void(0)" onclick="window.location.href=\'/Invoice/' . $q_past_due->getData("idinvoice") . '\'">'; $html .= '<div class="invoices_main">'; $html .= '<div style="width:100px;float:left;"> ' . $q_past_due->getData("num") . ' </div> '; $contact = $do_contact_past_due->getContact_Company_ForInvoice($q_past_due->getData("idcontact"), $q_past_due->getData("idcompany")); if ($contact == '') { $contact = '--'; } $html .= ' <div style="width:250px;float:left;"> ' . $contact . ' </div>'; $html .= '<div style="width:100px;float:left;">' . $this->getInvFormattedDate($q_past_due->getData("due_date")) . '</div>'; $html .= '<div style="width:100px;float:left;">' . $this->viewAmount($q_past_due->getData("net_total")) . '</div>'; $html .= '<div style="width:100px;float:left;">' . $this->viewAmount($q_past_due->getData("amt_due")) . '</div>'; $html .= '</div></div> <div class="spacerblock_2"></div> '; } $html .= '<div class="spacerblock_2"></div></div>'; } return $html; }
</div> <div class="solidline"></div> <?php $_SESSION['do_auto_responder']->setApplyRegistry(false, "Form"); $_SESSION['do_auto_responder']->getUserSavedAutoResponders(); if ($_SESSION['do_auto_responder']->getNumRows()) { $del_auto_responder = new Event('do_auto_responder->eventDelAutoResponder'); $del_auto_responder->addParam('goto', $cfg_plugin_mkt_path . '/Autoresponder/'); $item_count = 0; while ($do_auto_responder->next()) { $item_count++; echo '<div class="contacts" id="autores' . $item_count . '">'; echo '<div class="contacts_desc">'; echo '<span class="contacts_name" >'; echo '<a href="' . $cfg_plugin_mkt_path . 'AutoResponderEmail/' . $_SESSION['do_auto_responder']->idautoresponder . '">' . $_SESSION['do_auto_responder']->name . '</a>'; echo " (" . $_SESSION['do_auto_responder']->tag_name . ")"; echo '</span>'; echo '</div>'; $del_auto_responder->addParam('id', $_SESSION['do_auto_responder']->idautoresponder); $del_img_url = 'delete <img src="/images/delete.gif" width="14px" height="14px" alt="" />'; echo '<div id="trashcan' . $item_count . '" align="right" style="margin-left:400px;display:none;position:absolute;">' . '<a href="/settings_auto_responder_edit.php?id=' . $_SESSION['do_auto_responder']->idautoresponder . '">edit | ' . $del_auto_responder->getLink($del_img_url, ' title="' . _('Delete this Auto Responder') . '" onclick="if (!confirm(\'' . _('Do you really want to delete?') . '\')) return false;"') . '</div>'; echo '</div>'; echo '<div class="spacerblock_2"></div>'; echo '<div class="solidline"></div>'; } } else { echo '<div style="margin-left:0px;">'; echo '<div class="messages_unauthorized">'; echo '<b>' . _('You do not have any auto responder. To add click ') . '<a href = "#" onclick ="addAutoResponder();return false;">' . _('here') . '</a></b>'; echo '</div></div>'; }
?> :</div> </div> <div class="left_menu"> <div class="left_menu_content"> <?php while ($_SESSION['do_userform']->next()) { $e_remove_wf = new Event("do_userform->eventDeleteWebForm"); $e_remove_wf->addParam('id', $_SESSION['do_userform']->idwebformuser); $e_remove_wf->addParam("goto", $_SERVER['PHP_SELF']); $count++; echo '<div id="webform', $count, '" class="co_worker_item co_worker_desc">'; echo '<div style="position: relative;">'; echo '<a href="settings_wf.php?edit=' . $_SESSION['do_userform']->idwebformuser . '">' . $_SESSION['do_userform']->title . '</a>'; $img_del = '<img src="/images/delete.gif" width="14px" height="14px" alt="" />'; echo '<div width="15px" id="trashcan', $count, '" class="deletenote" style="right:0;">' . $e_remove_wf->getLink($img_del) . '</div>'; echo '</div></div>'; } ?> </div> </div> <div class="left_menu_footer"></div> <?php } ?> </td><td class="layout_rcolumn"> <div class="banner60 pad020 text32"><?php echo _('Settings'); ?>
echo ' <div class="section20">'; echo '<b> <span class="project_name"><a href="/Project/' . $_SESSION['adm_project']->idproject . '">' . $_SESSION['adm_project']->name . '</a></span></b><br />'; $_SESSION['adm_project_discuss']->getDailyWorkDonePerProjectTask($_SESSION['adm_project']->idproject); $_SESSION['adm_project_discuss']->query($_SESSION['adm_project_discuss']->getSqlQuery()); $last_task = 0; while ($_SESSION['adm_project_discuss']->next()) { $e_user_search = new Event("adm_project_discuss->eventSetUserSearchTrue"); $e_user_search->addParam("iduser", $_SESSION['adm_project_discuss']->iduser); $e_user_search->addParam('goto', $_SERVER['PHP_SELF']); //echo '<div class="contacts" >'; echo '<div>'; if ($last_task != $_SESSION['adm_project_discuss']->idtask) { echo '<br/><span class="ptask_name"><a href="/Task/' . $_SESSION['adm_project_discuss']->idproject_task . '">' . $do_adm_task->getTaskDetail($_SESSION['adm_project_discuss']->idtask) . '</a></span>'; } echo '<br /><i>'; echo _('Note By ') . $e_user_search->getLink($_SESSION['do_User']->getFullName($_SESSION['adm_project_discuss']->iduser)); if ($_SESSION['adm_project_discuss']->hours_work > 0) { echo '<br />'; echo _('Time Worked') . ' : ' . $_SESSION['adm_project_discuss']->hours_work . ' ' . _('hrs'); } echo '<br /></i>'; echo nl2br($_SESSION['adm_project_discuss']->discuss); if ($_SESSION['adm_project_discuss']->document != '') { $file_url = "/files/" . $_SESSION['adm_project_discuss']->document; $file = '<a href="' . $file_url . '" target="_blank">' . $_SESSION['adm_project_discuss']->document . '</a>'; echo '<br /> ' . _('Attachment') . ' : ' . $file; } //echo '<br /><span style="color: rgb(102, 102, 102); font-size: 8pt;">'.date('l, F j', strtotime($_SESSION['adm_project_discuss']->date_added)).'</span>'; //echo '</div></div>'; echo '<div class="dottedline"></div>'; $last_task = $_SESSION['adm_project_discuss']->idtask;
echo $e_suspend->getLink("un-suspend", ' title="' . _('un-suspend this User') . '" onclick="if (!confirm(\'' . _('Do you really want to un-suspend this User ?') . '\')) return false;"'); echo " | "; } else { $e_suspend = new Event("UserInternalMarketing->eventSuspendUser"); $e_suspend->addParam("goto", $_SERVER["PHP_SELF"]); $e_suspend->addParam("iduser", $do_user->getData("iduser")); echo $e_suspend->getLink("Suspend", ' title="' . _('Suspend this User') . '" onclick="if (!confirm(\'' . _('Do you really want to suspend this User ?') . '\')) return false;"'); echo " | "; } ?> <?php $e_delete = new Event("UserInternalMarketing->eventDeleteUser"); $e_delete->addParam("goto", $_SERVER["PHP_SELF"]); $e_delete->addParam("iduser", $do_user->getData("iduser")); echo $e_delete->getLink("Delete", ' title="' . _('Delete this User') . '" onclick="if (!confirm(\'' . _('Do you really want to delete this User ?') . '\')) return false;"'); ?> </td> </tr> <?php $count++; } ?> </tbody> </table> <div class="spacerblock_80"></div> </div> <div class="layout_footer"></div> </div>
<div class="info_message"><?php echo htmlentities(stripslashes($_GET['message'])); ?> </div> <?php $e_import_csv = new Event("ExpenseImport->eventImportCSV"); $e_import_csv->addParam("goto", $GLOBALS['cfg_plugin_expense_uri'] . "Import"); $e_import_csv->addParam("import_file", "importcsv/expenses_2010.csv"); echo $e_import_csv->getLink("Import Expenses cvs file"); ?> <br/><br/> <?php $e_process_filters = new Event("ExpenseImport->eventApplyFilters"); $e_process_filters->addParam("goto", $GLOBALS['cfg_plugin_expense_uri'] . "Import"); echo $e_process_filters->getLink("Load Expenses"); ?> <br/><br/> <a href="<?php echo $GLOBALS['cfg_plugin_expense_uri']; ?> ImportManual">Manualy import expenses</a> <br/> <br/> <?php $do_import_expense = new ExpenseImport(); $do_import_expense->view(); ?>
<?php /**COPYRIGHTS**/ // Copyright 2008 - 2010 all rights reserved, SQLFusion LLC, info@sqlfusion.com /**COPYRIGHTS**/ ?> <?php $msg = new Message(); $msg->setContent("Click on Export my contacts to download all your contact in a spreadsheet"); $msg->displayMessage(); ?> <div class="spacerblock_20"></div> <div class="solidline"></div> <div class="spacerblock_20"></div> <div> <?php $e_export_contacts = new Event("Export->eventExportContacts"); $e_export_contacts->addParam("goto", $_SERVER['PHP_SELF']); echo $e_export_contacts->getLink(_('Export My Contacts')); ?> </div> <div class="spacerblock_20"></div>
// | amount | float(10,2) | | | 0.00 | | // +------------------+--------------+------+-----+------------+----------------+ $do_import_expense = new DataObject($GLOBALS['conx']); $do_import_expense->setTable("expense_import"); $do_import_expense->query("select * from expense_import order by debit_date desc limit 1"); if ($do_import_expense->getNumRows() > 0) { $do_expense = new DataObject($GLOBALS['conx']); $do_expense->setTable("expense"); $do_expense->num = $do_import_expense->idexpense_import; $do_expense->description = $do_import_expense->description; $do_expense->datepayed = $do_import_expense->debit_date; $do_expense->daterecieve = $do_import_expense->debit_date; $do_expense->amount = $do_import_expense->amount; $do_expense->prepareForm(); $do_expense->form->event->addEvent("accounting.import_expense_manualy", 1010); $do_expense->form->event->addParam("idexpense_import", $do_import_expense->idexpense_import); //$do_expense->form->setSubmit(""); $e_skip = new Event("accounting.import_expense_manualy"); $e_skip->addParam("idexpense_import", $do_import_expense->idexpense_import); $e_skip->addParam("doSave", "yes"); $e_skip->addParam("insertid", 1); echo $e_skip->getLink("Do not import this expense"); $do_expense->form(); } else { echo "No more expenses to import."; } ?> <?php include "includes/footer.inc.php";
function viewDeletedNote($array, $context = "ContactNote") { $html = '<div class="dottedline"></div><br />'; $e_note_undo = new Event($this->getObjectName() . "->eventUndoNoteById"); foreach ($array as $deleted_note) { if ($context == "ProjectDiscuss") { $note_text = '<b><i>' . substr($deleted_note["discuss"], 0, 100) . ' ...</b></i> ' . _('has been removed'); $e_note_undo->addParam("id", $deleted_note["idproject_task"]); $e_note_undo->addParam("context", "ProjectDiscuss"); } elseif ($context == "ContactNote") { $note_text = '<b><i>' . substr($deleted_note["note"], 0, 100) . ' ...</b></i> ' . _('has been removed'); $e_note_undo->addParam("id", $deleted_note["idcontact_note"]); $e_note_undo->addParam("context", "ContactNote"); } if ($deleted_note["key_val"] == 0) { $key = "No"; } else { $key = $deleted_note["key_val"]; } $e_note_undo->addParam("key_val", $key); $html .= '<div id="note_ctlbar">'; $html .= '<div class="note_ctlbar_text">'; $html .= $note_text; $html .= '</div>'; $html .= '<div class="note_undo">' . $e_note_undo->getLink('Undo') . '</div>'; $html .= ' <div class="spacerblock_2"></div></div>'; } return $html; }
if ($do_gt->isPrev($do_gt->idemailtemplate)) { $e_prev = new Event("GoogleTranslatorEmailtemplate->eventSetPrevTemplate"); $e_prev->addParam("current_idtemplate", $do_gt->idemailtemplate); $e_prev->addParam("goto", $_SERVER["REDIRECT_URL"]); echo $e_prev->getLink(_("Previous")); } ?> </td> <td width="25%" align="right"> <?php if ($do_gt->isNext($do_gt->idemailtemplate)) { echo "    "; $e_next = new Event("GoogleTranslatorEmailtemplate->eventSetNextTemplate"); $e_next->addParam("current_idtemplate", $do_gt->idemailtemplate); $e_next->addParam("goto", $_SERVER["REDIRECT_URL"]); echo $e_next->getLink(_("Next")); } ?> </td> </tr> <tr> <td colspan="2"> <?php while ($do_gt->next()) { $e_gt = new Event("GoogleTranslatorEmailtemplate->eventTranslateLanguage"); $e_gt->addParam("goto", $_SERVER["REDIRECT_URL"]); // $e_gt->addParam("src_lng",$src_lng); // $e_gt->addParam("dest_lng",$dest_lng); echo $e_gt->getFormHeader(); echo $e_gt->getFormEvent(); ?>
echo ' '; $e_filter_exp->addParam("type", "date"); $e_filter_exp->addParam("goto", $_PHP['SELF']); echo '<form id="setFilterInvMonth" name="setFilterInvMonth" method="post" action="/eventcontroler.php" style="display:inline;">'; echo $e_filter_inv->getFormEvent(); echo $_SESSION['do_invoice_list']->getYearDropDownFilter(); echo ' '; echo $_SESSION['do_invoice_list']->getMonthDropDownFilter(); echo '</form>'; ?> <?php } else { $e_filter_inv = new Event("do_invoice_list->eventUnsetFilter"); $e_filter_inv->setLevel(10); $e_filter_inv->addParam("goto", $_SERVER['PHP_SELF']); echo $e_filter_inv->getLink(_("View all invoices")); echo ' '; } ?> </div> <table class="invoice_list"> <tr> <th class="invoice_list_12pct center_text"><?php echo _('Expense #'); ?> </th> <th class="invoice_list_40pct left_text"><?php echo _('Description');
echo '<td width=12%>'; // Enable or disable section comes here $idplugin_enable = $do_plugin_enable->isEnabled($setting_tab_name); if ($idplugin_enable === false) { $button = $do_dynamic_button->CreateButton('', _('Enable')); $e_enable = new Event('PluginEnable->eventEnablePlugin'); $e_enable->addParam('goto', $_SERVER['PHP_SELF']); $e_enable->addParam('plugin', $setting_tab_name); echo $e_enable->getLink(_('Enable')); //echo $e_enable->getLink($button); } else { $button = $do_dynamic_button->CreateButton('', _('Disable')); $e_enable = new Event('PluginEnable->eventDisablePlugin'); $e_enable->addParam('goto', $_SERVER['PHP_SELF']); $e_enable->addParam('idplugin_enable', $idplugin_enable); echo $e_enable->getLink(_('Disable')); //echo $e_enable->getLink($button); } echo '</td>'; echo '</tr>'; echo '<tr>'; echo '<td colspan=4>'; echo '<div class="dashedline"></div>'; echo '</td>'; echo '</tr>'; } echo '</table>'; } } ?> </div>