Skip to content

Commit

Permalink
[factoring] dedicate folder for layout interface
Browse files Browse the repository at this point in the history
  • Loading branch information
rair committed Jun 29, 2013
1 parent cec274c commit 5fc7166
Show file tree
Hide file tree
Showing 122 changed files with 145 additions and 145 deletions.
2 changes: 1 addition & 1 deletion articles/layout_articles.php
Expand Up @@ -27,7 +27,7 @@
* @param resource the SQL result
* @return array of resulting items, or NULL
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_accordion.php
Expand Up @@ -16,7 +16,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
4 changes: 2 additions & 2 deletions articles/layout_articles_as_alistapart.php
Expand Up @@ -17,7 +17,7 @@
*
* @return int 100 - this layout has no navigation bar
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 100;
Expand All @@ -29,7 +29,7 @@ function items_per_page() {
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_boxes.php
Expand Up @@ -24,7 +24,7 @@
* @param resource the SQL result
* @return array( $title => $content )
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_carrousel.php
Expand Up @@ -16,7 +16,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_compact.php
Expand Up @@ -27,7 +27,7 @@ function items_per_page() {
* @param resource the SQL result
* @return array
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_contents.php
Expand Up @@ -23,7 +23,7 @@
* @param resource the SQL result
* @return array, or NULL
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
4 changes: 2 additions & 2 deletions articles/layout_articles_as_daily.php
Expand Up @@ -33,7 +33,7 @@
*
* @return 10, to list the ten most recent entries
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 10;
Expand All @@ -45,7 +45,7 @@ function items_per_page() {
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_digest.php
Expand Up @@ -21,7 +21,7 @@
* @param resource the SQL result
* @return array
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
6 changes: 3 additions & 3 deletions articles/layout_articles_as_digg.php
Expand Up @@ -14,7 +14,7 @@
*
* @return string to be used in requests to the database
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_order() {
return 'rating';
Expand All @@ -25,7 +25,7 @@ function items_order() {
*
* @return 20
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 20;
Expand All @@ -37,7 +37,7 @@ function items_per_page() {
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_feed.php
Expand Up @@ -23,7 +23,7 @@
* @param resource the SQL result
* @return array
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
4 changes: 2 additions & 2 deletions articles/layout_articles_as_hardboiled.php
Expand Up @@ -19,7 +19,7 @@
*
* @return 9 - two last articles first, plus 7 other pages
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 9;
Expand All @@ -31,7 +31,7 @@ function items_per_page() {
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_last.php
Expand Up @@ -19,7 +19,7 @@
*
* @return 25
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 20;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_manage.php
Expand Up @@ -20,7 +20,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_news.php
Expand Up @@ -22,7 +22,7 @@
* @param resource the SQL result
* @return array
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
6 changes: 3 additions & 3 deletions articles/layout_articles_as_newspaper.php
Expand Up @@ -15,7 +15,7 @@
/**
* the preferred order for items
*
* @see skins/layout.php
* @see layouts/layout.php
*
* @return string to be used in requests to the database
*/
Expand All @@ -26,7 +26,7 @@ function items_order() {
/**
* the preferred number of items for this layout
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 100;
Expand All @@ -38,7 +38,7 @@ function items_per_page() {
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_raw.php
Expand Up @@ -16,7 +16,7 @@
* @param resource the SQL result
* @return arrayt
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_review.php
Expand Up @@ -21,7 +21,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_rights.php
Expand Up @@ -22,7 +22,7 @@
*
* @return 50
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 50;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_search.php
Expand Up @@ -16,7 +16,7 @@
* @param resource the SQL result
* @return array of resulting items ($score, $summary), or NULL
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_select.php
Expand Up @@ -19,7 +19,7 @@
* @param resource the SQL result
* @return an array of items
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
4 changes: 2 additions & 2 deletions articles/layout_articles_as_simile.php
Expand Up @@ -15,7 +15,7 @@
*
* @return int 1000 - this layout has no navigation bar
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 1000;
Expand All @@ -27,7 +27,7 @@ function items_per_page() {
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_simple.php
Expand Up @@ -20,7 +20,7 @@
* @param resource the SQL result
* @return array of resulting items, or NULL
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_slashdot.php
Expand Up @@ -14,7 +14,7 @@
*
* @return 10
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 10;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_spray.php
Expand Up @@ -28,7 +28,7 @@
*
* @return 50
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 50;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_tabs.php
Expand Up @@ -18,7 +18,7 @@
* @param resource the SQL result
* @return a string to be displayed
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_tagged.php
Expand Up @@ -19,7 +19,7 @@
* @param resource the SQL result
* @return array of resulting items, or NULL
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_timeline.php
Expand Up @@ -28,7 +28,7 @@ function items_per_page() {
* @param resource the SQL result
* @return string
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_titles.php
Expand Up @@ -16,7 +16,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_xml.php
Expand Up @@ -16,7 +16,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_yabb.php
Expand Up @@ -25,7 +25,7 @@
*
* @return 50
*
* @see skins/layout.php
* @see layouts/layout.php
*/
function items_per_page() {
return 50;
Expand Down
2 changes: 1 addition & 1 deletion articles/layout_articles_as_yahoo.php
Expand Up @@ -21,7 +21,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion categories/layout_categories.php
Expand Up @@ -19,7 +19,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion categories/layout_categories_as_cloud.php
Expand Up @@ -16,7 +16,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion categories/layout_categories_as_compact.php
Expand Up @@ -16,7 +16,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down
2 changes: 1 addition & 1 deletion categories/layout_categories_as_inline.php
Expand Up @@ -18,7 +18,7 @@
* @param resource the SQL result
* @return string the rendered text
*
* @see skins/layout.php
* @see layouts/layout.php
**/
function layout($result) {
global $context;
Expand Down

0 comments on commit 5fc7166

Please sign in to comment.