You can subscribe to this list here.
2011 |
Jan
|
Feb
|
Mar
|
Apr
(20) |
May
(40) |
Jun
(36) |
Jul
(3) |
Aug
(8) |
Sep
|
Oct
|
Nov
(4) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
(7) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <vo...@us...> - 2011-04-25 14:36:32
|
Revision: 52 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=52&view=rev Author: voltan1 Date: 2011-04-25 14:36:26 +0000 (Mon, 25 Apr 2011) Log Message: ----------- changes substr to mb_substr in blocks Modified Paths: -------------- tdmdownloads/trunk/blocks/tdmdownloads_top.php tdmdownloads/trunk/templates/blocks/tdmdownloads_block_search.html Modified: tdmdownloads/trunk/blocks/tdmdownloads_top.php =================================================================== --- tdmdownloads/trunk/blocks/tdmdownloads_top.php 2011-04-25 14:09:59 UTC (rev 51) +++ tdmdownloads/trunk/blocks/tdmdownloads_top.php 2011-04-25 14:36:26 UTC (rev 52) @@ -78,10 +78,10 @@ if ($use_description == true){ $description = $downloads_arr[$i]->getVar('description'); //permet d'afficher uniquement la description courte - if (strpos($description,'[pagebreak]')==false){ - $description_short = substr($description,0,400) . ' ...'; - }else{ - $description_short = substr($description,0,strpos($description,'[pagebreak]')) . ' ...'; + if (strpos($description,'[pagebreak]')==false){ + $description_short = mb_substr($description,0,400,'utf-8') . ' ...'; + } else { + $description_short = mb_substr($description,0,strpos($description,'[pagebreak]'),'utf-8') . ' ...'; } } $block[$i]['description'] = $description_short; Modified: tdmdownloads/trunk/templates/blocks/tdmdownloads_block_search.html =================================================================== --- tdmdownloads/trunk/templates/blocks/tdmdownloads_block_search.html 2011-04-25 14:09:59 UTC (rev 51) +++ tdmdownloads/trunk/templates/blocks/tdmdownloads_block_search.html 2011-04-25 14:36:26 UTC (rev 52) @@ -1 +1,3 @@ -<{$block.form}> \ No newline at end of file +<div class="tdmdownloads-block"> + <{$block.form}> +</div> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-25 14:10:05
|
Revision: 51 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=51&view=rev Author: voltan1 Date: 2011-04-25 14:09:59 +0000 (Mon, 25 Apr 2011) Log Message: ----------- fix html error in navigation Modified Paths: -------------- tdmdownloads/trunk/brokenfile.php tdmdownloads/trunk/modfile.php tdmdownloads/trunk/ratefile.php tdmdownloads/trunk/singlefile.php tdmdownloads/trunk/viewcat.php Modified: tdmdownloads/trunk/brokenfile.php =================================================================== --- tdmdownloads/trunk/brokenfile.php 2011-04-22 12:40:11 UTC (rev 50) +++ tdmdownloads/trunk/brokenfile.php 2011-04-25 14:09:59 UTC (rev 51) @@ -57,9 +57,9 @@ $downloadscat_arr = $downloadscat_Handler->getall($criteria); $mytree = new XoopsObjectTree($downloadscat_arr, 'cat_cid', 'cat_pid'); //navigation - $navigation = TDMDownloads_PathTreeUrl($mytree, $view_downloads->getVar('cid'), $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif"> ', true, 'ASC', true); - $navigation .= ' <img src="images/deco/arrow.gif"> <a href="singlefile.php?lid=' . $view_downloads->getVar('lid') . '">' . $view_downloads->getVar('title') . '</a>'; - $navigation .= ' <img src="images/deco/arrow.gif"> ' . _MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN; + $navigation = TDMDownloads_PathTreeUrl($mytree, $view_downloads->getVar('cid'), $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif" alt="arrow" /> ', true, 'ASC', true); + $navigation .= ' <img src="images/deco/arrow.gif" alt="arrow" /> <a title="' . $view_downloads->getVar('title') . '" href="singlefile.php?lid=' . $view_downloads->getVar('lid') . '">' . $view_downloads->getVar('title') . '</a>'; + $navigation .= ' <img src="images/deco/arrow.gif" alt="arrow" /> ' . _MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN; $xoopsTpl->assign('navigation', $navigation); // r\xE9f\xE9rencement // titre de la page Modified: tdmdownloads/trunk/modfile.php =================================================================== --- tdmdownloads/trunk/modfile.php 2011-04-22 12:40:11 UTC (rev 50) +++ tdmdownloads/trunk/modfile.php 2011-04-25 14:09:59 UTC (rev 51) @@ -59,9 +59,9 @@ $downloadscat_arr = $downloadscat_Handler->getall($criteria); $mytree = new XoopsObjectTree($downloadscat_arr, 'cat_cid', 'cat_pid'); //navigation - $navigation = TDMDownloads_PathTreeUrl($mytree, $view_downloads->getVar('cid'), $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif"> ', true, 'ASC', true); - $navigation .= ' <img src="images/deco/arrow.gif"> <a href="singlefile.php?lid=' . $view_downloads->getVar('lid') . '">' . $view_downloads->getVar('title') . '</a>'; - $navigation .= ' <img src="images/deco/arrow.gif"> ' . _MD_TDMDOWNLOADS_SINGLEFILE_MODIFY; + $navigation = TDMDownloads_PathTreeUrl($mytree, $view_downloads->getVar('cid'), $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif" alt="arrow" /> ', true, 'ASC', true); + $navigation .= ' <img src="images/deco/arrow.gif" alt="arrow" /> <a title="' . $view_downloads->getVar('title') . '" href="singlefile.php?lid=' . $view_downloads->getVar('lid') . '">' . $view_downloads->getVar('title') . '</a>'; + $navigation .= ' <img src="images/deco/arrow.gif" alt="arrow" /> ' . _MD_TDMDOWNLOADS_SINGLEFILE_MODIFY; $xoopsTpl->assign('navigation', $navigation); // r\xE9f\xE9rencement // titre de la page Modified: tdmdownloads/trunk/ratefile.php =================================================================== --- tdmdownloads/trunk/ratefile.php 2011-04-22 12:40:11 UTC (rev 50) +++ tdmdownloads/trunk/ratefile.php 2011-04-25 14:09:59 UTC (rev 51) @@ -58,9 +58,9 @@ $downloadscat_arr = $downloadscat_Handler->getall($criteria); $mytree = new XoopsObjectTree($downloadscat_arr, 'cat_cid', 'cat_pid'); //navigation - $navigation = TDMDownloads_PathTreeUrl($mytree, $view_downloads->getVar('cid'), $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif"> ', true, 'ASC', true); - $navigation .= ' <img src="images/deco/arrow.gif"> <a href="singlefile.php?lid=' . $view_downloads->getVar('lid') . '">' . $view_downloads->getVar('title') . '</a>'; - $navigation .= ' <img src="images/deco/arrow.gif"> ' . _MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE; + $navigation = TDMDownloads_PathTreeUrl($mytree, $view_downloads->getVar('cid'), $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif" alt="arrow" /> ', true, 'ASC', true); + $navigation .= ' <img src="images/deco/arrow.gif" alt="arrow" /> <a title="' . $view_downloads->getVar('title') . '" href="singlefile.php?lid=' . $view_downloads->getVar('lid') . '">' . $view_downloads->getVar('title') . '</a>'; + $navigation .= ' <img src="images/deco/arrow.gif" alt="arrow" /> ' . _MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE; $xoopsTpl->assign('navigation', $navigation); // r\xE9f\xE9rencement // titre de la page Modified: tdmdownloads/trunk/singlefile.php =================================================================== --- tdmdownloads/trunk/singlefile.php 2011-04-22 12:40:11 UTC (rev 50) +++ tdmdownloads/trunk/singlefile.php 2011-04-25 14:09:59 UTC (rev 51) @@ -47,8 +47,8 @@ $mytree = new XoopsObjectTree($downloadscat_arr, 'cat_cid', 'cat_pid'); //navigation -$navigation = TDMDownloads_PathTreeUrl($mytree, $view_downloads->getVar('cid'), $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif"> ', true, 'ASC', true); -$navigation = $navigation . ' <img src="images/deco/arrow.gif"> ' . $view_downloads->getVar('title'); +$navigation = TDMDownloads_PathTreeUrl($mytree, $view_downloads->getVar('cid'), $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif" alt="arrow" /> ', true, 'ASC', true); +$navigation = $navigation . ' <img src="images/deco/arrow.gif" alt="arrow" /> ' . $view_downloads->getVar('title'); $xoopsTpl->assign('navigation', $navigation); // sortie des informations Modified: tdmdownloads/trunk/viewcat.php =================================================================== --- tdmdownloads/trunk/viewcat.php 2011-04-22 12:40:11 UTC (rev 50) +++ tdmdownloads/trunk/viewcat.php 2011-04-25 14:09:59 UTC (rev 51) @@ -53,7 +53,7 @@ $xoopsTpl->assign('lang_thereare', sprintf(_MD_TDMDOWNLOADS_INDEX_THEREARE, count($downloads_arr))); //navigation -$nav_category = TDMDownloads_PathTreeUrl($mytree, $cid, $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif"> ', true, 'ASC'); +$nav_category = TDMDownloads_PathTreeUrl($mytree, $cid, $downloadscat_arr, 'cat_title', $prefix = ' <img src="images/deco/arrow.gif" alt="arrow" /> ', true, 'ASC'); $xoopsTpl->assign('category_path', $nav_category); // info cat\xE9gorie This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 12:40:17
|
Revision: 50 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=50&view=rev Author: voltan1 Date: 2011-04-22 12:40:11 +0000 (Fri, 22 Apr 2011) Log Message: ----------- improve block template Modified Paths: -------------- tdmdownloads/trunk/blocks/tdmdownloads_top.php tdmdownloads/trunk/language/english/blocks.php tdmdownloads/trunk/language/lang_diff.txt tdmdownloads/trunk/templates/blocks/tdmdownloads_block_new.html tdmdownloads/trunk/templates/blocks/tdmdownloads_block_random.html tdmdownloads/trunk/templates/blocks/tdmdownloads_block_rating.html tdmdownloads/trunk/templates/blocks/tdmdownloads_block_top.html tdmdownloads/trunk/xoops_version.php Modified: tdmdownloads/trunk/blocks/tdmdownloads_top.php =================================================================== --- tdmdownloads/trunk/blocks/tdmdownloads_top.php 2011-04-22 12:00:56 UTC (rev 49) +++ tdmdownloads/trunk/blocks/tdmdownloads_top.php 2011-04-22 12:40:11 UTC (rev 50) @@ -24,13 +24,18 @@ $lenght_title = $options[2]; $use_logo = $options[3]; $use_description = $options[4]; - $show_inforation = $options[5]; + $show_inforation = $options[5]; + $logo_float = $options[6]; + $logo_white = $options[7]; + array_shift($options); array_shift($options); array_shift($options); array_shift($options); array_shift($options); array_shift($options); + array_shift($options); + array_shift($options); // Add styles global $xoTheme; @@ -88,9 +93,9 @@ $logourl = XOOPS_URL . '/uploads/TDMDownloads/images/shots/'. $downloads_arr[$i]->getVar('logourl'); } } - $dimention = getimagesize(XOOPS_ROOT_PATH . '/uploads/TDMDownloads/images/shots/' . $downloads_arr[$i]->getVar('logourl')); - $block[$i]['logourl'] = $logourl; - $block[$i]['logourl_width'] = $dimention[0]; + $block[$i]['logourl'] = $logourl; + $block[$i]['logourl_class'] = $logo_float; + $block[$i]['logourl_width'] = $logo_white; $block[$i]['hits'] = $downloads_arr[$i]->getVar("hits"); $block[$i]['rating'] = number_format($downloads_arr[$i]->getVar("rating"),1); $block[$i]['date'] = formatTimeStamp($downloads_arr[$i]->getVar("date"),"s"); @@ -140,12 +145,19 @@ } $form .= _MB_TDMDOWNLOADS_INFORMATIONS . " : <input name=\"options[5]\" value=\"1\" type=\"radio\" " . $checked_yes . "/>" . _YES . " \n"; $form .= "<input name=\"options[5]\" value=\"0\" type=\"radio\" " . $checked_no . "/>" . _NO . "<br /><br />\n"; + $floatelect = new XoopsFormSelect(_MB_TDMDOWNLOADS_FLOAT, 'options[6]',$options[6]); + $floatelect->addOption("left", _MB_TDMDOWNLOADS_FLOAT_LEFT); + $floatelect->addOption("right", _MB_TDMDOWNLOADS_FLOAT_RIGHT); + $form .= _MB_TDMDOWNLOADS_FLOAT." : ".$floatelect->render().'<br />'; + $form .= _MB_TDMDOWNLOADS_WHITE . " : <input name=\"options[7]\" size=\"5\" maxlength=\"255\" value=\"" . $options[7] . "\" type=\"text\" /><br />\n"; array_shift($options); array_shift($options); array_shift($options); array_shift($options); array_shift($options); + array_shift($options); array_shift($options); + array_shift($options); $form .= _MB_TDMDOWNLOADS_CATTODISPLAY . "<br /><select name=\"options[]\" multiple=\"multiple\" size=\"5\">\n"; $form .= "<option value=\"0\" " . (array_search(0, $options) === false ? '' : 'selected="selected"') . ">" . _MB_TDMDOWNLOADS_ALLCAT . "</option>\n"; foreach (array_keys($downloadscat_arr) as $i) { Modified: tdmdownloads/trunk/language/english/blocks.php =================================================================== --- tdmdownloads/trunk/language/english/blocks.php 2011-04-22 12:00:56 UTC (rev 49) +++ tdmdownloads/trunk/language/english/blocks.php 2011-04-22 12:40:11 UTC (rev 50) @@ -26,5 +26,9 @@ define("_MB_TDMDOWNLOADS_SUBMITTER","Submitted by: "); define("_MB_TDMDOWNLOADS_INFORMATIONS","Information?"); define("_MB_TDMDOWNLOADS_REATING","Reat: "); -define("_MB_TDMDOWNLOADS_HITS","Hits: "); +define("_MB_TDMDOWNLOADS_HITS","Hits: "); +define("_MB_TDMDOWNLOADS_FLOAT","Image float: "); +define("_MB_TDMDOWNLOADS_FLOAT_LEFT","Left"); +define("_MB_TDMDOWNLOADS_FLOAT_RIGHT","Right"); +define("_MB_TDMDOWNLOADS_WHITE","Image white"); ?> Modified: tdmdownloads/trunk/language/lang_diff.txt =================================================================== --- tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 12:00:56 UTC (rev 49) +++ tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 12:40:11 UTC (rev 50) @@ -90,7 +90,12 @@ + _MB_TDMDOWNLOADS_SUBMITDATE + _MB_TDMDOWNLOADS_INFORMATIONS + _MB_TDMDOWNLOADS_REATING -+ _MB_TDMDOWNLOADS_HITS ++ _MB_TDMDOWNLOADS_HITS ++ _MB_TDMDOWNLOADS_FLOAT ++ _MB_TDMDOWNLOADS_FLOAT_LEFT ++ _MB_TDMDOWNLOADS_FLOAT_RIGHT ++ _MB_TDMDOWNLOADS_WHITE + modinfo.php ------------- + _MI_TDMDOWNLOADS_PREFERENCE_BREAK_GENERAL Modified: tdmdownloads/trunk/templates/blocks/tdmdownloads_block_new.html =================================================================== --- tdmdownloads/trunk/templates/blocks/tdmdownloads_block_new.html 2011-04-22 12:00:56 UTC (rev 49) +++ tdmdownloads/trunk/templates/blocks/tdmdownloads_block_new.html 2011-04-22 12:40:11 UTC (rev 50) @@ -18,7 +18,7 @@ <div class="itemBody"> <div class="itemText justify"> <{if $downloads.logourl != ""}> - <img class="left" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> + <img class="<{$downloads.logourl_class}>" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> <{/if}> <{if $downloads.description != ""}> <{$downloads.description}> Modified: tdmdownloads/trunk/templates/blocks/tdmdownloads_block_random.html =================================================================== --- tdmdownloads/trunk/templates/blocks/tdmdownloads_block_random.html 2011-04-22 12:00:56 UTC (rev 49) +++ tdmdownloads/trunk/templates/blocks/tdmdownloads_block_random.html 2011-04-22 12:40:11 UTC (rev 50) @@ -18,7 +18,7 @@ <div class="itemBody"> <div class="itemText justify"> <{if $downloads.logourl != ""}> - <img class="left" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> + <img class="<{$downloads.logourl_class}>" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> <{/if}> <{if $downloads.description != ""}> <{$downloads.description}> Modified: tdmdownloads/trunk/templates/blocks/tdmdownloads_block_rating.html =================================================================== --- tdmdownloads/trunk/templates/blocks/tdmdownloads_block_rating.html 2011-04-22 12:00:56 UTC (rev 49) +++ tdmdownloads/trunk/templates/blocks/tdmdownloads_block_rating.html 2011-04-22 12:40:11 UTC (rev 50) @@ -18,7 +18,7 @@ <div class="itemBody"> <div class="itemText justify"> <{if $downloads.logourl != ""}> - <img class="left" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> + <img class="<{$downloads.logourl_class}>" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> <{/if}> <{if $downloads.description != ""}> <{$downloads.description}> Modified: tdmdownloads/trunk/templates/blocks/tdmdownloads_block_top.html =================================================================== --- tdmdownloads/trunk/templates/blocks/tdmdownloads_block_top.html 2011-04-22 12:00:56 UTC (rev 49) +++ tdmdownloads/trunk/templates/blocks/tdmdownloads_block_top.html 2011-04-22 12:40:11 UTC (rev 50) @@ -18,7 +18,7 @@ <div class="itemBody"> <div class="itemText justify"> <{if $downloads.logourl != ""}> - <img class="left" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> + <img class="<{$downloads.logourl_class}>" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> <{/if}> <{if $downloads.description != ""}> <{$downloads.description}> Modified: tdmdownloads/trunk/xoops_version.php =================================================================== --- tdmdownloads/trunk/xoops_version.php 2011-04-22 12:00:56 UTC (rev 49) +++ tdmdownloads/trunk/xoops_version.php 2011-04-22 12:40:11 UTC (rev 50) @@ -65,7 +65,7 @@ $modversion['blocks'][1]['description'] = _MI_TDMDOWNLOADS_BNAMEDSC1; $modversion['blocks'][1]['show_func'] = 'b_tdmdownloads_top_show'; $modversion['blocks'][1]['edit_func'] = 'b_tdmdownloads_top_edit'; -$modversion['blocks'][1]['options'] = 'date|10|19|1|1|1|0'; +$modversion['blocks'][1]['options'] = 'date|10|19|1|1|1|left|90|0'; $modversion['blocks'][1]['template'] = 'tdmdownloads_block_new.html'; $modversion['blocks'][2]['file'] = 'tdmdownloads_top.php'; @@ -73,7 +73,7 @@ $modversion['blocks'][2]['description'] = _MI_TDMDOWNLOADS_BNAMEDSC2; $modversion['blocks'][2]['show_func'] = 'b_tdmdownloads_top_show'; $modversion['blocks'][2]['edit_func'] = 'b_tdmdownloads_top_edit'; -$modversion['blocks'][2]['options'] = 'hits|10|19|1|1|1|0'; +$modversion['blocks'][2]['options'] = 'hits|10|19|1|1|1|left|90|0'; $modversion['blocks'][2]['template'] = 'tdmdownloads_block_top.html'; $modversion['blocks'][3]['file'] = 'tdmdownloads_top.php'; @@ -81,7 +81,7 @@ $modversion['blocks'][3]['description'] = _MI_TDMDOWNLOADS_BNAMEDSC3; $modversion['blocks'][3]['show_func'] = 'b_tdmdownloads_top_show'; $modversion['blocks'][3]['edit_func'] = 'b_tdmdownloads_top_edit'; -$modversion['blocks'][3]['options'] = 'rating|10|19|1|1|1|0'; +$modversion['blocks'][3]['options'] = 'rating|10|19|1|1|1|left|90|0'; $modversion['blocks'][3]['template'] = 'tdmdownloads_block_rating.html'; $modversion['blocks'][4]['file'] = 'tdmdownloads_top.php'; @@ -89,7 +89,7 @@ $modversion['blocks'][4]['description'] = _MI_TDMDOWNLOADS_BNAMEDSC4; $modversion['blocks'][4]['show_func'] = 'b_tdmdownloads_top_show'; $modversion['blocks'][4]['edit_func'] = 'b_tdmdownloads_top_edit'; -$modversion['blocks'][4]['options'] = 'random|10|19|1|1|1|0'; +$modversion['blocks'][4]['options'] = 'random|10|19|1|1|1|left|90|0'; $modversion['blocks'][4]['template'] = 'tdmdownloads_block_random.html'; $modversion['blocks'][5]['file'] = 'tdmdownloads_search.php'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 12:01:02
|
Revision: 49 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=49&view=rev Author: voltan1 Date: 2011-04-22 12:00:56 +0000 (Fri, 22 Apr 2011) Log Message: ----------- improve block template Modified Paths: -------------- tdmdownloads/trunk/blocks/tdmdownloads_top.php tdmdownloads/trunk/language/english/blocks.php tdmdownloads/trunk/language/lang_diff.txt tdmdownloads/trunk/templates/blocks/tdmdownloads_block_new.html tdmdownloads/trunk/templates/blocks/tdmdownloads_block_random.html tdmdownloads/trunk/templates/blocks/tdmdownloads_block_rating.html tdmdownloads/trunk/templates/blocks/tdmdownloads_block_top.html tdmdownloads/trunk/xoops_version.php Added Paths: ----------- tdmdownloads/trunk/css/blocks.css Modified: tdmdownloads/trunk/blocks/tdmdownloads_top.php =================================================================== --- tdmdownloads/trunk/blocks/tdmdownloads_top.php 2011-04-22 10:57:29 UTC (rev 48) +++ tdmdownloads/trunk/blocks/tdmdownloads_top.php 2011-04-22 12:00:56 UTC (rev 49) @@ -23,12 +23,19 @@ $nb_entree = $options[1]; $lenght_title = $options[2]; $use_logo = $options[3]; - $use_description = $options[4]; + $use_description = $options[4]; + $show_inforation = $options[5]; array_shift($options); array_shift($options); array_shift($options); array_shift($options); + array_shift($options); array_shift($options); + + // Add styles + global $xoTheme; + $xoTheme->addStylesheet(XOOPS_URL . '/modules/TDMDownloads/css/blocks.css', null); + $categories = TDMDownloads_MygetItemIds('tdmdownloads_view', 'TDMDownloads'); $criteria = new CriteriaCompo(); $criteria->add(new Criteria('cid', '(' . implode(',', $categories) . ')','IN')); @@ -86,7 +93,10 @@ $block[$i]['logourl_width'] = $dimention[0]; $block[$i]['hits'] = $downloads_arr[$i]->getVar("hits"); $block[$i]['rating'] = number_format($downloads_arr[$i]->getVar("rating"),1); - $block[$i]['date'] = formatTimeStamp($downloads_arr[$i]->getVar("date"),"s"); + $block[$i]['date'] = formatTimeStamp($downloads_arr[$i]->getVar("date"),"s"); + $block[$i]['submitter'] = XoopsUser::getUnameFromId($downloads_arr[$i]->getVar('submitter')); + $block[$i]['inforation'] = $show_inforation; + } return $block; } @@ -120,10 +130,20 @@ $checked_no = ''; } $form .= _MB_TDMDOWNLOADS_DESCRIPTION . " : <input name=\"options[4]\" value=\"1\" type=\"radio\" " . $checked_yes . "/>" . _YES . " \n"; - $form .= "<input name=\"options[4]\" value=\"0\" type=\"radio\" " . $checked_no . "/>" . _NO . "<br /><br />\n"; + $form .= "<input name=\"options[4]\" value=\"0\" type=\"radio\" " . $checked_no . "/>" . _NO . "<br />\n"; + if ($options[5] == false){ + $checked_yes = ''; + $checked_no = 'checked="checked"'; + }else{ + $checked_yes = 'checked="checked"'; + $checked_no = ''; + } + $form .= _MB_TDMDOWNLOADS_INFORMATIONS . " : <input name=\"options[5]\" value=\"1\" type=\"radio\" " . $checked_yes . "/>" . _YES . " \n"; + $form .= "<input name=\"options[5]\" value=\"0\" type=\"radio\" " . $checked_no . "/>" . _NO . "<br /><br />\n"; array_shift($options); array_shift($options); array_shift($options); + array_shift($options); array_shift($options); array_shift($options); $form .= _MB_TDMDOWNLOADS_CATTODISPLAY . "<br /><select name=\"options[]\" multiple=\"multiple\" size=\"5\">\n"; Added: tdmdownloads/trunk/css/blocks.css =================================================================== --- tdmdownloads/trunk/css/blocks.css (rev 0) +++ tdmdownloads/trunk/css/blocks.css 2011-04-22 12:00:56 UTC (rev 49) @@ -0,0 +1,4 @@ +.endline { + clear: both; + width: 100%; +} Modified: tdmdownloads/trunk/language/english/blocks.php =================================================================== --- tdmdownloads/trunk/language/english/blocks.php 2011-04-22 10:57:29 UTC (rev 48) +++ tdmdownloads/trunk/language/english/blocks.php 2011-04-22 12:00:56 UTC (rev 49) @@ -21,5 +21,10 @@ define("_MB_TDMDOWNLOADS_DISP","Display"); define("_MB_TDMDOWNLOADS_FILES","Files"); define("_MB_TDMDOWNLOADS_LENGTH","Characters"); -define("_MB_TDMDOWNLOADS_LOGO","Use logo?"); +define("_MB_TDMDOWNLOADS_LOGO","Use logo?"); +define("_MB_TDMDOWNLOADS_SUBMITDATE","Submitted Date "); +define("_MB_TDMDOWNLOADS_SUBMITTER","Submitted by: "); +define("_MB_TDMDOWNLOADS_INFORMATIONS","Information?"); +define("_MB_TDMDOWNLOADS_REATING","Reat: "); +define("_MB_TDMDOWNLOADS_HITS","Hits: "); ?> Modified: tdmdownloads/trunk/language/lang_diff.txt =================================================================== --- tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 10:57:29 UTC (rev 48) +++ tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 12:00:56 UTC (rev 49) @@ -86,7 +86,11 @@ ------------- + _MB_TDMDOWNLOADS_LOGO + _MB_TDMDOWNLOADS_DESCRIPTION - ++ _MB_TDMDOWNLOADS_SUBMITTER ++ _MB_TDMDOWNLOADS_SUBMITDATE ++ _MB_TDMDOWNLOADS_INFORMATIONS ++ _MB_TDMDOWNLOADS_REATING ++ _MB_TDMDOWNLOADS_HITS modinfo.php ------------- + _MI_TDMDOWNLOADS_PREFERENCE_BREAK_GENERAL Modified: tdmdownloads/trunk/templates/blocks/tdmdownloads_block_new.html =================================================================== --- tdmdownloads/trunk/templates/blocks/tdmdownloads_block_new.html 2011-04-22 10:57:29 UTC (rev 48) +++ tdmdownloads/trunk/templates/blocks/tdmdownloads_block_new.html 2011-04-22 12:00:56 UTC (rev 49) @@ -1,36 +1,32 @@ -<table width="100%" border="0"> -<{foreachq item=downloads from=$block}> - <tr> - <td width="5px"> - <ul><li></li></ul> - </td> - <{if $downloads.logourl != ""}> - <td style="width: <{$downloads.logourl_width}>px; vertical-align: top;" align="left"> - <img src="<{$downloads.logourl}>" alt="" /> - </td> - <td style="vertical-align: top;" align="left"> - <{else}> - <td colspan="2" style="vertical-align: top;" align="left"> - <{/if}> - <div style="font-size: 1.0em; margin-top: 0.5em;"> - <a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title="<{$downloads.title}>"> - <{$downloads.title}> - </a> - (<{$downloads.date}>) - </div> - </td> - </tr> - <{if $downloads.description != ""}> - <tr> - <td width="5px"> - - </td> - <td colspan="2" style="vertical-align: top;" align="left"> - <div style="font-size: 0.8em; margin-top: 0.5em;"> - <{$downloads.description}> - </div> - </td> - </tr> - <{/if}> -<{/foreach}> -</table> +<div class="tdmdownloads-block"> + <{foreachq item=downloads from=$block}> + <div class="item tdmdownloads-blockitem"> + <div class="itemHead"> + <span class="itemTitle"> + <h2><a title="<{$downloads.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><{$downloads.title}></a></h2> + </span> + </div> + <{if $downloads.inforation}> + <div class="itemInfo"> + <span class="itemPoster"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITDATE}><{$downloads.date}></span> + <span class="itemPostDate"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITTER}><{$downloads.submitter}></span> + <span class="itemReting"><{$smarty.const._MB_TDMDOWNLOADS_REATING}><{$downloads.rating}></span> + <span class="itemHits"><{$smarty.const._MB_TDMDOWNLOADS_HITS}><{$downloads.hits}></span> + </div> + <{/if}> + <{if $downloads.logourl || $downloads.description}> + <div class="itemBody"> + <div class="itemText justify"> + <{if $downloads.logourl != ""}> + <img class="left" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> + <{/if}> + <{if $downloads.description != ""}> + <{$downloads.description}> + <{/if}> + </div> + <div class="endline"></div> + </div> + <{/if}> + </div> + <{/foreach}> +</div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/blocks/tdmdownloads_block_random.html =================================================================== --- tdmdownloads/trunk/templates/blocks/tdmdownloads_block_random.html 2011-04-22 10:57:29 UTC (rev 48) +++ tdmdownloads/trunk/templates/blocks/tdmdownloads_block_random.html 2011-04-22 12:00:56 UTC (rev 49) @@ -1,35 +1,32 @@ -<table width="100%" border="0"> -<{foreachq item=downloads from=$block}> - <tr> - <td width="5px"> - <ul><li></li></ul> - </td> - <{if $downloads.logourl != ""}> - <td style="width: <{$downloads.logourl_width}>px; vertical-align: top;" align="left"> - <img src="<{$downloads.logourl}>" alt="" /> - </td> - <td style="vertical-align: top;" align="left"> - <{else}> - <td colspan="2" style="vertical-align: top;" align="left"> - <{/if}> - <div style="font-size: 1.0em; margin-top: 0.5em;"> - <a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title="<{$downloads.title}>"> - <{$downloads.title}> - </a> - </div> - </td> - </tr> - <{if $downloads.description != ""}> - <tr> - <td width="5px"> - - </td> - <td colspan="2" style="vertical-align: top;" align="left"> - <div style="font-size: 0.8em; margin-top: 0.5em;"> - <{$downloads.description}> - </div> - </td> - </tr> - <{/if}> -<{/foreach}> -</table> +<div class="tdmdownloads-block"> + <{foreachq item=downloads from=$block}> + <div class="item tdmdownloads-blockitem"> + <div class="itemHead"> + <span class="itemTitle"> + <h2><a title="<{$downloads.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><{$downloads.title}></a></h2> + </span> + </div> + <{if $downloads.inforation}> + <div class="itemInfo"> + <span class="itemPoster"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITDATE}><{$downloads.date}></span> + <span class="itemPostDate"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITTER}><{$downloads.submitter}></span> + <span class="itemReting"><{$smarty.const._MB_TDMDOWNLOADS_REATING}><{$downloads.rating}></span> + <span class="itemHits"><{$smarty.const._MB_TDMDOWNLOADS_HITS}><{$downloads.hits}></span> + </div> + <{/if}> + <{if $downloads.logourl || $downloads.description}> + <div class="itemBody"> + <div class="itemText justify"> + <{if $downloads.logourl != ""}> + <img class="left" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> + <{/if}> + <{if $downloads.description != ""}> + <{$downloads.description}> + <{/if}> + </div> + <div class="endline"></div> + </div> + <{/if}> + </div> + <{/foreach}> +</div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/blocks/tdmdownloads_block_rating.html =================================================================== --- tdmdownloads/trunk/templates/blocks/tdmdownloads_block_rating.html 2011-04-22 10:57:29 UTC (rev 48) +++ tdmdownloads/trunk/templates/blocks/tdmdownloads_block_rating.html 2011-04-22 12:00:56 UTC (rev 49) @@ -1,36 +1,32 @@ -<table width="100%" border="0"> -<{foreachq item=downloads from=$block}> - <tr> - <td width="5px"> - <ul><li></li></ul> - </td> - <{if $downloads.logourl != ""}> - <td style="width: <{$downloads.logourl_width}>px; vertical-align: top;" align="left"> - <img src="<{$downloads.logourl}>" alt="" /> - </td> - <td style="vertical-align: top;" align="left"> - <{else}> - <td colspan="2" style="vertical-align: top;" align="left"> - <{/if}> - <div style="font-size: 1.0em; margin-top: 0.5em;"> - <a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title="<{$downloads.title}>"> - <{$downloads.title}> - </a> - (<{$downloads.rating}>) - </div> - </td> - </tr> - <{if $downloads.description != ""}> - <tr> - <td width="5px"> - - </td> - <td colspan="2" style="vertical-align: top;" align="left"> - <div style="font-size: 0.8em; margin-top: 0.5em;"> - <{$downloads.description}> - </div> - </td> - </tr> - <{/if}> -<{/foreach}> -</table> \ No newline at end of file +<div class="tdmdownloads-block"> + <{foreachq item=downloads from=$block}> + <div class="item tdmdownloads-blockitem"> + <div class="itemHead"> + <span class="itemTitle"> + <h2><a title="<{$downloads.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><{$downloads.title}></a></h2> + </span> + </div> + <{if $downloads.inforation}> + <div class="itemInfo"> + <span class="itemPoster"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITDATE}><{$downloads.date}></span> + <span class="itemPostDate"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITTER}><{$downloads.submitter}></span> + <span class="itemReting"><{$smarty.const._MB_TDMDOWNLOADS_REATING}><{$downloads.rating}></span> + <span class="itemHits"><{$smarty.const._MB_TDMDOWNLOADS_HITS}><{$downloads.hits}></span> + </div> + <{/if}> + <{if $downloads.logourl || $downloads.description}> + <div class="itemBody"> + <div class="itemText justify"> + <{if $downloads.logourl != ""}> + <img class="left" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> + <{/if}> + <{if $downloads.description != ""}> + <{$downloads.description}> + <{/if}> + </div> + <div class="endline"></div> + </div> + <{/if}> + </div> + <{/foreach}> +</div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/blocks/tdmdownloads_block_top.html =================================================================== --- tdmdownloads/trunk/templates/blocks/tdmdownloads_block_top.html 2011-04-22 10:57:29 UTC (rev 48) +++ tdmdownloads/trunk/templates/blocks/tdmdownloads_block_top.html 2011-04-22 12:00:56 UTC (rev 49) @@ -1,36 +1,32 @@ -<table width="100%" border="0"> -<{foreachq item=downloads from=$block}> - <tr> - <td width="5px"> - <ul><li></li></ul> - </td> - <{if $downloads.logourl != ""}> - <td style="width: <{$downloads.logourl_width}>px; vertical-align: top;" align="left"> - <img src="<{$downloads.logourl}>" alt="" /> - </td> - <td style="vertical-align: top;" align="left"> - <{else}> - <td colspan="2" style="vertical-align: top;" align="left"> - <{/if}> - <div style="font-size: 1.0em; margin-top: 0.5em;"> - <a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title="<{$downloads.title}>"> - <{$downloads.title}> - </a> - (<{$downloads.hits}>) - </div> - </td> - </tr> - <{if $downloads.description != ""}> - <tr> - <td width="5px"> - - </td> - <td colspan="2" style="vertical-align: top;" align="left"> - <div style="font-size: 0.8em; margin-top: 0.5em;"> - <{$downloads.description}> - </div> - </td> - </tr> - <{/if}> -<{/foreach}> -</table> \ No newline at end of file +<div class="tdmdownloads-block"> + <{foreachq item=downloads from=$block}> + <div class="item tdmdownloads-blockitem"> + <div class="itemHead"> + <span class="itemTitle"> + <h2><a title="<{$downloads.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><{$downloads.title}></a></h2> + </span> + </div> + <{if $downloads.inforation}> + <div class="itemInfo"> + <span class="itemPoster"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITDATE}><{$downloads.date}></span> + <span class="itemPostDate"><{$smarty.const._MB_TDMDOWNLOADS_SUBMITTER}><{$downloads.submitter}></span> + <span class="itemReting"><{$smarty.const._MB_TDMDOWNLOADS_REATING}><{$downloads.rating}></span> + <span class="itemHits"><{$smarty.const._MB_TDMDOWNLOADS_HITS}><{$downloads.hits}></span> + </div> + <{/if}> + <{if $downloads.logourl || $downloads.description}> + <div class="itemBody"> + <div class="itemText justify"> + <{if $downloads.logourl != ""}> + <img class="left" width="<{$downloads.logourl_width}>" src="<{$downloads.logourl}>" alt="<{$downloads.title}>" /> + <{/if}> + <{if $downloads.description != ""}> + <{$downloads.description}> + <{/if}> + </div> + <div class="endline"></div> + </div> + <{/if}> + </div> + <{/foreach}> +</div> \ No newline at end of file Modified: tdmdownloads/trunk/xoops_version.php =================================================================== --- tdmdownloads/trunk/xoops_version.php 2011-04-22 10:57:29 UTC (rev 48) +++ tdmdownloads/trunk/xoops_version.php 2011-04-22 12:00:56 UTC (rev 49) @@ -65,7 +65,7 @@ $modversion['blocks'][1]['description'] = _MI_TDMDOWNLOADS_BNAMEDSC1; $modversion['blocks'][1]['show_func'] = 'b_tdmdownloads_top_show'; $modversion['blocks'][1]['edit_func'] = 'b_tdmdownloads_top_edit'; -$modversion['blocks'][1]['options'] = 'date|10|19|1|1|0'; +$modversion['blocks'][1]['options'] = 'date|10|19|1|1|1|0'; $modversion['blocks'][1]['template'] = 'tdmdownloads_block_new.html'; $modversion['blocks'][2]['file'] = 'tdmdownloads_top.php'; @@ -73,7 +73,7 @@ $modversion['blocks'][2]['description'] = _MI_TDMDOWNLOADS_BNAMEDSC2; $modversion['blocks'][2]['show_func'] = 'b_tdmdownloads_top_show'; $modversion['blocks'][2]['edit_func'] = 'b_tdmdownloads_top_edit'; -$modversion['blocks'][2]['options'] = 'hits|10|19|1|1|0'; +$modversion['blocks'][2]['options'] = 'hits|10|19|1|1|1|0'; $modversion['blocks'][2]['template'] = 'tdmdownloads_block_top.html'; $modversion['blocks'][3]['file'] = 'tdmdownloads_top.php'; @@ -81,7 +81,7 @@ $modversion['blocks'][3]['description'] = _MI_TDMDOWNLOADS_BNAMEDSC3; $modversion['blocks'][3]['show_func'] = 'b_tdmdownloads_top_show'; $modversion['blocks'][3]['edit_func'] = 'b_tdmdownloads_top_edit'; -$modversion['blocks'][3]['options'] = 'rating|10|19|1|1|0'; +$modversion['blocks'][3]['options'] = 'rating|10|19|1|1|1|0'; $modversion['blocks'][3]['template'] = 'tdmdownloads_block_rating.html'; $modversion['blocks'][4]['file'] = 'tdmdownloads_top.php'; @@ -89,7 +89,7 @@ $modversion['blocks'][4]['description'] = _MI_TDMDOWNLOADS_BNAMEDSC4; $modversion['blocks'][4]['show_func'] = 'b_tdmdownloads_top_show'; $modversion['blocks'][4]['edit_func'] = 'b_tdmdownloads_top_edit'; -$modversion['blocks'][4]['options'] = 'random|10|19|1|1|0'; +$modversion['blocks'][4]['options'] = 'random|10|19|1|1|1|0'; $modversion['blocks'][4]['template'] = 'tdmdownloads_block_random.html'; $modversion['blocks'][5]['file'] = 'tdmdownloads_search.php'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 10:57:35
|
Revision: 48 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=48&view=rev Author: voltan1 Date: 2011-04-22 10:57:29 +0000 (Fri, 22 Apr 2011) Log Message: ----------- change RSS logo Modified Paths: -------------- tdmdownloads/trunk/images/rss.gif Modified: tdmdownloads/trunk/images/rss.gif =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 10:55:33
|
Revision: 47 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=47&view=rev Author: voltan1 Date: 2011-04-22 10:55:27 +0000 (Fri, 22 Apr 2011) Log Message: ----------- fix template - reformat css codes Modified Paths: -------------- tdmdownloads/trunk/css/admin.css tdmdownloads/trunk/css/styles.css tdmdownloads/trunk/templates/tdmdownloads_index.html tdmdownloads/trunk/templates/tdmdownloads_viewcat.html Modified: tdmdownloads/trunk/css/admin.css =================================================================== --- tdmdownloads/trunk/css/admin.css 2011-04-22 10:34:35 UTC (rev 46) +++ tdmdownloads/trunk/css/admin.css 2011-04-22 10:55:27 UTC (rev 47) @@ -1,86 +1,125 @@ /* Buttons style */ -.xo-buttons a, .xo-buttons button{ - display:block-inline; - margin:0 5px 0 0; +.xo-buttons a, .xo-buttons button { + display: block-inline; + margin: 0 5px 0 0; background: #e4e4e5 url('../images/admin/bg_button.gif') repeat-x; - border:1px solid #d6d6d6; - border-top:1px solid #dedede; - border-left:1px solid #dedede; - font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; - font-size:100%; - line-height:110%; - text-decoration:none; - font-weight:bold; - color:#454545; - cursor:pointer; - padding:3px 8px 4px 5px; /* Links */ + border: 1px solid #d6d6d6; + border-top: 1px solid #dedede; + border-left: 1px solid #dedede; + font-family: "Lucida Grande", Tahoma, Arial, Verdana, sans-serif; + font-size: 100%; + line-height: 110%; + text-decoration: none; + font-weight: bold; + color: #454545; + cursor: pointer; + padding: 3px 8px 4px 5px; /* Links */ } + .xo-buttons a:hover, .xo-buttons button:hover { - border:1px solid #ccc; - border-top:1px solid #d6d6d6; - border-left:1px solid #d6d6d6; + border: 1px solid #ccc; + border-top: 1px solid #d6d6d6; + border-left: 1px solid #d6d6d6; } -.xo-buttons button{ - width:auto; - overflow:visible; - padding:3px 8px 4px 5px; /* IE6 */ + +.xo-buttons button { + width: auto; + overflow: visible; + padding: 3px 8px 4px 5px; /* IE6 */ } -.xo-buttons button[type]{ - padding:3px 5px 4px 5px; /* Firefox */ - line-height:15px; /* Safari */ + +.xo-buttons button[type] { + padding: 3px 5px 4px 5px; /* Firefox */ + line-height: 15px; /* Safari */ } -*:first-child+html button[type]{ - padding:3px 8px 4px 5px; /* IE7 */ + +*:first-child+html button[type] { + padding: 3px 8px 4px 5px; /* IE7 */ } -.xo-buttons button img, .xo-buttons a img{ - margin:0 3px -3px 0 !important; - padding:0; - border:none; - width:16px; - height:16px; + +.xo-buttons button img, .xo-buttons a img { + margin: 0 3px -3px 0 !important; + padding: 0; + border: none; + width: 16px; + height: 16px; } -.ui-corner-all { -moz-border-radius: 5px; -webkit-border-radius: 5px; } + +.ui-corner-all { + -moz-border-radius: 5px; + -webkit-border-radius: 5px; +} + /* Buttons style */ /* align */ -.floatright{ float:right; margin:0; padding:2px; border:0; } -.floatleft{ float:left; margin:0; padding:2px; border:0; } -.aligncenter{ text-align:center; margin:0; padding:2px; border:0; } +.floatright { + float: right; + margin: 0; + padding: 2px; + border: 0; +} + +.floatleft { + float: left; + margin: 0; + padding: 2px; + border: 0; +} + +.aligncenter { + text-align: center; + margin: 0; + padding: 2px; + border: 0; +} + /* align */ /* label */ -.label{font-size: 16px; color: #2F5376; font-weight: bold;} +.label { + font-size: 16px; + color: #2F5376; + font-weight: bold; +} /* label */ /* about */ #about label, #about text { - display: block; - float: left; - margin-bottom: 12px; + display: block; + float: left; + margin-bottom: 12px; } + #about label { - text-align: right; - width: 200px; - padding-right: 20px; + text-align: right; + width: 200px; + padding-right: 20px; } -#about br { clear: both;} + +#about br { + clear: both; +} + /* about */ /* menu */ -div.rmmenuicon{ +div.rmmenuicon { margin: 3px; font-family: Tahoma, Arial, Helvetica; text-align: center; } -div.rmmenuicon a { - display: block; float: left; + +div.rmmenuicon a { + display: block; + float: left; height: 75px !important; - height: 75px; + height: 75px; width: 75px !important; - width: 75px; - vertical-align: middle; - text-decoration : none; + width: 75px; + vertical-align: middle; + text-decoration: none; border: 1px solid #CCCCCC; padding: 2px 5px 1px 5px; margin: 3px; @@ -90,26 +129,32 @@ -moz-border-radius: 6px; -webkit-border-radius: 6px; -khtml-border-radius: 6px; - border-radius: 6px; + border-radius: 6px; +} +div.rmmenuicon img { + margin-top: 8px; + margin-bottom: 8px; } -div.rmmenuicon img { margin-top: 8px; margin-bottom: 8px; } + div.rmmenuicon a span { font-size: 11px; font-weight: bold; display: block; } -div.rmmenuicon a:hover{ + +div.rmmenuicon a:hover { background-color: #FFF6C1; border: 1px solid #FF9900; color: #1E90FF; } -div.rmmenuicon a:hover span{ + +div.rmmenuicon a:hover span { text-decoration: none; } -div.CPbigTitle{ +div.CPbigTitle { font-size: 12px; color: #606060; background: no-repeat left top; @@ -119,6 +164,10 @@ padding: 5px 0 0 40px; border-bottom: 1px solid #393e41; } + /* menu */ -.txtchangelog { height:350px; overflow:auto;} \ No newline at end of file +.txtchangelog { + height: 350px; + overflow: auto; +} \ No newline at end of file Modified: tdmdownloads/trunk/css/styles.css =================================================================== --- tdmdownloads/trunk/css/styles.css 2011-04-22 10:34:35 UTC (rev 46) +++ tdmdownloads/trunk/css/styles.css 2011-04-22 10:55:27 UTC (rev 47) @@ -1,118 +1,190 @@ .tdmdownloads-categories { - border-bottom: 1px #333 solid; - padding: 2px; - margin: 2px; + border-bottom: 1px #333 solid; + padding: 2px; + margin: 2px; } .tdmdownloads-catinfo { - } .tdmdownloads-data { - border: 0px; - padding: 1px; - margin: 1px; + border: 0px; + padding: 1px; + margin: 1px; } + .tdmdownloads-title { - } + +.tdmdownloads-title .title { + margin: 1px; +} + +.tdmdownloads-title .total { + font-size: 0.9em; + font-weight: normal; + margin: .5em 3em .2em 3em; +} + .tdmdownloads-body { - font-size: 1em; + font-size: 1em; } .tdmdownloads-body img { - border: 0px; - padding: 1px; - margin: 1px; - max-height: 120px; - max-width: 120px; + border: 0px; + padding: 1px; + margin: 1px; + max-height: 120px; + max-width: 120px; } + .tdmdownloads-subtitle { - } .tdmdownloads-rss { - margin: 1px; - padding: 1px; - text-align: right; + margin: 1px; + padding: 1px; + text-align: right; } .tdmdownloads-linetitle { - font-size: 1.4em; - line-height: 1.4em; - border-bottom: 1px #333 solid; - padding: 1px 10px; - margin: 1px; + font-size: 1.4em; + line-height: 1.4em; + border-bottom: 1px #333 solid; + padding: 1px 10px; + margin: 1px; } .tdmdownloads-summary { - margin: 5px 5px 5px 20px; - padding: 5px; + margin: 5px 5px 5px 20px; + padding: 5px; } .tdmdownloads-summary img { - padding: 0 3px; - margin: 0 3px; - + padding: 0 3px; + margin: 0 3px; } -.tdmdownloads-thereare {font-size: 0.8em; text-align: right; font-style: italic; padding: 0 20px 0 20px;} +.tdmdownloads-thereare { + font-size: 0.8em; + text-align: right; + font-style: italic; + padding: 0 20px 0 20px; +} .tdmdownloads-navigation { - margin: 15px 0 10px 0; - text-align: center; + margin: 15px 0 10px 0; + text-align: center; } .tdmdownloads-navigation-items { - margin: 1px; - padding: 1px + margin: 1px; + padding: 1px } .tdmdownloads-navigation-items span { - padding: 2px; + padding: 2px; } -.tdmdownloads-pagenav {} +.tdmdownloads-pagenav { +} .tdmdownloads-itemText { - padding: 1px; - margin: 1px; - text-align: justify; - width: 69%; + padding: 1px; + margin: 1px; + text-align: justify; + width: 69%; } .tdmdownloads-downInfo { - padding: 1px; - margin: 1px; - width: 29%; + padding: 1px; + margin: 1px; + width: 29%; } .tdmdownloads-box { - border: 1px solid #333; - text-align: left; - font-size: .9em; - padding: .5em; - margin: .5em auto; - line-height: 1.2em; - min-width: 220px; - max-width: 280px; + border: 1px solid #333; + text-align: left; + font-size: .9em; + padding: .5em; + margin: .5em auto; + line-height: 1.2em; + min-width: 220px; + max-width: 280px; } -.tdmdownloads-box #date {background: url(../images/icon/date.png) no-repeat left; padding: 5px 20px;} -.tdmdownloads-box #author {background: url(../images/icon/author.png) no-repeat left ; padding: 5px 20px;} -.tdmdownloads-box #hits {background: url(../images/icon/hits.png) no-repeat left; padding: 5px 20px;} -.tdmdownloads-box #rating {background: url(../images/icon/votes.png) no-repeat left; padding: 5px 20px;} -.tdmdownloads-box #comments {background: url(../images/icon/comments.png) no-repeat left; padding: 5px 20px;} -.tdmdownloads-box #torate {background: url(../images/icon/torate.png) no-repeat left; padding: 5px 20px;} -.tdmdownloads-box #tomodify {background: url(../images/icon/tomodify.png) no-repeat left; padding: 5px 20px;} -.tdmdownloads-box #toreport {background: url(../images/icon/toreport.png) no-repeat left; padding: 5px 20px;} -.tdmdownloads-box #totell {background: url(../images/icon/totell.png) no-repeat left; padding: 5px 20px;} -.tdmdownloads-box #download { background: url(../images/icon/download-now.png) no-repeat left; padding: 5px 25px; line-height: 1.6em; font-size: 1.1em; } -.tdmdownloads-box #noperm { text-align: center; font-size: 1em; font-weight: bold; margin: 2px; padding: 2px;} -.tdmdownloads-box .champ {padding: 5px 20px;} -.tdmdownloads-downInfo #paypal {text-align: center; min-width: 220px; margin-top: .5em;} +.tdmdownloads-box #date { + background: url(../images/icon/date.png) no-repeat left; + padding: 5px 20px; +} + +.tdmdownloads-box #author { + background: url(../images/icon/author.png) no-repeat left; + padding: 5px 20px; +} + +.tdmdownloads-box #hits { + background: url(../images/icon/hits.png) no-repeat left; + padding: 5px 20px; +} + +.tdmdownloads-box #rating { + background: url(../images/icon/votes.png) no-repeat left; + padding: 5px 20px; +} + +.tdmdownloads-box #comments { + background: url(../images/icon/comments.png) no-repeat left; + padding: 5px 20px; +} + +.tdmdownloads-box #torate { + background: url(../images/icon/torate.png) no-repeat left; + padding: 5px 20px; +} + +.tdmdownloads-box #tomodify { + background: url(../images/icon/tomodify.png) no-repeat left; + padding: 5px 20px; +} + +.tdmdownloads-box #toreport { + background: url(../images/icon/toreport.png) no-repeat left; + padding: 5px 20px; +} + +.tdmdownloads-box #totell { + background: url(../images/icon/totell.png) no-repeat left; + padding: 5px 20px; +} + +.tdmdownloads-box #download { + background: url(../images/icon/download-now.png) no-repeat left; + padding: 5px 25px; + line-height: 1.6em; + font-size: 1.1em; +} + +.tdmdownloads-box #noperm { + text-align: center; + font-size: 1em; + font-weight: bold; + margin: 2px; + padding: 2px; +} + +.tdmdownloads-box .champ { + padding: 5px 20px; +} + +.tdmdownloads-downInfo #paypal { + text-align: center; + min-width: 220px; + margin-top: .5em; +} + .tdmdownloads-tag { - + margin: 1px padding: 1px; } .tdmdownloads-socialnetwork { @@ -132,29 +204,34 @@ .tdmdownloads-bookmarkmetitle { text-align: center; } + .tdmdownloads-bookmarkmeitems { text-align: center; margin: 5px; } .endline { - clear: both; - width: 100%; -} -/*for column downloads*/ -.col_width1{ - width:100%; -} -.col_width2{ - width:50%; -} -.col_width3{ - width:33%; -} -.col_width4{ - width:25%; -} -.col_width5{ - width:20%; + clear: both; + width: 100%; } +/*for column downloads*/ +.col_width1 { + width: 100%; +} + +.col_width2 { + width: 50%; +} + +.col_width3 { + width: 33%; +} + +.col_width4 { + width: 25%; +} + +.col_width5 { + width: 20%; +} \ No newline at end of file Modified: tdmdownloads/trunk/templates/tdmdownloads_index.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_index.html 2011-04-22 10:34:35 UTC (rev 46) +++ tdmdownloads/trunk/templates/tdmdownloads_index.html 2011-04-22 10:55:27 UTC (rev 47) @@ -14,8 +14,8 @@ <td> <div class="tdmdownloads-data"> <div class="tdmdownloads-title"> - <div class="floatleft"><h2><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.title}></a></h2></div> - <div class="floatright"><{$category.totaldownloads}></div> + <div class="floatleft title"><h2><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.title}></a></h2></div> + <div class="floatright total xo-pagact"><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.totaldownloads}></a></div> <div class="endline"></div> </div> <div class="tdmdownloads-body justify"> Modified: tdmdownloads/trunk/templates/tdmdownloads_viewcat.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_viewcat.html 2011-04-22 10:34:35 UTC (rev 46) +++ tdmdownloads/trunk/templates/tdmdownloads_viewcat.html 2011-04-22 10:55:27 UTC (rev 47) @@ -21,8 +21,8 @@ <td> <div class="tdmdownloads-data"> <div class="tdmdownloads-title"> - <div class="floatleft"><h2><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.title}></a></h2></div> - <div class="floatright">(<{$category.totaldownloads}>)</div> + <div class="floatleft title"><h2><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.title}></a></h2></div> + <div class="floatright total xo-pagact"><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.totaldownloads}></a></div> <div class="endline"></div> </div> <div class="tdmdownloads-body justify"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 10:34:41
|
Revision: 46 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=46&view=rev Author: voltan1 Date: 2011-04-22 10:34:35 +0000 (Fri, 22 Apr 2011) Log Message: ----------- Add selected class for images Modified Paths: -------------- tdmdownloads/trunk/templates/tdmdownloads_index.html tdmdownloads/trunk/templates/tdmdownloads_viewcat.html Modified: tdmdownloads/trunk/templates/tdmdownloads_index.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_index.html 2011-04-22 10:00:27 UTC (rev 45) +++ tdmdownloads/trunk/templates/tdmdownloads_index.html 2011-04-22 10:34:35 UTC (rev 46) @@ -14,13 +14,13 @@ <td> <div class="tdmdownloads-data"> <div class="tdmdownloads-title"> - <div class="floatleft"><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><h2><{$category.title}></h2></a></div> - <div class="floatright">(<{$category.totaldownloads}>)</div> + <div class="floatleft"><h2><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.title}></a></h2></div> + <div class="floatright"><{$category.totaldownloads}></div> <div class="endline"></div> </div> <div class="tdmdownloads-body justify"> <{if $category.image != ""}> - <a class="marg1 pad1" title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><img class="left" src="<{$category.image}>" alt="<{$category.title}>" /></a> + <a class="marg1 pad1" title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><img class="<{$img_float}>" src="<{$category.image}>" alt="<{$category.title}>" /></a> <{/if}> <{$category.description_main}> <div class="endline"></div> Modified: tdmdownloads/trunk/templates/tdmdownloads_viewcat.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_viewcat.html 2011-04-22 10:00:27 UTC (rev 45) +++ tdmdownloads/trunk/templates/tdmdownloads_viewcat.html 2011-04-22 10:34:35 UTC (rev 46) @@ -21,13 +21,13 @@ <td> <div class="tdmdownloads-data"> <div class="tdmdownloads-title"> - <div class="floatleft"><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><h2><{$category.title}></h2></a></div> + <div class="floatleft"><h2><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><{$category.title}></a></h2></div> <div class="floatright">(<{$category.totaldownloads}>)</div> <div class="endline"></div> </div> <div class="tdmdownloads-body justify"> <{if $category.image != ""}> - <a class="marg1 pad1" title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><img class="left" src="<{$category.image}>" alt="<{$category.title}>" /></a> + <a class="marg1 pad1" title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><img class="<{$img_float}>" src="<{$category.image}>" alt="<{$category.title}>" /></a> <{/if}> <{$category.description_main}> <div class="endline"></div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 10:00:33
|
Revision: 45 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=45&view=rev Author: voltan1 Date: 2011-04-22 10:00:27 +0000 (Fri, 22 Apr 2011) Log Message: ----------- change language Modified Paths: -------------- tdmdownloads/trunk/language/english/main.php tdmdownloads/trunk/language/lang_diff.txt Modified: tdmdownloads/trunk/language/english/main.php =================================================================== --- tdmdownloads/trunk/language/english/main.php 2011-04-22 09:57:52 UTC (rev 44) +++ tdmdownloads/trunk/language/english/main.php 2011-04-22 10:00:27 UTC (rev 45) @@ -117,7 +117,7 @@ //g\xE9n\xE9rique define("_MD_TDMDOWNLOADS_EDITTHISDL","Edit this download"); -define("_MD_TDMDOWNLOADS_MOREDETAILS",">> more details"); +define("_MD_TDMDOWNLOADS_MOREDETAILS","more details"); define("_MD_TDMDOWNLOADS_DOWNLOAD","Download"); define("_MD_TDMDOWNLOADS_RSS","RSS Feed"); Modified: tdmdownloads/trunk/language/lang_diff.txt =================================================================== --- tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 09:57:52 UTC (rev 44) +++ tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 10:00:27 UTC (rev 45) @@ -80,6 +80,7 @@ * _MD_TDMDOWNLOADS_CAT_POPULARITY * _MD_TDMDOWNLOADS_CAT_POPULARITYLTOM" * _MD_TDMDOWNLOADS_CAT_POPULARITYMTOL +* _MD_TDMDOWNLOADS_MOREDETAILS blocks.php ------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 09:57:58
|
Revision: 44 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=44&view=rev Author: voltan1 Date: 2011-04-22 09:57:52 +0000 (Fri, 22 Apr 2011) Log Message: ----------- fix template ( add justify class ) Modified Paths: -------------- tdmdownloads/trunk/templates/tdmdownloads_download.html Modified: tdmdownloads/trunk/templates/tdmdownloads_download.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 09:55:55 UTC (rev 43) +++ tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 09:57:52 UTC (rev 44) @@ -18,7 +18,7 @@ <span class="itemPostDate"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITTER}><{$down.submitter}></span> </div> <div class="itemBody"> - <div class="itemText"> + <div class="itemText justify"> <{if $show_screenshot == true}> <{if $down.logourl != ''}> <img class="<{$img_float}>" width="<{$shotwidth}>" src="<{$down.logourl}>" alt="<{$down.title}>" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 09:56:01
|
Revision: 43 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=43&view=rev Author: voltan1 Date: 2011-04-22 09:55:55 +0000 (Fri, 22 Apr 2011) Log Message: ----------- fix template Modified Paths: -------------- tdmdownloads/trunk/templates/tdmdownloads_download.html Modified: tdmdownloads/trunk/templates/tdmdownloads_download.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 09:50:30 UTC (rev 42) +++ tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 09:55:55 UTC (rev 43) @@ -18,7 +18,7 @@ <span class="itemPostDate"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITTER}><{$down.submitter}></span> </div> <div class="itemBody"> - <div class="itemText tdmdownloads-itemText"> + <div class="itemText"> <{if $show_screenshot == true}> <{if $down.logourl != ''}> <img class="<{$img_float}>" width="<{$shotwidth}>" src="<{$down.logourl}>" alt="<{$down.title}>" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 09:50:36
|
Revision: 42 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=42&view=rev Author: voltan1 Date: 2011-04-22 09:50:30 +0000 (Fri, 22 Apr 2011) Log Message: ----------- fix language file Modified Paths: -------------- tdmdownloads/trunk/language/english/modinfo.php Modified: tdmdownloads/trunk/language/english/modinfo.php =================================================================== --- tdmdownloads/trunk/language/english/modinfo.php 2011-04-22 09:49:40 UTC (rev 41) +++ tdmdownloads/trunk/language/english/modinfo.php 2011-04-22 09:50:30 UTC (rev 42) @@ -120,7 +120,7 @@ define('_MI_TDMDOWNLOADS_SOCIAL_DSC', 'Show/hide social network Icons'); define('_MI_TDMDOWNLOADS_BOOKMARK', 'Bookmark'); define('_MI_TDMDOWNLOADS_BOOKMARK_DSC', 'Show/hide bookmark Icons'); -define('_MI_TDMDOWNLOADS_IMGFLOAT', 'Bookmark'); +define('_MI_TDMDOWNLOADS_IMGFLOAT', 'Image float'); define('_MI_TDMDOWNLOADS_IMGFLOAT_LEFT', 'Left'); define('_MI_TDMDOWNLOADS_IMGFLOAT_RIGHT', 'Right'); define('_MI_TDMDOWNLOADS_DOWNLOADFLOAT', 'Download page float'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 09:49:46
|
Revision: 41 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=41&view=rev Author: voltan1 Date: 2011-04-22 09:49:40 +0000 (Fri, 22 Apr 2011) Log Message: ----------- Add option for select Image float and Download page float Modified Paths: -------------- tdmdownloads/trunk/index.php tdmdownloads/trunk/language/english/modinfo.php tdmdownloads/trunk/language/lang_diff.txt tdmdownloads/trunk/singlefile.php tdmdownloads/trunk/templates/tdmdownloads_download.html tdmdownloads/trunk/templates/tdmdownloads_singlefile.html tdmdownloads/trunk/viewcat.php tdmdownloads/trunk/xoops_version.php Modified: tdmdownloads/trunk/index.php =================================================================== --- tdmdownloads/trunk/index.php 2011-04-22 09:11:35 UTC (rev 40) +++ tdmdownloads/trunk/index.php 2011-04-22 09:49:40 UTC (rev 41) @@ -134,6 +134,7 @@ if ($xoopsModuleConfig['useshots'] == 1) { $xoopsTpl->assign('shotwidth', $xoopsModuleConfig['shotwidth']); $xoopsTpl->assign('show_screenshot', true); + $xoopsTpl->assign('img_float' , $xoopsModuleConfig['img_float']); } $criteria = new CriteriaCompo(); $criteria->add(new Criteria('status', 0, '!=')); Modified: tdmdownloads/trunk/language/english/modinfo.php =================================================================== --- tdmdownloads/trunk/language/english/modinfo.php 2011-04-22 09:11:35 UTC (rev 40) +++ tdmdownloads/trunk/language/english/modinfo.php 2011-04-22 09:49:40 UTC (rev 41) @@ -120,6 +120,13 @@ define('_MI_TDMDOWNLOADS_SOCIAL_DSC', 'Show/hide social network Icons'); define('_MI_TDMDOWNLOADS_BOOKMARK', 'Bookmark'); define('_MI_TDMDOWNLOADS_BOOKMARK_DSC', 'Show/hide bookmark Icons'); +define('_MI_TDMDOWNLOADS_IMGFLOAT', 'Bookmark'); +define('_MI_TDMDOWNLOADS_IMGFLOAT_LEFT', 'Left'); +define('_MI_TDMDOWNLOADS_IMGFLOAT_RIGHT', 'Right'); +define('_MI_TDMDOWNLOADS_DOWNLOADFLOAT', 'Download page float'); +define('_MI_TDMDOWNLOADS_DOWNLOADFLOAT_DSC', '<ul><li>Left to Right : Show download description in left side and info column in right side</li><li>Right to Left : Show download description in right side and info column in left side</li></ul>'); +define('_MI_TDMDOWNLOADS_DOWNLOADFLOAT_LTR', 'Left to Right'); +define('_MI_TDMDOWNLOADS_DOWNLOADFLOAT_RTL', 'Right to Left'); // Notifications define("_MI_TDMDOWNLOADS_GLOBAL_NOTIFY", "Global"); Modified: tdmdownloads/trunk/language/lang_diff.txt =================================================================== --- tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 09:11:35 UTC (rev 40) +++ tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 09:49:40 UTC (rev 41) @@ -114,6 +114,13 @@ + _MI_TDMDOWNLOADS_SOCIAL_DSC + _MI_TDMDOWNLOADS_BOOKMARK + _MI_TDMDOWNLOADS_BOOKMARK_DSC ++ _MI_TDMDOWNLOADS_IMGFLOAT ++ _MI_TDMDOWNLOADS_IMGFLOAT_LEFT ++ _MI_TDMDOWNLOADS_IMGFLOAT_RIGHT ++ _MI_TDMDOWNLOADS_DOWNLOADFLOAT ++ _MI_TDMDOWNLOADS_DOWNLOADFLOAT_DSC ++ _MI_TDMDOWNLOADS_DOWNLOADFLOAT_LTR ++ _MI_TDMDOWNLOADS_DOWNLOADFLOAT_RTL * _MI_TDMDOWNLOADS_ADMENU7 * _MI_TDMDOWNLOADS_ADMENU9 Modified: tdmdownloads/trunk/singlefile.php =================================================================== --- tdmdownloads/trunk/singlefile.php 2011-04-22 09:11:35 UTC (rev 40) +++ tdmdownloads/trunk/singlefile.php 2011-04-22 09:49:40 UTC (rev 41) @@ -55,8 +55,18 @@ //Utilisation d'une copie d'\xE9cran avec la largeur selon les pr\xE9f\xE9rences if ($xoopsModuleConfig['useshots'] == 1) { $xoopsTpl->assign('shotwidth', $xoopsModuleConfig['shotwidth']); - $xoopsTpl->assign('show_screenshot', true); -} + $xoopsTpl->assign('show_screenshot', true); + $xoopsTpl->assign('img_float' , $xoopsModuleConfig['img_float']); +} + +if ($xoopsModuleConfig['download_float'] == 'ltr') { + $xoopsTpl->assign('textfloat', 'floatleft'); + $xoopsTpl->assign('infofloat', 'floatright'); +} else { + $xoopsTpl->assign('textfloat', 'floatright'); + $xoopsTpl->assign('infofloat', 'floatleft'); +} + // sortie des informations if ($view_downloads->getVar('logourl') == 'blank.gif'){ $logourl = ''; Modified: tdmdownloads/trunk/templates/tdmdownloads_download.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 09:11:35 UTC (rev 40) +++ tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 09:49:40 UTC (rev 41) @@ -21,7 +21,7 @@ <div class="itemText tdmdownloads-itemText"> <{if $show_screenshot == true}> <{if $down.logourl != ''}> - <img class="left" width="<{$shotwidth}>" src="<{$down.logourl}>" alt="" /> + <img class="<{$img_float}>" width="<{$shotwidth}>" src="<{$down.logourl}>" alt="<{$down.title}>" /> <{/if}> <{/if}> <{$down.description_short}> Modified: tdmdownloads/trunk/templates/tdmdownloads_singlefile.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-22 09:11:35 UTC (rev 40) +++ tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-22 09:49:40 UTC (rev 41) @@ -20,15 +20,15 @@ </div> <{/if}> <div class="itemBody"> - <div class="itemText tdmdownloads-itemText floatleft"> + <div class="itemText tdmdownloads-itemText <{$textfloat}>"> <{if $show_screenshot == true}> <{if $logourl != ''}> - <img class="left" width="<{$shotwidth}>" src="<{$logourl}>" alt="" /> + <img class="<{$img_float}>" width="<{$shotwidth}>" src="<{$logourl}>" alt="<{$title}>" /> <{/if}> <{/if}> <{$description}> </div> - <div class="tdmdownloads-downInfo floatright"> + <div class="tdmdownloads-downInfo <{$infofloat}>"> <div class="tdmdownloads-box" id="tdmdownloads-box-1"> <div id="date"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_DATEPROP}>:<{$date}></div> <div id="author"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_AUTHOR}>:<{$author}></div> Modified: tdmdownloads/trunk/viewcat.php =================================================================== --- tdmdownloads/trunk/viewcat.php 2011-04-22 09:11:35 UTC (rev 40) +++ tdmdownloads/trunk/viewcat.php 2011-04-22 09:49:40 UTC (rev 41) @@ -159,7 +159,8 @@ //Utilisation d'une copie d'\xE9cran avec la largeur selon les pr\xE9f\xE9rences if ($xoopsModuleConfig['useshots'] == 1) { $xoopsTpl->assign('shotwidth', $xoopsModuleConfig['shotwidth']); - $xoopsTpl->assign('show_screenshot', true); + $xoopsTpl->assign('show_screenshot', true); + $xoopsTpl->assign('img_float' , $xoopsModuleConfig['img_float']); } $criteria = new CriteriaCompo(); $criteria->add(new Criteria('status', 0, '!=')); Modified: tdmdownloads/trunk/xoops_version.php =================================================================== --- tdmdownloads/trunk/xoops_version.php 2011-04-22 09:11:35 UTC (rev 40) +++ tdmdownloads/trunk/xoops_version.php 2011-04-22 09:49:40 UTC (rev 41) @@ -187,6 +187,14 @@ $modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 90; $i++; +$modversion['config'][$i]['name'] = 'img_float'; +$modversion['config'][$i]['title'] = '_MI_TDMDOWNLOADS_IMGFLOAT'; +$modversion['config'][$i]['description'] = ''; +$modversion['config'][$i]['formtype'] = 'select'; +$modversion['config'][$i]['valuetype'] = 'text'; +$modversion['config'][$i]['default'] = 'left'; +$modversion['config'][$i]['options'] = array(_MI_TDMDOWNLOADS_IMGFLOAT_LEFT => 'left', _MI_TDMDOWNLOADS_IMGFLOAT_RIGHT => 'right'); +$i++; $modversion['config'][$i]['name'] = 'platform'; $modversion['config'][$i]['title'] = '_MI_TDMDOWNLOADS_PLATEFORM'; $modversion['config'][$i]['description'] = '_MI_TDMDOWNLOADS_PLATEFORM_DSC'; @@ -338,6 +346,14 @@ $modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 1; $i++; +$modversion['config'][$i]['name'] = 'download_float'; +$modversion['config'][$i]['title'] = '_MI_TDMDOWNLOADS_DOWNLOADFLOAT'; +$modversion['config'][$i]['description'] = '_MI_TDMDOWNLOADS_DOWNLOADFLOAT_DSC'; +$modversion['config'][$i]['formtype'] = 'select'; +$modversion['config'][$i]['valuetype'] = 'text'; +$modversion['config'][$i]['default'] = 'ltr'; +$modversion['config'][$i]['options'] = array(_MI_TDMDOWNLOADS_DOWNLOADFLOAT_LTR => 'ltr', _MI_TDMDOWNLOADS_DOWNLOADFLOAT_RTL => 'rtl'); +$i++; $modversion['config'][$i]['name'] = 'break' . $i; $modversion['config'][$i]['title'] = '_MI_TDMDOWNLOADS_PREFERENCE_BREAK_ADMIN'; $modversion['config'][$i]['description'] = ''; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 09:11:42
|
Revision: 40 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=40&view=rev Author: voltan1 Date: 2011-04-22 09:11:35 +0000 (Fri, 22 Apr 2011) Log Message: ----------- Change file array Modified Paths: -------------- tdmdownloads/trunk/index.php tdmdownloads/trunk/singlefile.php tdmdownloads/trunk/templates/tdmdownloads_download.html tdmdownloads/trunk/templates/tdmdownloads_singlefile.html tdmdownloads/trunk/viewcat.php Modified: tdmdownloads/trunk/index.php =================================================================== --- tdmdownloads/trunk/index.php 2011-04-22 08:59:32 UTC (rev 39) +++ tdmdownloads/trunk/index.php 2011-04-22 09:11:35 UTC (rev 40) @@ -205,7 +205,7 @@ $perm_download = true; } } - $xoopsTpl->append('file', array('id' => $downloads_arr[$i]->getVar('lid'),'cid'=>$downloads_arr[$i]->getVar('cid'), 'title' => $downloads_arr[$i]->getVar('title') . $new . $pop,'logourl' => $logourl,'updated' => $datetime,'description_short' => $description_short, + $xoopsTpl->append('file', array('id' => $downloads_arr[$i]->getVar('lid'),'cid'=>$downloads_arr[$i]->getVar('cid'), 'title' => $downloads_arr[$i]->getVar('title'), 'new' => $new, 'pop' => $pop,'logourl' => $logourl,'updated' => $datetime,'description_short' => $description_short, 'adminlink' => $adminlink, 'submitter' => $submitter, 'perm_download' => $perm_download, 'count' => $count)); //pour les mots clef $keywords .= $downloads_arr[$i]->getVar('title') . ','; Modified: tdmdownloads/trunk/singlefile.php =================================================================== --- tdmdownloads/trunk/singlefile.php 2011-04-22 08:59:32 UTC (rev 39) +++ tdmdownloads/trunk/singlefile.php 2011-04-22 09:11:35 UTC (rev 40) @@ -79,7 +79,9 @@ // pour les vignettes "new" et "mis \xE0 jour" $new = TDMDownloads_Thumbnail($view_downloads->getVar('date'), $view_downloads->getVar('status')); $pop = TDMDownloads_Popular($view_downloads->getVar('hits')); -$xoopsTpl->assign('title' , $view_downloads->getVar('title') . $new . $pop); +$xoopsTpl->assign('title' , $view_downloads->getVar('title')); +$xoopsTpl->assign('new' , $new); +$xoopsTpl->assign('pop' , $pop); $xoopsTpl->assign('adminlink' , $adminlink); $xoopsTpl->assign('date' , formatTimestamp($view_downloads->getVar('date'),'s')); $xoopsTpl->assign('author' , XoopsUser::getUnameFromId($view_downloads->getVar('submitter'))); Modified: tdmdownloads/trunk/templates/tdmdownloads_download.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 08:59:32 UTC (rev 39) +++ tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 09:11:35 UTC (rev 40) @@ -1,13 +1,19 @@ <div class="item tdmdownloads-item"> <div class="itemHead"> <span class="itemTitle"> - <{if $down.perm_download != ""}> - <a title="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}>" href="visit.php?cid=<{$down.cid}>&lid=<{$down.id}>" rel="external"><img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/download-now.png" alt="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}>" /></a> - <{/if}> - <a title="<{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>" ><{$down.title}></a> + <h2><a title="<{$down.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>" ><{$down.title}></a></h2> </span> </div> <div class="itemInfo"> + <{if $down.new}> + <span class="itemNew"><{$down.new}></span> + <{/if}> + <{if $down.pop}> + <span class="itemPop"><{$down.pop}></span> + <{/if}> + <{if $down.perm_download != ""}> + <span class="itemDownload"><a title="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}>" href="visit.php?cid=<{$down.cid}>&lid=<{$down.id}>" rel="external"><img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/download-now.png" alt="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}>" /></a></span> + <{/if}> <span class="itemPoster"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITDATE}><{$down.updated}></span> <span class="itemPostDate"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITTER}><{$down.submitter}></span> </div> @@ -24,6 +30,6 @@ </div> <div class="itemFoot"> <span class="itemAdminLink"><{$down.adminlink}></span> - <span class="itemPermaLink"><a title="<{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>"><{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}></a></span> + <span class="itemPermaLink"><a title="<{$down.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>"><{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}></a></span> </div> </div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/tdmdownloads_singlefile.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-22 08:59:32 UTC (rev 39) +++ tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-22 09:11:35 UTC (rev 40) @@ -13,6 +13,12 @@ <div class="itemHead"> <span class="itemTitle"><h1><{$title}></h1></span> </div> + <{if $new || $pop}> + <div class="itemInfo"> + <span class="itemPoster"><{$new}></span> + <span class="itemPostDate"><{$pop}></span> + </div> + <{/if}> <div class="itemBody"> <div class="itemText tdmdownloads-itemText floatleft"> <{if $show_screenshot == true}> Modified: tdmdownloads/trunk/viewcat.php =================================================================== --- tdmdownloads/trunk/viewcat.php 2011-04-22 08:59:32 UTC (rev 39) +++ tdmdownloads/trunk/viewcat.php 2011-04-22 09:11:35 UTC (rev 40) @@ -255,7 +255,7 @@ $summary = $cpt . '- <a href="#l' . $cpt . '">' . $downloads_arr[$i]->getVar('title') . '</a><br />'; $xoopsTpl->append('summary', array('title' => $summary, 'count' => $cpt)); - $xoopsTpl->append('file', array('id' => $downloads_arr[$i]->getVar('lid'),'cid' => $downloads_arr[$i]->getVar('cid'), 'title' => $downloads_arr[$i]->getVar('title') . $new . $pop,'logourl' => $logourl,'updated' => $datetime,'description_short' => $description_short, + $xoopsTpl->append('file', array('id' => $downloads_arr[$i]->getVar('lid'),'cid' => $downloads_arr[$i]->getVar('cid'), 'title' => $downloads_arr[$i]->getVar('title'), 'new' => $new, 'pop' => $pop,'logourl' => $logourl,'updated' => $datetime,'description_short' => $description_short, 'adminlink' => $adminlink, 'submitter' => $submitter, 'perm_download' => $perm_download, 'count' => $cpt)); //pour les mots clef $keywords .= $downloads_arr[$i]->getVar('title') . ','; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 08:59:38
|
Revision: 39 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=39&view=rev Author: voltan1 Date: 2011-04-22 08:59:32 +0000 (Fri, 22 Apr 2011) Log Message: ----------- fix template Modified Paths: -------------- tdmdownloads/trunk/templates/tdmdownloads_singlefile.html Modified: tdmdownloads/trunk/templates/tdmdownloads_singlefile.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-22 08:58:42 UTC (rev 38) +++ tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-22 08:59:32 UTC (rev 39) @@ -49,7 +49,7 @@ <div id="toreport"><a href="<{$xoops_url}>/modules/TDMDownloads/brokenfile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}></a></div> <div id="totell"><{$tellafriend_texte}></div> </div> - <{if $perm_download == ""}> + <{if $perm_download != ""}> <div class="tdmdownloads-box" id="tdmdownloads-box-4"> <div id="download"><a href="visit.php?cid=<{$cid}>&lid=<{$lid}>" rel="nofollow external"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}></a></div> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-22 08:58:51
|
Revision: 38 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=38&view=rev Author: voltan1 Date: 2011-04-22 08:58:42 +0000 (Fri, 22 Apr 2011) Log Message: ----------- Improve module templates part one Modified Paths: -------------- tdmdownloads/trunk/css/styles.css tdmdownloads/trunk/language/english/main.php tdmdownloads/trunk/language/lang_diff.txt tdmdownloads/trunk/templates/tdmdownloads_brokenfile.html tdmdownloads/trunk/templates/tdmdownloads_download.html tdmdownloads/trunk/templates/tdmdownloads_index.html tdmdownloads/trunk/templates/tdmdownloads_liste.html tdmdownloads/trunk/templates/tdmdownloads_modfile.html tdmdownloads/trunk/templates/tdmdownloads_ratefile.html tdmdownloads/trunk/templates/tdmdownloads_singlefile.html tdmdownloads/trunk/templates/tdmdownloads_submit.html tdmdownloads/trunk/templates/tdmdownloads_viewcat.html Modified: tdmdownloads/trunk/css/styles.css =================================================================== --- tdmdownloads/trunk/css/styles.css 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/css/styles.css 2011-04-22 08:58:42 UTC (rev 38) @@ -1,4 +1,146 @@ - +.tdmdownloads-categories { + border-bottom: 1px #333 solid; + padding: 2px; + margin: 2px; +} + +.tdmdownloads-catinfo { + +} + +.tdmdownloads-data { + border: 0px; + padding: 1px; + margin: 1px; +} +.tdmdownloads-title { + +} +.tdmdownloads-body { + font-size: 1em; +} + +.tdmdownloads-body img { + border: 0px; + padding: 1px; + margin: 1px; + max-height: 120px; + max-width: 120px; +} +.tdmdownloads-subtitle { + +} + +.tdmdownloads-rss { + margin: 1px; + padding: 1px; + text-align: right; +} + +.tdmdownloads-linetitle { + font-size: 1.4em; + line-height: 1.4em; + border-bottom: 1px #333 solid; + padding: 1px 10px; + margin: 1px; +} + +.tdmdownloads-summary { + margin: 5px 5px 5px 20px; + padding: 5px; +} + +.tdmdownloads-summary img { + padding: 0 3px; + margin: 0 3px; + +} + +.tdmdownloads-thereare {font-size: 0.8em; text-align: right; font-style: italic; padding: 0 20px 0 20px;} + +.tdmdownloads-navigation { + margin: 15px 0 10px 0; + text-align: center; +} + +.tdmdownloads-navigation-items { + margin: 1px; + padding: 1px +} + +.tdmdownloads-navigation-items span { + padding: 2px; +} + +.tdmdownloads-pagenav {} + +.tdmdownloads-itemText { + padding: 1px; + margin: 1px; + text-align: justify; + width: 69%; +} + +.tdmdownloads-downInfo { + padding: 1px; + margin: 1px; + width: 29%; +} + +.tdmdownloads-box { + border: 1px solid #333; + text-align: left; + font-size: .9em; + padding: .5em; + margin: .5em auto; + line-height: 1.2em; + min-width: 220px; + max-width: 280px; +} + +.tdmdownloads-box #date {background: url(../images/icon/date.png) no-repeat left; padding: 5px 20px;} +.tdmdownloads-box #author {background: url(../images/icon/author.png) no-repeat left ; padding: 5px 20px;} +.tdmdownloads-box #hits {background: url(../images/icon/hits.png) no-repeat left; padding: 5px 20px;} +.tdmdownloads-box #rating {background: url(../images/icon/votes.png) no-repeat left; padding: 5px 20px;} +.tdmdownloads-box #comments {background: url(../images/icon/comments.png) no-repeat left; padding: 5px 20px;} +.tdmdownloads-box #torate {background: url(../images/icon/torate.png) no-repeat left; padding: 5px 20px;} +.tdmdownloads-box #tomodify {background: url(../images/icon/tomodify.png) no-repeat left; padding: 5px 20px;} +.tdmdownloads-box #toreport {background: url(../images/icon/toreport.png) no-repeat left; padding: 5px 20px;} +.tdmdownloads-box #totell {background: url(../images/icon/totell.png) no-repeat left; padding: 5px 20px;} +.tdmdownloads-box #download { background: url(../images/icon/download-now.png) no-repeat left; padding: 5px 25px; line-height: 1.6em; font-size: 1.1em; } +.tdmdownloads-box #noperm { text-align: center; font-size: 1em; font-weight: bold; margin: 2px; padding: 2px;} +.tdmdownloads-box .champ {padding: 5px 20px;} +.tdmdownloads-downInfo #paypal {text-align: center; min-width: 220px; margin-top: .5em;} +.tdmdownloads-tag { + +} + +.tdmdownloads-socialnetwork { + width: 100% height: 25px; + margin-bottom: 40px; +} + +.tdmdownloads-socialnetwork ul li { + list-style: none; + float: left; +} + +.tdmdownloads-bookmarkme { + width: 100% height: 50px; +} + +.tdmdownloads-bookmarkmetitle { + text-align: center; +} +.tdmdownloads-bookmarkmeitems { + text-align: center; + margin: 5px; +} + +.endline { + clear: both; + width: 100%; +} /*for column downloads*/ .col_width1{ width:100%; @@ -16,24 +158,3 @@ width:20%; } -.socialnetwork { - width: 100% height: 25px; - margin-bottom: 40px; -} - -.socialnetwork ul li { - list-style: none; - float: left; -} - -.bookmarkme { - width: 100% height: 50px; -} - -.bookmarkmetitle { - text-align: center; -} -.bookmarkmeitems { - text-align: center; - margin: 5px; -} \ No newline at end of file Modified: tdmdownloads/trunk/language/english/main.php =================================================================== --- tdmdownloads/trunk/language/english/main.php 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/language/english/main.php 2011-04-22 08:58:42 UTC (rev 38) @@ -26,8 +26,8 @@ define("_MD_TDMDOWNLOADS_INDEX_UPTHISWEEK","Updated this Week"); define("_MD_TDMDOWNLOADS_INDEX_SCAT","Sub Categories: "); define("_MD_TDMDOWNLOADS_INDEX_SUBMITDATE","Submitted Date "); -define("_MD_TDMDOWNLOADS_INDEX_SUBMITTER","Submitted by: "); -define("_MD_TDMDOWNLOADS_INDEX_THEREARE","There are<b>%s</b> file(s) in our databse"); +define("_MD_TDMDOWNLOADS_INDEX_SUBMITTER","Submitted by: "); +define("_MD_TDMDOWNLOADS_INDEX_THEREARE","There are<b>%s</b> file(s) in our databse"); // viewcat.php: define("_MD_TDMDOWNLOADS_CAT_CURSORTBY","Files currently sorted by : %s"); @@ -37,9 +37,9 @@ define("_MD_TDMDOWNLOADS_CAT_HITS","Hits"); define("_MD_TDMDOWNLOADS_CAT_LIST","List"); define("_MD_TDMDOWNLOADS_CAT_NONEXISTENT","This category does not exist"); -define("_MD_TDMDOWNLOADS_CAT_POPULARITY","Popularity;"); -define("_MD_TDMDOWNLOADS_CAT_POPULARITYLTOM","Popularity; (from - to + Downloads)"); -define("_MD_TDMDOWNLOADS_CAT_POPULARITYMTOL","Popularity; (from + to - Downloads)"); +define("_MD_TDMDOWNLOADS_CAT_POPULARITY","Popularity"); +define("_MD_TDMDOWNLOADS_CAT_POPULARITYLTOM","Popularity (from - to + Downloads)"); +define("_MD_TDMDOWNLOADS_CAT_POPULARITYMTOL","Popularity (from + to - Downloads)"); define("_MD_TDMDOWNLOADS_CAT_RATING","Rate"); define("_MD_TDMDOWNLOADS_CAT_RATINGLTOH","Rating (from - to + high score)"); define("_MD_TDMDOWNLOADS_CAT_RATINGHTOL","Rating (from + to - high score)"); @@ -68,7 +68,8 @@ define("_MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN","Report a broken file"); define("_MD_TDMDOWNLOADS_SINGLEFILE_TELLAFRIEND","Send to a Friend"); define("_MD_TDMDOWNLOADS_SINGLEFILE_VOTES","(%s votes)"); -define("_MD_TDMDOWNLOADS_SINGLEFILE_PAYPAL","Donation for %s"); +define("_MD_TDMDOWNLOADS_SINGLEFILE_PAYPAL","Donation for %s"); +define("_MD_TDMDOWNLOADS_SINGLEFILE_NOPERM","You don't have donwload permissions"); // ratefile.php define("_MD_TDMDOWNLOADS_RATEFILE_BEOBJECTIVE","Please be objective, if everyone receives a 1 or a 10, the ratings aren't very useful."); @@ -117,6 +118,8 @@ //g\xE9n\xE9rique define("_MD_TDMDOWNLOADS_EDITTHISDL","Edit this download"); define("_MD_TDMDOWNLOADS_MOREDETAILS",">> more details"); +define("_MD_TDMDOWNLOADS_DOWNLOAD","Download"); +define("_MD_TDMDOWNLOADS_RSS","RSS Feed"); //visit.php define("_MD_TDMDOWNLOADS_NOPERMISETOLINK", "This file does not belong to the website from where you are coming.<br /><br />thanks to write an email to the webmaster of the website from where you are coming and tell him :<br /><b>NO OWNERSHIP OF LINKS FROM OTHER SITES !! (LEECH)</b><br /><br /><b>Leecher definition :</b> Someone who is lazy to link to its own server or steals the hard work done by other people <br /><br />You are already <b>registered</b>."); Modified: tdmdownloads/trunk/language/lang_diff.txt =================================================================== --- tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 08:58:42 UTC (rev 38) @@ -73,6 +73,13 @@ + _MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBUZZ + _MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEREADER + _MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBOOKMARKS ++ _MD_TDMDOWNLOADS_DOWNLOAD ++ _MD_TDMDOWNLOADS_RSS ++ _MD_TDMDOWNLOADS_SINGLEFILE_NOPERM + +* _MD_TDMDOWNLOADS_CAT_POPULARITY +* _MD_TDMDOWNLOADS_CAT_POPULARITYLTOM" +* _MD_TDMDOWNLOADS_CAT_POPULARITYMTOL blocks.php ------------- Modified: tdmdownloads/trunk/templates/tdmdownloads_brokenfile.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_brokenfile.html 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/templates/tdmdownloads_brokenfile.html 2011-04-22 08:58:42 UTC (rev 38) @@ -1,17 +1,27 @@ -<br /><br /> -<p align="center"> - <a href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="" border="0" /></a> -</p> -<b><{$navigation}></b> -<br /><br /> -<div style="border-bottom: 1px #333 solid;"></div> -<br /> -<div align='center'> -<{$smarty.const._MD_TDMDOWNLOADS_BROKENFILE_THANKSFORHELP}><br /> -<{$smarty.const._MD_TDMDOWNLOADS_BROKENFILE_FORSECURITY}> -</div> -<br /><br /> -<{if $message_erreur != ''}> - <div class="errorMsg" style="text-align: left;"><{$message_erreur}></div> -<{/if}> -<{$themeForm}> \ No newline at end of file +<div class="tdmdownloads"> + + <!-- Download logo--> + <div class="tdmdownloads-logo center marg10"> + <a title="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" /></a> + </div> + + <!-- Category path --> + <div class="bold marg1 pad1"><{$navigation}></div> + + <!-- Submit helps --> + <div class="tdmdownloads-tips"> + <ul> + <li><{$smarty.const._MD_TDMDOWNLOADS_BROKENFILE_FORSECURITY}></li> + <li><{$smarty.const._MD_TDMDOWNLOADS_BROKENFILE_THANKSFORHELP}></li> + </ul> + </div> + + <{if $message_erreur != ''}> + <!-- Error message--> + <div class="errorMsg"><{$message_erreur}></div> + <{/if}> + + <!-- Submit form --> + <div class="tdmdownloads-submitform"><{$themeForm}></div> + +</div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/tdmdownloads_download.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/templates/tdmdownloads_download.html 2011-04-22 08:58:42 UTC (rev 38) @@ -1,30 +1,29 @@ -<div style="margin: 10px 0 50px 0; border-bottom: 1px solid #333; padding-bottom: 5px;"> -<table> - <tr> - <{if $show_screenshot == true}> - <{if $down.logourl != ''}> - <td style="width: <{$shotwidth}>px; vertical-align: top;" align="left"> - <img style="margin-top: 1em; margin-right: 1em; padding-left: 4px;" src="<{$down.logourl}>" alt="" /> - </td> - <{/if}> - <{/if}> - <td align="left"> - <div style="font-size: 1.5em; margin-top: 0.5em;"> - <{if $down.perm_download != ""}> - <a href="visit.php?cid=<{$down.cid}>&lid=<{$down.id}>" rel="external" title="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}>"><img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/download-now.png" alt="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}>" /></a> - <{/if}> - <a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>" title="<{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}>"><{$down.title}></a> <{$down.adminlink}> - </div> - <div style="font-size: 0.8em; margin-top: 0.5em; margin-bottom: 0.5em;<{if $show_screenshot == false}>margin-left: 28px;<{/if}>"> - <{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITDATE}> : <{$down.updated}> - <{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITTER}><{$down.submitter}> - </div> - </td> - </tr> - <tr> - <td align="left" <{if $show_screenshot == true}>colspan="2"<{/if}>> - <div style="margin-left: 3.5em; margin-top: 1em;"><{$down.description_short}></div> - <div style="text-align: right; padding: 0 20px 0 0;"><a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>"><{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}></a></div> - </td> - </tr> -</table> +<div class="item tdmdownloads-item"> + <div class="itemHead"> + <span class="itemTitle"> + <{if $down.perm_download != ""}> + <a title="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}>" href="visit.php?cid=<{$down.cid}>&lid=<{$down.id}>" rel="external"><img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/download-now.png" alt="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}>" /></a> + <{/if}> + <a title="<{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>" ><{$down.title}></a> + </span> + </div> + <div class="itemInfo"> + <span class="itemPoster"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITDATE}><{$down.updated}></span> + <span class="itemPostDate"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_SUBMITTER}><{$down.submitter}></span> + </div> + <div class="itemBody"> + <div class="itemText tdmdownloads-itemText"> + <{if $show_screenshot == true}> + <{if $down.logourl != ''}> + <img class="left" width="<{$shotwidth}>" src="<{$down.logourl}>" alt="" /> + <{/if}> + <{/if}> + <{$down.description_short}> + </div> + <div class="endline"></div> + </div> + <div class="itemFoot"> + <span class="itemAdminLink"><{$down.adminlink}></span> + <span class="itemPermaLink"><a title="<{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$down.cid}>&lid=<{$down.id}>"><{$smarty.const._MD_TDMDOWNLOADS_MOREDETAILS}></a></span> + </div> </div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/tdmdownloads_index.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_index.html 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/templates/tdmdownloads_index.html 2011-04-22 08:58:42 UTC (rev 38) @@ -1,92 +1,125 @@ -<br /><br /> -<p align="center"> - <a href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="" border="0" /></a> -</p> -<br /><br /> -<{if count($categories) gt 0}> -<div style="border-bottom: 1px #333 solid;"></div> - -<table border='0' cellspacing='5' cellpadding='0' align="center"> - <tr> - <!-- Start category loop --> - <{foreach item=category from=$categories}> - <td valign="top" width="150" > - <{if $category.image != ""}> - <a href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><img src="<{$category.image}>" border="0" alt="" /></a> - <{/if}> - </td> - <td valign="top"> - <a href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><b><{$category.title}></b></a> (<{$category.totaldownloads}>) - <br /><{$category.description_main}><{if $category.subcategories != ""}><br /><br /> - <b><{$smarty.const._MD_TDMDOWNLOADS_INDEX_SCAT}></b><br /><ul><{$category.subcategories}></ul><{/if}> - </td> - <{if $category.count is div by $nb_catcol}> - </tr> - <tr> - <{/if}> - <{/foreach}> - <!-- End category loop --> - </tr> -</table> -<div style="text-align: right;"><a href="<{$xoops_url}>/modules/TDMDownloads/rss.php?cid=0"><img src="images/rss.gif" alt="RSS Feed"></a></div> -<{if $bl_affichage==1}> -<div style="font-size: 1.6em; margin: 15px 0 10px 0; border-bottom: 1px #333 solid;"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLNAME}></div> -<table cellspacing="0" cellpadding="10" border="0"> - <tr> - <{if $bl_date != ""}> - <td width="33%" align="left" valign="top"> - <img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/date.png" alt="" /> <b><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLDATE}></b> - <ul> - <{foreach item=bl_date from=$bl_date}> - <li><a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_date.cid}>&lid=<{$bl_date.id}>"><{$bl_date.title}></a> (<{$bl_date.date}>)</li> - <{/foreach}> - </ul> - </td> - <{/if}> - <{if $bl_pop != ""}> - <td width="33%" align="left" valign="top"> - <img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/hits.png" alt="" /> <b><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLPOP}></b> - <ul> - <{foreach item=bl_pop from=$bl_pop}> - <li><a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_pop.cid}>&lid=<{$bl_pop.id}>"><{$bl_pop.title}></a> (<{$bl_pop.hits}>)</li> - <{/foreach}> - </ul> - </td> - <{/if}> - <{if $bl_rating != ""}> - <td width="33%" align="left" valign="top"> - <img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/votes.png" alt="" /> <b><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLRATING}></b> - <ul> - <{foreach item=bl_rating from=$bl_rating}> - <li><a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_rating.cid}>&lid=<{$bl_rating.id}>"><{$bl_rating.title}></a> (<{$bl_rating.rating}>)</li> - <{/foreach}> - </ul> - </td> - <{/if}> - </tr> -</table> -<{/if}> -<br /><br /> -<div style="font-size: 11px; text-align: right; font-style: italic; padding: 0 20px 0 0;"><{$lang_thereare}></div> -<{/if}> -<{if $file != ""}> - <div style="font-size: 1.6em; margin: 15px 0 5px 0; border-bottom: 1px #333 solid;"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_LATESTLIST}></div> - <table width="100%" cellspacing="0" cellpadding="10" border="0"> - <tr> - <!-- Start new link loop --> - <{section name=i loop=$file}> - <td class="col_width<{$nb_dowcol}>" align="center" valign="top"> - <{include file="db:tdmdownloads_download.html" down=$file[i]}> - </td> - <{if $file[i].count is div by $nb_dowcol}> - </tr> - <tr> - <{/if}> - <{/section}> - <!-- End new link loop --> - </tr> - - - </table> -<{/if}> -<{include file="db:system_notification_select.html"}> +<div class="tdmdownloads"> + + <!-- Download logo--> + <div class="tdmdownloads-logo center marg10"> + <a title="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" /></a> + </div> + + <{if count($categories) gt 0}> + <!-- Start Show categories information --> + <div class="tdmdownloads-categories"> + <table> + <tr> + <{foreach item=category from=$categories}> + <td> + <div class="tdmdownloads-data"> + <div class="tdmdownloads-title"> + <div class="floatleft"><a title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><h2><{$category.title}></h2></a></div> + <div class="floatright">(<{$category.totaldownloads}>)</div> + <div class="endline"></div> + </div> + <div class="tdmdownloads-body justify"> + <{if $category.image != ""}> + <a class="marg1 pad1" title="<{$category.title}>" href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$category.id}>"><img class="left" src="<{$category.image}>" alt="<{$category.title}>" /></a> + <{/if}> + <{$category.description_main}> + <div class="endline"></div> + </div> + <{if $category.subcategories != ""}> + <div class="tdmdownloads-subtitle"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_SCAT}><ul><{$category.subcategories}></ul></div> + <{/if}> + </div> + </td> + <{if $category.count is div by $nb_catcol}> + </tr> + <tr> + <{/if}> + <{/foreach}> + </tr> + </table> + </div> + <!-- End Show categories information --> + + <!-- RSS logo --> + <div class="tdmdownloads-rss"> + <a title="<{$smarty.const._MD_TDMDOWNLOADS_RSS}>" href="<{$xoops_url}>/modules/TDMDownloads/rss.php?cid=0"><img src="images/rss.gif" alt="<{$smarty.const._MD_TDMDOWNLOADS_RSS}>" /></a> + </div> + + <{if $bl_affichage==1}> + <!-- Start Summary informations --> + <div class="tdmdownloads-linetitle"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLNAME}></div> + <table class="mrag2 pad2 tdmdownloads-summary"> + <tr> + <{if $bl_date != ""}> + <td class="width33 top"> + <div class="bold mrag2 pad2"> + <img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/date.png" alt="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLDATE}>" /><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLDATE}> + </div> + <div class="mrag2 pad2"> + <ul> + <{foreach item=bl_date from=$bl_date}> + <li><a title="<{$bl_date.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_date.cid}>&lid=<{$bl_date.id}>"><{$bl_date.title}></a> (<{$bl_date.date}>)</li> + <{/foreach}> + </ul> + </div> + </td> + <{/if}> + <{if $bl_pop != ""}> + <td class="width33 top"> + <div class="bold mrag2 pad2"> + <img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/hits.png" alt="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLPOP}>" /><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLPOP}> + </div> + <div class="mrag2 pad2"> + <ul> + <{foreach item=bl_pop from=$bl_pop}> + <li><a title="<{$bl_pop.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_pop.cid}>&lid=<{$bl_pop.id}>"><{$bl_pop.title}></a> (<{$bl_pop.hits}>)</li> + <{/foreach}> + </ul> + </div> + </td> + <{/if}> + <{if $bl_rating != ""}> + <td class="width33 top"> + <div class="bold mrag2 pad2"> + <img src="<{$xoops_url}>/modules/TDMDownloads/images/icon/votes.png" alt="<{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLRATING}>" /><{$smarty.const._MD_TDMDOWNLOADS_INDEX_BLRATING}> + </div> + <div class="mrag2 pad2"> + <ul> + <{foreach item=bl_rating from=$bl_rating}> + <li><a title="<{$bl_rating.title}>" href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$bl_rating.cid}>&lid=<{$bl_rating.id}>"><{$bl_rating.title}></a> (<{$bl_rating.rating}>)</li> + <{/foreach}> + </ul> + </div> + </td> + <{/if}> + </tr> + </table> + <!-- End Summary informations --> + <{/if}> + + <div class="tdmdownloads-thereare"><{$lang_thereare}></div> + <{/if}> + + <{if $file != ""}> + <!-- Start Show new files in index --> + <div class="tdmdownloads-linetitle"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_LATESTLIST}></div> + <table> + <tr> + <!-- Start new link loop --> + <{section name=i loop=$file}> + <td class="col_width<{$nb_dowcol}> top center"> + <{include file="db:tdmdownloads_download.html" down=$file[i]}> + </td> + <{if $file[i].count is div by $nb_dowcol}> + </tr> + <tr> + <{/if}> + <{/section}> + <!-- End new link loop --> + </tr> + </table> + <!-- End Show new files in index --> + <{/if}> + + <{include file="db:system_notification_select.html"}> +</div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/tdmdownloads_liste.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_liste.html 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/templates/tdmdownloads_liste.html 2011-04-22 08:58:42 UTC (rev 38) @@ -1,41 +1,46 @@ -<br /><br /> -<p align="center"> - <a href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="" border="0" /></a> -</p> -<br /><br /> -<{$searchForm}> -<br /> -<br /> -<div style="font-size: 11px; text-align: right; font-style: italic; padding: 0 20px 0 0;"><{$lang_thereare}></div> -<table width="100%" cellspacing="0" class="outer_sertec" border="1"> - <tr> - <td class="head" align="center" style="width: 40px; vertical-align: middle;"> </td> - <td class="head" align="left" style="vertical-align: middle;"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_TITLE}></td> - <td class="head" align="left" style="width: 150px; vertical-align: middle;" colspan="2"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_CATEGORIES}></td> - <{foreach item=field from=$field}> - <td class="head" align="left" style="vertical-align: middle;"><{$field}></td> - <{/foreach}> - <td class="head" align="center" style="width: 100px; vertical-align: middle;"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_DATE}></td> - <td class="head" align="center" style="width: 60px; vertical-align: middle;"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_NOTE}></td> - <td class="head" align="center" style="width: 60px; vertical-align: middle;"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_HITS}></td> - </tr> - <{foreach item=downloads from=$downloads}> - <{cycle values=odd,even assign=class}> - <tr class="<{$class}>"> - <td align="center" style="vertical-align: middle;"><a href="<{$xoops_url}>/modules/TDMDownloads/visit.php?cid=<{$downloads.cid}>&lid=<{$downloads.lid}>" target="_blank"><img src="./images/download.png" alt="<{$smarty.const._MD_TDMDOWNLOADS_SEARCH_DOWNLOAD}><{$downloads.title}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SEARCH_DOWNLOAD}><{$downloads.title}>" /></a></td> - <td align="left" style="vertical-align: middle;"><a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$downloads.cid}>&lid=<{$downloads.lid}>" title="<{$downloads.title}>"><{$downloads.title}></a></td> - <td align="center" style="width: 32px; vertical-align: middle;"><img src="<{$downloads.imgurl}>" alt="<{$downloads.cat}>" title="<{$downloads.cat}>" width="30" /></td> - <td align="left" style="vertical-align: middle;"><a href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$downloads.cid}>" target="_blank" title="<{$downloads.cat}>"><{$downloads.cat}></a></td> - <{foreach item=fielddata from=$downloads.fielddata}> - <td align="left" style="vertical-align: middle;"><{$fielddata}></td> - <{/foreach}> - <td align="center" style="vertical-align: middle;"><{$downloads.date}></td> - <td align="center" style="vertical-align: middle;"><{$downloads.rating}></td> - <td align="center" style="vertical-align: middle;"><{$downloads.hits}></td> - </tr> - <{/foreach}> -</table> -<{if $pagenav != ''}> - <br /> - <div align="center"><{$pagenav}></div> -<{/if}> \ No newline at end of file +<div class="tdmdownloads"> + + <!-- Download logo--> + <div class="tdmdownloads-logo center marg10"> + <a title="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" /></a> + </div> + + <!-- Download searchform --> + <div class="tdmdownloads-searchform"><{$searchForm}></div> + <div class="tdmdownloads-thereare"><{$lang_thereare}></div> + + <table width="100%" cellspacing="0" class="outer_sertec" border="1"> + <tr> + <td class="head" align="center" style="width: 40px; vertical-align: middle;"> </td> + <td class="head" align="left" style="vertical-align: middle;"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_TITLE}></td> + <td class="head" align="left" style="width: 150px; vertical-align: middle;" colspan="2"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_CATEGORIES}></td> + <{foreach item=field from=$field}> + <td class="head" align="left" style="vertical-align: middle;"><{$field}></td> + <{/foreach}> + <td class="head" align="center" style="width: 100px; vertical-align: middle;"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_DATE}></td> + <td class="head" align="center" style="width: 60px; vertical-align: middle;"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_NOTE}></td> + <td class="head" align="center" style="width: 60px; vertical-align: middle;"><{$smarty.const._MD_TDMDOWNLOADS_SEARCH_HITS}></td> + </tr> + <{foreach item=downloads from=$downloads}> + <{cycle values=odd,even assign=class}> + <tr class="<{$class}>"> + <td align="center" style="vertical-align: middle;"><a href="<{$xoops_url}>/modules/TDMDownloads/visit.php?cid=<{$downloads.cid}>&lid=<{$downloads.lid}>" target="_blank"><img src="./images/download.png" alt="<{$smarty.const._MD_TDMDOWNLOADS_SEARCH_DOWNLOAD}><{$downloads.title}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SEARCH_DOWNLOAD}><{$downloads.title}>" /></a></td> + <td align="left" style="vertical-align: middle;"><a href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?cid=<{$downloads.cid}>&lid=<{$downloads.lid}>" title="<{$downloads.title}>"><{$downloads.title}></a></td> + <td align="center" style="width: 32px; vertical-align: middle;"><img src="<{$downloads.imgurl}>" alt="<{$downloads.cat}>" title="<{$downloads.cat}>" width="30" /></td> + <td align="left" style="vertical-align: middle;"><a href="<{$xoops_url}>/modules/TDMDownloads/viewcat.php?cid=<{$downloads.cid}>" target="_blank" title="<{$downloads.cat}>"><{$downloads.cat}></a></td> + <{foreach item=fielddata from=$downloads.fielddata}> + <td align="left" style="vertical-align: middle;"><{$fielddata}></td> + <{/foreach}> + <td align="center" style="vertical-align: middle;"><{$downloads.date}></td> + <td align="center" style="vertical-align: middle;"><{$downloads.rating}></td> + <td align="center" style="vertical-align: middle;"><{$downloads.hits}></td> + </tr> + <{/foreach}> + </table> + + <{if $pagenav != ''}> + <!-- Download Pagenav--> + <div class="tdmdownloads-pagenav"><{$pagenav}></div> + <{/if}> + +</div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/tdmdownloads_modfile.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_modfile.html 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/templates/tdmdownloads_modfile.html 2011-04-22 08:58:42 UTC (rev 38) @@ -1,13 +1,19 @@ -<br /><br /> -<p align="center"> - <a href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="" border="0" /></a> -</p> - -<b><{$navigation}></b> -<br /><br /> -<div style="border-bottom: 1px #333 solid;"></div> -<br /><br /> -<{if $message_erreur != ''}> - <div class="errorMsg" style="text-align: left;"><{$message_erreur}></div> -<{/if}> -<{$themeForm}> \ No newline at end of file +<div class="tdmdownloads"> + + <!-- Download logo--> + <div class="tdmdownloads-logo center marg10"> + <a title="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" /></a> + </div> + + <!-- Category path --> + <div class="bold marg1 pad1"><{$navigation}></div> + + <{if $message_erreur != ''}> + <!-- Error message--> + <div class="errorMsg"><{$message_erreur}></div> + <{/if}> + + <!-- Submit form --> + <div class="tdmdownloads-submitform"><{$themeForm}></div> + +</div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/tdmdownloads_ratefile.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_ratefile.html 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/templates/tdmdownloads_ratefile.html 2011-04-22 08:58:42 UTC (rev 38) @@ -1,20 +1,29 @@ -<br /><br /> -<p align="center"> - <a href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="" border="0" /></a> -</p> - -<b><{$navigation}></b> -<br /><br /> -<div style="border-bottom: 1px #333 solid;"></div> -<br /> -<ul> - <li><{$smarty.const._MD_TDMDOWNLOADS_RATEFILE_VOTEONCE}></li> - <li><{$smarty.const._MD_TDMDOWNLOADS_RATEFILE_RATINGSCALE}></li> - <li><{$smarty.const._MD_TDMDOWNLOADS_RATEFILE_BEOBJECTIVE}></li> - <li><{$smarty.const._MD_TDMDOWNLOADS_RATEFILE_DONOTVOTE}></li> -</ul> -<br /><br /> -<{if $message_erreur != ''}> - <div class="errorMsg" style="text-align: left;"><{$message_erreur}></div> -<{/if}> -<{$themeForm}> \ No newline at end of file +<div class="tdmdownloads"> + + <!-- Download logo--> + <div class="tdmdownloads-logo center marg10"> + <a title="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" /></a> + </div> + + <!-- Category path --> + <div class="bold marg1 pad1"><{$navigation}></div> + + <!-- Submit helps --> + <div class="tdmdownloads-tips"> + <ul> + <li><{$smarty.const._MD_TDMDOWNLOADS_RATEFILE_VOTEONCE}></li> + <li><{$smarty.const._MD_TDMDOWNLOADS_RATEFILE_RATINGSCALE}></li> + <li><{$smarty.const._MD_TDMDOWNLOADS_RATEFILE_BEOBJECTIVE}></li> + <li><{$smarty.const._MD_TDMDOWNLOADS_RATEFILE_DONOTVOTE}></li> + </ul> + </div> + + <{if $message_erreur != ''}> + <!-- Error message--> + <div class="errorMsg"><{$message_erreur}></div> + <{/if}> + + <!-- Submit form --> + <div class="tdmdownloads-submitform"><{$themeForm}></div> + +</div> \ No newline at end of file Modified: tdmdownloads/trunk/templates/tdmdownloads_singlefile.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-22 05:35:05 UTC (rev 37) +++ tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-22 08:58:42 UTC (rev 38) @@ -1,130 +1,138 @@ -<br /><br /> -<p align="center"> - <a href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="" border="0" /></a> -</p> - -<b><{$navigation}></b> -<br /><br /> -<div style="border-bottom: 1px #333 solid;"></div> - -<table> - <tr> - <{if $show_screenshot == true}> - <{if $logourl != ''}> - <td style="width: <{$shotwidth}>px; vertical-align: top;"> - <img style="margin-top: 1em; margin-right: 1em; padding-left: 4px;" src="<{$logourl}>" width="" alt="" /> - </td> - <{/if}> - <{/if}> - <td style="vertical-align: middle;"> - <div style="font-size: 1.5em;"> - <{$title}> <{$adminlink}> - </div> - </td> - </tr> -</table> -<table width="100%" border="0"> - <tr> - <td width="70%" align="left"> - <p style="margin-left: 40px"><{$description}></p> - </td> - <td width="30%" align="right"> - <div style="border: 1px solid #333; text-align: left; min-width: 220px; font-size: 10px; padding: .5em; margin-top: .5em; line-height: 14px;"> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/date.png) no-repeat left; padding-left: 20px;"> <{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_DATEPROP}>: <{$date}></p> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/author.png) no-repeat left ; padding-left: 20px;"> <{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_AUTHOR}>: <{$author}></p> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/hits.png) no-repeat left; padding-left: 20px;"> <{$hits}></p> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/votes.png) no-repeat left; padding-left: 20px;"> <{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATING}>: <{$rating}> <{$votes}></p> - <{if $commentsnav != ''}> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/comments.png) no-repeat left; padding-left: 20px;"> <{$nb_comments}></p> - <{/if}> - </div> - <{if $sup_aff == true}> - <div style="border: 1px solid #333; text-align: left; min-width: 220px; font-size: 10px; padding: .5em; margin-top: .5em; line-height: 14px;"> - <{foreach item=champ from=$champ_sup}> - <p style="background: url(<{$champ.image}>) no-repeat left; padding-left: 20px;"><{$champ.data}></p> - <{/foreach}> - </div> - <{/if}> - <div style="border: 1px solid #333; text-align: left; min-width: 220px; font-size: 10px; padding: .5em; margin-top: .5em; line-height: 14px;"> - <{if $perm_vote != ""}> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/torate.png) no-repeat left; padding-left: 20px;"><a href="<{$xoops_url}>/modules/TDMDownloads/ratefile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE}>"> <{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE}></a></p> - <{/if}> - <{if $perm_modif != ""}> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/tomodify.png) no-repeat left; padding-left: 20px;"><a href="<{$xoops_url}>/modules/TDMDownloads/modfile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_MODIFY}>"> <{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_MODIFY}></a></p> - <{/if}> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/toreport.png) no-repeat left; padding-left: 20px;"><a href="<{$xoops_url}>/modules/TDMDownloads/brokenfile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}>"> <{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}></a></p> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/totell.png) no-repeat left; padding-left: 20px;"> <{$tellafriend_texte}></p> - </div> - <{if $perm_download != ""}> - <div style="border: 1px solid #333; text-align: left; min-width: 220px; margin-top: .5em;"> - <p style="background: url(<{$xoops_url}>/modules/TDMDownloads/images/icon/download-now.png) no-repeat left; padding: 5px 0 0 25px; line-height: 18px; font-size: 1.1em"><a href='visit.php?cid=<{$cid}>&lid=<{$lid}>' target='_blank'> <{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}></a></p> - </div> - <{/if}> - <{if $paypal}> - <div style="text-align: center; min-width: 220px; margin-top: .5em;"> +<div class="tdmdownloads"> + + <!-- Download logo--> + <div class="tdmdownloads-logo center marg10"> + <a title="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" href="<{$xoops_url}>/modules/TDMDownloads/index.php"><img src="<{$xoops_url}>/modules/TDMDownloads/images/logo-en.gif" alt="<{$smarty.const._MD_TDMDOWNLOADS_DOWNLOAD}>" /></a> + </div> + + <!-- Category path --> + <div class="bold marg1 pad1"><{$navigation}></div> + + <!-- Start Donload body info --> + <div class="item tdmdownloads-item"> + <div class="itemHead"> + <span class="itemTitle"><h1><{$title}></h1></span> + </div> + <div class="itemBody"> + <div class="itemText tdmdownloads-itemText floatleft"> + <{if $show_screenshot == true}> + <{if $logourl != ''}> + <img class="left" width="<{$shotwidth}>" src="<{$logourl}>" alt="" /> + <{/if}> + <{/if}> + <{$description}> + </div> + <div class="tdmdownloads-downInfo floatright"> + <div class="tdmdownloads-box" id="tdmdownloads-box-1"> + <div id="date"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_DATEPROP}>:<{$date}></div> + <div id="author"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_AUTHOR}>:<{$author}></div> + <div id="hits"><{$hits}></div> + <div id="rating"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATING}>:<{$rating}><{$votes}></div> + <{if $commentsnav != ''}> + <div id="comments"><{$nb_comments}></div> + <{/if}> + </div> + <{if $sup_aff == true}> + <div class="tdmdownloads-box" id="tdmdownloads-box-2"> + <{foreach item=champ from=$champ_sup}> + <div class="champ" style="background: url(<{$champ.image}>) no-repeat left;"><{$champ.data}></div> + <{/foreach}> + </div> + <{/if}> + <div class="tdmdownloads-box" id="tdmdownloads-box-3"> + <{if $perm_vote != ""}> + <div id="torate"><a href="<{$xoops_url}>/modules/TDMDownloads/ratefile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_RATHFILE}></a></div> + <{/if}> + <{if $perm_modif != ""}> + <div id="tomodify"><a href="<{$xoops_url}>/modules/TDMDownloads/modfile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_MODIFY}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_MODIFY}></a></div> + <{/if}> + <div id="toreport"><a href="<{$xoops_url}>/modules/TDMDownloads/brokenfile.php?lid=<{$lid}>" title="<{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}>"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_REPORTBROKEN}></a></div> + <div id="totell"><{$tellafriend_texte}></div> + </div> + <{if $perm_download == ""}> + <div class="tdmdownloads-box" id="tdmdownloads-box-4"> + <div id="download"><a href="visit.php?cid=<{$cid}>&lid=<{$lid}>" rel="nofollow external"><{$smarty.const._MD_TDMDOWNLOADS_INDEX_DLNOW}></a></div> + </div> + <{else}> + <div class="tdmdownloads-box" id="tdmdownloads-box-5"> + <div id="noperm"><{$smarty.const._MD_TDMDOWNLOADS_SINGLEFILE_NOPERM}></div> + </div> + <{/if}> + <{if $paypal}> + <div id="paypal"> <{$paypal}> </div> - <{/if}> - </td> - </tr> -</table> + <{/if}> + </div> + <div class="endline"></div> + </div> + <{if $adminlink}> + <div class="itemFoot"> + <span class="itemAdminLink"><{$adminlink}></span> + </div> + <{/if}> + </div> + <!-- End Donload body info --> + + <{if $tags}> + <!-- Tag bar--> + <div class="tdmdownloads-tag"><{include file="db:tag_bar.html"}></div> + <{/if}> -<{if $tags}> - <br /><{include file="db:tag_bar.html"}> -<{/if}> - -<{if $show_social}> -<div class="socialnetwork"> - <ul> - <li><div class="facebook"><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" layout="button_count" show_faces="false"></fb:like></div></li> - <li><div class="twitter"><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script><a href="http://twitter.com/share/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" class="twitter-share-button">Tweet</a></div></li> - <li><div class="buzz"><a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div></li> - </ul> -</div> -<{/if}> - -<{if $shwo_bookmark}> -<div class="bookmarkme"> - <div class="head bookmarkmetitle"><{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_ME}></div> - <div class="bookmarkmeitems"> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_BLINKLIST}>" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&Title=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/blinklist.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DELICIOUS}>" href="http://del.icio.us/post?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/delicious.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DIGG}>" href="http://digg.com/submit?phase=2&url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/diggman.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FARK}>" href="http://cgi.fark.com/cgi/fark/edit.pl?new_url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&new_comment=<{$downloads.title}>&new_link_other=<{$downloads.title}>&linktype=Misc" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/fark.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FURL}>" href="http://www.furl.net/storeIt.jsp?t=<{$downloads.title}>&u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/furl.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_NEWSVINE}>" href="http://www.nwvine.com/_tools/seed&save?u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&h=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/newsvine.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_REDDIT}>" href="http://reddit.com/submit?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/reddit.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SIMPY}>" href="http://www.simpy.com/simpy/LinkAdd.do?href=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/simpy.png" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SPURL}>" href="http://www.spurl.net/spurl.php?title=<{$downloads.title}>&url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/spurl.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_YAHOO}>" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?t=<{$downloads.title}>&u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/yahoomyweb.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_BALATARIN}>" href="http://balatarin.com/links/submit?phase=2&url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/balatarin.png"></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FACEBOOK}>" href="http://www.facebook.com/share.php?u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/facebook_share_icon.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_TWITTER}>" href="http://twitter.com/home?status=Browsing:%20<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/twitter_share_icon.gif" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SCRIPSTYLE}>" href="http://scriptandstyle.com/submit?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/scriptandstyle.png" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_STUMBLE}>" href="http://www.stumbleupon.com/submit?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/stumbleupon.png" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_TECHNORATI}>" href="http://technorati.com/faves?add=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/technorati.png" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_MIXX}>" href="http://www.mixx.com/submit?page_url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/mixx.png" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_MYSPACE}>" href="http://www.myspace.com/Modules/PostTo/Pages/?u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/myspace.jpg" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DESIGNFLOAT}>" href="http://www.designfloat.com/submit.php?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/designfloat.png" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBUZZ}>" href="http://www.google.com/buzz/post?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/google_buzz_icon.png" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEREADER}>" href="http://www.google.com/reader/link?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/google-reader-icon.png" /></a> - <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBOOKMARKS}>" href="https://www.google.com/bookmarks/mark?op=add&bkmk=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/google-icon.png" /></a> + <{if $show_social}> + <!-- Social Networks --> + <div class="tdmdownloads-socialnetwork"> + <ul> + <li><div class="facebook"><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" layout="button_count" show_faces="false"></fb:like></div></li> + <li><div class="twitter"><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script><a href="http://twitter.com/share/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" class="twitter-share-button">Tweet</a></div></li> + <li><div class="buzz"><a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div></li> + </ul> </div> -</div> -<{/if}> - + <{/if}> + + <{if $shwo_bookmark}> + <!-- Bookmarks --> + <div class="tdmdownloads-bookmarkme"> + <div class="head tdmdownloads-bookmarkmetitle"><{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_ME}></div> + <div class="tdmdownloads-bookmarkmeitems"> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_BLINKLIST}>" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&Title=<{$downloads.title}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_BLINKLIST}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/blinklist.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DELICIOUS}>" href="http://del.icio.us/post?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DELICIOUS}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/delicious.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DIGG}>" href="http://digg.com/submit?phase=2&url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DIGG}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/diggman.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FARK}>" href="http://cgi.fark.com/cgi/fark/edit.pl?new_url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&new_comment=<{$downloads.title}>&new_link_other=<{$downloads.title}>&linktype=Misc" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FARK}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/fark.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FURL}>" href="http://www.furl.net/storeIt.jsp?t=<{$downloads.title}>&u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FURL}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/furl.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_NEWSVINE}>" href="http://www.nwvine.com/_tools/seed&save?u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&h=<{$downloads.title}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_NEWSVINE}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/newsvine.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_REDDIT}>" href="http://reddit.com/submit?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_REDDIT}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/reddit.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SIMPY}>" href="http://www.simpy.com/simpy/LinkAdd.do?href=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SIMPY}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/simpy.png" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SPURL}>" href="http://www.spurl.net/spurl.php?title=<{$downloads.title}>&url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SPURL}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/spurl.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_YAHOO}>" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?t=<{$downloads.title}>&u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_YAHOO}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/yahoomyweb.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_BALATARIN}>" href="http://balatarin.com/links/submit?phase=2&url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_BALATARIN}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/balatarin.png"></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FACEBOOK}>" href="http://www.facebook.com/share.php?u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FACEBOOK}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/facebook_share_icon.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_TWITTER}>" href="http://twitter.com/home?status=Browsing:%20<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_TWITTER}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/twitter_share_icon.gif" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SCRIPSTYLE}>" href="http://scriptandstyle.com/submit?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SCRIPSTYLE}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/scriptandstyle.png" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_STUMBLE}>" href="http://www.stumbleupon.com/submit?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_STUMBLE}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/stumbleupon.png" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_TECHNORATI}>" href="http://technorati.com/faves?add=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_TECHNORATI}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/technorati.png" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_MIXX}>" href="http://www.mixx.com/submit?page_url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_MIXX}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/mixx.png" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_MYSPACE}>" href="http://www.myspace.com/Modules/PostTo/Pages/?u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img alt="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_MYSPACE}>" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/myspace.jpg" /></a> + <a rel="nofollow external" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DESIGNFLOAT}>... [truncated message content] |
From: <vo...@us...> - 2011-04-22 05:35:12
|
Revision: 37 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=37&view=rev Author: voltan1 Date: 2011-04-22 05:35:05 +0000 (Fri, 22 Apr 2011) Log Message: ----------- update changlog and land_diff Modified Paths: -------------- tdmdownloads/trunk/language/english/changelog.txt tdmdownloads/trunk/language/english/modinfo.php tdmdownloads/trunk/language/lang_diff.txt Modified: tdmdownloads/trunk/language/english/changelog.txt =================================================================== --- tdmdownloads/trunk/language/english/changelog.txt 2011-04-20 18:09:51 UTC (rev 36) +++ tdmdownloads/trunk/language/english/changelog.txt 2011-04-22 05:35:05 UTC (rev 37) @@ -12,7 +12,7 @@ - In visit.php the url of download can cause a problem (Fabrice59). - Call of inexistent file in class tree.php (Mage). - the category title isn't informed in the notification message "category_newfile_notify.tpl" (Mage). - + - missing view.tag.php and list.tag.php added (voltan) List of improvements: - Admission area has be recoded to be 100% compatible with xoops 2.5 (Mage). @@ -25,8 +25,8 @@ - System of limitation of downloading (Voltan, Mage). - The images 'new', 'updated' et 'popular' are now specific to each language (Mage, Mariane) - Adding a search block (Mage, Mariane) + - Add bookmark and Social Networks (voltan) - Informations - See the file "lang_diff.txt" for changes in language. Modified: tdmdownloads/trunk/language/english/modinfo.php =================================================================== --- tdmdownloads/trunk/language/english/modinfo.php 2011-04-20 18:09:51 UTC (rev 36) +++ tdmdownloads/trunk/language/english/modinfo.php 2011-04-22 05:35:05 UTC (rev 37) @@ -116,8 +116,10 @@ define("_MI_TDMDOWNLOADS_TIMECACHERSSDSC", "Cache time for RSS pages in minutes"); define("_MI_TDMDOWNLOADS_LOGORSS", "Site logo for RSS pages"); define("_MI_TDMDOWNLOADS_PREFERENCE_BREAK_COMNOTI", "Comments and notifications"); -define('_MI_TDMDOWNLOADS_SOCIAL', 'Social'); +define('_MI_TDMDOWNLOADS_SOCIAL', 'Social Networks'); +define('_MI_TDMDOWNLOADS_SOCIAL_DSC', 'Show/hide social network Icons'); define('_MI_TDMDOWNLOADS_BOOKMARK', 'Bookmark'); +define('_MI_TDMDOWNLOADS_BOOKMARK_DSC', 'Show/hide bookmark Icons'); // Notifications define("_MI_TDMDOWNLOADS_GLOBAL_NOTIFY", "Global"); Modified: tdmdownloads/trunk/language/lang_diff.txt =================================================================== --- tdmdownloads/trunk/language/lang_diff.txt 2011-04-20 18:09:51 UTC (rev 36) +++ tdmdownloads/trunk/language/lang_diff.txt 2011-04-22 05:35:05 UTC (rev 37) @@ -50,6 +50,29 @@ + _MD_TDMDOWNLOADS_SINGLEFILE_LIMITGLOBAL + _MD_TDMDOWNLOADS_SINGLEFILE_LIMITLID ++ _MD_TDMDOWNLOADS_BOOKMARK_ME ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_BLINKLIST ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_DELICIOUS ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_DIGG ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_FARK ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_FURL ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_NEWSVINE ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_REDDIT ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_SIMPY ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_SPURL ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_YAHOO ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_FACEBOOK ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_TWITTER ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_SCRIPSTYLE ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_STUMBLE ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_TECHNORATI ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_MIXX ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_MYSPACE ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_DESIGNFLOAT ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_BALATARIN ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBUZZ ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEREADER ++ _MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBOOKMARKS blocks.php ------------- @@ -80,6 +103,10 @@ + _MI_TDMDOWNLOADS_LIMITLIDDSC + _MI_TDMDOWNLOADS_BNAME5 + _MI_TDMDOWNLOADS_BNAMEDSC5 ++ _MI_TDMDOWNLOADS_SOCIAL ++ _MI_TDMDOWNLOADS_SOCIAL_DSC ++ _MI_TDMDOWNLOADS_BOOKMARK ++ _MI_TDMDOWNLOADS_BOOKMARK_DSC * _MI_TDMDOWNLOADS_ADMENU7 * _MI_TDMDOWNLOADS_ADMENU9 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-20 18:09:58
|
Revision: 36 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=36&view=rev Author: voltan1 Date: 2011-04-20 18:09:51 +0000 (Wed, 20 Apr 2011) Log Message: ----------- Add bookmarks and Social Networks Modified Paths: -------------- tdmdownloads/trunk/css/styles.css tdmdownloads/trunk/language/english/main.php tdmdownloads/trunk/language/english/modinfo.php tdmdownloads/trunk/singlefile.php tdmdownloads/trunk/templates/tdmdownloads_singlefile.html tdmdownloads/trunk/xoops_version.php Added Paths: ----------- tdmdownloads/trunk/images/bookmarks/ tdmdownloads/trunk/images/bookmarks/balatarin.png tdmdownloads/trunk/images/bookmarks/blinklist.gif tdmdownloads/trunk/images/bookmarks/delicious.gif tdmdownloads/trunk/images/bookmarks/designfloat.png tdmdownloads/trunk/images/bookmarks/diggman.gif tdmdownloads/trunk/images/bookmarks/facebook_share_icon.gif tdmdownloads/trunk/images/bookmarks/fark.gif tdmdownloads/trunk/images/bookmarks/furl.gif tdmdownloads/trunk/images/bookmarks/google-icon.png tdmdownloads/trunk/images/bookmarks/google-reader-icon.png tdmdownloads/trunk/images/bookmarks/google_buzz_icon.png tdmdownloads/trunk/images/bookmarks/index.html tdmdownloads/trunk/images/bookmarks/mixx.png tdmdownloads/trunk/images/bookmarks/myspace.jpg tdmdownloads/trunk/images/bookmarks/newsvine.gif tdmdownloads/trunk/images/bookmarks/reddit.gif tdmdownloads/trunk/images/bookmarks/scriptandstyle.png tdmdownloads/trunk/images/bookmarks/simpy.png tdmdownloads/trunk/images/bookmarks/spurl.gif tdmdownloads/trunk/images/bookmarks/stumbleupon.png tdmdownloads/trunk/images/bookmarks/technorati.png tdmdownloads/trunk/images/bookmarks/twitter_share_icon.gif tdmdownloads/trunk/images/bookmarks/yahoomyweb.gif Modified: tdmdownloads/trunk/css/styles.css =================================================================== --- tdmdownloads/trunk/css/styles.css 2011-04-20 17:45:08 UTC (rev 35) +++ tdmdownloads/trunk/css/styles.css 2011-04-20 18:09:51 UTC (rev 36) @@ -14,4 +14,26 @@ } .col_width5{ width:20%; +} + +.socialnetwork { + width: 100% height: 25px; + margin-bottom: 40px; +} + +.socialnetwork ul li { + list-style: none; + float: left; +} + +.bookmarkme { + width: 100% height: 50px; +} + +.bookmarkmetitle { + text-align: center; +} +.bookmarkmeitems { + text-align: center; + margin: 5px; } \ No newline at end of file Added: tdmdownloads/trunk/images/bookmarks/balatarin.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/balatarin.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/blinklist.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/blinklist.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/delicious.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/delicious.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/designfloat.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/designfloat.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/diggman.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/diggman.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/facebook_share_icon.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/facebook_share_icon.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/fark.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/fark.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/furl.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/furl.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/google-icon.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/google-icon.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/google-reader-icon.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/google-reader-icon.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/google_buzz_icon.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/google_buzz_icon.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/index.html =================================================================== --- tdmdownloads/trunk/images/bookmarks/index.html (rev 0) +++ tdmdownloads/trunk/images/bookmarks/index.html 2011-04-20 18:09:51 UTC (rev 36) @@ -0,0 +1 @@ + <script>history.go(-1);</script> \ No newline at end of file Added: tdmdownloads/trunk/images/bookmarks/mixx.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/mixx.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/myspace.jpg =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/myspace.jpg ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/newsvine.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/newsvine.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/reddit.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/reddit.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/scriptandstyle.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/scriptandstyle.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/simpy.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/simpy.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/spurl.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/spurl.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/stumbleupon.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/stumbleupon.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/technorati.png =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/technorati.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/twitter_share_icon.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/twitter_share_icon.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: tdmdownloads/trunk/images/bookmarks/yahoomyweb.gif =================================================================== (Binary files differ) Property changes on: tdmdownloads/trunk/images/bookmarks/yahoomyweb.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: tdmdownloads/trunk/language/english/main.php =================================================================== --- tdmdownloads/trunk/language/english/main.php 2011-04-20 17:45:08 UTC (rev 35) +++ tdmdownloads/trunk/language/english/main.php 2011-04-20 18:09:51 UTC (rev 36) @@ -123,5 +123,30 @@ //Message d'erreur define("_MD_TDMDOWNLOADS_ERREUR_NOCAT","You have to choose a category!"); -define("_MD_TDMDOWNLOADS_ERREUR_SIZE","File size must be a number"); +define("_MD_TDMDOWNLOADS_ERREUR_SIZE","File size must be a number"); + +//Bookmarks +define("_MD_TDMDOWNLOADS_BOOKMARK_ME", "Bookmark Me"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_BLINKLIST", "Bookmark to Blinklist"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_DELICIOUS", "Bookmark to del.icio.us"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_DIGG", "Bookmark to Digg"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_FARK", "Bookmark to Fark"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_FURL", "Bookmark to Furl"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_NEWSVINE", "Bookmark to Newsvine"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_REDDIT", "Bookmark to Reddit"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_SIMPY", "Bookmark to Simpy"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_SPURL", "Bookmark to Spurl"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_YAHOO", "Bookmark to Yahoo"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_FACEBOOK", "Bookmark to Faceboom"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_TWITTER", "Bookmark to Twitter"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_SCRIPSTYLE", "Bookmark to Scripstyle"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_STUMBLE", "Bookmark to Stumble"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_TECHNORATI", "Bookmark to Technorati"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_MIXX", "Bookmark to Mixx"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_MYSPACE", "Bookmark to Myspace"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_DESIGNFLOAT", "Bookmark to Designfloat"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_BALATARIN", "Bookmark to Balatarin"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBUZZ", "Bookmark to Google Buzz"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEREADER", "Bookmark to Google Buzz"); +define("_MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBOOKMARKS", "Bookmark to Google Bookmarks"); ?> \ No newline at end of file Modified: tdmdownloads/trunk/language/english/modinfo.php =================================================================== --- tdmdownloads/trunk/language/english/modinfo.php 2011-04-20 17:45:08 UTC (rev 35) +++ tdmdownloads/trunk/language/english/modinfo.php 2011-04-20 18:09:51 UTC (rev 36) @@ -116,6 +116,8 @@ define("_MI_TDMDOWNLOADS_TIMECACHERSSDSC", "Cache time for RSS pages in minutes"); define("_MI_TDMDOWNLOADS_LOGORSS", "Site logo for RSS pages"); define("_MI_TDMDOWNLOADS_PREFERENCE_BREAK_COMNOTI", "Comments and notifications"); +define('_MI_TDMDOWNLOADS_SOCIAL', 'Social'); +define('_MI_TDMDOWNLOADS_BOOKMARK', 'Bookmark'); // Notifications define("_MI_TDMDOWNLOADS_GLOBAL_NOTIFY", "Global"); Modified: tdmdownloads/trunk/singlefile.php =================================================================== --- tdmdownloads/trunk/singlefile.php 2011-04-20 17:45:08 UTC (rev 35) +++ tdmdownloads/trunk/singlefile.php 2011-04-20 18:09:51 UTC (rev 36) @@ -87,6 +87,8 @@ $xoopsTpl->assign('rating', number_format($view_downloads->getVar('rating'),1)); $xoopsTpl->assign('votes', sprintf(_MD_TDMDOWNLOADS_SINGLEFILE_VOTES,$view_downloads->getVar('votes'))); $xoopsTpl->assign('nb_comments', sprintf(_MD_TDMDOWNLOADS_SINGLEFILE_COMMENTS,$view_downloads->getVar('comments'))); +$xoopsTpl->assign('shwo_bookmark' , $xoopsModuleConfig['shwo_bookmark']); +$xoopsTpl->assign('show_social' , $xoopsModuleConfig['show_social']); //paypal if( $view_downloads->getVar('paypal') != '' && $xoopsModuleConfig['use_paypal'] == true) { Modified: tdmdownloads/trunk/templates/tdmdownloads_singlefile.html =================================================================== --- tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-20 17:45:08 UTC (rev 35) +++ tdmdownloads/trunk/templates/tdmdownloads_singlefile.html 2011-04-20 18:09:51 UTC (rev 36) @@ -67,10 +67,53 @@ <{/if}> </td> </tr> -</table> +</table> + <{if $tags}> <br /><{include file="db:tag_bar.html"}> -<{/if}> +<{/if}> + +<{if $show_social}> +<div class="socialnetwork"> + <ul> + <li><div class="facebook"><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" layout="button_count" show_faces="false"></fb:like></div></li> + <li><div class="twitter"><script src="http://platform.twitter.com/widgets.js" type="text/javascript"></script><a href="http://twitter.com/share/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" class="twitter-share-button">Tweet</a></div></li> + <li><div class="buzz"><a title="Post to Google Buzz" class="google-buzz-button" href="http://www.google.com/buzz/post" data-button-style="small-count"></a><script type="text/javascript" src="http://www.google.com/buzz/api/button.js"></script></div></li> + </ul> +</div> +<{/if}> + +<{if $shwo_bookmark}> +<div class="bookmarkme"> + <div class="head bookmarkmetitle"><{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_ME}></div> + <div class="bookmarkmeitems"> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_BLINKLIST}>" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&Description=&Url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&Title=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/blinklist.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DELICIOUS}>" href="http://del.icio.us/post?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/delicious.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DIGG}>" href="http://digg.com/submit?phase=2&url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/diggman.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FARK}>" href="http://cgi.fark.com/cgi/fark/edit.pl?new_url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&new_comment=<{$downloads.title}>&new_link_other=<{$downloads.title}>&linktype=Misc" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/fark.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FURL}>" href="http://www.furl.net/storeIt.jsp?t=<{$downloads.title}>&u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/furl.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_NEWSVINE}>" href="http://www.nwvine.com/_tools/seed&save?u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&h=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/newsvine.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_REDDIT}>" href="http://reddit.com/submit?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/reddit.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SIMPY}>" href="http://www.simpy.com/simpy/LinkAdd.do?href=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/simpy.png" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SPURL}>" href="http://www.spurl.net/spurl.php?title=<{$downloads.title}>&url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/spurl.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_YAHOO}>" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?t=<{$downloads.title}>&u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" title=""><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/yahoomyweb.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_BALATARIN}>" href="http://balatarin.com/links/submit?phase=2&url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/balatarin.png"></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_FACEBOOK}>" href="http://www.facebook.com/share.php?u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/facebook_share_icon.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_TWITTER}>" href="http://twitter.com/home?status=Browsing:%20<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/twitter_share_icon.gif" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_SCRIPSTYLE}>" href="http://scriptandstyle.com/submit?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/scriptandstyle.png" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_STUMBLE}>" href="http://www.stumbleupon.com/submit?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/stumbleupon.png" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_TECHNORATI}>" href="http://technorati.com/faves?add=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/technorati.png" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_MIXX}>" href="http://www.mixx.com/submit?page_url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/mixx.png" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_MYSPACE}>" href="http://www.myspace.com/Modules/PostTo/Pages/?u=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/myspace.jpg" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_DESIGNFLOAT}>" href="http://www.designfloat.com/submit.php?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/designfloat.png" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBUZZ}>" href="http://www.google.com/buzz/post?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/google_buzz_icon.png" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEREADER}>" href="http://www.google.com/reader/link?url=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/google-reader-icon.png" /></a> + <a target="_blank" title="<{$smarty.const._MD_TDMDOWNLOADS_BOOKMARK_TO_GOOLGEBOOKMARKS}>" href="https://www.google.com/bookmarks/mark?op=add&bkmk=<{$xoops_url}>/modules/<{$xoops_url}>/modules/TDMDownloads/singlefile.php?lid=<{$downloads.lid}>&title=<{$downloads.title}>" ><img border="0" alt="" src="<{$xoops_url}>/modules/TDMDownloads/images/bookmarks/google-icon.png" /></a> + </div> +</div> +<{/if}> + + <div style="text-align: center; padding: 3px; margin:3px;"> <{$commentsnav}> <{$lang_notice}> Modified: tdmdownloads/trunk/xoops_version.php =================================================================== --- tdmdownloads/trunk/xoops_version.php 2011-04-20 17:45:08 UTC (rev 35) +++ tdmdownloads/trunk/xoops_version.php 2011-04-20 18:09:51 UTC (rev 36) @@ -323,6 +323,20 @@ $modversion['config'][$i]['formtype'] = 'textbox'; $modversion['config'][$i]['valuetype'] = 'int'; $modversion['config'][$i]['default'] = 20; +$i++; +$modversion['config'][$i]['name'] = 'shwo_bookmark'; +$modversion['config'][$i]['title'] = "_MI_TDMDOWNLOADS_BOOKMARK"; +$modversion['config'][$i]['description'] = "_MI_TDMDOWNLOADS_BOOKMARK_DSC"; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; +$i++; +$modversion['config'][$i]['name'] = 'show_social'; +$modversion['config'][$i]['title'] = "_MI_TDMDOWNLOADS_SOCIAL"; +$modversion['config'][$i]['description'] = "_MI_TDMDOWNLOADS_SOCIAL_DSC"; +$modversion['config'][$i]['formtype'] = 'yesno'; +$modversion['config'][$i]['valuetype'] = 'int'; +$modversion['config'][$i]['default'] = 1; $i++; $modversion['config'][$i]['name'] = 'break' . $i; $modversion['config'][$i]['title'] = '_MI_TDMDOWNLOADS_PREFERENCE_BREAK_ADMIN'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-20 17:45:15
|
Revision: 35 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=35&view=rev Author: voltan1 Date: 2011-04-20 17:45:08 +0000 (Wed, 20 Apr 2011) Log Message: ----------- change TYPE=MyISAM to NGINE=MyISAM Modified Paths: -------------- tdmdownloads/trunk/sql/mysql.sql Modified: tdmdownloads/trunk/sql/mysql.sql =================================================================== --- tdmdownloads/trunk/sql/mysql.sql 2011-04-20 17:42:12 UTC (rev 34) +++ tdmdownloads/trunk/sql/mysql.sql 2011-04-20 17:45:08 UTC (rev 35) @@ -18,7 +18,7 @@ KEY lid (lid), KEY sender (sender), KEY ip (ip) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- # @@ -34,7 +34,7 @@ cat_weight int(11) NOT NULL default '0', PRIMARY KEY (cat_cid), KEY cat_pid (cat_pid) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- # @@ -65,7 +65,7 @@ KEY cid (cid), KEY status (status), KEY title (title(40)) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- # @@ -86,7 +86,7 @@ description text NOT NULL, modifysubmitter int(11) NOT NULL default '0', PRIMARY KEY (requestid) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- # @@ -104,7 +104,7 @@ KEY ratinguser (ratinguser), KEY ratinghostname (ratinghostname), KEY lid (lid) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- # @@ -120,7 +120,7 @@ search int(5) unsigned NOT NULL default '0', status_def int(5) unsigned NOT NULL default '0', PRIMARY KEY (fid) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- # @@ -133,7 +133,7 @@ lid int(11) unsigned NOT NULL default '0', data varchar(255) NOT NULL default '', PRIMARY KEY (iddata) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- # @@ -146,7 +146,7 @@ lid int(11) unsigned NOT NULL default '0', moddata varchar(255) NOT NULL default '', PRIMARY KEY (modiddata) -) TYPE=MyISAM; +) ENGINE=MyISAM; # -------------------------------------------------------- # @@ -160,4 +160,4 @@ downlimit_hostname varchar(60) NOT NULL default '', downlimit_date int(10) NOT NULL default '0', PRIMARY KEY (downlimit_id) -) TYPE=MyISAM; \ No newline at end of file +) ENGINE=MyISAM; \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vo...@us...> - 2011-04-20 17:42:19
|
Revision: 34 http://freexoopservice.svn.sourceforge.net/freexoopservice/?rev=34&view=rev Author: voltan1 Date: 2011-04-20 17:42:12 +0000 (Wed, 20 Apr 2011) Log Message: ----------- Add list.tag.php and view.tag.php Added Paths: ----------- tdmdownloads/trunk/list.tag.php tdmdownloads/trunk/view.tag.php Added: tdmdownloads/trunk/list.tag.php =================================================================== --- tdmdownloads/trunk/list.tag.php (rev 0) +++ tdmdownloads/trunk/list.tag.php 2011-04-20 17:42:12 UTC (rev 34) @@ -0,0 +1,19 @@ +<?php +/** + * TDMDownload + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Hossein Azizabadi (Aka Voltan) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Hossein Azizabadi (Aka Voltan) + */ + +include 'header.php'; +include XOOPS_ROOT_PATH . '/modules/tag/list.tag.php'; +?> \ No newline at end of file Added: tdmdownloads/trunk/view.tag.php =================================================================== --- tdmdownloads/trunk/view.tag.php (rev 0) +++ tdmdownloads/trunk/view.tag.php 2011-04-20 17:42:12 UTC (rev 34) @@ -0,0 +1,19 @@ +<?php +/** + * TDMDownload + * + * You may not change or alter any portion of this comment or credits + * of supporting developers from this source code or any supporting source code + * which is considered copyrighted (c) material of the original comment or credit authors. + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + * + * @copyright Hossein Azizabadi (Aka Voltan) + * @license GNU GPL 2 (http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) + * @author Hossein Azizabadi (Aka Voltan) + */ + +include 'header.php'; +include_once XOOPS_ROOT_PATH . '/modules/tag/view.tag.php'; +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |