Plugin Directory

Changeset 1290616


Ignore:
Timestamp:
11/20/2015 10:49:36 AM (10 years ago)
Author:
vEnCa-X
Message:

Tested up to: 4.4
Fix save widget

Location:
rajce/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • rajce/trunk/WPFW/Forms/Form.php

    r1073525 r1290616  
    8888    public function __toString()
    8989    {
    90         $s = "<form action=\"" . esc_url( $_SERVER['REQUEST_URI'] ) . "\" method=\"post\">";
     90        $s = "";
    9191
    9292        foreach( $this->getGroups() as $group )
     
    105105            $s .= $control->getControl();
    106106        }
    107         $s .= "</form>";
     107        //$s .= "</form>";
    108108
    109109        return $s;
  • rajce/trunk/includes/rajce_widget.php

    r1073525 r1290616  
    120120        $form = new Form();
    121121        $form->addGroup('Povinné Informace o galerii');
    122         $form->addText( $this->get_field_id( "rajce_title" ), $this->get_field_name( "rajce_title" ), "Titulek boxu:" )->setValue( $rajce_title );
    123         $form->addText( $this->get_field_id( "rajce_url" ), $this->get_field_name( "rajce_url" ), "Adresa galerie:" )->setValue( $rajce_url );
     122        $form->addText( $this->get_field_id( "rajce_title" ), $this->get_field_name( "rajce_title" ), "Titulek widgetu:" )->setValue( $rajce_title );
     123        $form->addText( $this->get_field_id( "rajce_url" ), $this->get_field_name( "rajce_url" ), "URL adresa galerie:" )->setValue( $rajce_url );
    124124        $form->addText( $this->get_field_id( "rajce_count_gallery" ), $this->get_field_name( "rajce_count_gallery" ), "Počet alb:" )->setValue( $rajce_count_gallery );
    125125        $form->addGroup('Volitelné funkce');
  • rajce/trunk/rajce.php

    r1073525 r1290616  
    55 * Plugin URI:        http://www.venca-x.cz
    66 * Description:       Plugin pro zobrazení galerií z http://www.rajce.idnes.cz
    7  * Version:           0.0.1
     7 * Version:           0.0.2
    88 * Author:            vEnCa-X
    99 * Author URI:        http://www.venca-x.cz
  • rajce/trunk/readme.txt

    r1215848 r1290616  
    1 === rajce ===
     1=== rajce ===
    22Contributors: vEnCa-X
    33Donate link: http://www.venca-x.cz
    44Tags: Rajče, fotogalerie
    55Requires at least: 4.0
    6 Tested up to: 4.3
     6Tested up to: 4.4
    77Stable tag: /trunk/
    88License: GPLv2 or later
     
    3838* First version
    3939
     40= 0.2 =
     41* Fix saving widget
     42
    4043
    4144== Upgrade notice ==
Note: See TracChangeset for help on using the changeset viewer.