1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

content: nexprev now included in templates, code optimized, fix to crumbpage

This commit is contained in:
lia
2007-04-12 12:19:40 +00:00
parent 6845be03cf
commit 0327a68c34
7 changed files with 143 additions and 123 deletions

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/default/content_archive_template.php,v $
| $Revision: 1.2 $
| $Date: 2007-04-10 14:34:39 $
| $Revision: 1.3 $
| $Date: 2007-04-12 12:19:40 $
| $Author: lisa_ $
+----------------------------------------------------------------------------+
*/
@@ -25,6 +25,9 @@ $sc_style['CM_AUTHOR|archive']['post'] = "</td></tr>";
$sc_style['CONTENT_ARCHIVE_TABLE_LETTERS']['pre'] = "<div style='margin-bottom:20px;'>";
$sc_style['CONTENT_ARCHIVE_TABLE_LETTERS']['post'] = "</div>";
$sc_style['CONTENT_NEXTPREV']['pre'] = "<div class='nextprev'>";
$sc_style['CONTENT_NEXTPREV']['post'] = "</div>";
// ##### CONTENT ARCHIVE --------------------------------------------------
if(!isset($CONTENT_ARCHIVE_TABLE_START)){
$CONTENT_ARCHIVE_TABLE_START = "
@@ -42,7 +45,7 @@ if(!isset($CONTENT_ARCHIVE_TABLE)){
}
if(!isset($CONTENT_ARCHIVE_TABLE_END)){
$CONTENT_ARCHIVE_TABLE_END = "
</table>";
</table>{CONTENT_NEXTPREV}";
}
// ##### ----------------------------------------------------------------------

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/default/content_author_template.php,v $
| $Revision: 1.2 $
| $Date: 2007-04-10 14:34:39 $
| $Revision: 1.3 $
| $Date: 2007-04-12 12:19:40 $
| $Author: lisa_ $
+----------------------------------------------------------------------------+
*/
@@ -24,6 +24,9 @@ $sc_style['CONTENT_AUTHOR_TABLE_LASTITEM']['post'] = "</td></tr>";
$sc_style['CM_AMOUNT|author']['pre'] = "(";
$sc_style['CM_AMOUNT|author']['post'] = ")";
$sc_style['CONTENT_NEXTPREV']['pre'] = "<div class='nextprev'>";
$sc_style['CONTENT_NEXTPREV']['post'] = "</div>";
// ##### CONTENT AUTHOR -------------------------------------------------------
if(!isset($CONTENT_AUTHOR_TABLE_START)){
$CONTENT_AUTHOR_TABLE_START = "
@@ -39,7 +42,7 @@ if(!isset($CONTENT_AUTHOR_TABLE)){
}
if(!isset($CONTENT_AUTHOR_TABLE_END)){
$CONTENT_AUTHOR_TABLE_END = "
</table>\n";
</table>{CONTENT_NEXTPREV}\n";
}
// ##### ----------------------------------------------------------------------

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/default/content_recent_template.php,v $
| $Revision: 1.3 $
| $Date: 2007-04-10 14:34:39 $
| $Revision: 1.4 $
| $Date: 2007-04-12 12:19:40 $
| $Author: lisa_ $
+----------------------------------------------------------------------------+
*/
@@ -53,6 +53,9 @@ $sc_style['CONTENT_RECENT_TABLE_INFOPRE']['post'] = "";
$sc_style['CONTENT_RECENT_TABLE_INFOPOST']['pre'] = "";
$sc_style['CONTENT_RECENT_TABLE_INFOPOST']['post'] = "</td></tr>";
$sc_style['CONTENT_NEXTPREV']['pre'] = "<div class='nextprev'>";
$sc_style['CONTENT_NEXTPREV']['post'] = "</div>";
if(!isset($CONTENT_RECENT_TABLE_START)){
$CONTENT_RECENT_TABLE_START = "";
}
@@ -75,7 +78,7 @@ if(!isset($CONTENT_RECENT_TABLE)){
</table>\n";
}
if(!isset($CONTENT_RECENT_TABLE_END)){
$CONTENT_RECENT_TABLE_END = "";
$CONTENT_RECENT_TABLE_END = "{CONTENT_NEXTPREV}";
}
// ##### ----------------------------------------------------------------------

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/default/content_score_template.php,v $
| $Revision: 1.2 $
| $Date: 2007-04-10 14:34:39 $
| $Revision: 1.3 $
| $Date: 2007-04-12 12:19:40 $
| $Author: lisa_ $
+----------------------------------------------------------------------------+
*/
@@ -31,6 +31,9 @@ $sc_style['CM_AUTHOR|score']['post'] = "</td></tr>";
$sc_style['CM_SCORE|score']['pre'] = "<td class='fcaption' style='width:20%; white-space:nowrap; text-align:right;'>";
$sc_style['CM_SCORE|score']['post'] = "</td>";
$sc_style['CONTENT_NEXTPREV']['pre'] = "<div class='nextprev'>";
$sc_style['CONTENT_NEXTPREV']['post'] = "</div>";
// ##### CONTENT TOP --------------------------------------------------
if(!isset($CONTENT_SCORE_TABLE_START)){
$CONTENT_SCORE_TABLE_START = "";

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/content/templates/default/content_top_template.php,v $
| $Revision: 1.2 $
| $Date: 2007-04-10 14:34:39 $
| $Revision: 1.3 $
| $Date: 2007-04-12 12:19:40 $
| $Author: lisa_ $
+----------------------------------------------------------------------------+
*/
@@ -31,6 +31,9 @@ $sc_style['CM_AUTHOR|top']['post'] = "</td></tr>";
$sc_style['CM_RATING|top']['pre'] = "<td class='fcaption' style='width:20%; white-space:nowrap; text-align:right;'>";
$sc_style['CM_RATING|top']['post'] = "</td>";
$sc_style['CONTENT_NEXTPREV']['pre'] = "<div class='nextprev'>";
$sc_style['CONTENT_NEXTPREV']['post'] = "</div>";
// ##### CONTENT TOP --------------------------------------------------
if(!isset($CONTENT_TOP_TABLE_START)){
$CONTENT_TOP_TABLE_START = "";
@@ -47,7 +50,7 @@ if(!isset($CONTENT_TOP_TABLE)){
</table>\n";
}
if(!isset($CONTENT_TOP_TABLE_END)){
$CONTENT_TOP_TABLE_END = "";
$CONTENT_TOP_TABLE_END = "{CONTENT_NEXTPREV}";
}
// ##### ----------------------------------------------------------------------