PageRenderTime 45ms CodeModel.GetById 20ms RepoModel.GetById 0ms app.codeStats 0ms

/side_projects/jfusionconnect/components/com_jfusionconnect/views/managesites/tmpl/default.php

http://jfusion.googlecode.com/
PHP | 62 lines | 47 code | 1 blank | 14 comment | 1 complexity | 8c8c3431f9d7c2b16f62fc5e59b34c94 MD5 | raw file
Possible License(s): Apache-2.0
  1. <?php
  2. /**
  3. * This is view file for cpanel
  4. *
  5. * PHP version 5
  6. *
  7. * @category JFusionConnect
  8. * @package ViewsFront
  9. * @subpackage Frameless
  10. * @author JFusion Team <webmaster@jfusion.org>
  11. * @copyright 2008 JFusion. All rights reserved.
  12. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
  13. * @link http://www.jfusion.org
  14. */
  15. // no direct access
  16. defined('_JEXEC') or die('Restricted access');
  17. ?>
  18. <div id="jfusionconnect">
  19. <?php JFusionConnectUi::renderMenuBar(); ?>
  20. <form action="" method="post" name="edit" id="form-manage">
  21. <table style="width:100%;">
  22. <tr align="center">
  23. <td>
  24. <img alt="<?php echo JText::_('SITE'); ?>" src="<?php echo JURI::root(true); ?>/components/com_jfusionconnect/images/application.png"> <?php echo JText::_('SITE'); ?>
  25. </td>
  26. <td>
  27. <img alt="<?php echo JText::_('LOG'); ?>" src="<?php echo JURI::root(true); ?>/components/com_jfusionconnect/images/book.png"> <?php echo JText::_('LOG'); ?>
  28. </td>
  29. <td>
  30. <img alt="<?php echo JText::_('SITE'); ?>" src="<?php echo JURI::root(true); ?>/components/com_jfusionconnect/images/lock_open.png"> <?php echo JText::_('AUTO_CONDIRM'); ?>
  31. </td>
  32. </tr>
  33. <?php if (count($this->sites)) : ?>
  34. <?php foreach ($this->sites as $key => $value) : ?>
  35. <tr>
  36. <td>
  37. <a href="<?php echo $value->realm; ?>" target="_blank"><?php echo $value->realm; ?></a>
  38. </td>
  39. <td align="center">
  40. <a href="<?php echo JRoute::_('index.php?option=com_jfusionconnect&view=userlog&filter_realm='.base64_encode($value->realm), true); ?>">
  41. <img alt="<?php echo JText::_('VIEW_LOG'); ?>" src="<?php echo JURI::root(true); ?>/components/com_jfusionconnect/images/book.png">
  42. </a>
  43. </td>
  44. <td align="center">
  45. <input type="checkbox" <?php echo $value->remember; ?> <?php echo $value->disabled; ?> name="site[remember][<?php echo $value->id; ?>]">
  46. </td>
  47. </tr>
  48. <?php endforeach; ?>
  49. <tr>
  50. <td colspan="3" align="right">
  51. <button type="submit" name="task" value="manage_update">
  52. <div class="update">
  53. <?php echo JText::_('UPDATE'); ?>
  54. </div>
  55. </button>
  56. </td>
  57. </tr>
  58. <?php endif; ?>
  59. </table>
  60. </form>
  61. </div>