Exemple #1
0
 *  You should have received a copy of the GNU Affero General Public License
 *  along with Goteo.  If not, see <http://www.gnu.org/licenses/agpl.txt>.
 *
 */

use Goteo\Model\Category,
    Goteo\Model\Skill,
    Goteo\Model\Icon,
    Goteo\Library\Location,
    Goteo\Library\Text;

$categories = Category::getList();  // categorias que se usan en proyectos
$locations = Location::getList();  //localizaciones de royectos
$rewards = Icon::getList(); // iconos que se usan en proyectos

$skills = Skill::getList(); // スキル取得

$params = $this['params'];
?>
<div class="widget searcher">
    <form method="post" action="/discover/results">
        <div class="text-filter">
            <label for="text-query"><?php echo Text::get('discover-searcher-bycontent-header'); ?></label>
            <input type="text" id="text-query" name="query" size="48" value="<?php echo \htmlspecialchars($params['query']); ?>" />
            <br clear="all" />
        </div>

        <div class="filter">
            <label for="skills"><?php echo Text::get('discover-searcher-byskill-header'); ?></label>
            <select id="skills" name="skills[]" multiple size="10">
                <option class="all" value="all"<?php if (empty($params['skills'])) echo ' selected="selected"'; ?>><?php echo Text::get('discover-searcher-bycategory-all'); ?></option>
Exemple #2
0
 public function get_skill_list()
 {
     $this->result[] = \Goteo\Model\Skill::getList();
     return $this->output();
 }
Exemple #3
0
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Affero General Public License for more details.
 *
 *  You should have received a copy of the GNU Affero General Public License
 *  along with Goteo.  If not, see <http://www.gnu.org/licenses/agpl.txt>.
 *
 */
use Goteo\Model\Category, Goteo\Model\Skill, Goteo\Model\Icon, Goteo\Library\Location, Goteo\Library\Text;
$categories = Category::getList();
// categorias que se usan en proyectos
$locations = Location::getList();
//localizaciones de royectos
$rewards = Icon::getList();
// iconos que se usan en proyectos
$skills = Skill::getList();
// スキル取得
$params = $this['params'];
//var_dump($locations);
//exit;
?>
<div class="widget searcher">
    <form method="post" action="/discover/results">
        <div class="text-filter">
            <label for="text-query"><?php 
echo Text::get('discover-searcher-bycontent-header');
?>
</label>
            <input type="text" id="text-query" name="query" size="48" value="<?php 
echo \htmlspecialchars($params['query']);
?>