From: <pi...@us...> - 2009-12-03 00:48:18
|
Revision: 23640 http://tikiwiki.svn.sourceforge.net/tikiwiki/?rev=23640&view=rev Author: pingus Date: 2009-12-03 00:48:07 +0000 (Thu, 03 Dec 2009) Log Message: ----------- [FIX] Did just upload the wrong one Modified Paths: -------------- mods/trunk/features/aulawiki/templates/tiki-workspaces_resource_types.tpl Modified: mods/trunk/features/aulawiki/templates/tiki-workspaces_resource_types.tpl =================================================================== --- mods/trunk/features/aulawiki/templates/tiki-workspaces_resource_types.tpl 2009-12-02 23:56:18 UTC (rev 23639) +++ mods/trunk/features/aulawiki/templates/tiki-workspaces_resource_types.tpl 2009-12-03 00:48:07 UTC (rev 23640) @@ -4,43 +4,6 @@ @copyright (C) 2006 Javier Reyes Gomez (eScire.com) @license http://www.gnu.org/copyleft/lgpl.html GNU/LGPL *} -{php} - global $smarty; - $listValues = $smarty->get_template_vars("listValues"); - $value = $smarty->get_template_vars("value"); - - $types = array( - "blog" => array(name=>"Blog",selected=>""), - "calendar" => array(name=>"Calendar",selected=>""), - "category" => array(name=>"Category",selected=>""), - "faq" => array(name=>"FAQs",selected=>""), - "file gallery" => array(name=>"File Gallery",selected=>""), - "forum" => array(name=>"Forum",selected=>""), - "image gallery" => array(name=>"Image Gallery",selected=>""), - "quiz" => array(name=>"Quizze",selected=>""), - "structure" => array(name=>"Structure",selected=>""), - "sheet" => array(name=>"Sheet",selected=>""), - "survey" => array(name=>"Survey",selected=>""), - "tracker" => array(name=>"Tracker",selected=>""), - "wiki page" => array(name=>"Wiki Page",selected=>"") - ); - /* - "assignments" => array(name=>"Assignments",selected=>""), - "article" => array(name=>"Article",selected=>""), - "poll" => array(name=>"Poll",selected=>""), - "survey" => array(name=>"Survey",selected=>""), - "tracker" => array(name=>"Tracker",selected=>""), - */ - if (isset($listValues) && $listValues!=""){ - foreach ($listValues as $key => $value) { - $types[$value]["selected"]="selected"; - } - }elseif (isset($value) && isset($types[$value])){ - $types[$value]["selected"]="selected"; - } - $smarty->assign('types', $types); -{/php} - {if $showlabel=="true"}<label for="{if $listName}{$listName}{else}createObjectType{/if}">{tr}Object type:{/tr}</label>{/if} <select name="{if $listName}{$listName}{else}createObjectType{/if}{if $multiple=="true"}[]{/if}" id="{if $listName}{$listName}{else}createObjectType{/if}" {if $multiple=="true"}multiple{/if} {if $listsize && $multiple=="true"}size="{$listsize}"{/if}> {foreach key=key item=type from=$types} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |