diff --git a/e107_themes/_blank/_blank_config.php b/e107_themes/_blank/_blank_config.php index 40ad11055..d6a475bd7 100644 --- a/e107_themes/_blank/_blank_config.php +++ b/e107_themes/_blank/_blank_config.php @@ -5,13 +5,13 @@ if (!defined('e107_INIT')) { exit; } // Dummy Theme Configuration File. class theme__blank implements e_theme_config { - function process() + function process() // Save posted values from config() fields. { $pref = e107::getConfig(); - $theme_pref = array(); - $theme_pref['example'] = $_POST['_blank_example']; - $theme_pref['fb_tabs_cols'] = intval($_POST['fb_tabs_cols']); + $theme_pref = array(); + $theme_pref['example'] = $_POST['_blank_example']; + $theme_pref['example2'] = intval($_POST['_blank_example2']); $pref->set('sitetheme_pref', $theme_pref); return $pref->dataHasChanged(); @@ -22,32 +22,24 @@ class theme__blank implements e_theme_config $var[0]['caption'] = "Sample configuration field"; $var[0]['html'] = ""; - $var[1]['caption'] = "Featurebox Tab Category - number of items per tab"; - $var[1]['html'] = ""; + $var[1]['caption'] = "Sample configuration field"; + $var[1]['html'] = ""; + return $var; } function help() { return " -
- - - All the HTML that you want.

- - +
+ All the HTML that you want.

Mauris sit amet arcu arcu. Curabitur ultrices, felis ac sagittis elementum, justo dolor posuere eros, eu sollicitudin eros mi nec leo. Quisque sapien justo, ultricies at sollicitudin non; rhoncus vel nisi. Fusce egestas orci a diam vestibulum ut gravida ipsum tristique. Nullam et turpis nibh; eu dapibus ligula. Fusce ornare massa ac ante tincidunt euismod varius augue volutpat? Suspendisse potenti. Morbi eget velit in nulla tristique ultricies suscipit consequat ligula. Integer quis arcu vel sem scelerisque gravida vitae vel tortor! Suspendisse tincidunt scelerisque nibh, quis consectetur mauris varius sit amet! Pellentesque et urna vel est rutrum viverra? - -

- - -
"; } diff --git a/e107_themes/_blank/ie_all.css b/e107_themes/_blank/ie_all.css deleted file mode 100644 index 0f7f733a0..000000000 --- a/e107_themes/_blank/ie_all.css +++ /dev/null @@ -1,28 +0,0 @@ -/* Non-Admin CSS Document */ -.col-main { zoom: 1 } -button { width:auto; margin-left:5px; overflow:visible; } - -input.checkbox, -input.radio { width:13px; height:13px; } - -button { - width:auto; - overflow:visible; - vertical-align: middle -} -button span { - margin-top:1px; - -} - - -/* THEME SPECIFIC CSS *********************************************************************************************/ - -#core-frontpage-edit-home { width: 49%; float: left; margin-right: 10px; } -#core-frontpage-edit-post-login { width: 49%; float: left;} - -#core-frontpage-edit-home .adminlist { width: 100%; } -#core-frontpage-edit-post-login .adminlist { width: 100%; } - - - diff --git a/e107_themes/_blank/images/btn_left.gif b/e107_themes/_blank/images/btn_left.gif deleted file mode 100644 index c4f67d3a4..000000000 Binary files a/e107_themes/_blank/images/btn_left.gif and /dev/null differ diff --git a/e107_themes/_blank/images/index.html b/e107_themes/_blank/images/index.html new file mode 100644 index 000000000..058781910 --- /dev/null +++ b/e107_themes/_blank/images/index.html @@ -0,0 +1,47 @@ +\n"; +echo "\n"; +echo "\n"; +echo " +".LAN_ERROR_43." + + + +\n +\n +
"; +if (is_readable(e_IMAGE.'logo.png')) +{ + echo "".LAN_ERROR_44.""; +} +echo "
"; +echo LAN_ERROR_38.'
'; +echo LAN_ERROR_39.'
'; +echo LAN_ERROR_40.'


'; +echo "
"; +echo LAN_ERROR_41.'
'; +echo "CRITICAL_ERROR:
Line {$line} {$file}
+
".LAN_ERROR_42.$message."
\n"; +echo "
\n"; + +?> diff --git a/e107_themes/_blank/index.html b/e107_themes/_blank/index.html new file mode 100644 index 000000000..058781910 --- /dev/null +++ b/e107_themes/_blank/index.html @@ -0,0 +1,47 @@ +\n"; +echo "\n"; +echo "\n"; +echo " +".LAN_ERROR_43." + + + +\n +\n +
"; +if (is_readable(e_IMAGE.'logo.png')) +{ + echo "".LAN_ERROR_44.""; +} +echo "
"; +echo LAN_ERROR_38.'
'; +echo LAN_ERROR_39.'
'; +echo LAN_ERROR_40.'


'; +echo "
"; +echo LAN_ERROR_41.'
'; +echo "CRITICAL_ERROR:
Line {$line} {$file}
+
".LAN_ERROR_42.$message."
\n"; +echo "
\n"; + +?> diff --git a/e107_themes/_blank/rtl.css b/e107_themes/_blank/rtl.css deleted file mode 100644 index 230f8e493..000000000 --- a/e107_themes/_blank/rtl.css +++ /dev/null @@ -1,277 +0,0 @@ -/* Right to Left StyleSheet - * Only a few redefinitions are necessary - * as this file is loaded after all other CSS files and other definitions - */ - -/* Core Formatting */ -.left { - text-align: right -} - -.right { - text-align: left -} - -.f-left { - float: right -} - -.f-right { - float: left -} - -.clear-r { - clear: right -} - -.clear-l { - clear: left -} - -/* RESET CSS *********************************************************************************************/ -/* Global */ -*, body { - direction: rtl; - text-align: right -} - -th { - text-align: right -} - - -/* E107 CORE ADMIN CSS *********************************************************************************************/ - - -/******** Decorate JS */ -/* Admin List Table */ -.adminlist { border:1px solid #ddd;} -.adminlist th { border-right: 1px solid #ddd; } /* should be OK */ -.adminlist td { border-right: 1px solid #ddd; } /* should be OK */ - -.adminlist .col-selection-cont { float:left; } /* rtl */ -.col-selection-cont .col-selection { text-align:right; margin-left:0px; left:0px;} /* rtl - TODO check margin-right */ - -/* Form elements */ -input.input-text, -textarea, -select, .tbox, .helpbox { -} - -option { - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 10px; -} - -input.radio { - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 3px; -} -.checkbox { - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 5px; -} - -/* BBcode textareas */ -.check-block .checkbox { - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 2px -} - -/* Related JS functionality - .autocheck together with .auto-toggle-area (see admin/image.php) */ - -/* form used for settings */ -.col-selection { text-align:right; margin-right:0px; left:0px;} - - -/* TODO - rename it to adminprefs */ - -.adminform td { text-align: right} - - -/* form used for content edit */ -.adminedit td { text-align: right} - -/* Admin Info Table TODO - box model (div) */ -.admininfo td { text-align: right} - -/* Images and avatars */ -.image-box { - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 10px; -} - -/******** Prepare for Image Preview JS */ - -/******** Tabs JS */ -.admintabs ul.e-tabs li { float: right; - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 3px; } - -/******** SyS Messages / Message text formatting */ -/* message boxes */ -.s-message { } - -.s-message .s-message-title { - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 42px; } - -.s-message-body { - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 42px; } - -/* validate result inline message */ - -/* message text (overall) */ - -/******** Tooltip info */ - -/******** Admin Buttons */ -button { - padding:0 0 0 10px; -} -button span { - padding:0 13px 0 0; -} - -/*blue buttons*/ -/* TODO The following buttons probably needs treatment */ -button { background:url(images/btn_right.gif) right no-repeat; } -button span { background:url(images/btn_left.gif) left no-repeat; } - -button:hover, -button:focus { background:url(images/btn_over_right.gif) right no-repeat; } -button:hover span, -button:focus span { background:url(images/btn_over_left.gif) left no-repeat; } - - -button:active { background:url(images/btn_active_right.gif) right no-repeat; } -button:active span { background:url(images/btn_active_left.gif) left no-repeat; } - -button.delete span { background-image:url(images/btn_remove_left.gif); } -button.delete:hover span, -button.delete:focus span { background-image:url(images/btn_remove_over_left.gif) } -button.delete:active span { background-image:url(images/btn_remove_active_left.gif)} -button.delete span { - /* reset left */ - padding-left: 0; - /* add right */ - padding-right: 30px; } - -/*default submit*/ -button.update span { background-image:url(images/btn_update_left.gif); } -button.update:hover span, -button.update:focus span { background-image:url(images/btn_update_over_left.gif)} -button.update:active span { background-image:url(images/btn_update_active_left.gif)} -button.update span { - /* reset left */ - padding-left: 0; - /* add right */ - padding-right: 30px; } - -button.create span { - /* reset left */ - padding-left: 0; - /* add right */ - padding-right: 30px; } - -button.edit span { - /* reset left */ - padding-left: 0; - /* add right */ - padding-right: 30px; } - - -.buttons-bar button { - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 10px; } -.buttons-bar button.f-right { - /* reset right */ - padding-right: 0; - /* add left */ - padding-left: 0px; } - -/* Actions (adminlist) - input type image */ - -/********** Page Loading Status default style */ -#loading-mask .loader { - /* reset left */ - padding-left: 0; - /* add right */ - padding-right: -100px; - - /*FIXME left: 50%; */ - left:auto; - right: 50%; -} - -/********** Element Loading Status default style */ - -/********** Docs */ -#docs-list { padding: 10px; } -#docs-list .qitem { padding-right: 10px; } /* something to do? */ - -.docs-item .qitem, -.docs-item .aitem, -.docs-item .gotop { padding-left: 10px; } /* something to do? */ - - -/********** Misc */ - - -/*******************************************************************************************************************/ - - -/* THEME SPECIFIC CSS *********************************************************************************************/ -/******** Page Base */ - -/******** Layout */ -.col-main { padding: 0 0 0 15px;} - -/******** Horizontal navigation ADMIN_NAV_ALT */ - -/******** Side Navigation - - Admin Navigation - - Plugin Navigation -*/ - - -/******** Block Elements */ - - - -/***** Admin Info Panel Buttons **/ - -.core-mainpanel-block { float:right; } - -/*****************************/ - - -#core-admin-log-maintenance button { - /* reset left */ - padding-left: 0; - /* add right */ - padding-right: 10px; } - -#core-frontpage-edit-home { float: right; } -#core-frontpage-edit-post-login { float: right; } - -#core-frontpage-edit-post-login .adminlist { float: left; } diff --git a/e107_themes/bootstrap/theme.php b/e107_themes/bootstrap/theme.php index 53f60c85f..8b719b50e 100644 --- a/e107_themes/bootstrap/theme.php +++ b/e107_themes/bootstrap/theme.php @@ -369,5 +369,52 @@ $FOOTER['marketing-narrow'] = ' */ +$NEWSLISTSTYLE = " +\n\n\n\n + + + + + + +
+ {NEWSCATICON} + + + {NEWSTITLELINK} +
+ {NEWSSUMMARY} +
+ {NEWSTHUMBNAIL} +
+ +\n\n\n\n +" + +; + + +$NEWSCAT = "\n\n\n\n\n\n\n\n +
+
+ {NEWSCATEGORY} +
+
+ {NEWSCAT_ITEM} +
+
+"; + + +$NEWSCAT_ITEM = "\n\n\n\n\n\n\n\n +
+ + +
•  + {NEWSTITLELINK} +
+"; + + ?> \ No newline at end of file