Пример #1
0
    <legend><?php 
echo ACT_CATEGORY_I_ADDRESS;
?>
</legend>
      <table class="ui-widget" style="border-collapse:collapse;width:100%;">
      <tr>
       <td>
<?php 
// build a secondary toolbar for the contact form
$ctoolbar = new toolbar('i');
$ctoolbar->icon_list['cancel']['show'] = false;
$ctoolbar->icon_list['open']['show'] = false;
$ctoolbar->icon_list['save']['show'] = false;
$ctoolbar->icon_list['delete']['show'] = false;
$ctoolbar->icon_list['print']['show'] = false;
$ctoolbar->add_icon('new', 'onclick="clearAddress(\'im\')"', $order = 10);
$ctoolbar->icon_list['new']['icon'] = 'actions/contact-new.png';
$ctoolbar->icon_list['new']['text'] = TEXT_NEW_CONTACT;
$ctoolbar->add_icon('copy', 'onclick="copyContactAddress(\'' . $type . '\')"', 20);
$ctoolbar->icon_list['copy']['text'] = TEXT_COPY_ADDRESS;
echo $output;
echo $ctoolbar->build_toolbar();
?>
    </td></tr>
    </table>
    <table class="ui-widget" style="border-collapse:collapse;width:100%;">
      <tr>
       <td align="right"><?php 
echo ACT_SHORT_NAME . html_hidden_field('i_id', '');
?>
</td>
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/assets/pages/admin/template_tab_fields.php
//
$field_toolbar = new toolbar();
$field_toolbar->icon_list['cancel']['show'] = false;
$field_toolbar->icon_list['open']['show'] = false;
$field_toolbar->icon_list['delete']['show'] = false;
$field_toolbar->icon_list['save']['show'] = false;
$field_toolbar->icon_list['print']['show'] = false;
if ($security_level > 1) {
    $field_toolbar->add_icon('new', 'onclick="loadPopUp(\'fields_new\', 0)"', $order = 10);
}
?>
<div id="tab_fields">
  <?php 
echo $field_toolbar->build_toolbar();
?>
  <h1><?php 
echo $fields->title;
?>
</h1>
  <div id="fields_content"><?php 
echo $fields->build_main_html();
?>
</div>
</div>
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/contacts/pages/admin/template_tab_departments.php
//
$departments_toolbar = new toolbar('departments');
$departments_toolbar->icon_list['cancel']['show'] = false;
$departments_toolbar->icon_list['open']['show'] = false;
$departments_toolbar->icon_list['save']['show'] = false;
$departments_toolbar->icon_list['delete']['show'] = false;
$departments_toolbar->icon_list['print']['show'] = false;
if ($security_level > 1) {
    $departments_toolbar->add_icon('new', 'onclick="loadPopUp(\'departments_new\', 0)"', $order = 10);
}
if ($departments->extra_buttons) {
    $departments->customize_buttons($departments_toolbar);
}
?>
<div id="tab_departments">
  <?php 
echo $departments_toolbar->build_toolbar();
?>
  <h1><?php 
echo $departments->title;
?>
</h1>
  <div id="departments_content"><?php 
echo $departments->build_main_html();
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/phreebooks/pages/admin/template_tab_chart_of_accounts.php
//
$chart_of_accounts_toolbar = new toolbar();
$chart_of_accounts_toolbar->icon_list['cancel']['show'] = false;
$chart_of_accounts_toolbar->icon_list['open']['show'] = false;
$chart_of_accounts_toolbar->icon_list['save']['show'] = false;
$chart_of_accounts_toolbar->icon_list['delete']['show'] = false;
$chart_of_accounts_toolbar->icon_list['print']['show'] = false;
if ($security_level > 1) {
    $chart_of_accounts_toolbar->add_icon('new', 'onclick="loadPopUp(\'chart_of_accounts_new\', 0)"', $order = 10);
}
?>
<div id="tab_chart_of_accounts">
  <?php 
echo $chart_of_accounts_toolbar->build_toolbar();
?>
  <h1><?php 
echo $chart_of_accounts->title;
?>
</h1>
  <div align="center">
    <?php 
echo GL_SELECT_STD_CHART . html_pull_down_menu('std_chart', $sel_chart);
?>
    <?php 
?>
  <fieldset class="formAreaTitle">
    <legend><?php 
echo ACT_CATEGORY_I_ADDRESS;
?>
</legend>
      <table border="0" width="100%" cellspacing="0" cellpadding="0"><tr><td>
<?php 
// build a secondary toolbar for the contact form
$passbar = new toolbar('i');
$passbar->icon_list['cancel']['show'] = false;
$passbar->icon_list['open']['show'] = false;
$passbar->icon_list['save']['show'] = false;
$passbar->icon_list['delete']['show'] = false;
$passbar->icon_list['print']['show'] = false;
$passbar->add_icon('new', 'onclick="clearContactForm()"', $order = 10);
$passbar->icon_list['new']['icon'] = 'actions/contact-new.png';
$passbar->icon_list['new']['text'] = TEXT_NEW_CONTACT;
$passbar->add_icon('copy', 'onclick="copyContactAddress(\'' . $type . '\')"', 20);
$passbar->icon_list['copy']['text'] = TEXT_COPY_ADDRESS;
echo $output;
echo $passbar->build_toolbar();
?>
    </td></tr></table>
    <table width="100%" class="formArea" border="0" cellspacing="2" cellpadding="2">
      <tr>
       <td align="right" class="main"><?php 
echo ACT_SHORT_NAME . html_hidden_field('i_id', '');
?>
</td>
       <td class="main"><?php 
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/phreebooks/pages/admin/template_tab_tax_rates_vend.php
//
$tax_rates_vend_toolbar = new toolbar();
$tax_rates_vend_toolbar->icon_list['cancel']['show'] = false;
$tax_rates_vend_toolbar->icon_list['open']['show'] = false;
$tax_rates_vend_toolbar->icon_list['save']['show'] = false;
$tax_rates_vend_toolbar->icon_list['delete']['show'] = false;
$tax_rates_vend_toolbar->icon_list['print']['show'] = false;
if ($security_level > 1) {
    $tax_rates_vend_toolbar->add_icon('new', 'onclick="loadPopUp(\'tax_rates_vend_new\', 0)"', $order = 10);
}
?>
<div id="tab_tax_rates_vend">
  <?php 
echo $tax_rates_vend_toolbar->build_toolbar();
?>
  <h1><?php 
echo $tax_rates_vend->title;
?>
</h1>
  <div id="tax_rates_vend_content"><?php 
echo $tax_rates_vend->build_main_html();
?>
</div>
</div>
Пример #7
0
// | This program is free software: you can redistribute it and/or   |
// | modify it under the terms of the GNU General Public License as  |
// | published by the Free Software Foundation, either version 3 of  |
// | the License, or any later version.                              |
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/doc_ctl/pages/main/tab_document.php
//
$fieldset_content = NULL;
// build the tab toolbar
$docbar = new toolbar();
$docbar->add_icon('export', 'onclick="submitSeq(' . $id . ',\'download\', true)"', $order = 10);
$docbar->icon_list['cancel']['show'] = false;
$docbar->icon_list['open']['show'] = false;
$docbar->icon_list['save']['params'] = 'onclick="submitToDo(\'save_doc\')"';
$docbar->icon_list['print']['show'] = false;
$docbar->icon_list['export']['text'] = TEXT_DOWNLOAD_DOCUMENT;
if ($security_level > 3) {
    $docbar->icon_list['delete']['params'] = 'onclick="if (confirm(\'' . DOC_CTL_DELETE_DOCUMENT . '\')) docAction(\'delete\')"';
} else {
    $docbar->icon_list['delete']['show'] = false;
}
if ($bookmarked) {
    $docbar->icon_list['del_bookmark'] = array('show' => true, 'icon' => 'actions/bookmark-new.png', 'params' => 'onclick="docAction(\'del_bookmark\')"', 'text' => TEXT_REMOVE_BOOKMARK, 'order' => 20);
} else {
    $docbar->icon_list['bookmark'] = array('show' => true, 'icon' => 'actions/bookmark-new.png', 'params' => 'onclick="docAction(\'bookmark\')"', 'text' => TEXT_BOOKMARK_DOC, 'order' => 20);
}
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/contacts/pages/admin/template_tab_project_costs.php
//
$project_costs_toolbar = new toolbar('project_costs');
$project_costs_toolbar->icon_list['cancel']['show'] = false;
$project_costs_toolbar->icon_list['open']['show'] = false;
$project_costs_toolbar->icon_list['save']['show'] = false;
$project_costs_toolbar->icon_list['delete']['show'] = false;
$project_costs_toolbar->icon_list['print']['show'] = false;
if ($security_level > 1) {
    $project_costs_toolbar->add_icon('new', 'onclick="loadPopUp(\'project_costs_new\', 0)"', $order = 10);
}
if ($project_costs->extra_buttons) {
    $project_costs->customize_buttons($project_costs_toolbar);
}
?>
<div id="tab_project_costs">
  <?php 
echo $project_costs_toolbar->build_toolbar();
?>
  <h1><?php 
echo $project_costs->title;
?>
</h1>
  <div id="project_costs_content"><?php 
echo $project_costs->build_main_html();
Пример #9
0
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/phreepos/pages/admin/template_tab_tills.php
//
$tills_toolbar = new toolbar();
$tills_toolbar->icon_list['cancel']['show'] = false;
$tills_toolbar->icon_list['open']['show'] = false;
$tills_toolbar->icon_list['delete']['show'] = false;
$tills_toolbar->icon_list['save']['show'] = false;
$tills_toolbar->icon_list['print']['show'] = false;
if ($security_level > 1) {
    $tills_toolbar->add_icon('new', 'onclick="loadPopUp(\'tills_new\', 0)"', $order = 10);
}
?>
<div id="tab_tills">
  <?php 
echo $tills_toolbar->build_toolbar();
?>
  <h1><?php 
echo $tills->title;
?>
</h1>
  <div id="tills_content"><?php 
echo $tills->build_main_html();
?>
</div>
</div>
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/import_bank/pages/admin/template_tab_kt.php
//
$kt_toolbar = new toolbar();
$kt_toolbar->icon_list['cancel']['show'] = false;
$kt_toolbar->icon_list['open']['show'] = false;
$kt_toolbar->icon_list['delete']['show'] = false;
$kt_toolbar->icon_list['save']['show'] = false;
$kt_toolbar->icon_list['print']['show'] = false;
if ($security_level > 1) {
    $kt_toolbar->add_icon('new', 'onclick="loadPopUp(\'known_transactions_new\', 0)"', $order = 10);
}
?>
<div id="tab_kt">
  <?php 
echo $kt_toolbar->build_toolbar();
?>
  <h1><?php 
echo $kt->title;
?>
</h1>
  <div id="kt_content"><?php 
echo $kt->build_main_html();
?>
</div>
</div>
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/phreedom/pages/admin/template_currency_currency.php
//
$currency_toolbar = new toolbar('currency');
$currency_toolbar->icon_list['cancel']['show'] = false;
$currency_toolbar->icon_list['open']['show'] = false;
$currency_toolbar->icon_list['save']['show'] = false;
$currency_toolbar->icon_list['delete']['show'] = false;
$currency_toolbar->icon_list['print']['show'] = false;
if ($security_level > 1) {
    $currency_toolbar->add_icon('new', 'onclick="loadPopUp(\'currency_new\', 0)"', $order = 10);
}
if (ENABLE_MULTI_CURRENCY) {
    $currency_toolbar->add_icon('update', 'onclick="tabPage(\'currency\', \'update\')"', $order = 10);
    $currency_toolbar->icon_list['update']['text'] = SETUP_UPDATE_EXC_RATE;
}
?>
<div id="tab_currency">
    <?php 
echo $currency_toolbar->build_toolbar();
?>
	<h1><?php 
echo $currency->title;
?>
</h1>
    <div id="currency_content"><?php 
Пример #12
0
// |                                                                 |
// | This program is distributed in the hope that it will be useful, |
// | but WITHOUT ANY WARRANTY; without even the implied warranty of  |
// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the   |
// | GNU General Public License for more details.                    |
// +-----------------------------------------------------------------+
//  Path: /modules/phreeform/pages/main/tab_report.php
//
// build the tab toolbar
$docbar = new toolbar();
$docbar->icon_list['cancel']['show'] = false;
$docbar->icon_list['open']['params'] = 'onclick="ReportGenPopup(' . $id . ', \'' . $doc_details->fields['doc_ext'] . '\')"';
$docbar->icon_list['save']['show'] = false;
$docbar->icon_list['print']['show'] = false;
if ($security_level > 2) {
    $docbar->add_icon('edit', 'onclick="ReportPopup(\'design\', ' . $id . ')"', $order = 11);
}
if ($security_level > 2) {
    $docbar->add_icon('rename', 'onclick="ReportPopup(\'rename\', ' . $id . ')"', $order = 12);
}
if ($security_level > 1) {
    $docbar->add_icon('copy', 'onclick="ReportPopup(\'copy\', ' . $id . ')"', $order = 13);
}
if ($security_level > 1) {
    $docbar->add_icon('export', 'onclick="ReportPopup(\'export\', ' . $id . ')"', $order = 15);
}
if ($security_level > 3) {
    $docbar->icon_list['delete']['params'] = 'onclick="if (confirm(\'' . PHREEFORM_DELETE_DOCUMENT . '\')) docAction(\'delete\')"';
} else {
    $docbar->icon_list['delete']['show'] = false;
}