From: <txm...@us...> - 2012-06-16 09:32:34
|
Revision: 9653 http://xoops.svn.sourceforge.net/xoops/?rev=9653&view=rev Author: txmodxoops Date: 2012-06-16 09:32:27 +0000 (Sat, 16 Jun 2012) Log Message: ----------- Updated Modified Paths: -------------- XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/delete_events.php XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/events.php XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/index.php XoopsModules/fullcalendar/releases/1.01/fullcalendar/class/fullcalendar_events.php XoopsModules/fullcalendar/releases/1.01/fullcalendar/include/functions.php XoopsModules/fullcalendar/releases/1.01/fullcalendar/index.php XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/english/admin.php XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/english/modinfo.php XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/italian/admin.php XoopsModules/fullcalendar/releases/1.01/fullcalendar/sql/mysql.sql XoopsModules/fullcalendar/releases/1.01/fullcalendar/xoops_version.php Added Paths: ----------- XoopsModules/fullcalendar/releases/1.01/fullcalendar/style.css Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/delete_events.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/delete_events.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/delete_events.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -64,36 +64,57 @@ break; case "confirmbeforetoprune": - $events = $eventsHandler->get($_GET['event_id']); + $events = $eventsHandler->get($_GET['event_id']); + $eventlist = ''; + if(isset($_POST['pruned_events'])) { + $eventlist = implode(',',$_POST['pruned_events']); + } + $expired = 0; if(isset($_POST['onlyexpired'])) { $expired = intval($_POST['onlyexpired']); - } + } $criteria = new CriteriaCompo(); $criteria->add(new Criteria("event_id", $_GET['event_id'])); $criteria->add(new Criteria("event_end", $_GET['event_end'])); $count = $eventsHandler->getCount($criteria); $date = $_POST['prune_date']; - $timestamp = mktime(0,0,0,intval(substr($date,5,2)), intval(substr($date,8,2)), intval(substr($date,0,4))); + $timestamp = mktime( 0, 0, 0, intval(substr($date, 5, 2)), intval(substr($date, 8, 2)), intval(substr($date, 0, 4))); if($count) { $displaydate = formatTimestamp($timestamp); $msg = sprintf(_AM_FULLCALENDAR_PRUNE_CONFIRM, $displaydate, $count); - xoops_confirm(array( 'op' => 'delete_allevents', "event_id" => $_REQUEST["event_id"], 'prune_date' => $timestamp, 'ok' => 1), 'delete_events.php', $msg); - } else { - printf(_AM_FULLCALENDAR_NOTHING_PRUNE); + xoops_confirm(array( 'op' => 'delete_allevents', "event_id" => $_REQUEST["event_id"], 'expired' => $expired, 'pruned_events' => $eventlist, 'prune_date' => $timestamp, 'ok' => 1), 'delete_events.php', $msg); } - unset($story); + unset($events); break; - case "delete_allevents": + case "delete_allevents": + $events = $eventsHandler->get($_GET['event_id']); + $timestamp = intval($_POST['prune_date']); + $expired = intval($_POST['expired']); + $criteria = new CriteriaCompo(new Criteria("event_id", $_GET['event_id'])); + $eventlist = $eventsHandler->getAll($criteria); + if(isset($_POST['pruned_events'])) { + $eventlist=$_POST['pruned_events']; + } if( intval($_POST['ok']) == 1 ) { - $criteria = new CriteriaCompo(); - $criteria->add(new Criteria("event_id", 0, '>')); + $criteria = new CriteriaCompo(new Criteria("event_id", 0, '>')); $criteria->add(new Criteria("event_end", $_GET['event_end'])); $count = $eventsHandler->getCount($criteria); $msg = sprintf(_AM_FULLCALENDAR_PRUNE_DELETED,$count); - - redirect_header( 'delete_events.php', 3, $msg); - } + $events->DeleteBeforeDate($timestamp, $expired, $eventlist); + + if (isset($_REQUEST["ok"]) && $_REQUEST["ok"] == 1) { + if ( !$GLOBALS["xoopsSecurity"]->check() ) { + redirect_header("events.php", 3, implode(",", $GLOBALS["xoopsSecurity"]->getErrors())); + } + if ($eventsHandler->delete($events)) { + redirect_header( 'delete_events.php', 3, $msg); + } else { + echo $obj->getHtmlErrors(); + } + } + unset($events); + } break; } include "admin_footer.php"; Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/events.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/events.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/events.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -74,6 +74,7 @@ <th class='center'>"._AM_FULLCALENDAR_EVENT_DESCRIPTION."</th> <th class='center'>"._AM_FULLCALENDAR_EVENT_START."</th> <th class='center'>"._AM_FULLCALENDAR_EVENT_END."</th> + <th class='center'>"._AM_FULLCALENDAR_EVENT_ALLDAY."</th> <th class='center'>"._AM_FULLCALENDAR_EVENT_WEIGHT."</th> <th class='center'>"._AM_FULLCALENDAR_EVENT_DISPLAY."</th> <th align='center' width='10%'>"._AM_FULLCALENDAR_FORMACTION."</th> @@ -88,8 +89,11 @@ echo "<td class='center'>".$events_arr[$i]->getVar("event_title")."</td>"; echo "<td class='center'>".$events_arr[$i]->getVar("event_description")."</td>"; echo "<td class='center'>".formatTimeStamp($events_arr[$i]->getVar("event_start"))."</td>"; - echo "<td class='center'>".formatTimeStamp($events_arr[$i]->getVar("event_end"))."</td>"; - echo "<td class='center'>".$events_arr[$i]->getVar("event_weight")."</td>"; + echo "<td class='center'>".formatTimeStamp($events_arr[$i]->getVar("event_end"))."</td>"; + $fc_events_allday = $events_arr[$i]->getVar('event_allday'); + $fc_event_allday = ($fc_events_allday == 1) ? _YES : _NO; + echo "<td class='center'>".$fc_event_allday."</td>"; + echo "<td class='center'>".$events_arr[$i]->getVar("event_weight")."</td>"; if ( $events_arr[$i]->getVar("event_display") == 1 ) { echo "<td class='center'><a href='./events.php?op=update_display&event_id=".$i."&event_display=0'><img src='".$pathIcon16."/on.png' border='0' alt='"._AM_FULLCALENDAR_ONLINE."' title='"._AM_FULLCALENDAR_ONLINE."'></a></td>"; @@ -113,6 +117,7 @@ <th class='center'>"._AM_FULLCALENDAR_EVENT_DESCRIPTION."</th> <th class='center'>"._AM_FULLCALENDAR_EVENT_START."</th> <th class='center'>"._AM_FULLCALENDAR_EVENT_END."</th> + <th class='center'>"._AM_FULLCALENDAR_EVENT_ALLDAY."</th> <th class='center'>"._AM_FULLCALENDAR_EVENT_WEIGHT."</th> <th class='center'>"._AM_FULLCALENDAR_EVENT_DISPLAY."</th> <th align='center' width='10%'>"._AM_FULLCALENDAR_FORMACTION."</th> @@ -142,9 +147,11 @@ $obj =& $eventsHandler->create(); } //Form event_display + $verif_event_allday = ($_REQUEST["event_allday"] == 1) ? "1" : "0"; + //Form event_display $verif_event_display = ($_REQUEST["event_display"] == 1) ? "1" : "0"; //Form events - $obj->setVars(array("event_title" => $_POST["event_title"], "event_description" => $_POST["event_description"], "event_start" => fullcalendar_convertDateTime($_POST["event_start"]), "event_end" => fullcalendar_convertDateTime($_POST["event_end"]), "event_weight" => $_POST["event_weight"], "event_display" => $verif_event_display)); + $obj->setVars(array("event_title" => $_POST["event_title"], "event_description" => $_POST["event_description"], "event_start" => fullcalendar_convertDate($_POST["event_start"]), "event_end" => fullcalendar_convertDate($_POST["event_end"]), "event_url" => $_POST["event_url"], "event_allday" => $_POST["event_allday"], "event_weight" => $_POST["event_weight"], "event_display" => $verif_event_display)); if ($eventsHandler->insert($obj)) { redirect_header("events.php?op=list", 2, _AM_FULLCALENDAR_FORMOK); Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/index.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/index.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/admin/index.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -31,11 +31,15 @@ xoops_cp_header(); //count "total events" $count_events = $eventsHandler->getCount(); - $r = '#FF0000'; // Red - $g = '#00AA00'; // Green + //count "total expired events" + $criteria = new CriteriaCompo(new Criteria('event_end', date( _DATESTRING ), '<')); //time() + $count_expired_events = $eventsHandler->getCount($criteria); + $r = '#FF0000'; /* Red */ $g = '#00AA00'; // Green + $expired = ($count_events == 0) && ($count_expired_events == 0); // InfoBox events $adminMenu->addInfoBox(_AM_FULLCALENDAR_EVENTS); - $adminMenu->addInfoBoxLine(_AM_FULLCALENDAR_EVENTS,_AM_FULLCALENDAR_THEREARE_EVENTS, $count_events, ($count_events == 0) ? $r : $g); + $adminMenu->addInfoBoxLine(_AM_FULLCALENDAR_EVENTS,_AM_FULLCALENDAR_THEREARE_EVENTS, $count_events, ($count_events != 0) ? $g : $r); + $adminMenu->addInfoBoxLine(_AM_FULLCALENDAR_EVENTS,_AM_FULLCALENDAR_THEREARE_EXPIRED_EVENTS, $count_events, $expired ? $g : $r ); // Render Index echo $adminMenu->addNavigation("index.php"); echo $adminMenu->renderIndex(); Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/class/fullcalendar_events.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/class/fullcalendar_events.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/class/fullcalendar_events.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -42,6 +42,8 @@ $this->initVar("event_description", XOBJ_DTYPE_TXTAREA, 'Event Description', false); $this->initVar("event_start", XOBJ_DTYPE_LTIME, null, false); $this->initVar("event_end", XOBJ_DTYPE_LTIME, null, false); + $this->initVar("event_url", XOBJ_DTYPE_TXTBOX, 'http://www.txmodxoops.org', false, 255); + $this->initVar("event_allday", XOBJ_DTYPE_INT, '0', false, 1); $this->initVar("event_weight", XOBJ_DTYPE_INT, '0', false, 11); $this->initVar("event_display", XOBJ_DTYPE_INT, '0', false, 1); } @@ -70,34 +72,68 @@ $editor_configs=array(); $editor_configs["name"] ="event_description"; $editor_configs["value"] = $this->getVar("event_description", "e"); - $editor_configs["rows"] = 10; - $editor_configs["cols"] = 80; - $editor_configs["width"] = "100%"; - $editor_configs["height"] = "400px"; + $editor_configs["rows"] = 5; + $editor_configs["cols"] = 50; + $editor_configs["width"] = "50%"; + $editor_configs["height"] = "200px"; $editor_configs["editor"] = $GLOBALS["xoopsModuleConfig"]["fullcalendar_editor"]; $form->addElement( new XoopsFormEditor(_AM_FULLCALENDAR_EVENT_DESCRIPTION, "event_description", $editor_configs), false ); // event_start $form->addElement(new XoopsFormDateTime(_AM_FULLCALENDAR_EVENT_START, "event_start", 15, $this->getVar("event_start")), true); // event_end $form->addElement(new XoopsFormDateTime(_AM_FULLCALENDAR_EVENT_END, "event_end", 15, $this->getVar("event_end")), true); + // event_url + $form->addElement(new XoopsFormText(_AM_FULLCALENDAR_EVENT_URL, "event_url", 50, 255, $this->getVar("event_url")), false); // event_weight $form->addElement(new XoopsFormText(_AM_FULLCALENDAR_EVENT_WEIGHT, "event_weight", 5, 15, $this->getVar("event_weight")), true); - // event_display - $event_display = $this->isNew() ? 0 : $this->getVar("event_display"); - $check_event_display = new XoopsFormCheckBox(_AM_FULLCALENDAR_EVENT_DISPLAY, "event_display", $event_display); - $check_event_display->addOption(1, " "); - $form->addElement($check_event_display); - // event_event + // options_tray + $options_tray = new XoopsFormElementTray(_OPTIONS, '<br />'); + // event_allday + $event_allday = $this->isNew() ? 0 : $this->getVar("event_allday"); + $check_event_allday = new XoopsFormCheckBox(" ", "event_allday", $event_allday); + $check_event_allday->addOption(1, _AM_FULLCALENDAR_EVENT_ALLDAY); + $options_tray->addElement($check_event_allday); + // event_display + $event_display = $this->isNew() ? 0 : $this->getVar("event_display"); + $check_event_display = new XoopsFormCheckBox(" ", "event_display", $event_display); + $check_event_display->addOption(1, _AM_FULLCALENDAR_EVENT_DISPLAY); + $options_tray->addElement($check_event_display); + $form->addElement($options_tray); + + // save_event $form->addElement(new XoopsFormHidden("op", "save_event")); $form->addElement(new XoopsFormButton("", "submit", _SUBMIT, "submit")); return $form; } + + /** + * Delete events that were published before a given date + */ + function DeleteBeforeDate($timestamp, $expired, $eventslist='') + { + global $xoopsModule; + $mid= $xoopsModule->getVar('mid'); + $db =& XoopsDatabaseFactory::getDatabaseConnection(); + $prefix = $db->prefix('fullcalendar_events'); + $sql = 'SELECT event_id FROM '.$prefix.' WHERE event_start <=' . $timestamp; + if($expired) { + $sql .=' (AND event_end > 0 AND event_end <= '.time().')'; + } + if(strlen(trim($eventslist))>0) { + $sql .=' AND event_id IN ('.$eventslist.')'; + } + $result = $db->query($sql); + while ($myrow = $db->fetchArray($result)) { + $db->queryF('DELETE FROM '.$prefix.' WHERE event_id='.$myrow['event_id']); // Delete the event + } + return true; + } } class fullcalendarfullcalendar_eventsHandler extends XoopsPersistableObjectHandler { function __construct(&$db) { parent::__construct($db, "fullcalendar_events", "fullcalendar_events", "event_id", "event_title"); - } + } } ?> \ No newline at end of file Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/include/functions.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/include/functions.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/include/functions.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -58,7 +58,13 @@ } function fullcalendar_Events($title, $allDay = false, $editable = false ) { - // With JSON for external events + + $events_type = $eventsHandler->get($_GET['event_id']); + $criteria = new Criteria("event_id", $_GET['event_id']); + $criteria->setSort("event_start"); + $criteria->setOrder("ASC"); + $events = $eventsHandler->getAll($criteria); + // With JSON for external events $ret = "$(document).ready(function() { var date = new Date(); var d = date.getDate(); @@ -71,12 +77,30 @@ right: 'month,agendaWeek,agendaDay' }, editable: ".$editable.", - events: [ - { - title: 'Evento che dura tutto il giorno', - start: new Date(".$y.", ".$m.", 1) - }, - { + events: ["; + $ret = ""; + foreach($events as $event) { + if($events[$event]->getVar('event_display') == 1){ + $ret .= " { + id: ".$events[$event]->getVar('event_id').", + title: '".$events[$event]->getVar('event_title')."', + start: new Date(y, m, d+1, 19, 0), + end: new Date(y, m, d+1, 22, 30),"; + if($events[$event]->getVar('event_allday') != 1){ + $ret .= " allDay: false"; + } else { + $ret .= ""; + } + if($events[$event]->getVar('event_url') != ''){ + $ret .= " url: '".$events[$event]->getVar('event_url')."'"; + } else { + $ret .= ""; + } + $ret .= "},"; + } + } + + /* { title: 'Evento che dura piu giorni', start: new Date(y, m, d-5), end: new Date(y, m, d-2) @@ -88,7 +112,7 @@ allDay: false }, { - id: 999, + title: 'Evento ripetuto', start: new Date(y, m, d+4, 16, 0), allDay: false @@ -115,8 +139,8 @@ start: new Date(y, m, 28), end: new Date(y, m, 29), url: 'http://www.txmodxoops.org/' - } - ] + }*/ + $ret .= "] }); });"; @@ -153,7 +177,7 @@ * @param mixed $date * @return */ -function fullcalendar_convertDateTime($date) +function fullcalendar_convertDate($date) { if (strpos(_DATESTRING, "/")) { Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/index.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/index.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/index.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -42,6 +42,8 @@ $GLOBALS['xoTheme']->addScript( "modules/".$GLOBALS['xoopsModule']->getVar('dirname')."/js/jqinit.js", null ); // $GLOBALS['xoopsTpl']->assign('xoops_mpageurl', FULLCALENDAR_URL."/index.php"); +$GLOBALS['xoopsTpl']->assign('fbcomments_width', $GLOBALS['xoopsConfig']['fbcomments_width']); +// $GLOBALS['xoopsTpl']->assign('fullcalendar_url', FULLCALENDAR_URL); $GLOBALS['xoopsTpl']->assign('adv', $GLOBALS['xoopsModuleConfig']['advertise']); // Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/english/admin.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/english/admin.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/english/admin.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -30,14 +30,16 @@ //Index define("_AM_FULLCALENDAR_EVENTS","Events Statistics"); define("_AM_FULLCALENDAR_THEREARE_EVENTS","There are <span class='bold'>%s</span> Events in the Database"); +define("_AM_FULLCALENDAR_THEREARE_EXPIRED_EVENTS","There are <span class='bold'>%s</span> Expired Events"); //Buttons define("_AM_FULLCALENDAR_NEWEVENT","Add New Event"); define("_AM_FULLCALENDAR_EVENTSLIST","List Events"); //General define("_AM_FULLCALENDAR_FORMOK","Registered successfull"); define("_AM_FULLCALENDAR_FORMDELOK","Deleted successfull"); -define("_AM_FULLCALENDAR_FORMSUREDEL", "Are you sure you want to delete: <b><span style='color : Red'>%s</span></b>"); -define("_AM_FULLCALENDAR_FORMSURERENEW", "Are you sure you want renew: <b><span style='color : Red'>%s</span></b>"); +define("_AM_FULLCALENDAR_FORMSUREDEL", "Are you sure you want to delete: <b><span style='color : Red'>%s</span></b>?"); + +define("_AM_FULLCALENDAR_FORMSURERENEW", "Are you sure you want renew: <b><span style='color : Red'>%s</span></b>?"); define("_AM_FULLCALENDAR_FORMUPLOAD","Upload"); define("_AM_FULLCALENDAR_FORMIMAGE_PATH","File presents in %s"); define("_AM_FULLCALENDAR_FORMACTION","Action"); @@ -45,15 +47,27 @@ define("_AM_FULLCALENDAR_ONLINE","Online"); define("_AM_FULLCALENDAR_OFFLINE","Offline"); -define("_AM_FULLCALENDAR_EVENT_ADD","Add event"); -define("_AM_FULLCALENDAR_EVENT_EDIT","Edit event"); -define("_AM_FULLCALENDAR_EVENT_DELETE","Delete event"); +define("_AM_FULLCALENDAR_EVENT_ADD","Add Event"); +define("_AM_FULLCALENDAR_EVENT_EDIT","Edit Event"); +define("_AM_FULLCALENDAR_EVENT_DELETE","Delete Event"); +define("_AM_FULLCALENDAR_PRUNEEVENTS","Delete Events"); +define("_AM_FULLCALENDAR_PRUNE_BEFORE","Delete Events Before"); +define("_AM_FULLCALENDAR_PRUNE_CAPTIONEXPIREDONLY","Expired Only"); +define("_AM_FULLCALENDAR_PRUNE_EXPIREDONLY","Remove only Events who have expired"); +define("_AM_FULLCALENDAR_PRUNE_EVENTS","Limit to the following Events"); +define("_AM_FULLCALENDAR_EXPORT_PRUNE_DSC","If you don't check anything then all the events will be used +else only the selected events will be used"); +define("_AM_FULLCALENDAR_PRUNE_CONFIRM", "Are you sure you want to delete all events before: <b><span style='color : Red'>%s</span></b>?"); +define("_AM_FULLCALENDAR_PRUNE_DELETED", "All events have been successfully deleted"); + define("_AM_FULLCALENDAR_EVENT_ID","Id"); define("_AM_FULLCALENDAR_EVENT_TITLE","Title"); define("_AM_FULLCALENDAR_EVENT_DESCRIPTION","Description"); define("_AM_FULLCALENDAR_EVENT_START","Start"); define("_AM_FULLCALENDAR_EVENT_END","End"); +define("_AM_FULLCALENDAR_EVENT_URL","Url"); +define("_AM_FULLCALENDAR_EVENT_ALLDAY","AllDay"); define("_AM_FULLCALENDAR_EVENT_WEIGHT","Weight"); define("_AM_FULLCALENDAR_EVENT_DISPLAY","Display"); //Blocks.php Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/english/modinfo.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/english/modinfo.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/english/modinfo.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -32,8 +32,9 @@ define("_MI_FULLCALENDAR_DESC","Fullcalendar is a module for write your events, based on jquery and jquery ui"); //Menu define("_MI_FULLCALENDAR_ADMENU1","Home"); -define("_MI_FULLCALENDAR_ADMENU2","Events"); -define("_MI_FULLCALENDAR_ADMENU3","About"); +define("_MI_FULLCALENDAR_ADMENU2","Manage Events"); +define("_MI_FULLCALENDAR_ADMENU3","Delete Events"); +define("_MI_FULLCALENDAR_ADMENU4","About"); //Blocks define("_MI_FULLCALENDAR_EVENTS_BLOCK_RECENT","events recents"); define("_MI_FULLCALENDAR_EVENTS_BLOCK_DAY","events d'aujourdh'ui"); Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/italian/admin.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/italian/admin.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/language/italian/admin.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -30,15 +30,16 @@ //Index define("_AM_FULLCALENDAR_EVENTS","Events Statistics"); define("_AM_FULLCALENDAR_THEREARE_EVENTS","There are <span class='bold'>%s</span> Events in the Database"); +define("_AM_FULLCALENDAR_THEREARE_EXPIRED_EVENTS","There are <span class='bold'>%s</span> Expired Events"); //Buttons define("_AM_FULLCALENDAR_NEWEVENT","Add New Event"); define("_AM_FULLCALENDAR_EVENTSLIST","List Events"); //General define("_AM_FULLCALENDAR_FORMOK","Registered successfull"); define("_AM_FULLCALENDAR_FORMDELOK","Deleted successfull"); -define("_AM_FULLCALENDAR_FORMSUREDEL", "Are you sure you want to delete: <b><span style='color : Red'>%s</span></b>"); +define("_AM_FULLCALENDAR_FORMSUREDEL", "Are you sure you want to delete: <b><span style='color : Red'>%s</span></b>?"); -define("_AM_FULLCALENDAR_FORMSURERENEW", "Are you sure you want renew: <b><span style='color : Red'>%s</span></b>"); +define("_AM_FULLCALENDAR_FORMSURERENEW", "Are you sure you want renew: <b><span style='color : Red'>%s</span></b>?"); define("_AM_FULLCALENDAR_FORMUPLOAD","Upload"); define("_AM_FULLCALENDAR_FORMIMAGE_PATH","File presents in %s"); define("_AM_FULLCALENDAR_FORMACTION","Action"); @@ -57,7 +58,7 @@ define("_AM_FULLCALENDAR_PRUNE_EVENTS","Limit to the following Events"); define("_AM_FULLCALENDAR_EXPORT_PRUNE_DSC","If you don't check anything then all the events will be used else only the selected events will be used"); -define("_AM_FULLCALENDAR_PRUNE_CONFIRM", "Are you sure you want to delete all events: <b><span style='color : Red'>%s</span></b>"); +define("_AM_FULLCALENDAR_PRUNE_CONFIRM", "Are you sure you want to delete all events before: <b><span style='color : Red'>%s</span></b>?"); define("_AM_FULLCALENDAR_PRUNE_DELETED", "All events have been successfully deleted"); define("_AM_FULLCALENDAR_EVENT_ID","Id"); @@ -65,6 +66,8 @@ define("_AM_FULLCALENDAR_EVENT_DESCRIPTION","Description"); define("_AM_FULLCALENDAR_EVENT_START","Start"); define("_AM_FULLCALENDAR_EVENT_END","End"); +define("_AM_FULLCALENDAR_EVENT_URL","Url"); +define("_AM_FULLCALENDAR_EVENT_ALLDAY","AllDay"); define("_AM_FULLCALENDAR_EVENT_WEIGHT","Weight"); define("_AM_FULLCALENDAR_EVENT_DISPLAY","Display"); //Blocks.php Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/sql/mysql.sql =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/sql/mysql.sql 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/sql/mysql.sql 2012-06-16 09:32:27 UTC (rev 9653) @@ -7,8 +7,10 @@ `event_id` int (8) unsigned NOT NULL auto_increment, `event_title` varchar (255) NOT NULL default '', `event_description` tinytext NOT NULL, -`event_start` int(20) NOT NULL default '0', -`event_end` int(20) NOT NULL default '0', +`event_start` int(10) NOT NULL default '0', +`event_end` int(10) NOT NULL default '0', +`event_url` varchar (255) NOT NULL default '', +`event_allday` tinyint (1) unsigned NOT NULL default '0', `event_weight` int (11) unsigned NOT NULL default '0', `event_display` tinyint (1) unsigned NOT NULL default '0', PRIMARY KEY (`event_id`) Added: XoopsModules/fullcalendar/releases/1.01/fullcalendar/style.css =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/style.css (rev 0) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/style.css 2012-06-16 09:32:27 UTC (rev 9653) @@ -0,0 +1,61 @@ +/** + * **************************************************************************** + * - A Project by Developers TEAM For Xoops - ( http://www.xoops.org ) + * **************************************************************************** + * @copyright TXMod Xoops (Timgno) ( http://www.txmodxoops.org ) + * @license GNU GPL see License + * @since 2.5.0 + * @package barsocials & fbcomments + * @author TXMod Xoops (Timgno) ( su...@tx... ) + * + * Version : 1.01 Mon 2012/06/11 19:23:28 : Timgno Exp $ + * **************************************************************************** + */ +div#bar-social { + margin: 0; + padding: 0; + width: 100%; + height: auto; + border: 1px solid #eee; + clear: both; +} + +ul.style-social { + width: auto; + margin: 2px 0 2px 0; + z-index: 10; +} + +ul.style-social > li { + display: inline; + background-image: url('../img/postbullets.png'); + background-repeat: no-repeat; + vertical-align: top; + border-left: 1px solid #ddd; + padding-left: 13px; + height: 10px; +} + +li.fb-like, li.fb-bsend, li.gl-button, li.send-email, li.pin-it, li.linke-in, li.tw-tweets { + margin: 2px; + padding: 2px 0 2px 0; + width: auto; +} + +element.style { + height:20px; + width:90px; +} + +div#fb-comments { + margin: 0; + padding: 0; + width: 100%; + border: 1px solid #eee; + clear: both; +} + +div.fb-comments { + margin: 0; + padding: 0; +} \ No newline at end of file Modified: XoopsModules/fullcalendar/releases/1.01/fullcalendar/xoops_version.php =================================================================== --- XoopsModules/fullcalendar/releases/1.01/fullcalendar/xoops_version.php 2012-06-16 09:31:20 UTC (rev 9652) +++ XoopsModules/fullcalendar/releases/1.01/fullcalendar/xoops_version.php 2012-06-16 09:32:27 UTC (rev 9653) @@ -107,7 +107,7 @@ $modversion["config"][$i]["description"] = "_MI_FULLCALENDAR_EDITOR_DESC"; $modversion["config"][$i]["formtype"] = "select"; $modversion["config"][$i]["valuetype"] = "text"; -$modversion["config"][$i]["default"] = "dhtmltextarea"; +$modversion["config"][$i]["default"] = "textarea"; $modversion["config"][$i]["options"] = XoopsLists::getEditorList(); $modversion["config"][$i]["category"] = "global"; $i++; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |