~fabiocbalbuquerque/sahana-agasti/web-services

« back to all changes in this revision

Viewing changes to apps/frontend/modules/admin/templates/globalsSuccess.php

  • Committer: Fabio Albuquerque
  • Date: 2011-08-08 22:10:34 UTC
  • mfrom: (1.26.1 push-trunk)
  • Revision ID: fabiocbalbuquerque@gmail.com-20110808221034-vfr4ggsbxsdllq82
Merges from CUNY SPS

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
Here you can set up global parameters (variables) that can be used throughout the application.  This keeps all settings in a single place, click on a global param link to edit that item or add a new one at the bottom
4
4
  <fieldset>
5
5
    <legend>Global Parameters</legend>
6
 
<table>
 
6
<table class="adminGlobal">
7
7
  <thead>
8
 
    <tr>
 
8
    <tr class="head">
9
9
      <th>Global Param</th>
10
10
      <th>Value</th>
 
11
      <th>Description</th>
11
12
    </tr>
12
13
  </thead>
13
14
  <tbody>
14
15
    <?php foreach ($ag_global_params as $ag_global_param): ?>
15
16
    <tr>
16
 
      <td><a href="<?php echo url_for('admin/globals?param='.$ag_global_param->getId()) ?>" class="continueButton"><?php echo $ag_global_param->getDatapoint() ?></a></td>
 
17
      <td class="textLeft"><a href="<?php echo url_for('admin/globals?param='.$ag_global_param->getId().'#bottom') ?>" class="continueButton"><?php echo $ag_global_param->getDatapoint() ?></a></td>
17
18
      <td><?php echo $ag_global_param->getValue() ?></td>
 
19
      <td><?php echo $ag_global_param->getDescription() ?></td>
 
20
 
18
21
    </tr>
19
22
    <?php endforeach; ?>
20
23
  </tbody>
21
24
</table>
22
 
 
 
25
    <br><br>
 
26
    <a name="bottom" id="bottom"></a>
23
27
<?php
24
28
//this still needs some fixing
25
29
include_partial('paramform', array('paramform' => $paramform)) ?>