diff options
Diffstat (limited to 'modules/tag')
| -rw-r--r-- | modules/tag/helpers/tags.php | 29 | ||||
| -rw-r--r-- | modules/tag/views/tags_block.html.php | 46 | 
2 files changed, 75 insertions, 0 deletions
diff --git a/modules/tag/helpers/tags.php b/modules/tag/helpers/tags.php new file mode 100644 index 00000000..7b942c6c --- /dev/null +++ b/modules/tag/helpers/tags.php @@ -0,0 +1,29 @@ +<?php defined("SYSPATH") or die("No direct script access."); +/** + * Gallery - a web based photo album viewer and editor + * Copyright (C) 2000-2008 Bharat Mediratta + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA  02110-1301, USA. + */ + +class Tags_Core { +  public static function block($theme) { +    $block = new Block(); +    $block->id = "gTags"; +    $block->title = _("Tags"); +    $block->content = new View("tags_block.html"); +    return $block; +  } +}
\ No newline at end of file diff --git a/modules/tag/views/tags_block.html.php b/modules/tag/views/tags_block.html.php new file mode 100644 index 00000000..f23874ff --- /dev/null +++ b/modules/tag/views/tags_block.html.php @@ -0,0 +1,46 @@ +<? defined("SYSPATH") or die("No direct script access."); ?> +<ul> +  <li><a href="#" class="m size0">animation</a></li> +  <li><a href="#" class="m size0">art</a></li> +  <li><a href="#" class="m size1">blind</a></li> +  <li><a href="#" class="m size3">blog</a></li> +  <li><a href="#" class="m size1">bug-tracker</a></li> +  <li><a href="#" class="m size2">bugs20</a></li> +  <li><a href="#" class="m size0">canvas</a></li> +  <li><a href="#" class="m size0">classification</a></li> +  <li><a href="#" class="m size4">cocktail</a></li> +  <li><a href="#" class="m size0">exhibtion</a></li> +  <li><a href="#" class="m size0">forum</a></li> +  <li><a href="#" class="m size1">geo-tagging</a></li> +  <li><a href="#" class="m size0">german</a></li> +  <li><a href="#" class="m size0">germany</a></li> +  <li><a href="#" class="m size0">gl?ser</a></li> +  <li><a href="#" class="m size0">graffiti</a></li> +  <li><a href="#" class="m size0">illustration</a></li> +  <li><a href="#" class="m size0">ITP</a></li> +  <li><a href="#" class="m size0">javascript</a></li> +  <li><a href="#" class="m size0">miami</a></li> +  <li><a href="#" class="m size0">miknow</a></li> +  <li><a href="#" class="m size0">nyc</a></li> +  <li><a href="#" class="m size0">NYU</a></li> +  <li><a href="#" class="m size0">ontology</a></li> +  <li><a href="#" class="m size0">open-source</a></li> +  <li><a href="#" class="m size0">project</a></li> +  <li><a href="#" class="m size0">school-of-information</a></li> +  <li><a href="#" class="m size0">screenshot</a></li> +  <li><a href="#" class="m size0">shiftspace</a></li> +  <li><a href="#" class="m size0">shop</a></li> +  <li><a href="#" class="m size0">tagging</a></li> +  <li><a href="#" class="m size2">talkingpoints</a></li> +  <li><a href="#" class="m size0">university-of-michigan</a></li> +  <li><a href="#" class="m size1">usability</a></li> +  <li><a href="#" class="m size0">writing</a></li> +</ul> + +<form id="gAddTag"> +  <ul class="gInline"> +    <li><input type="text" class="text" value="add new tags..." id="gNewTags" /></li> +    <li class="gNoLabels"><input type="submit" value="add" /></li> +  </ul> +  <label for="gNewTags" class="gUnderState">(separated by commas)</label> +</form>  | 
