diff --git a/application/modules/default/views/scripts/collection/viewscripts/input_source_url.phtml b/application/modules/default/views/scripts/collection/viewscripts/input_source_url.phtml index cd2184386..c5e3172ec 100644 --- a/application/modules/default/views/scripts/collection/viewscripts/input_source_url.phtml +++ b/application/modules/default/views/scripts/collection/viewscripts/input_source_url.phtml @@ -1,54 +1,56 @@ . **/ ?>
element->isRequired()) { ?>
*
- +
element->getMessages()) { $errorHtml = ''; foreach ($this->element->getMessages() as $currentError) { $errorHtml .= ''; } ?>
\ No newline at end of file diff --git a/application/modules/default/views/scripts/home/index-plingcom-test4.phtml b/application/modules/default/views/scripts/home/index-plingcom-test4.phtml index fbdf2dd60..f15e68710 100755 --- a/application/modules/default/views/scripts/home/index-plingcom-test4.phtml +++ b/application/modules/default/views/scripts/home/index-plingcom-test4.phtml @@ -1,97 +1,98 @@ . **/ $this->headTitle($_SERVER['HTTP_HOST'], 'SET'); $this->doctype(Zend_View_Helper_Doctype::XHTML1_RDFA); $this->headMeta()->appendProperty('og:url', 'www.opendesktop.org'); $this->headMeta()->appendProperty('og:type', 'website'); $this->headMeta()->appendProperty('og:title', 'opendesktop.org'); $this->headMeta()->appendProperty('og:site_name','www.opendesktop.org'); $this->headMeta()->appendProperty('og:description','A community where developers and artists share applications, themes and other content'); $this->headMeta()->appendProperty('og:image','https://www.opendesktop.org/images/system/opendesktop-logo.png'); $modelInfo = new Default_Model_Info(); +$helpPrintDate = new Default_View_Helper_PrintDate(); $productsAppAddons = $modelInfo->getLastProductsForHostStores(5,'152,233'); $productsThemes = $modelInfo->getLastProductsForHostStores(5,'158,509,330,404,148,491,445,295'); $productsMultimedia = $modelInfo->getLastProductsForHostStores(5,'509,588,587,58'); //$productsThemes = $modelInfo->getLastProductsForHostStores(5,'33,295'); $comments = $modelInfo->getLatestComments(5); foreach ($productsAppAddons as &$p) { $p['image_small'] = $this->Image($p['image_small'], array('width' => 200, 'height' => 200)); } foreach ($productsThemes as &$p) { $p['image_small'] = $this->Image($p['image_small'], array('width' => 200, 'height' => 200)); } foreach ($productsMultimedia as &$p) { $p['image_small'] = $this->Image($p['image_small'], array('width' => 200, 'height' => 200)); } foreach ($comments as &$p) { $p['profile_image_url'] = $this->Image($p['profile_image_url'], array('width' => 200, 'height' => 200)); $p['comment_created_at'] = $helpPrintDate->printDate($p['comment_created_at']); } $baseurl = Zend_Registry::get('config')->settings->client->default->baseurl; $baseurlStore = Zend_Registry::get('config')->settings->client->default->baseurl_store; $url_forum = Zend_Registry::get('config')->settings->client->default->url_forum; $url_blog = Zend_Registry::get('config')->settings->client->default->url_blog; $url_gitlab = Zend_Registry::get('config')->settings->client->default->url_gitlab; $url_riot = Zend_Registry::get('config')->settings->client->default->url_riot; $url_myopendesktop = Zend_Registry::get('config')->settings->client->default->url_myopendesktop; $url_cloudopendesktop = Zend_Registry::get('config')->settings->client->default->url_cloudopendesktop; $url_musicopendesktop = Zend_Registry::get('config')->settings->client->default->url_musicopendesktop; $url_mastodon = Zend_Registry::get('config')->settings->client->default->url_mastodon; $response = array( 'comments' => $comments, 'products' => $productsAppAddons, 'productsThemes' => $productsThemes, 'productsMultimedia' => $productsMultimedia, "baseUrl" => $baseurl, "baseUrlStore" => $baseurlStore, "blogUrl" => $url_blog, "forumUrl" => $url_forum, "mastodonUrl" => $url_mastodon, "gitlabUrl" => $url_gitlab, "riotUrl" => $url_riot, "url_myopendesktop" => $url_myopendesktop, "url_cloudopendesktop" => $url_cloudopendesktop, "url_musicopendesktop" => $url_musicopendesktop, "url_mastodon" => $url_mastodon ); ?>
diff --git a/application/modules/default/views/scripts/home/index-plingcom.phtml b/application/modules/default/views/scripts/home/index-plingcom.phtml index 7161fda70..242298590 100644 --- a/application/modules/default/views/scripts/home/index-plingcom.phtml +++ b/application/modules/default/views/scripts/home/index-plingcom.phtml @@ -1,376 +1,376 @@ . **/ $this->doctype(Zend_View_Helper_Doctype::XHTML1_RDFA); $this->headMeta()->appendProperty('og:url', 'www.opendesktop.org'); $this->headMeta()->appendProperty('og:type', 'website'); $this->headMeta()->appendProperty('og:title', 'opendesktop.org'); $this->headMeta()->appendProperty('og:site_name','www.opendesktop.org'); $this->headMeta()->appendProperty('og:description','A community where developers and artists share applications, themes and other content'); $this->headMeta()->appendProperty('og:image','https://www.opendesktop.org/images/system/opendesktop-logo.png'); $modelInfo = new Default_Model_Info(); $this->comments = $modelInfo->getLatestComments(10); $this->productsCollections = $modelInfo->getLastProductsForHostStores(5,"567"); $this->productsThemesGTK = $modelInfo->getLastProductsForHostStores(5,"366,363,273,267,138,125,131,153,154,414,133"); $this->productsThemesPlasma = $modelInfo->getLastProductsForHostStores(5,"365,119,123,266,114,118,349,417,101,100,111,422,423,446,417"); $this->productsWindowmanager = $modelInfo->getLastProductsForHostStores(5,"117,267,139,143,142,140,141,144"); $this->productsIconsCursors= $modelInfo->getLastProductsForHostStores(5,"386,107"); $this->productsScreenshots= $modelInfo->getLastProductsForHostStores(5,"225,445"); $this->productsApps = $modelInfo->getLastProductsForHostStores(5,233); $this->productsAddons = $modelInfo->getLastProductsForHostStores(5,"152"); $this->productsWallpapersOriginal = $modelInfo->getLastProductsForHostStores(5,"295,158",null,true); $this->productsWallpapers = $modelInfo->getLastProductsForHostStores(5,"295,158",null,false); $this->countSupporters = $modelInfo->getCountAllSupporters(); $this->featureProducts = $modelInfo->getRandFeaturedProduct(); $this->type='Featured'; $json_productsPlinged = $modelInfo->getJsonNewActivePlingProduct(15); $response = array( 'productsThemesGTK' => array('title' =>'Supporters Favourites','catIds' =>'','products' => $json_productsPlinged), ); $helperBuildMemberUrl = new Default_View_Helper_BuildMemberUrl(); $helperImage = new Default_View_Helper_Image(); $helpPrintDate = new Default_View_Helper_PrintDate(); ?>
Welcome to pling.com. For Linux related content jump to - /s/Linux. + /s/Linux or pick one of the substores from the sidebar..
featureProducts) {echo $this->render('home/partials/featured-products.phtml');} ?>
partial('/home/partials/product_group.phtml', array( "title" => "Collections/Rankings", "products" => $this->productsCollections, "catIDs" =>"567" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "Concepts, Screenshots", "products" => $this->productsScreenshots, "catIDs" =>"445,225" ) ); ?>
partial('/home/partials/product_group.phtml', array( "title" => "GTK/Gnome", "products" => $this->productsThemesGTK, "catIDs" =>"366" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "KDE Plasma", "products" => $this->productsThemesPlasma, "catIDs" =>"365" ) ); ?>
partial('/home/partials/product_group.phtml', array( "title" => "Window Managers", "products" => $this->productsWindowmanager, "catIDs" =>"147" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "Icons, Cursors", "products" => $this->productsIconsCursors, "catIDs" =>"386,107" ) ); ?>
partial('/home/partials/product_group.phtml', array( "title" => "App Add-Ons", "products" => $this->productsAddons, "catIDs" =>"152" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "Applications", "products" => $this->productsApps, "catIDs" =>"233" ) ); ?>
partial('/home/partials/product_group.phtml', array( "title" => "Artwork, Wallpapers ", "products" => $this->productsWallpapers, "catIDs" =>"158,295" ) ); echo $this->partial('/home/partials/product_group.phtml', array( "title" => "Artwork, Wallpapers (Original)", "products" => $this->productsWallpapersOriginal, "catIDs" =>"158,295" ) ); ?>
inlineScript()->appendScript( ' $(document).ready(function(){ TooltipUser.setup("tooltipuser","right"); TooltipUser.setup("tooltipuserleft","left"); TooltipUserPlings.setup("tooltipuserplings","right"); }); '); diff --git a/application/modules/default/views/scripts/product/viewscripts/input_source_url.phtml b/application/modules/default/views/scripts/product/viewscripts/input_source_url.phtml index cd2184386..329c61103 100644 --- a/application/modules/default/views/scripts/product/viewscripts/input_source_url.phtml +++ b/application/modules/default/views/scripts/product/viewscripts/input_source_url.phtml @@ -1,54 +1,56 @@ . **/ ?>
element->isRequired()) { ?>
*
- +
element->getMessages()) { $errorHtml = ''; foreach ($this->element->getMessages() as $currentError) { $errorHtml .= ''; } ?>
\ No newline at end of file