View of /trunk/www/admin/toolbar.xml.php
Parent Directory
|
Revision Log
Revision 2 -
(download)
(annotate)
Mon Apr 27 11:15:17 2009 UTC (4 years, 1 month ago) by andphe
File size: 2136 byte(s)
Mon Apr 27 11:15:17 2009 UTC (4 years, 1 month ago) by andphe
File size: 2136 byte(s)
+ adding first files for version control
<?php //zOOm Media Gallery// /** ----------------------------------------------------------------------- | zOOm Media Gallery! by Mike de Boer - a multi-gallery component | ----------------------------------------------------------------------- ----------------------------------------------------------------------- | | | Author: Mike de Boer, <http://www.mikedeboer.nl> | | Copyright: copyright (C) 2007 by Mike de Boer | | Description: zOOm Media Gallery, a multi-gallery component for | | Joomla!. It's the most feature-rich gallery component | | for Joomla!! For documentation and a detailed list | | of features, check the zOOm homepage: | | http://www.zoomfactory.org | | License: GPL | | Filename: toolbar.xml.php | | | ----------------------------------------------------------------------- * @version $Id:toolbar.xml.php 106 2007-02-10 22:30:30Z kevinuru $ * @package zOOmGallery * @author Mike de Boer <mailme@mikedeboer.nl> **/ class XML_toolbar { function buildToolbar($buttons) { ?> <toolbar> <?php foreach ($buttons as $button) { XML_toolbar::newButton($button); } ?> </toolbar> <?php } function newButton($type) { global $zoom; if ($type == "edtimg") { $caption = constant("_ZOOM_BUTTON_EDIT"); } else if ($type == "move") { $caption = constant("_ZOOM_MOVEFILES"); } else { $caption = constant("_ZOOM_".strtoupper($type)); } $caption = str_replace('&','&',$caption); if (!empty($caption)) { ?> <button type="<?php echo $type; ?>" caption="<?php echo $caption; ?>"></button> <?php } } } ?>
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

