/[drupal]/contributions/modules/flickrstickr/flickrstickr.module
ViewVC logotype

Diff of /contributions/modules/flickrstickr/flickrstickr.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.22, Mon Jan 22 10:16:01 2007 UTC revision 1.23, Mon Jan 22 10:46:12 2007 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: flickrstickr.module,v 1.21 2006/12/17 18:26:51 aronnovak Exp $  // $Id: flickrstickr.module,v 1.22 2007/01/22 10:16:01 aronnovak Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 156  function flickrstickr_user($type, & $edi Line 156  function flickrstickr_user($type, & $edi
156                                                             '#description' => t('TODO'),                                                             '#description' => t('TODO'),
157                                                             '#required' => TRUE);*/                                                             '#required' => TRUE);*/
158    
     //$form['flickrstickr']['flickrstickr_size']= array ('#type' => 'select', '#title' => t('Image size'), '#default_value' => $flickrstickr['size'], '#options' => $options_size, '#description' => t('The Flickr image size inserted into your post..'), '#required' => TRUE);  
159      if (flickrstickr_isdrupal47()) {      if (flickrstickr_isdrupal47()) {
160        return $form;        return $form;
161      }      }
# Line 229  function _flickrstickr_htmlpart() { Line 228  function _flickrstickr_htmlpart() {
228    $ret .= '</table>';    $ret .= '</table>';
229    $ret .= '</div>';    $ret .= '</div>';
230    $ret .= '<p id="flickrsettings">';    $ret .= '<p id="flickrsettings">';
231    $ret .= t('User') .': <input id="flickrstickr_user" type="text" name="user" value="'. $flickrstickr['username'] .'" />';    $ret .= t('User') .': <input id="flickrstickr_user" type="text" name="user" value="'. $flickrstickr['username'] .'" onkeypress="return handleEnter()" />';
232    $ret .= t('Tag') .': <input id="flickrstickr_tag" type="text" name="tag" />';    $ret .= t('Tag') .': <input id="flickrstickr_tag" type="text" name="tag"  onkeypress="return handleEnter()" />';
233    // If you want to add a new size, just add a new element to this array. (but this should be put into settings?)    // If you want to add a new size, just add a new element to this array. (but this should be put into settings?)
234    $options_size = array('|200' => t('Default'),    $options_size = array('|200' => t('Default'),
235                          '|100' => t('Thumbnail'),                          '|100' => t('Thumbnail'),

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.2