protected function _setup() { parent::_setup(); $view = $this->getView(); $view->addTemplatePath(array($GLOBALS['fs_base'] . '/app/views/Screenshot')); $view->stable = HordeWeb_Utils::getStableApps(); }
/** * Setup needed properties * */ protected function _setup() { global $site_name; $script = new Horde_Script_File_External($GLOBALS['host_base'] . '/js/jquery-1.4.4.min.js'); $GLOBALS['injector']->getInstance('Horde_PageOutput')->addScriptFile($script); // Set the view, with correct template path set by the binder $view = $GLOBALS['injector']->getInstance('HordeWeb_View'); $this->urlWriter = $view->urlWriter = $this->getUrlWriter(); $view->homeurl = $this->urlWriter->urlFor('home'); $view->feedurl = ''; $view->quote = HordeWeb_Utils::getQuote(); // This seems to be needed for some helpers to work correctly. $view->controller = $this; // @TODO: Refactor away the globals $view->host_base = $GLOBALS['host_base']; $this->setView($view); }
/** * * * @param Horde_Controller_Response $response */ protected function _processRequest(Horde_Controller_Response $response) { $view = $this->getView(); switch ($this->_matchDict->action) { case 'index': $view->page_title = 'Community - The Horde Project'; $template = 'index'; break; case 'team': $view->addTemplatePath($GLOBALS['fs_base'] . '/app/views/shared/authors'); $view->page_title = 'Team - The Horde Project'; $view->gravatar = new Horde_Service_Gravatar(); $template = 'team'; break; case 'mail': $view->page_title = 'Mailing Lists - The Horde Project'; $view->lists = HordeWeb_Utils::getLists(); $template = 'mail'; break; case 'localization': case 'support': case 'documentation': case 'licenses': case 'papers': $view->page_title = ucfirst($this->_matchDict->action) . ' - The Horde Project'; $template = $this->_matchDict->action; break; default: $this->_notFound($response); return; } $layout = $this->getInjector()->getInstance('Horde_Core_Ui_Layout'); $layout->setView($view); $layout->setLayoutName('main'); $response->setBody($layout->render($template)); }
<div class="content"> <div class="main"> <div class="mainareasplit"> <h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller, array('CVS' => 'cvs')); ?> </h2> <?php echo $this->render('developmentnav'); ?> <div class="section"> <div class="sectionintro"> <p>Horde now uses Git for all new development, however Horde 3 code continues to live in the CVS repository. All NEW development should be done against Git code, with CVS code only being used for bug and security fixes.</p> <p>You can use the Horde CVS repository as an anonymous user, or as a developer.</p> <p>You will need a CVS client, if you don't already have one. CVS should be installed with most modern Linux distributions, easily available on *BSD systems, and there are clients for Win32, MacOS, and GUI clients for the Unices. A number of them are available at <a href="http://web.horde.ws/nongnu.org/cvs/">http://www.nongnu.org/cvs/</a>.</p> <p>These command lines should be the bare-bones needed to get you started with Horde and CVS; this is not a CVS tutorial, however. The standard CVS documentation is available <a href="http://web.horde.ws/nongnu.org/cvs/">here</a>, and there are many HOWTOs available on the web.</p>
<table border="0"> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('sesha', 'sesha1'); ?> <br /> Adding a new property </td> </tr> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('sesha', 'sesha2-addinventory'); ?> <br /> Adding an item to the inventory </td> </tr> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('sesha', 'sesha3-viewinventory'); ?> <br /> Gallery View </td> </tr> </table>
<h3>IMP 6 Basic View</h3> <table> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('imp', '6/imp6_basic', true); ?> <br /> Main (Mailbox) View </td> </table> <h3>IMP 6 Minimal View</h3> <table> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('imp', '6/imp6_minimal', true); ?> <br /> Main (Mailbox) View </td> </table> <p> <strong><a href="<?php echo $this->urlWriter->urlFor('app', array('action' => 'screenshots_old', 'app' => 'imp')); ?> ">Screenshots from older versions</a></strong> </p>
<div class="content"> <div class="main"> <div class="mainareasplit"> <h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller, array('Versions' => 'versions')); ?> </h2> <?php echo $this->render('developmentnav'); ?> <div class="section"> <div class="sectionintro"> <p>There are a number of different versions of Horde applications and the Horde Framework that have been made available at one time or another. Here we'll try and keep track of which versions of which applications work with each other and with which versions of Horde. We'll list versions of Horde, and then the application versions which work with them.</p> </div> <h3>Horde 5.x</h3> <ul> <li>IMP H5 (6.x)</li> <li>Turba H5 (4.x)</li> <li>Ingo H5 (3.x)</li> <li>Kronolith H5 (4.x)</li> <li>Nag H5 (4.x)</li> <li>Mnemo H5 (4.x)</li> <li>Sesha H5 (1.x)</li> </ul>
<td><?php echo HordeWeb_Utils::logoImg('horde-badge.gif'); ?> </td> <td><?php echo HordeWeb_Utils::logoImg('horde-badge.png'); ?> </td> </tr> </table> <br /> <h3>Black and White Horde logo:</h3> <p><?php HordeWeb_Utils::logoImg('horde-bw.gif'); ?> <br /> (<a href="<?php echo $GLOBALS['host_base']; ?> /images/logos/horde-bw.tif">TIFF</a>, <a href="<?php echo $GLOBALS['host_base']; ?> /images/logos/horde-bw.ai">Adobe Illustrator</a>, <a href="<?php echo $GLOBALS['host_base']; ?> /images/logos/horde-bw.svg">SVG</a>, <a href="<?php
with a number of other Horde applications.</p> <!-- <h3><a href="<?php echo $this->urlWriter->urlFor('app', array('app' => 'klutz')); ?> ">Klutz</a></h3> <p>Klutz is a comic strip aggregator and viewer. It lets you browse comic strips by date or by strip. Features include automatic updating of comics, and various methods for obtaining the strips.</p> --> <h3><a href="<?php echo $this->urlWriter->urlFor('app', array('app' => 'wicked')); ?> ">Wicked</a> <?php echo HordeWeb_Utils::downloadIcon($this, 'wicked'); ?> </h3> <p>Wicked is a Wiki for the Horde framework supporting several wiki markup dialects. Wicked is also powering the official <a href="http://wiki.horde.org">Horde Wiki</a>.</p> </div> </div> <div class="rightcol" style="background: none;"> <?php echo $this->render('toc'); ?> <?php echo $this->render('releasedAppsList'); ?> <?php
<div class="content"> <div class="main"> <div class="mainareasplit"> <h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller, array('LGPL' => 'lgpl')); ?> </h2> <div class="section"> <em>Original:</em> <a href="http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html">http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html</a><br /><pre> <?php echo htmlentities(implode('', $this->license)); ?> </div> </div> <div class="rightcol" style="background: none;"><?php echo $this->render('sponsors'); ?> </div> <div class="clear"></div> </div> </div>
<li> <a href="<?php echo $entry->link() == '' ? 'http://www.horde.org' : HordeWeb_Utils::wrapLink($entry->link()); ?> "><?php echo $entry->title(); ?> </a> <div class="description"><?php echo Horde_String::truncate(strip_tags($entry->description()), 180); ?> </div> </li>
echo HordeWeb_Utils::sslink('kronolith', '2/view', true); ?> <br /> Event View </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('kronolith', '2/edit', true); ?> <br /> Editing an event </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('kronolith', '2/invite', true); ?> <br /> Inviting people to an event </td> </tr> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('kronolith', '2/mouseover', true); ?> <br /> Event descriptions mouseover </td> </tr> </table>
<div class="content"> <div class="main"> <div class="mainareasplit"> <h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller, array('Support' => 'support')); ?> </h2> <?php echo $this->render('communitynav'); ?> <div class="section"> <div class="sectionintro"> <p>Just like the development of the Horde Project is a community and volunteer effort, so is the support. Effort is made to provide the right tools to efficiently help you with the resources available. Please use these tools fully and intelligently.</p> <p>If you require support that is unable to be obtained via the community channels, please check out our professional support options.</p> </div> <h2><span> </span>Resources</h2> <div class="warning"><p>Please be careful not to have unreasonable expectations: you cannot demand your questions to be answered, bugs to be fixed or features implemented. If you require service or delivery guarantees please consider hiring a <em>paid</em> <a href="consulting/">consultancy</a>.</p></div> <h3>FAQ</h3> <p>As a starting point, please read the <a href="http://wiki.horde.org/FAQ">Horde FAQ</a>. It is constantly updated from all the other sources with the most frequently asked
<h3>Gollem H3 (1.0)</h3> <table cellspacing="10"> <tr valign="bottom"> <td align="center"><?php echo HordeWeb_Utils::sslink('gollem', 'gollem_1_0', true); ?> <br /> Manager Screen </td> </tr> </table>
</td> </tr> </table> <h3>IMP 5 Mobile Views</h3> <table> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('imp', '5/imp5_5', true); ?> <br /> Folders list </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('imp', '5/imp5_6', true); ?> <br /> Mailbox view </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('imp', '5/imp5_7', true); ?> <br /> Message view </td> </tr> </table>
<h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller); ?> </h2>
HordeWeb_Utils::fimg('es'); ?> Spanish</li> <li><?php HordeWeb_Utils::fimg('se'); ?> Swedish</li> <li><?php HordeWeb_Utils::fimg('th'); ?> Thai</li> <li><?php HordeWeb_Utils::fimg('tr'); ?> Turkish</li> <li><?php HordeWeb_Utils::fimg('ua'); ?> Ukrainian</li> </ul> </div> </div> <div class="rightcol" style="background: none;"> <?php echo $this->render('sponsors'); ?> </div> <div class="clear"></div> </div> </div>
<div class="content"> <div class="main"> <div class="mainareasplit"> <h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller, array('Mailing Lists' => 'mail')); ?> </h2> <?php echo $this->render('communitynav'); ?> <div class="section"> <!-- SiteSearch Google --> <table align="right" cellspacing="0" cellpadding="0" style="margin-left:10px"><tr><td> <div class="note"> <form method="get" action="http://www.google.com/search"> <input type="hidden" name="ie" value="UTF-8" /> <input type="hidden" name="oe" value="UTF-8" /> <input type="hidden" name="sitesearch" value="http://lists.horde.org" /> <input type="hidden" name="domains" value="http://lists.horde.org" /> <p>Search all mailing lists:<br /> <a href="http://www.google.com/"><img src="//www.google.com/logos/Logo_25wht.gif" align="middle" alt="Google" /></a> <input type="text" name="q" size="20" maxlength="255" value="" /> <input type="submit" name="btnG" value="Search" /> </p> </form> </div> </td></tr></table> <!-- SiteSearch Google --> <p>These are the current Horde-related mailing lists. <b>You must be subscribed to post to any of them.</b> To subscribe either send an empty email
?> <br /> Lightbox View </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('ansel', '2/externalwebsite'); ?> <br /> Ansel Gallery View Driving External Website </td> </tr> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('ansel', '2/uploader'); ?> <br /> New Uploader </td> </tr> </table> <h3>Ansel H3 (1.0)</h3> <table cellspacing="10"> <tr valign="bottom"> <td align="center"><a href="polaroidgallery.jpg"> <img src="<?php echo $GLOBALS['host_base']; ?> /images/screenshots/ansel/polaroidgallery_thumb.jpg" alt="Polaroid Style Galleries" border="0"></a><br /> Polaroid Style Gallery List
<td align="center"> <?php echo HordeWeb_Utils::sslink('hermes', 'hermes3', true, 'Time Edit Form'); ?> </td> </tr> <tr valign="bottom"> <td align="center"> <?php echo HordeWeb_Utils::sslink('hermes', 'hermes4', true, 'Week Navigator'); ?> </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('hermes', 'hermes5', true, 'Timesheet Submission'); ?> </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('hermes', 'hermes6', true, 'Time Export'); ?> </td> </tr> <tr valign="bottom"> <td align="center"> <?php echo HordeWeb_Utils::sslink('hermes', 'hermes7', true, 'Time Admin'); ?> </td> </table>
<h3>Forwards H3 (3.0)</h3> <?php echo HordeWeb_Utils::sslink('forwards', 'forwards3');
<div class="content"> <div class="main"> <div class="mainareasplit"> <h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller, array('Team' => 'team')); ?> </h2> <?php echo $this->render('communitynav'); ?> <div class="section"> <?php echo $this->render('Jan_Schneider'); echo $this->render('Michael_Rubinsky'); echo $this->render('Chuck_Hagenbuch'); echo $this->render('Ralf_Lang'); ?> <br /> <h2><span> </span>Retired Developers</h2> <?php echo $this->render('Michael_Slusarz'); echo $this->render('Ben_Klang'); echo $this->render('Gunnar_Wrobel'); echo $this->render('Matt_Selsky'); echo $this->render('Jon_Parise'); echo $this->render('Eric_Rostetter'); echo $this->render('Marcus_Ryan'); echo $this->render('Anil_Madhavapeddy'); echo $this->render('Rich_Lafferty'); ?> </div>
<h3>Nag 4.0</h3> <table border="0"> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('nag', '4/list', true); ?> <br /> Task List </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('nag', '4/form', true); ?> <br /> Task Form </td> </tr> <tr> <td align="center"> <?php echo HordeWeb_Utils::sslink('nag', '4/search', true); ?> <br /> Search Form </td> </tr> </table>
public function cvs_and_ver($module) { $stable = HordeWeb_Utils::getH3Apps($module); $dev = HordeWeb_Utils::getDevApps($module); return '<td style="white-space: nowrap"><a href="http://git.horde.org/horde/-/browse/' . htmlspecialchars($module) . '/">' . htmlspecialchars($module) . '</a>' . '</td><td>' . ($stable ? htmlspecialchars($stable['version']) : ($dev && substr($dev['version'], 0, 2) == 'H3' ? htmlspecialchars($dev['version']) : ' ')) . '</td>'; }
<div class="content"> <div class="main"> <div class="mainareasplit"> <h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller, array('Documentation' => 'documentation')); ?> </h2> <?php echo $this->render('communitynav'); ?> <div class="section"> <?php echo $this->render('docs'); ?> </div> </div> <div class="rightcol" style="background: none;"><?php echo $this->render('sponsors'); ?> </div> <div class="clear"></div> </div> </div>
</td> </tr> <tr valign="bottom"> <td align="center"><?php echo HordeWeb_Utils::sslink('webmail', '1/ingo_1_0', true, 'Filters'); ?> </td> <td align="center"><?php echo HordeWeb_Utils::sslink('groupware', '1/kronolith_1_0', true, 'Calendar'); ?> </td> </tr> <tr valign="bottom"> <td align="center"><?php echo HordeWeb_Utils::sslink('groupware', '1/turba_1_0', true, 'Contacts'); ?> </td> <td align="center"><?php echo HordeWeb_Utils::sslink('groupware', '1/nag_1_0', true, 'Tasks'); ?> </td> </tr> <tr valign="bottom"> <td align="center"><?php echo HordeWeb_Utils::sslink('groupware', '1/mnemo_1_0', true, 'Notes'); ?> </td> <td align="center"> </td> </tr> </table>
<?php require_once dirname(__FILE__) . '/app/lib/base.php'; $horde_apps_stable = HordeWeb_Utils::getStableApps(); header('Content-Type: text/xml'); echo '<?xml version="1.0"?>'; ?> <versions> <stable> <?php foreach ($horde_apps_stable as $info) { ?> <application name="<?php echo $info['application']; ?> "> <version><?php echo $info['version']; ?> </version> <url><?php echo htmlspecialchars(HordeWeb_Utils::app_download_url($info['application'], $info)); ?> </url> </application> <?php } ?> </stable> </versions>
<div class="content"> <div class="main"> <div class="mainareasplit"> <h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller, array('Contribute' => 'contribute')); ?> </h2> <?php echo $this->render('developmentnav'); ?> <div class="section"> <div class="sectionintro"> <p>There are several ways you can contributing to Horde. We are always looking for new poeple to help and not only in programming. There are plenty of important tasks that don't involve writing or maintaining code, such as documentation or localization.</p> </div> <h3>Getting Started</h3> <p>As first steps you should:</p> <ol> <li><strong>Get the code.</strong><br /> <?php echo $this->linkTo('Clone the git repository.', array('controller' => 'development', 'action' => 'git')); ?> <strong>All</strong> new development is done out of our Git repository. It is important to remember to always use git for new features. </li> <li><strong>Find a bug to solve or a feature to implement.
<div class="content"> <div class="main"> <div class="mainareasplit"> <h2><span> </span><?php echo HordeWeb_Utils::breadcrumbs($this->controller, array('Licenses' => 'licenses')); ?> </h2> <?php echo $this->render('developmentnav'); ?> <div class="section"> <?php echo $this->render('applicenses'); ?> </div> </div> <div class="rightcol" style="background: none;"><?php echo $this->render('sponsors'); ?> </div> <div class="clear"></div> </div> </div>
echo HordeWeb_Utils::sslink('ingo', '1/blacklist', true); ?> <br /> Blacklist Screen </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('ingo', '1/whitelist', true); ?> <br /> Whitelist Screen </td> </tr> <tr valign="bottom"> <td align="center"> <?php echo HordeWeb_Utils::sslink('ingo', '1/procmail', true); ?> <br /> Procmail Script </td> <td align="center"> <?php echo HordeWeb_Utils::sslink('ingo', '1/sieve', true); ?> <br /> Sieve Script </td> </tr> </table>