Changeset 17423


Ignore:
Timestamp:
08/06/12 10:55:13 (7 years ago)
Author:
mistic100
Message:

fix typo in maintain, add option to create an album when adding a video

Location:
extensions/gvideo
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/gvideo/admin/template/add.tpl

    r17383 r17423  
    11{combine_css path=$GVIDEO_PATH|@cat:"admin/template/style.css"} 
     2{include file='include/colorbox.inc.tpl'} 
     3{include file='include/add_album.inc.tpl'} 
    24 
    35{footer_script}{literal} 
     
    2628      <label> 
    2729        <span class="property">{'Album'|@translate}</span> 
    28         <select name="category" size="1"> 
     30        <select style="width:400px" name="category" id="albumSelect" size="1"> 
    2931          {html_options options=$category_parent_options selected=$POST.category} 
    3032        </select> 
    3133      </label> 
     34      {'... or '|@translate}<a href="#" class="addAlbumOpen" title="{'create a new album'|@translate}">{'create a new album'|@translate}</a> 
    3235    </li> 
    3336    <li> 
    3437      <label> 
    3538        <span class="property">{'Video URL'|@translate}</span> 
    36         <input type="text" name="url" value="{$POST.url}" size="70"> 
     39        <input type="text" name="url" value="{$POST.url}" style="width:400px"> 
    3740      </label> 
    3841    </li> 
  • extensions/gvideo/maintain.inc.php

    r17383 r17423  
    44global $prefixeTable; 
    55 
    6 define('gvideo_path', PHPWG_PLUGINS_PATH . basename(dirname(__FILE__))); 
     6define('gvideo_path', PHPWG_PLUGINS_PATH . basename(dirname(__FILE__)) . '/'); 
    77define('gvideo_table', $prefixeTable.'image_video'); 
    88 
     
    4646  `width` smallint(9) DEFAULT NULL, 
    4747  `height` smallint(9) DEFAULT NULL, 
    48   `autoplay` tinyint(1) DEFAULT NULL, 
     48  `autoplay` tinyint(1) DEFAULT NULL 
    4949) ENGINE=MyISAM DEFAULT CHARSET=utf8 
    5050;'; 
Note: See TracChangeset for help on using the changeset viewer.