Ejemplo n.º 1
0
<?php

require_once dirname(__FILE__) . '/../../../adminData.php';
?>
<div id='adminWrapper'>
  <div id='createMenu'>
  <?php 
echo ErrorHandler::getNotice('menu');
?>
    <h3>Cadastrar Menu</h3>
    <div id='newMenuData'>
      Nome:
      <p><input type='text' id='StName' name='StName' class='inputCombo' /></p>
      Endere&ccedil;o:
      <p><input type='text' id='StAddress' name='StAddress' class='inputCombo' /></p>
      <p>
        <button class='button' onclick='Admin.insertMenu();'>Cadastrar</button>
        <button class='button'>Limpar</button>
      </p>
    </div>
  </div>
  <div id='manageMenu' class='Left'>
      <h3>Gerenciar Menus</h3>
      <table class='tableTickets'>
        <thead>
          <th>Menus Cadastrados</th>
          <th colspan='2'>A&ccedil;&otilde;es</th>
        </thead>
        <tbody>
          <?php 
echo TemplateHandler::showMenus($ArMenus);
Ejemplo n.º 2
0
<?php
  require_once( dirname(__FILE__) . '/../../ticketData.php' );
  /*default language*/
  handleLanguage(__FILE__);
  #
  # join arrow's ID and Content's ID with this UID
  #
  $uid = uniqid();

  if ($isVisible) :
?>

    <!--[ERROR/OK BOX]-->
    <?= ErrorHandler::getNotice('ticket'); ?>
    <!--[ERROR/OK BOX]-->

    <!--[TICKET HEADER]-->
    <div id='ticketHeader'>
      <div id="ticketTitle">
      <?if(!$preview):?>
        <img id='reloadHeader' class='menuRefresh Right' onclick='Ticket.refreshTicket("<?=$IDTicket?>", "<?=$IDDepartment?>")' src='<?= TEMPLATEDIR ?>images/btn_reload.png' alt='Reload' />
      <?endif;?>
      	<img alt="Ticket" id='arrowHeader<?=$uid?>' src="<?= TEMPLATEDIR ?>images/arrow_hide.gif" onclick='baseActions.toogleArrow( this.id, "ticketContent<?=$uid?>")' class='menuArrow'/>
      	<span><?= $StTitle ?></span>
      </div>

      <div id="ticketContent<?=$uid?>">
      	<table class='tableTickets'>
          <thead>
            <tr>
              <th><?=TICKET_HEADER_ID?></th>
Ejemplo n.º 3
0
<?php

require_once dirname(__FILE__) . '/../../../adminData.php';
handleLanguage(__FILE__);
?>
<div id="adminWrapper">
  <?php 
echo ErrorHandler::getNotice('department');
?>
  <div id="insertDepartment">
    <h3><?php 
echo INSERT_DEPARTMENT;
?>
</h3>
    <form name="insertDepartment" id="insertDepartmentForm" onsubmit="return false;">
      <?php 
echo NAME;
?>
:
      <p>
        <input type="text" name="name" class="inputCombo" />
      </p>
      
      <?php 
echo DESCRIPTION;
?>
:
      <p>
        <input type="text" name="description" class="inputCombo" />
      </p>
      
Ejemplo n.º 4
0
          </button>
          <button class="button" onclick="gID('manageEditLanguages').className += ' Invisible';">
            <?php 
echo CLEAR;
?>
          </button>
        </p>
      </form>
    </div>
  </div>
  <!--[/LANGUAGE MANAGER]-->
  
  <!--[OPTIONS MANAGER]-->
  <div id="content1" style="width:100%;padding-top:215px;">
    <?php 
echo ErrorHandler::getNotice('option');
?>
    <div id='manageOptions' class='Left'>
      <h3><?php 
echo MANAGE_PREFERENCES;
?>
</h3>
      <table class='tableTickets'>
        <thead>
          <th><?php 
echo OPTION;
?>
</th>
          <th><?php 
echo VALUE;
?>
Ejemplo n.º 5
0
<?php

require_once dirname(__FILE__) . '/../../../adminData.php';
handleLanguage(__FILE__);
?>
<div id="adminWrapper">
  <?php 
echo ErrorHandler::getNotice('unit');
?>
  <div id="insertUnit">
    <h3><?php 
echo INSERT_UNIT;
?>
</h3>
    <form name="insertUnitForm" id="insertUnitForm" onsubmit="return false;">
      <?php 
echo NAME;
?>
:
      <p>
        <input type="text" name="name" class="inputCombo" />
      </p>
      
      <p>
        <table class="tableTickets">
          <thead>
            <th><?php 
echo PERMISSION_TO;
?>
</th>
            <th></th>
Ejemplo n.º 6
0
<?require_once( dirname(__FILE__) . '/../../ticketData.php' );?>

<!--[ERROR/OK BOX]-->
  <?php 
echo ErrorHandler::getNotice('ticket');
?>
<!--[ERROR/OK BOX]-->

<div id="previewAnswer">
  <h3>Sua Resposta</h3>
  <div class="message<?php 
echo $_POST['StMessageType'] == 'INTERNAL' ? 'Internal' : '';
?>
">
    <?$TxMessagePreview = (isset($TxMessagePreview))?nl2br($TxMessagePreview):' -- '?>
    <?php 
echo $TxMessagePreview;
?>
  </div>
</div>
Ejemplo n.º 7
0
<?php

require_once dirname(__FILE__) . '/../../../adminData.php';
handleLanguage(__FILE__);
?>
<div id='adminWrapper'>
  <?php 
echo ErrorHandler::getNotice('template');
?>
  <div id="manageTemplates">
    <h3><?php 
echo ADD_TEMPLATE;
?>
</h3>
    <form onsubmit="return false;" id="templateForm">
        <?php 
echo TEMPLATE_NAME;
?>
:
      <p>
        <input type="text" name="StName" class="inputCombo">
      </p>
        <?php 
echo TEMPLATE_PATH;
?>
:
      <p>
        <input type="text" name="StPath" class="inputCombo">
      </p>
        <?php 
echo THUMBNAIL;