~cyrenity/zivios/devel

« back to all changes in this revision

Viewing changes to application/modules/kerberos/views/scripts/computer/subscribetoservice.phtml

  • Committer: Faraz Khan
  • Date: 2008-09-15 13:29:33 UTC
  • Revision ID: fkhan@zivios.org-20080915132933-d27jml5l29xw4gsr
Initial release to bazaar, code in sync with 0.5.0-release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Copyright (c) 2008 Zivios, LLC.
 
4
 *
 
5
 * This file is part of Zivios.
 
6
 *
 
7
 * Zivios is free software: you can redistribute it and/or modify
 
8
 * it under the terms of the GNU General Public License as published by
 
9
 * the Free Software Foundation, either version 3 of the License, or
 
10
 * (at your option) any later version.
 
11
 *
 
12
 * Zivios is distributed in the hope that it will be useful,
 
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 * GNU General Public License for more details.
 
16
 *
 
17
 * You should have received a copy of the GNU General Public License
 
18
 * along with Zivios.  If not, see <http://www.gnu.org/licenses/>.
 
19
 *
 
20
 * @package             mod_kerberos
 
21
 * @copyright   Copyright (c) 2008 Zivios, LLC. (http://www.zivios.org)
 
22
 * @license             http://www.zivios.org/legal/license
 
23
 * @version             $Id$
 
24
 * @lastchangeddate $LastChangedDate$
 
25
 **/
 
26
 
 
27
?>
 
28
<br /><br />
 
29
<div style="padding-left: 10px">
 
30
 
 
31
        <div class="floatleft" style="width: 140px">Subscribing Computer</div>
 
32
        <div class="floatleft" style="width: 350px"><?php echo $this->obj->getProperty("cn"); ?></div>
 
33
        <div class="clear"></div>
 
34
 
 
35
        <div class="floatleft" style="width: 140px">To Service</div>
 
36
        <div class="floatleft" style="width: 350px"><?php echo $this->service->returnDisplayName(); ?></div>
 
37
        <div class="clear"></div>
 
38
 
 
39
        <div class="floatleft" style="width: 140px">Provided by</div>
 
40
        <div class="floatleft" style="width: 350px"><?php echo $this->service->mastercomp->getProperty("cn"); ?></div>
 
41
        <div class="clear"></div>
 
42
 
 
43
        <p>
 
44
        <form id="addkerbclient" method="post" action="#" onsubmit="return false;">
 
45
        <input type="submit" onClick="javascript:callFormUpdate('addkerbclient','/kerberos/computer/linkcomputertoservice');
 
46
                return false;" value="Subscribe Computer to Kerberos Service" />
 
47
        <input type="hidden" name="process" value="1" />
 
48
        <input type="hidden" name="operate_dn" value="<?php echo $this->obj->getdn(); ?>" />
 
49
        <input type="hidden" name="service_dn" value="<?php echo $this->service->getdn(); ?>" />
 
50
        </form>
 
51
        </p>
 
52
 
 
53
</div>