diff --git a/include/common.inc.php b/include/common.inc.php index 8aeafb7bf..4fa11cec3 100644 --- a/include/common.inc.php +++ b/include/common.inc.php @@ -201,9 +201,17 @@ if ($user['is_the_guest']) list($user['template'], $user['theme']) = explode('/', $user['template']); // TODO : replace initial $user['template'] by $user['layout'] +if (IN_ADMIN) +{ + $template_root = 'admin'; +} +else +{ + $template_root = 'public'; +} include( PHPWG_ROOT_PATH - .'template/'.$user['template'] + .'template/'.$template_root.'/'.$user['template'] .'/theme/'.$user['theme'] .'/themeconf.inc.php' ); diff --git a/include/functions.inc.php b/include/functions.inc.php index 12fe7200d..4c2b045c0 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -597,11 +597,11 @@ function url_is_remote($url) /** * returns available template/theme */ -function get_pwg_themes() +function get_pwg_themes($template_root = 'public') { $themes = array(); - $template_dir = PHPWG_ROOT_PATH.'template'; + $template_dir = PHPWG_ROOT_PATH.'template'.'/'.$template_root; foreach (get_dirs($template_dir) as $template) { diff --git a/include/page_header.php b/include/page_header.php index 6a48b4b81..e4833e9c1 100644 --- a/include/page_header.php +++ b/include/page_header.php @@ -28,7 +28,16 @@ // // Start output of page // -$template->set_filenames(array('header'=>'header.tpl')); +if (IN_ADMIN) +{ + $template->set_rootdir(PHPWG_ROOT_PATH.'template/admin/'.$user['template']); + $template->set_filenames(array('header'=>'header.tpl')); +} +else +{ + $template->set_rootdir(PHPWG_ROOT_PATH.'template/public/'.$user['template']); + $template->set_filenames(array('header'=>'header.tpl')); +} $template->assign_vars( array( diff --git a/template/yoga/about.tpl b/template/admin/yoga/about.tpl similarity index 100% rename from template/yoga/about.tpl rename to template/admin/yoga/about.tpl diff --git a/template/admin/yoga/admin.tpl b/template/admin/yoga/admin.tpl new file mode 100644 index 000000000..a47410ff9 --- /dev/null +++ b/template/admin/yoga/admin.tpl @@ -0,0 +1,97 @@ + + + +
+ +
+ +
+ + + +
+ +
+ + + {ADMIN_CONTENT} +
diff --git a/template/admin/yoga/admin/cat_list.tpl b/template/admin/yoga/admin/cat_list.tpl new file mode 100644 index 000000000..356c47b3f --- /dev/null +++ b/template/admin/yoga/admin/cat_list.tpl @@ -0,0 +1,55 @@ + +

{lang:title_categories}

+ +

{CATEGORIES_NAV}

+ + +
+ + +

+ + +

+ +
+ + +
+

+ {L_ADD_VIRTUAL} : + +

+
diff --git a/template/admin/yoga/admin/cat_modify.tpl b/template/admin/yoga/admin/cat_modify.tpl new file mode 100644 index 000000000..8b4c0f9c4 --- /dev/null +++ b/template/admin/yoga/admin/cat_modify.tpl @@ -0,0 +1,193 @@ + +
+ +

{lang:title_edit_cat}

+
+ +

{CATEGORIES_NAV}

+ + + +
+ +
+ {lang:Informations} + + + + + + + + + + + + + + + + + + + + + +
{L_REMOTE_SITE}{server.SITE_URL}
{L_STORAGE}{storage.CATEGORY_DIR}
{L_EDIT_NAME} + +
{L_EDIT_COMMENT} + +
+
+ + +
+ {lang:Move} + {lang:Parent category} + +
+ + +
+ {lang:Options} + + + + + + + + + + + + + + + +
{L_EDIT_STATUS} + + {L_STATUS_PUBLIC} + {L_STATUS_PRIVATE} +
{L_EDIT_LOCK} + + {L_YES} + {L_NO} +
{L_EDIT_COMMENTABLE} + + {L_YES} + {L_NO} +
{L_EDIT_UPLOADABLE} + + {L_YES} + {L_NO} +
+
+ +

+ + +

+ + +
+ {lang:Representant} + + + + + +
+ + + + + + {lang:Random picture} + + + +

+ + + +

+ +
+
+ + +
+ + diff --git a/template/admin/yoga/admin/cat_move.tpl b/template/admin/yoga/admin/cat_move.tpl new file mode 100644 index 000000000..1010acbf1 --- /dev/null +++ b/template/admin/yoga/admin/cat_move.tpl @@ -0,0 +1,40 @@ + +
+ +

{lang:Move categories}

+
+ +
+
+ {lang:Virtual categories movement} + + + + + +
+ +

+ + +

+ +
diff --git a/template/admin/yoga/admin/cat_options.tpl b/template/admin/yoga/admin/cat_options.tpl new file mode 100644 index 000000000..56e12ae27 --- /dev/null +++ b/template/admin/yoga/admin/cat_options.tpl @@ -0,0 +1,17 @@ + +
+ +

{lang:title_cat_options}

+
+ +
+
+ {L_SECTION} + {DOUBLE_SELECT} +
+
+ +

{L_CAT_OPTIONS_INFO}

+ diff --git a/template/yoga/admin/cat_perm.tpl b/template/admin/yoga/admin/cat_perm.tpl similarity index 100% rename from template/yoga/admin/cat_perm.tpl rename to template/admin/yoga/admin/cat_perm.tpl diff --git a/template/yoga/admin/comments.tpl b/template/admin/yoga/admin/comments.tpl similarity index 100% rename from template/yoga/admin/comments.tpl rename to template/admin/yoga/admin/comments.tpl diff --git a/template/admin/yoga/admin/configuration.tpl b/template/admin/yoga/admin/configuration.tpl new file mode 100644 index 000000000..82a9977c7 --- /dev/null +++ b/template/admin/yoga/admin/configuration.tpl @@ -0,0 +1,167 @@ + +
+ +

{lang:title_configuration}

+
+ +
+ +
+ + {lang:conf_general_title} + + + + + + {lang:conf_comments_title} + + + + + {lang:conf_default_title} + + + +
+ +

+ + +

+
diff --git a/template/yoga/admin/double_select.tpl b/template/admin/yoga/admin/double_select.tpl similarity index 100% rename from template/yoga/admin/double_select.tpl rename to template/admin/yoga/admin/double_select.tpl diff --git a/template/admin/yoga/admin/element_set_global.tpl b/template/admin/yoga/admin/element_set_global.tpl new file mode 100644 index 000000000..638e5a139 --- /dev/null +++ b/template/admin/yoga/admin/element_set_global.tpl @@ -0,0 +1,166 @@ + +

{lang:Batch management}

+ +

{CATEGORIES_NAV}

+ +

+ {lang:global mode} + | {lang:unit mode} +

+ +
+ + {lang:Display options} + +

{lang:elements per page}: + 20 + | 50 + | 100 + | {lang:all} +

+ +
+ +
+ +
+ + {lang:Elements} + + + + + +
+ +
+ + {lang:Form} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{lang:associate to category} + +
{lang:dissociate from category} + +
{lang:add tags}{ADD_TAG_SELECTION}
{lang:remove tags}{DEL_TAG_SELECTION}
{lang:author} + {lang:leave} + {lang:unset} + {lang:set to} + +
{lang:title} + {lang:leave} + {lang:unset} + {lang:set to} + +
{lang:creation date} + {lang:leave} + {lang:unset} + {lang:set to} + + + +
+ +

+ {lang:target} + + +

+ + +

+ +
+ +
+ + {lang:Caddie management} + + + +

+ +
+ +
diff --git a/template/yoga/admin/element_set_unit.tpl b/template/admin/yoga/admin/element_set_unit.tpl similarity index 100% rename from template/yoga/admin/element_set_unit.tpl rename to template/admin/yoga/admin/element_set_unit.tpl diff --git a/template/admin/yoga/admin/group_list.tpl b/template/admin/yoga/admin/group_list.tpl new file mode 100644 index 000000000..7e7b5f670 --- /dev/null +++ b/template/admin/yoga/admin/group_list.tpl @@ -0,0 +1,35 @@ + +

{lang:title_groups}

+ +
+
+ {lang:Add group} + + + + + + +

+ +

+
+
+ + + + + + + + + + + + + + +
{lang:Group name}{lang:Members}{lang:Actions}
{group.NAME}{group.MEMBERS} + permissions + delete +
diff --git a/template/yoga/admin/group_perm.tpl b/template/admin/yoga/admin/group_perm.tpl similarity index 100% rename from template/yoga/admin/group_perm.tpl rename to template/admin/yoga/admin/group_perm.tpl diff --git a/template/admin/yoga/admin/intro.tpl b/template/admin/yoga/admin/intro.tpl new file mode 100644 index 000000000..d924978c0 --- /dev/null +++ b/template/admin/yoga/admin/intro.tpl @@ -0,0 +1,47 @@ + +

{lang:title_default}

+ +
+
{lang:PhpWebGallery version}
+
+ +
+ +
{lang:Environment}
+
+ +
+ +
{lang:Database}
+
+ +
+ +
diff --git a/template/admin/yoga/admin/maintenance.tpl b/template/admin/yoga/admin/maintenance.tpl new file mode 100644 index 000000000..030b3782a --- /dev/null +++ b/template/admin/yoga/admin/maintenance.tpl @@ -0,0 +1,16 @@ + +
+ +

{lang:Maintenance}

+
+ + diff --git a/template/yoga/admin/notification_by_mail.tpl b/template/admin/yoga/admin/notification_by_mail.tpl similarity index 100% rename from template/yoga/admin/notification_by_mail.tpl rename to template/admin/yoga/admin/notification_by_mail.tpl diff --git a/template/admin/yoga/admin/picture_modify.tpl b/template/admin/yoga/admin/picture_modify.tpl new file mode 100644 index 000000000..14976fac1 --- /dev/null +++ b/template/admin/yoga/admin/picture_modify.tpl @@ -0,0 +1,183 @@ + +

{lang:title_picmod}

+ +{lang:thumbnail} + + + +
+ +
+ {lang:Informations} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{lang:Path}{PATH}
{lang:Registration date}{REGISTRATION_DATE}
{lang:Dimensions}{DIMENSIONS}
{lang:Filesize}{FILESIZE}
{lang:Storage category}{STORAGE_CATEGORY}
{lang:Linked categories} +
    + +
  • {links.category.NAME}
  • + +
+
+ +
+ +
+ {lang:Properties} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{lang:Name}
{lang:Author}
{lang:Creation date} + + {lang:set to} + + + +
{lang:Tags}{TAG_SELECTION}
{lang:Description}
+ +

+ + +

+ +
+ +
+ +
+
+ {lang:Association to categories} + + + + + + + +
+

{lang:Associated}

+ +

+
+

{lang:Dissociated}

+ +

+
+ +
+
+ +
+
+ {lang:Representation of categories} + + + + + + + +
+

{lang:Represents}

+ +

+
+

{lang:Does not represent}

+ +

+
+ +
+
diff --git a/template/yoga/admin/rating.tpl b/template/admin/yoga/admin/rating.tpl similarity index 100% rename from template/yoga/admin/rating.tpl rename to template/admin/yoga/admin/rating.tpl diff --git a/template/admin/yoga/admin/site_manager.tpl b/template/admin/yoga/admin/site_manager.tpl new file mode 100644 index 000000000..c82a82a12 --- /dev/null +++ b/template/admin/yoga/admin/site_manager.tpl @@ -0,0 +1,66 @@ + +
+ +

{lang:Site manager}

+
+ + +
+ +
+ + + +{lang:remote_site_local_found} {local_listing.URL} + +
+

+ {lang:remote_site_local_create}: + + + +

+
+ + +{lang:site_synchronize} + + + + + + + + +
+ {sites.site.NAME}
({sites.site.TYPE}, {sites.site.CATEGORIES} {lang:Categories}, {sites.site.IMAGES} {lang:picture}s) +
+ [{lang:site_synchronize}] + + [{lang:site_delete}] + + +
+ [{lang:remote_site_test}] + [{lang:remote_site_generate}] + [{lang:remote_site_clean}] + +
+ + +
+

+ + +

+

+ +

+
diff --git a/template/yoga/admin/site_update.tpl b/template/admin/yoga/admin/site_update.tpl similarity index 100% rename from template/yoga/admin/site_update.tpl rename to template/admin/yoga/admin/site_update.tpl diff --git a/template/admin/yoga/admin/stats.tpl b/template/admin/yoga/admin/stats.tpl new file mode 100644 index 000000000..0798d299f --- /dev/null +++ b/template/admin/yoga/admin/stats.tpl @@ -0,0 +1,51 @@ + +

{lang:title_history}

+ +

{L_STAT_TITLE}

+{L_STAT_MONTHLY_ALT} + +

{L_STAT_DETAIL_TITLE}

+ + + + + + + + + + + + + + + +
{L_VALUE}{L_PAGES_SEEN}{L_VISITORS}{L_PICTURES}
{statrow.VALUE}{statrow.PAGES}{statrow.VISITORS}{statrow.IMAGES}
+ +

{L_DATE_TITLE}

+ + + + + + + + + + + + + + + + + + + +
{L_STAT_HOUR}{L_STAT_LOGIN}{L_STAT_ADDR}{L_STAT_CATEGORY}{L_STAT_FILE}{L_STAT_PICTURE}
{detail.HOUR}{detail.LOGIN}{detail.IP}{detail.CATEGORY}{detail.FILE}{detail.PICTURE}
+ + +
+{navigation.NAV_BAR} +
+ diff --git a/template/yoga/admin/tags.tpl b/template/admin/yoga/admin/tags.tpl similarity index 100% rename from template/yoga/admin/tags.tpl rename to template/admin/yoga/admin/tags.tpl diff --git a/template/admin/yoga/admin/thumbnail.tpl b/template/admin/yoga/admin/thumbnail.tpl new file mode 100644 index 000000000..4e3ed3d19 --- /dev/null +++ b/template/admin/yoga/admin/thumbnail.tpl @@ -0,0 +1,129 @@ + +
+ +

{lang:title_thumbnails}

+
+ + +
{L_RESULTS}
+ + + + + + + + + + + + + + + + + + + +
{L_PATH}{L_THUMBNAIL}{L_GENERATED}{L_FILESIZE}{L_WIDTH}{L_HEIGHT}
{results.picture.PATH}{results.picture.GEN_TIME}{results.picture.TN_FILESIZE_IMG}{results.picture.TN_WIDTH_IMG}{results.picture.TN_HEIGHT_IMG}
+ + + + + + + + + + + + + + + + + + + + + + + + + +
{L_TN_STATS}
{L_TN_NB_STATS}{results.TN_NB}
{L_TN_TOTAL}{results.TN_TOTAL}
{L_TN_MAX}{results.TN_MAX}
{L_TN_MIN}{results.TN_MIN}
{L_TN_AVERAGE}{results.TN_AVERAGE}
+
+ + + +
+ +
+ {L_PARAMS} + + +
+ +

+
+ + + +
[ {L_UNLINK} ]
+ + + +
{remainings.TOTAL_IMG} {L_REMAINING}
+ + + + + + + + + + + + + + + + + +
 {L_PATH}{L_FILESIZE}{L_WIDTH}{L_HEIGHT}
{remainings.remaining.NB_IMG}
{remainings.remaining.PATH}
{remainings.remaining.FILESIZE_IMG}
{remainings.remaining.WIDTH_IMG}
{remainings.remaining.HEIGHT_IMG}
+ diff --git a/template/yoga/admin/user_list.tpl b/template/admin/yoga/admin/user_list.tpl similarity index 100% rename from template/yoga/admin/user_list.tpl rename to template/admin/yoga/admin/user_list.tpl diff --git a/template/yoga/admin/user_perm.tpl b/template/admin/yoga/admin/user_perm.tpl similarity index 100% rename from template/yoga/admin/user_perm.tpl rename to template/admin/yoga/admin/user_perm.tpl diff --git a/template/admin/yoga/admin/waiting.tpl b/template/admin/yoga/admin/waiting.tpl new file mode 100644 index 000000000..28b9de802 --- /dev/null +++ b/template/admin/yoga/admin/waiting.tpl @@ -0,0 +1,45 @@ + +

{lang:title_waiting}

+ +
+ + + + + + + + + + + + + + + + + + + +
{L_CATEGORY}{L_DATE}{L_FILE}{L_THUMBNAIL}{L_AUTHOR} 
{picture.CATEGORY_IMG}{picture.DATE_IMG} + {picture.FILE_IMG} + + + {picture.thumbnail.FILE_TN_IMG} + + + {picture.UPLOAD_USERNAME} + + + +
+ +

+ + + + + +

+ +
diff --git a/template/admin/yoga/comments.tpl b/template/admin/yoga/comments.tpl new file mode 100644 index 000000000..6184929fd --- /dev/null +++ b/template/admin/yoga/comments.tpl @@ -0,0 +1,93 @@ + +
+ +
+ +

{lang:User comments}

+
+ +
+ +
+ {lang:Filter} + + + + + + + + + +
+ +
+ + {lang:Display} + + + + + + + +
+ +

+ +
+ + + +
+ + +
+ +

{comment.AUTHOR} - {comment.DATE}

+
{comment.CONTENT}
+
+
+ + + +
+ +
diff --git a/template/admin/yoga/content.css b/template/admin/yoga/content.css new file mode 100644 index 000000000..1b0a79188 --- /dev/null +++ b/template/admin/yoga/content.css @@ -0,0 +1,329 @@ +/* $Id: content.css 1341 2006-06-05 14:36:15Z chrisaga $ */ +#content { + margin-right: 1em; + margin-bottom: 1em; /* when it's longer than menu bar */ +} + +BODY#theCommentsPage #content, +BODY#theRegisterPage #content, +BODY#theIdentificationPage #content, +BODY#theProfilePage #content, +BODY#theSearchPage #content, +BODY#theAboutPage #content, +BODY#thePopuphelpPage #content, +BODY#thePasswordPage #content, +BODY#theNotificationPage #content, +BODY#theTagsPage #content, +BODY#theNBMPage #content +{ + margin: 1em; +} + +#content H3 { + margin-bottom: 1ex; +} + +#content H2 { margin-bottom: 3px;} /*<- for IE otherwise calendar select is displaced to middle of page*/ + +#content H3 { + text-align: center; +} + +/* Thumbnails customization */ +#content UL.thumbnails SPAN.thumbLegend { + font-size: 80%; /* font size */ + overflow: hidden; /* oversized legend is clipped */ +} + +/* Thumbnail "elastic" layout */ +#content UL.thumbnails { + margin: 0; + padding: 0; + list-style: none; + text-align: center; /* to center the whole collection in #content */ +} +#content UL.thumbnails LI { display: inline } + +#content UL.thumbnails SPAN.wrap1 { + margin: 0 5px 5px 5px; + display: table-cell; display: inline-table; display: inline-block; + vertical-align: top; /* OK with Opera and IE6 not Geko */ + text-align: center; /* to center the thumbnail and legend in Geko/Opera */ +} +#content UL.thumbnails SPAN.wrap2 { + margin: 0; /* important reset the margins */ + display: table-cell; /* block prevents vertical-align here */ + vertical-align: middle; /* Ok with Opera and Geko not IE6 */ +} +#content UL.thumbnails SPAN.wrap2 A, +#content UL.thumbnails SPAN.wrap2 LABEL { + display: block; + border-bottom: none; +} +#content UL.thumbnails IMG { + margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ +} + +/* label and input used for caddie in admin section */ +#content UL.thumbnails SPAN.wrap2 LABEL { + position: relative; +} +:root #content UL.thumbnails SPAN.wrap2 INPUT { /* hide from Opera */ + position: absolute; + left: 0; + top: 0; +} + +/* fix IE with another layout */ +* html #content UL.thumbnails SPAN.wrap2 { + display: block; + position: relative; + text-align: left; +} +* html #content UL.thumbnails SPAN.wrap2 A, +* html #content UL.thumbnails SPAN.wrap2 LABEL { + overflow: visible; + position: absolute; + top: 50%; + text-align: center; +} +* html #content UL.thumbnails IMG.thumbnail { + position: relative; + top: -50%; + /*\*//*/ + margin-top: -40%; + /**/ +} +* html #content UL.thumbnails SPAN.wrap2 input { + position: absolute; + left: 0; + top: -50%; /* same as other browsers but not so pretty */ +} + +#content .navigationBar, #content .additional_info { + margin: 10px 0; + text-align: center; +} + +#content .pageNumberSelected { + font-style: italic; +} + +#content .additional_info { + font-size: 110%; +} + +#content FORM { + text-align: left; +} + +/* content defaults */ +#content DL, DD { margin: 10px; } +#content DT { + margin-bottom: 5px; + font-style: italic; + font-size: 110%; +} + +/* actions */ +UL.categoryActions { + margin: 0 2px; + width: auto; + padding: 0; + text-indent: 0; + list-style: none; + text-align: center; +} + +#content DIV.titrePage UL.categoryActions { + float: right; + text-align: center; +} + +#content DIV.titrePage { + padding: 0 0 3px; +} + +#content UL.categoryActions LI { + display: inline; +} + +#content UL.categoryActions A IMG, UL.categoryActions A { + border: none; + margin-bottom: -5px; +} + +/* User comments */ + +#content DIV#comments { + padding-left: 5px; + padding-right: 5px; + -moz-box-sizing: padding-box; +} +#content DIV.comment { + margin: 0 0 0.5em 0; + padding: 0; + overflow: hidden; /* these 2 lines ensure the floating child is kept in the DIV */ + width: 100%; /* don't ask why. It's a very usefull trick */ +} + +#content DIV.comment A.illustration { + display: block; + float: left; + margin: 0.5em 0 0 0.5em; +} + +#content DIV.comment P.commentHeader { + text-align: right; + margin: 0.5em 0.5em 0 0; +} + +#content DIV.comment UL.actions { + text-align: center; + margin: 0.2em; +} + +#content DIV.comment BLOCKQUOTE { + margin-top: 1em; + margin-right: 0.5em; + margin-bottom: 150px; + padding: 0.5em; +} + +/* should be in admin.css ? CSS properties also used in popuphelp */ + +SPAN.pwgScreen { + border-bottom: 1px dotted black; +} + +SPAN.filename:before { + content: "["; +} + +SPAN.filename:after { + content: "]"; +} + +/* begin chronology/calendar elements*/ +#content DIV.calendarViews { + display: block; + float: right; + margin: 2px 0 0; +} + +#content DIV.calendarBar { margin: 8px 4px; } + +SPAN.calItem, SPAN.calItemEmpty { + font-weight: bold; + margin: 0 1px; +} + +SPAN.calItem A { border:0 } + +#content DIV.calendarCalBar { + margin: 10px 10px; + text-align: left; +} + +SPAN.calCalHead { + font-weight: bold; + font-size: 110%; + margin: 0 2px; +} + +SPAN.calCal { margin: 0 2px; } + +/* nice looking month calendar*/ +TABLE.calMonth { + border: none; + border-collapse: collapse; + margin-bottom: 10px; /*<-IE ignores this */ +} + +TD.calDayCellFull, TD.calDayCellEmpty, TD.calDayCellBlank { + text-align:left; + vertical-align: top; + font: bold 18px Arial, Helvetica, sans-serif; +} + +TD.calDayHead { font: bold 12px Arial, Helvetica, sans-serif; } + +DIV.calImg { + overflow: hidden; + vertical-align: bottom; + z-index: 1; + position: relative; /*<- this required by IE*/ +} + +.calImg img { + position: relative; + border: 0; +} + +.calBackDate { + padding-left: 4px; + padding-top: 0px; + z-index: 2; + position: absolute; + text-align: left; + vertical-align: top; +} + +.calForeDate { + padding-left: 5px; + padding-top: 1px; + z-index: 3; + position: absolute; + text-align: left; + vertical-align: top; +} + +/* Category thumbnails on main page, CSS code inspired from MOD subcatify */ +#content UL.thumbnailCategories { + margin: 0; + padding: 0; + list-style: none; + text-align: center; + overflow: hidden; + width: 100%; +} + +* html #content UL.thumbnailCategories { + width: 99%; /* buggy IE box model */ +} + +#content UL.thumbnailCategories LI { + margin:0; + padding:0; + float:left; +} + +#content DIV.thumbnailCategory { + display:block; + padding: 2px 0px 0px 2px; + margin: 5px; +} + +#content DIV.thumbnailCategory DIV.description { + font-size: 90%; + overflow: auto; + /*width: inherit;*/ +} + +#content DIV.thumbnailCategory DIV.description H3 { + text-align: left; + background: transparent; + margin: 0; + padding: 0.1em; + font-size: 120%; +} + +#content DIV.thumbnailCategory DIV.description P { + margin: 0; +} + +#content DIV.thumbnailCategory DIV.illustration { + text-align: left; + margin: 2px 0 0 2px; + float: left; +} diff --git a/template/yoga/dclear.css b/template/admin/yoga/dclear.css similarity index 100% rename from template/yoga/dclear.css rename to template/admin/yoga/dclear.css diff --git a/template/admin/yoga/default-colors.css b/template/admin/yoga/default-colors.css new file mode 100644 index 000000000..12e78116d --- /dev/null +++ b/template/admin/yoga/default-colors.css @@ -0,0 +1,73 @@ +/* $Id: default-colors.css 1261 2006-04-22 20:00:43Z chrisaga $ */ + +/* others */ +.pleaseNote { + background: #9c9c9c; + color: #ffff99; + padding: 1ex; + font-weight: bold; +} + +#imageToolBar * { + background: inherit; +} + +/* So that non-links are slightly greyed out */ +#content .navigationBar { + color: #696969; +} +#content .pageNumberSelected { + color: #000000; +} + +/* Tables & forms */ +INPUT, SELECT, TEXTAREA { + color:black; +} +INPUT, SELECT, TEXTAREA, FORM .nofocus { + background-color: #d3d3d3; /* lightgrey */ +} +FORM .focus { + background-color: #f5f5f5; /* whitesmoke */ +} +INPUT[type="radio"] { /* for Opera */ + border: none; + background-color: transparent; +} + +.errors { /* Errors display */ + color: red; + background-color: #ffe1e1; + font-weight: bold; + text-align: left; + margin: 5px; + border: 1px solid red; + background-image: url(icon/admin/errors.png); + background-repeat: no-repeat; + background-position: top right; + padding: 10px 50px 10px 10px; +} + +.errors UL LI +{ + font-weight: normal; +} + +/** + * Informations box in administration + */ +.infos { + text-align: left; + background-color: palegreen; + background-image: url(icon/admin/infos.png); + background-repeat: no-repeat; + background-position: top right; + color: darkgreen; + font-weight: bold; + margin: 5px; + padding: 10px 50px 10px 10px; +} + +LEGEND { + font-style: italic; +} diff --git a/template/admin/yoga/default-layout.css b/template/admin/yoga/default-layout.css new file mode 100644 index 000000000..349fa8469 --- /dev/null +++ b/template/admin/yoga/default-layout.css @@ -0,0 +1,325 @@ +/* $Id: default-layout.css 1356 2006-06-15 20:49:39Z nikrou $ */ + +BODY { + margin: 5px; + padding: 0; + font-size: 0.8em; + font-family: Bitsream Vera Sans, Helvetica, Arial, sans-serif; + text-align: center; /* be nice to IE5 */ +} + +#the_page { + /* Just in case another template needs an inner frame */ +} + +H1 { + text-align: center; + font-size: 150%; + font-weight: bold; + padding: 0; margin: 1ex 0 2ex 0; +} + +H2 { + margin: 0; + padding: 5px 5px 5px 5px; + text-align: left; + font-size: 120%; +} + +A { + text-decoration:none; + border-bottom: 1px dotted #005e89; +} +A:hover { + border-bottom: 1px solid #858460; +} + +IMG { + border: none; +} + +HR.separation { + visibility: hidden; + clear: both; +} + +#copyright { + clear: both; + font-size: 83%; + text-align: center; + margin: 0 0 10px 0; +} + +/** General defaults **/ +INPUT {margin: 0;} +UL, DL, LI { text-align: left;} +TABLE { /* horizontaly centered */ + margin-left: auto; + margin-right: auto; +} +/* for debugging purpose */ +PRE { text-align:left; } + +/** forms **/ + +FORM { padding: 0em; } + +FORM P { + text-align: center; + margin-top: 2em; + margin-bottom: 2em; +} +.small { + font-size: 80%; +} + +TEXTAREA.description { + height: 100px; + width: 500px; + overflow: auto; +} +SELECT.categoryList { + width: 100%; +} + +/** go to an admin.css ? **/ + +TABLE.table2 { + border: 1px solid black; + margin: 1em auto; + padding: 0; +} + +TABLE.table2 TD, TABLE.table2 TH { + padding: 0 1em; +} + +TABLE.table2 TR { + text-align: left; +} + +TABLE.table2 TR.throw { + text-align: center; +} + +.hour { + white-space: pre; +} + +.number { + text-align: right; +} + +TABLE#dailyStats { + width: 60%; +} + +TABLE#detailedStats { + width: 80%; +} + +FORM#add_virtual P { text-align: left; } +FORM#categoryOrdering, FORM#addVirtual { + padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */ + padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */ +} +FORM#categoryOrdering p { + text-align: left; + margin-top: 1em; + margin-bottom: 1em; +} +UL.categoryUl { + list-style: none; + padding: 0; + margin: 0; +} + +LI.categoryLi { + border: 1px solid gray; + padding: 0px 5px; + margin-bottom: 5px; +} + +FORM#categoryOrdering UL.categoryActions { + float: right; + margin-top: 5px; +} + +FORM#cat_modify TABLE { width: auto; } + +/** + * Filter forms are displayed label by label with the input (or select...) + * below the label. Use an UL to make a group (radiobox for instance). + * Use a SPAN to group objects in line + */ +FIELDSET { + padding: 1em; + margin: 1em; + overflow: hidden; /* <- makes Opera happy */ +} + +FORM.filter FIELDSET UL { + margin: 0; +} +FORM.filter FIELDSET UL, +FORM.filter FIELDSET LABEL { + display: block; + float: left; + margin-right: 1em; + padding: 0; +} + +FORM.filter FIELDSET LI { + list-style: none; + margin-bottom: 0.5em; +} + +FORM.filter FIELDSET LI LABEL { + display: inline; + float: none; +} + +FORM.filter FIELDSET UL.tagSelection LABEL { + display: inline; + float: none; + margin-right:0.5em;/*reduce from above*/ +} + +/* cannot use FIELDSET>LABEL because of IE<=6 */ +FORM.filter FIELDSET LABEL INPUT, +FORM.filter FIELDSET LABEL SELECT, +FORM.filter FIELDSET LABEL SPAN, +FORM.filter FIELDSET LABEL TEXTAREA { + display: block; + margin: 0.5em 0; +} +FORM.filter FIELDSET * LABEL INPUT, +FORM.filter FIELDSET * LABEL SELECT, +FORM.filter FIELDSET * LABEL TEXTAREA, +FORM.filter FIELDSET LABEL SPAN INPUT, +FORM.filter FIELDSET LABEL SPAN SELECT, +FORM.filter FIELDSET LABEL SPAN TEXTAREA { + display: inline; + vertical-align: top; + margin: 0 0.5em 0 0; +} + +FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT { + margin-right:0; +} + +/* following declaration is important to avoid strange FF behaviour */ +FORM.filter FIELDSET LABEL SPAN SELECT { + margin: 0; +} + +FORM.filter FIELDSET P +{ + clear: left; + display: block; +} + +FORM.filter INPUT[type="submit"] { + margin-top: 1em; +} + +FORM.properties UL, FORM#update UL { + list-style-type: none; + margin: 0; + padding: 0; +} + +FORM.properties LI, FORM#update UL { + margin-bottom: 0.5em; + padding: 0; + line-height: 1.8em; +} + +FORM.properties SPAN.property { + font-weight: bold; + float: left; + width: 50%; + text-align: right; + margin: 0; + padding: 0 0.5em 0 0; +} + +FIELDSET.elementEdit A { + display: block; + float: right; +} + +TABLE.doubleSelect { + text-align: center; + margin: 0 auto; + width: 100%; +} + +TABLE.doubleSelect TD { + padding: 0 5px; + width: 50%; +} + +FORM#categoryPermissions LI { + display:inline; + white-space: nowrap; +} + +#theHeader H1 { + margin-bottom: 0.5em; +} + +#theHeader P { + margin-top: 0; + padding: 0; +} + +BODY#theAdminPage #theHeader P { + display: none; +} + +BODY#thePopuphelpPage #copyright { + color: green; + display: none; +} + +FORM#addComment FIELDSET LABEL { + clear: both; +} + +FORM#addComment FIELDSET INPUT[type="hidden"] { + display: none; +} + +/* button tools */ +UL.actions { + text-indent: 0; + list-style: none; +} +UL.actions LI { + display: inline; +} +UL.actions A { + border: none; +} + +UL.tagSelection { + width: 40em; + margin: 1em 0 1em 0; + padding: 0; +} + +UL.tagSelection LI { + display: inline; + white-space: nowrap; +} + +#fullTagCloud { font-size: 140%; } + +#fullTagCloud LI { display: inline; } + +.tagLevel5 { font-size: 150%; } +.tagLevel4 { font-size: 140%; } +.tagLevel3 { font-size: 120%; } +.tagLevel2 { font-size: 100%; } +.tagLevel1 { font-size: 90%; } diff --git a/template/admin/yoga/fix-ie5-ie6.css b/template/admin/yoga/fix-ie5-ie6.css new file mode 100644 index 000000000..894567120 --- /dev/null +++ b/template/admin/yoga/fix-ie5-ie6.css @@ -0,0 +1,22 @@ +/* $Id: fix-ie5-ie6.css 1328 2006-05-30 19:00:17Z chrisaga $ */ +/* Issues in IE from 5 to 6 only to to be used with IE7 */ + +/* fix lack of :hover behaviour for non link objects */ +BODY { + behavior:url("template-common/csshover.htc"); +} + +/* to avoid vanishing objects in IE6 */ +H1, #theHeader { + width: 100%; /* <- useless but seems to make IE6 happy */ +} +#content { + height: 1em; /* for IE6 it's like min-height */ +} + +/* to get less hugly checkboxes at least in tagSelection */ +UL.tagSelection LI INPUT, +#content UL.thumbnails SPAN.wrap2 input { + border: none; + background-color: transparent; +} diff --git a/template/admin/yoga/fix-khtml.css b/template/admin/yoga/fix-khtml.css new file mode 100644 index 000000000..1df7bfcad --- /dev/null +++ b/template/admin/yoga/fix-khtml.css @@ -0,0 +1,14 @@ +/* $Id: fix-khtml.css 1180 2006-04-15 09:53:11Z chrisaga $ */ +/* Issue in Safari/Konqueror only */ +/* If H2 has a 0 margin-top categoryActions doesn't float right but overwrites H2 */ +#content>DIV.titrePage>H2 { + margin: 1px 0 0 0; /* add an arbitrary margin-top */ +} + +#content>div.titrePage { + position: relative; + top: -1px; /* move the container up by the same amount */ + margin-bottom: 5px; +} +/* end Safari/Konqueror */ + diff --git a/template/yoga/footer.tpl b/template/admin/yoga/footer.tpl similarity index 100% rename from template/yoga/footer.tpl rename to template/admin/yoga/footer.tpl diff --git a/template/yoga/header.tpl b/template/admin/yoga/header.tpl similarity index 81% rename from template/yoga/header.tpl rename to template/admin/yoga/header.tpl index d432d7b63..9776eabe8 100644 --- a/template/yoga/header.tpl +++ b/template/admin/yoga/header.tpl @@ -4,16 +4,16 @@ - + - + - - - + + + diff --git a/template/yoga/icon/add_tag.png b/template/admin/yoga/icon/add_tag.png similarity index 100% rename from template/yoga/icon/add_tag.png rename to template/admin/yoga/icon/add_tag.png diff --git a/template/yoga/icon/admin/errors.png b/template/admin/yoga/icon/admin/errors.png similarity index 100% rename from template/yoga/icon/admin/errors.png rename to template/admin/yoga/icon/admin/errors.png diff --git a/template/yoga/icon/admin/infos.png b/template/admin/yoga/icon/admin/infos.png similarity index 100% rename from template/yoga/icon/admin/infos.png rename to template/admin/yoga/icon/admin/infos.png diff --git a/template/yoga/icon/caddie_add.png b/template/admin/yoga/icon/caddie_add.png similarity index 100% rename from template/yoga/icon/caddie_add.png rename to template/admin/yoga/icon/caddie_add.png diff --git a/template/yoga/icon/calendar.png b/template/admin/yoga/icon/calendar.png similarity index 100% rename from template/yoga/icon/calendar.png rename to template/admin/yoga/icon/calendar.png diff --git a/template/yoga/icon/calendar_created.png b/template/admin/yoga/icon/calendar_created.png similarity index 100% rename from template/yoga/icon/calendar_created.png rename to template/admin/yoga/icon/calendar_created.png diff --git a/template/yoga/icon/category_children.png b/template/admin/yoga/icon/category_children.png similarity index 100% rename from template/yoga/icon/category_children.png rename to template/admin/yoga/icon/category_children.png diff --git a/template/yoga/icon/category_delete.png b/template/admin/yoga/icon/category_delete.png similarity index 100% rename from template/yoga/icon/category_delete.png rename to template/admin/yoga/icon/category_delete.png diff --git a/template/yoga/icon/category_edit.png b/template/admin/yoga/icon/category_edit.png similarity index 100% rename from template/yoga/icon/category_edit.png rename to template/admin/yoga/icon/category_edit.png diff --git a/template/yoga/icon/category_elements.png b/template/admin/yoga/icon/category_elements.png similarity index 100% rename from template/yoga/icon/category_elements.png rename to template/admin/yoga/icon/category_elements.png diff --git a/template/yoga/icon/category_jump-to.png b/template/admin/yoga/icon/category_jump-to.png similarity index 100% rename from template/yoga/icon/category_jump-to.png rename to template/admin/yoga/icon/category_jump-to.png diff --git a/template/yoga/icon/category_permissions.png b/template/admin/yoga/icon/category_permissions.png similarity index 100% rename from template/yoga/icon/category_permissions.png rename to template/admin/yoga/icon/category_permissions.png diff --git a/template/yoga/icon/category_representant_random.png b/template/admin/yoga/icon/category_representant_random.png similarity index 100% rename from template/yoga/icon/category_representant_random.png rename to template/admin/yoga/icon/category_representant_random.png diff --git a/template/yoga/icon/del_favorite.png b/template/admin/yoga/icon/del_favorite.png similarity index 100% rename from template/yoga/icon/del_favorite.png rename to template/admin/yoga/icon/del_favorite.png diff --git a/template/yoga/icon/delete.png b/template/admin/yoga/icon/delete.png similarity index 100% rename from template/yoga/icon/delete.png rename to template/admin/yoga/icon/delete.png diff --git a/template/yoga/icon/exit.png b/template/admin/yoga/icon/exit.png similarity index 100% rename from template/yoga/icon/exit.png rename to template/admin/yoga/icon/exit.png diff --git a/template/yoga/icon/favorite.png b/template/admin/yoga/icon/favorite.png similarity index 100% rename from template/yoga/icon/favorite.png rename to template/admin/yoga/icon/favorite.png diff --git a/template/yoga/icon/first.png b/template/admin/yoga/icon/first.png similarity index 100% rename from template/yoga/icon/first.png rename to template/admin/yoga/icon/first.png diff --git a/template/yoga/icon/help.png b/template/admin/yoga/icon/help.png similarity index 100% rename from template/yoga/icon/help.png rename to template/admin/yoga/icon/help.png diff --git a/template/yoga/icon/home.png b/template/admin/yoga/icon/home.png similarity index 100% rename from template/yoga/icon/home.png rename to template/admin/yoga/icon/home.png diff --git a/template/yoga/icon/last.png b/template/admin/yoga/icon/last.png similarity index 100% rename from template/yoga/icon/last.png rename to template/admin/yoga/icon/last.png diff --git a/template/yoga/icon/left.png b/template/admin/yoga/icon/left.png similarity index 100% rename from template/yoga/icon/left.png rename to template/admin/yoga/icon/left.png diff --git a/template/yoga/icon/lost_password.png b/template/admin/yoga/icon/lost_password.png similarity index 100% rename from template/yoga/icon/lost_password.png rename to template/admin/yoga/icon/lost_password.png diff --git a/template/yoga/icon/metadata.png b/template/admin/yoga/icon/metadata.png similarity index 100% rename from template/yoga/icon/metadata.png rename to template/admin/yoga/icon/metadata.png diff --git a/template/yoga/icon/mimetypes/avi.png b/template/admin/yoga/icon/mimetypes/avi.png similarity index 100% rename from template/yoga/icon/mimetypes/avi.png rename to template/admin/yoga/icon/mimetypes/avi.png diff --git a/template/yoga/icon/mimetypes/mp3.png b/template/admin/yoga/icon/mimetypes/mp3.png similarity index 100% rename from template/yoga/icon/mimetypes/mp3.png rename to template/admin/yoga/icon/mimetypes/mp3.png diff --git a/template/yoga/icon/mimetypes/mpg.png b/template/admin/yoga/icon/mimetypes/mpg.png similarity index 100% rename from template/yoga/icon/mimetypes/mpg.png rename to template/admin/yoga/icon/mimetypes/mpg.png diff --git a/template/yoga/icon/mimetypes/ogg.png b/template/admin/yoga/icon/mimetypes/ogg.png similarity index 100% rename from template/yoga/icon/mimetypes/ogg.png rename to template/admin/yoga/icon/mimetypes/ogg.png diff --git a/template/yoga/icon/mimetypes/zip.png b/template/admin/yoga/icon/mimetypes/zip.png similarity index 100% rename from template/yoga/icon/mimetypes/zip.png rename to template/admin/yoga/icon/mimetypes/zip.png diff --git a/template/yoga/icon/normal_mode.png b/template/admin/yoga/icon/normal_mode.png similarity index 100% rename from template/yoga/icon/normal_mode.png rename to template/admin/yoga/icon/normal_mode.png diff --git a/template/yoga/icon/permissions.png b/template/admin/yoga/icon/permissions.png similarity index 100% rename from template/yoga/icon/permissions.png rename to template/admin/yoga/icon/permissions.png diff --git a/template/yoga/icon/preferences.png b/template/admin/yoga/icon/preferences.png similarity index 100% rename from template/yoga/icon/preferences.png rename to template/admin/yoga/icon/preferences.png diff --git a/template/yoga/icon/recent.png b/template/admin/yoga/icon/recent.png similarity index 100% rename from template/yoga/icon/recent.png rename to template/admin/yoga/icon/recent.png diff --git a/template/yoga/icon/register.png b/template/admin/yoga/icon/register.png similarity index 100% rename from template/yoga/icon/register.png rename to template/admin/yoga/icon/register.png diff --git a/template/yoga/icon/representative.png b/template/admin/yoga/icon/representative.png similarity index 100% rename from template/yoga/icon/representative.png rename to template/admin/yoga/icon/representative.png diff --git a/template/yoga/icon/right.png b/template/admin/yoga/icon/right.png similarity index 100% rename from template/yoga/icon/right.png rename to template/admin/yoga/icon/right.png diff --git a/template/yoga/icon/save.png b/template/admin/yoga/icon/save.png similarity index 100% rename from template/yoga/icon/save.png rename to template/admin/yoga/icon/save.png diff --git a/template/yoga/icon/search_rules.png b/template/admin/yoga/icon/search_rules.png similarity index 100% rename from template/yoga/icon/search_rules.png rename to template/admin/yoga/icon/search_rules.png diff --git a/template/yoga/icon/slideshow.png b/template/admin/yoga/icon/slideshow.png similarity index 100% rename from template/yoga/icon/slideshow.png rename to template/admin/yoga/icon/slideshow.png diff --git a/template/yoga/icon/sync_metadata.png b/template/admin/yoga/icon/sync_metadata.png similarity index 100% rename from template/yoga/icon/sync_metadata.png rename to template/admin/yoga/icon/sync_metadata.png diff --git a/template/yoga/icon/up.png b/template/admin/yoga/icon/up.png similarity index 100% rename from template/yoga/icon/up.png rename to template/admin/yoga/icon/up.png diff --git a/template/admin/yoga/identification.tpl b/template/admin/yoga/identification.tpl new file mode 100644 index 000000000..a882405dd --- /dev/null +++ b/template/admin/yoga/identification.tpl @@ -0,0 +1,67 @@ + +
+ +
+ +

{lang:Identification}

+
+ + +
+ +
+ + +
+
+ {lang:Connection settings} + + + +
    +
  • + + + + +
  • + +
  • + + + + +
  • + + +
  • + + + + +
  • + +
+
+ +

+
+ + + +

+ {L_REGISTER} + {lang:Forgot your password?} +

+ +
diff --git a/template/yoga/image.css b/template/admin/yoga/image.css similarity index 100% rename from template/yoga/image.css rename to template/admin/yoga/image.css diff --git a/template/admin/yoga/index.tpl b/template/admin/yoga/index.tpl new file mode 100644 index 000000000..32c648495 --- /dev/null +++ b/template/admin/yoga/index.tpl @@ -0,0 +1,247 @@ + + + +
+
+ + +

{TITLE}

+ + +
{lang:calendar_view}: + +
+ + + + +

{calendar.TITLE} +

+ + +
+ + + +
+ +
« {calendar.navbar.prev.LABEL}
+ + +
{calendar.navbar.next.LABEL} »
+ + {calendar.navbar.BAR}  +
+ + + +
{calendar.calbar.BAR}
+ + + +{MONTH_CALENDAR} + + + + + +{CATEGORIES} + + + + + + +
{cat_infos.comment.COMMENTS}
+ + + +
diff --git a/template/yoga/install.tpl b/template/admin/yoga/install.tpl similarity index 100% rename from template/yoga/install.tpl rename to template/admin/yoga/install.tpl diff --git a/template/yoga/layout.css b/template/admin/yoga/layout.css similarity index 86% rename from template/yoga/layout.css rename to template/admin/yoga/layout.css index 79cb2911f..1f6c6f4e3 100644 --- a/template/yoga/layout.css +++ b/template/admin/yoga/layout.css @@ -9,5 +9,5 @@ /* Override properties with import local file */ @import "local-layout.css"; /* common css */ -@import "../../template-common/layout.css"; +@import "../../../template-common/layout.css"; diff --git a/template/admin/yoga/mainpage_categories.tpl b/template/admin/yoga/mainpage_categories.tpl new file mode 100644 index 000000000..9cc6bae9e --- /dev/null +++ b/template/admin/yoga/mainpage_categories.tpl @@ -0,0 +1,26 @@ + + + + diff --git a/template/yoga/menubar.css b/template/admin/yoga/menubar.css similarity index 100% rename from template/yoga/menubar.css rename to template/admin/yoga/menubar.css diff --git a/template/admin/yoga/month_calendar.tpl b/template/admin/yoga/month_calendar.tpl new file mode 100644 index 000000000..fa29fdb66 --- /dev/null +++ b/template/admin/yoga/month_calendar.tpl @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + +
{calendar.thumbnails.head.col.LABEL}
+ + + {calendar.thumbnails.row.col.empty.LABEL} + + +
{calendar.thumbnails.row.col.full.LABEL}
{calendar.thumbnails.row.col.full.LABEL}
+ + +
+ + diff --git a/template/yoga/nbm.tpl b/template/admin/yoga/nbm.tpl similarity index 100% rename from template/yoga/nbm.tpl rename to template/admin/yoga/nbm.tpl diff --git a/template/yoga/notification.tpl b/template/admin/yoga/notification.tpl similarity index 100% rename from template/yoga/notification.tpl rename to template/admin/yoga/notification.tpl diff --git a/template/admin/yoga/password.tpl b/template/admin/yoga/password.tpl new file mode 100644 index 000000000..becd14457 --- /dev/null +++ b/template/admin/yoga/password.tpl @@ -0,0 +1,55 @@ + +
+ +
+ +

{lang:Password forgotten}

+
+ + +
+ +
+ + + +
+ +
+ + +
+
+ {lang:Retrieve password} + +
    +
  • + + + + +
  • + +
  • + + + + +
  • +
+
+ +

+
+ +
diff --git a/template/yoga/picture.tpl b/template/admin/yoga/picture.tpl similarity index 100% rename from template/yoga/picture.tpl rename to template/admin/yoga/picture.tpl diff --git a/template/yoga/popuphelp.css b/template/admin/yoga/popuphelp.css similarity index 100% rename from template/yoga/popuphelp.css rename to template/admin/yoga/popuphelp.css diff --git a/template/yoga/popuphelp.tpl b/template/admin/yoga/popuphelp.tpl similarity index 100% rename from template/yoga/popuphelp.tpl rename to template/admin/yoga/popuphelp.tpl diff --git a/template/yoga/print.css b/template/admin/yoga/print.css similarity index 100% rename from template/yoga/print.css rename to template/admin/yoga/print.css diff --git a/template/yoga/profile.tpl b/template/admin/yoga/profile.tpl similarity index 100% rename from template/yoga/profile.tpl rename to template/admin/yoga/profile.tpl diff --git a/template/yoga/redirect.tpl b/template/admin/yoga/redirect.tpl similarity index 100% rename from template/yoga/redirect.tpl rename to template/admin/yoga/redirect.tpl diff --git a/template/yoga/register.tpl b/template/admin/yoga/register.tpl similarity index 100% rename from template/yoga/register.tpl rename to template/admin/yoga/register.tpl diff --git a/template/admin/yoga/search.tpl b/template/admin/yoga/search.tpl new file mode 100644 index 000000000..14df38718 --- /dev/null +++ b/template/admin/yoga/search.tpl @@ -0,0 +1,138 @@ + +
+ +
+ +

{lang:Search}

+
+ +
+ +
+
    + +
  • {errors.error.ERROR}
  • + +
+
+ +
+ {lang:Filter} + +
    +
  • +
  • +
+ +
+ + +
+ {lang:Search tags} + {TAG_SELECTION} + + +
+ + +
+ {lang:search_date} +
    +
  • +
  • +
  • +
+
    +
  • +
  • + + + +
  • +
  • + {lang:today} +
  • +
+
    +
  • +
  • + + + +
  • +
  • + {lang:today} +
  • +
+
+ +
+ {lang:search_options} + +
    +
  • +
  • +
  • +
+
    +
  • +
  • +
  • +
+
+

+ + +

+
+ + + +
diff --git a/template/yoga/search_rules.tpl b/template/admin/yoga/search_rules.tpl similarity index 100% rename from template/yoga/search_rules.tpl rename to template/admin/yoga/search_rules.tpl diff --git a/template/yoga/tags.tpl b/template/admin/yoga/tags.tpl similarity index 100% rename from template/yoga/tags.tpl rename to template/admin/yoga/tags.tpl diff --git a/template/admin/yoga/theme/clear/theme.css b/template/admin/yoga/theme/clear/theme.css new file mode 100644 index 000000000..0ad08d98b --- /dev/null +++ b/template/admin/yoga/theme/clear/theme.css @@ -0,0 +1,95 @@ +/* $Id: theme.css 1339 2006-06-04 10:13:38Z chrisaga $ */ + +/* text color */ +BODY, H1, H2, H3, DT { + color:#696969; /* dimgray */ +} + +/* backgrounds */ +BODY, H3, .throw { + background-color: #ffffff; /* white */ +} + +H2, #menubar DT, #imageHeaderBar, #imageToolBar A:hover, .row1 { + background-color: #d3d3d3; +} + +#menubar DL, #content, #imageToolBar { + background-color: #eeeeee; +} + +/* borders */ +#menubar DL, #content, #imageToolBar, +#comments DIV.comment BLOCKQUOTE { + border: 1px solid #d3d3d3; +} + +#theImage IMG { + border-color: #d3d3d3; +} + +#content UL.thumbnail IMG { + border: 1px solid #a0a0a0; +} + +FIELDSET, INPUT, SELECT, TEXTAREA, +#content DIV.comment A.illustration IMG, #infos, +#content DIV.thumbnailCategory { + border: 1px solid gray; +} + +#comments DIV.comment BLOCKQUOTE { + border-left: 2px solid #696969; + background-color: #eee; +} + +#content UL.thumbnails SPAN.wrap2 { + border: 1px solid #aaaaaa; /* thumbnails border color and style */ + -moz-border-radius: 4px; /* round corners with Geko */ + border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ +} +#content UL.thumbnails SPAN.wrap2:hover { + border-color: yellow; /* thumbnails border color when mouse cursor is over it */ +} + +/* links */ +A, .rateButton { + color: #005e89; + background: transparent; +} + +A:hover { + color: #858460; +} + +#imageToolBar A, #imageToolBar A:hover { + border-bottom: none; +} + +A.navThumb, A.navThumb:hover { + border-bottom: none; +} + +/* others */ +.pleaseNote { + background: #9c9c9c; + color: #ffff99; + padding: 1ex; + font-weight: bold; +} + +/*calendar elements*/ +SPAN.calItemEmpty { color: silver; } + +SPAN.calItem, SPAN.calItemEmpty +{ + border: 1px solid silver; +} + +/* nice looking month calendar*/ +TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid #7E7262;} + +TD.calDayCellEmpty { color: silver; } + +.calBackDate { color: #000; } +.calForeDate { color: #fff; } diff --git a/template/admin/yoga/theme/clear/themeconf.inc.php b/template/admin/yoga/theme/clear/themeconf.inc.php new file mode 100644 index 000000000..88a978367 --- /dev/null +++ b/template/admin/yoga/theme/clear/themeconf.inc.php @@ -0,0 +1,9 @@ + 'yoga', + 'theme' => 'clear', + 'icon_dir' => 'template/admin/yoga/icon', + 'admin_icon_dir' => 'template/admin/yoga/icon/admin', + 'mime_icon_dir' => 'template/admin/yoga/icon/mimetypes/' +); +?> diff --git a/template/yoga/theme/dark/images/tableh1_bg.png b/template/admin/yoga/theme/dark/images/tableh1_bg.png similarity index 100% rename from template/yoga/theme/dark/images/tableh1_bg.png rename to template/admin/yoga/theme/dark/images/tableh1_bg.png diff --git a/template/yoga/theme/dark/images/tableh2_bg.png b/template/admin/yoga/theme/dark/images/tableh2_bg.png similarity index 100% rename from template/yoga/theme/dark/images/tableh2_bg.png rename to template/admin/yoga/theme/dark/images/tableh2_bg.png diff --git a/template/admin/yoga/theme/dark/theme.css b/template/admin/yoga/theme/dark/theme.css new file mode 100644 index 000000000..337c60e92 --- /dev/null +++ b/template/admin/yoga/theme/dark/theme.css @@ -0,0 +1,134 @@ +/* $Id: theme.css 1339 2006-06-04 10:13:38Z chrisaga $ */ + +/* text color */ +BODY, H1, H3, DT { + color:#e0e0e0; +} + +H2, #menubar DT, .throw { + color: #fff48e; +} + +#content .navigationBar { + color: #aaaaaa; +} +#content .pageNumberSelected { + color: #000000; +} + +/* backgrounds */ +BODY { + background-color: #000000; +} + +H3, #the_page, #imageHeaderBar, #imageToolBar A:hover, .row1 { + background-color: #3f3f3f; +} + +#menubar DL, #content, #imageToolBar { + background-color: #5f5f5f; +} + +H2, #menubar DT, .throw { + background-image: url(images/tableh1_bg.png); +} + +#imageHeaderBar H2 { + background-image: none; + background-color: transparent; + border: none; +} + +#imageHeaderBar { + background-image: url(images/tableh2_bg.png); + background-repeat: repeat-x; + background-position: center; +} + +/* borders */ +#menubar DL, #content, +#comments DIV.comment BLOCKQUOTE { + border: 1px solid #000000; +} + +#imageHeaderBar { + border-top: 1px solid #000000; +} +H2, #menubar DT, #imageToolBar { + border-bottom: 1px solid #000000; +} + +#theImage IMG { + border-color: #000000; +} + +#content UL.thumbnail IMG { + border: 1px solid #a0a0a0; +} + +FIELDSET, INPUT, SELECT, TEXTAREA, +#content DIV.comment A.illustration IMG, #infos, +#content DIV.thumbnailCategory { + border: 1px solid gray; +} + +#comments DIV.comment BLOCKQUOTE { + border-left: 2px solid #696969; +} + +#content UL.thumbnails SPAN.wrap2 { + border: 1px solid #aaaaaa; /* thumbnails border color and style */ + -moz-border-radius: 4px; /* round corners with Geko */ + border-radius: 4px 4px; /* round corners with CSS3 compliant browsers */ +} +#content UL.thumbnails SPAN.wrap2:hover { + border-color: yellow; /* thumbnails border color when mouse cursor is over it */ +} + +/* links */ +A, .rateButton { + color: #FFFFFF; +} + +A:hover { + color: #FFF48E; +} + +#imageToolBar A, #imageToolBar A:hover { + border-bottom: none; +} + +A.navThumb, A.navThumb:hover { + border-bottom: none; +} + +/* others */ +.pleaseNote { + background: #9c9c9c; + color: #ffff99; + padding: 1ex; + font-weight: bold; +} +#the_page { + border: 1px solid #e0e0e0; + padding-top: 5px; + padding-bottom:30px; + text-align:center; + display:block; +} + +/*calendar elements*/ +SPAN.calItemEmpty { color: silver; } + +SPAN.calItem, SPAN.calItemEmpty +{ + border: 1px solid gray; +} + +/* nice looking month calendar*/ +TD.calDayCellEmpty, TD.calDayCellFull { border: 1px solid gray;} + +TD.calDayCellEmpty { color: silver; } + +.calBackDate { color: #000; } +.calForeDate { color: #fff; } diff --git a/template/admin/yoga/theme/dark/themeconf.inc.php b/template/admin/yoga/theme/dark/themeconf.inc.php new file mode 100644 index 000000000..adb3bead6 --- /dev/null +++ b/template/admin/yoga/theme/dark/themeconf.inc.php @@ -0,0 +1,9 @@ + 'yoga', + 'theme' => 'dark', + 'icon_dir' => 'template/admin/yoga/icon', + 'admin_icon_dir' => 'template/admin/yoga/icon/admin', + 'mime_icon_dir' => 'template/admin/yoga/icon/mimetypes/' +); +?> diff --git a/template/yoga/upload.tpl b/template/admin/yoga/upload.tpl similarity index 100% rename from template/yoga/upload.tpl rename to template/admin/yoga/upload.tpl diff --git a/template/public/yoga/about.tpl b/template/public/yoga/about.tpl new file mode 100644 index 000000000..6efa0e9ee --- /dev/null +++ b/template/public/yoga/about.tpl @@ -0,0 +1,15 @@ +
+
+ +

{lang:About}

+
+ + {ABOUT_MESSAGE} + +
diff --git a/template/yoga/admin.tpl b/template/public/yoga/admin.tpl similarity index 100% rename from template/yoga/admin.tpl rename to template/public/yoga/admin.tpl diff --git a/template/yoga/admin/cat_list.tpl b/template/public/yoga/admin/cat_list.tpl similarity index 100% rename from template/yoga/admin/cat_list.tpl rename to template/public/yoga/admin/cat_list.tpl diff --git a/template/yoga/admin/cat_modify.tpl b/template/public/yoga/admin/cat_modify.tpl similarity index 100% rename from template/yoga/admin/cat_modify.tpl rename to template/public/yoga/admin/cat_modify.tpl diff --git a/template/yoga/admin/cat_move.tpl b/template/public/yoga/admin/cat_move.tpl similarity index 100% rename from template/yoga/admin/cat_move.tpl rename to template/public/yoga/admin/cat_move.tpl diff --git a/template/yoga/admin/cat_options.tpl b/template/public/yoga/admin/cat_options.tpl similarity index 100% rename from template/yoga/admin/cat_options.tpl rename to template/public/yoga/admin/cat_options.tpl diff --git a/template/public/yoga/admin/cat_perm.tpl b/template/public/yoga/admin/cat_perm.tpl new file mode 100644 index 000000000..9c8fafa69 --- /dev/null +++ b/template/public/yoga/admin/cat_perm.tpl @@ -0,0 +1,65 @@ +
+ +

{lang:Manage permissions for a category}

+
+ +

{CATEGORIES_NAV}

+ +
+ +

{lang:Groups}

+ +
+ {lang:Permission granted} + + +
+ +
+ {lang:Permission denied} + + +
+ +

{lang:Users}

+ +
+ {lang:Permission granted} + + +
+ +
+ {lang:Permission granted thanks to a group} + +
+ +
+ {lang:Permission denied} + + +
+ +
diff --git a/template/public/yoga/admin/comments.tpl b/template/public/yoga/admin/comments.tpl new file mode 100644 index 000000000..065a1c8ee --- /dev/null +++ b/template/public/yoga/admin/comments.tpl @@ -0,0 +1,24 @@ +

{lang:User comments validation}

+ +
+ +
+ +

{comment.AUTHOR} - {comment.DATE}

+
{comment.CONTENT}
+ +
+ + +

+ + + + + +

+ +
diff --git a/template/yoga/admin/configuration.tpl b/template/public/yoga/admin/configuration.tpl similarity index 100% rename from template/yoga/admin/configuration.tpl rename to template/public/yoga/admin/configuration.tpl diff --git a/template/public/yoga/admin/double_select.tpl b/template/public/yoga/admin/double_select.tpl new file mode 100644 index 000000000..2bfa28072 --- /dev/null +++ b/template/public/yoga/admin/double_select.tpl @@ -0,0 +1,23 @@ + + + + + + +
+

{L_CAT_OPTIONS_TRUE}

+ +

+
+

{L_CAT_OPTIONS_FALSE}

+ +

+
diff --git a/template/yoga/admin/element_set_global.tpl b/template/public/yoga/admin/element_set_global.tpl similarity index 100% rename from template/yoga/admin/element_set_global.tpl rename to template/public/yoga/admin/element_set_global.tpl diff --git a/template/public/yoga/admin/element_set_unit.tpl b/template/public/yoga/admin/element_set_unit.tpl new file mode 100644 index 000000000..5adce8833 --- /dev/null +++ b/template/public/yoga/admin/element_set_unit.tpl @@ -0,0 +1,89 @@ +

{lang:Batch management}

+ +

{CATEGORIES_NAV}

+ +

+ {lang:global mode} + | {lang:unit mode} +

+ +
+
+ + {lang:Display options} + +

{lang:elements per page} : + 5 + | 10 + | 50 + | {lang:all} +

+ +
+ + + + +
+ {element.LEGEND} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{lang:Name}
{lang:Author}
{lang:Creation date} + + {lang:set to} + + + +
{lang:Tags}{element.TAG_SELECTION}
{lang:Description}
+ +
+ + +

+ + +

+ + +
diff --git a/template/yoga/admin/group_list.tpl b/template/public/yoga/admin/group_list.tpl similarity index 100% rename from template/yoga/admin/group_list.tpl rename to template/public/yoga/admin/group_list.tpl diff --git a/template/public/yoga/admin/group_perm.tpl b/template/public/yoga/admin/group_perm.tpl new file mode 100644 index 000000000..91c2f637a --- /dev/null +++ b/template/public/yoga/admin/group_perm.tpl @@ -0,0 +1,7 @@ +

{TITLE}

+ +
+ {DOUBLE_SELECT} +
+ +

{lang:Only private categories are listed}

diff --git a/template/yoga/admin/intro.tpl b/template/public/yoga/admin/intro.tpl similarity index 100% rename from template/yoga/admin/intro.tpl rename to template/public/yoga/admin/intro.tpl diff --git a/template/yoga/admin/maintenance.tpl b/template/public/yoga/admin/maintenance.tpl similarity index 100% rename from template/yoga/admin/maintenance.tpl rename to template/public/yoga/admin/maintenance.tpl diff --git a/template/public/yoga/admin/notification_by_mail.tpl b/template/public/yoga/admin/notification_by_mail.tpl new file mode 100644 index 000000000..22309e96d --- /dev/null +++ b/template/public/yoga/admin/notification_by_mail.tpl @@ -0,0 +1,113 @@ + +
+ +

{lang:nbm_send_mail_to_users} [{U_TABSHEET_TITLE}]

+ +

+ {lang:nbm_param_mode} | + {lang:nbm_subscribe_mode} | + {lang:nbm_send_mode} +

+ +
+ +
+ +
+
+ +
+
+ + + +
+ {lang:nbm_title_param} + + + + + + + + + + + + + +
+ +
{lang:nbm_info_send_mail_as} +
+ + +
+
+ +

+ + +

+ + + +
+ {lang:nbm_title_subscribe} +

{lang:nbm_warning_subscribe_unsubcribe}

+ {DOUBLE_SELECT} +
+ + + + +

{lang:nbm_no_user_available_to_send_L1}

+

+ {lang:nbm_no_user_available_to_send_L2}
+ {lang:nbm_no_user_available_to_send_L3} +

+ + +
+ {lang:nbm_title_send} + + + + + + + + + + + + + + + +
{lang:nbm_col_user}{lang:nbm_col_mail}{lang:nbm_col_last_send}{lang:nbm_col_check_user_send_mail}
+

+ {lang:nbm_send_check_all} + / {lang:nbm_send_uncheck_all} +

+
+ +
+ {lang:nbm_send_options} + + + + + +
+
+ +

+ +

+ + + +
diff --git a/template/yoga/admin/picture_modify.tpl b/template/public/yoga/admin/picture_modify.tpl similarity index 100% rename from template/yoga/admin/picture_modify.tpl rename to template/public/yoga/admin/picture_modify.tpl diff --git a/template/public/yoga/admin/rating.tpl b/template/public/yoga/admin/rating.tpl new file mode 100644 index 000000000..ac78bf419 --- /dev/null +++ b/template/public/yoga/admin/rating.tpl @@ -0,0 +1,67 @@ +

{lang:Rating} [{NB_ELEMENTS} {lang:elements}]

+ +
+
+ {lang:Filter} + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{lang:File}{lang:Number of rates}{lang:Average rate}{lang:Controversy}{lang:Sum of rates}{lang:Rate}{lang:Username}{lang:Rate date}
{image.FILE}{image.NB_RATES}/{image.NB_RATES_TOTAL}{image.AVG_RATE}{image.STD_RATE}{image.SUM_RATE}
{image.rate.RATE}{image.rate.USER}{image.rate.DATE}[{lang:delete}]
+ + diff --git a/template/yoga/admin/site_manager.tpl b/template/public/yoga/admin/site_manager.tpl similarity index 100% rename from template/yoga/admin/site_manager.tpl rename to template/public/yoga/admin/site_manager.tpl diff --git a/template/public/yoga/admin/site_update.tpl b/template/public/yoga/admin/site_update.tpl new file mode 100644 index 000000000..d3d0221ca --- /dev/null +++ b/template/public/yoga/admin/site_update.tpl @@ -0,0 +1,109 @@ + + +
+ +

{lang:title_update}: {SITE_URL}

+
+ + +

{L_RESULT_UPDATE}

+ + + + +

{L_RESULT_METADATA}

+ + + + + +

{lang:update_error_list_title}

+
+ +
+

{lang:update_errors_caption}

+ + + + +

{lang:update_infos_title}

+
+ +
+ + + +

{lang:update_default_title}

+
+ +
+ {lang:update_sync_files} + +
+ +
+ {lang:update_sync_metadata} + {lang:update_used_metadata} : {METADATA_LIST}.
+ +
+ +
+ + +
+ +
+ {lang:update_cats_subset} + +
+ +

+ + +

+
+ + +{lang:Site manager} diff --git a/template/yoga/admin/stats.tpl b/template/public/yoga/admin/stats.tpl similarity index 100% rename from template/yoga/admin/stats.tpl rename to template/public/yoga/admin/stats.tpl diff --git a/template/public/yoga/admin/tags.tpl b/template/public/yoga/admin/tags.tpl new file mode 100644 index 000000000..8fe666b59 --- /dev/null +++ b/template/public/yoga/admin/tags.tpl @@ -0,0 +1,53 @@ +
+

{lang:Manage tags}

+
+ +
+ + +
+ {lang:Edit tags} + + + + + + + + + + + + +
{lang:Current name}{lang:New name}
{edit_tags.tag.NAME}
+ +

+ + +

+
+ + +
+ {lang:Add a tag} + + + +

+
+ +
+ {lang:Tag selection} + + {TAG_SELECTION} + +

+ + +

+
+ +
diff --git a/template/yoga/admin/thumbnail.tpl b/template/public/yoga/admin/thumbnail.tpl similarity index 100% rename from template/yoga/admin/thumbnail.tpl rename to template/public/yoga/admin/thumbnail.tpl diff --git a/template/public/yoga/admin/user_list.tpl b/template/public/yoga/admin/user_list.tpl new file mode 100644 index 000000000..e6c1e81b6 --- /dev/null +++ b/template/public/yoga/admin/user_list.tpl @@ -0,0 +1,307 @@ +
+ +

{lang:title_liste_users}

+
+ +
+
+ {lang:Add a user} + + + +
+
+ +
+
+ {lang:Filter} + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + + + + +
 {lang:Username}{L_STATUS}{L_EMAIL}{lang:Groups}{L_PROPERTIES}{L_ACTIONS}
{user.STATUS}{user.EMAIL}{user.GROUPS}{user.PROPERTIES} + {L_PERMISSIONS} +
+ + + + +
+ {lang:Deletions} + + +
+ +
+ {lang:Status} + + + + + + + + + + + + + + +
{L_STATUS} + + + +
{lang:adviser} + + / {lang:set to} + + +
+
+ + +
+ {lang:Groups} + + + + + + + + + + + + + +
{lang:associate to group} + +
{lang:dissociate from group} + +
+ +
+ + +
+ {L_PROPERTIES} + + + + + + + + +
{lang:enabled_high} + + / {lang:set to} + + +
+ +
+ + +
+ {lang:Preferences} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{L_NB_IMAGE_LINE} + + + +
{L_NB_LINE_PAGE} + + + + +
{L_TEMPLATE} + + + +
{L_LANGUAGE} + + + +
{L_RECENT_PERIOD} + + + +
{L_EXPAND} + + / {lang:set to} + + +
{L_SHOW_NB_COMMENTS} + + / {lang:set to} + + +
{L_MAXWIDTH} + + + + +
{L_MAXHEIGHT} + + + + +
+ +
+ +

+ {lang:target} + + +

+ +

+ + +

+ +
diff --git a/template/public/yoga/admin/user_perm.tpl b/template/public/yoga/admin/user_perm.tpl new file mode 100644 index 000000000..a24fd9096 --- /dev/null +++ b/template/public/yoga/admin/user_perm.tpl @@ -0,0 +1,21 @@ +

{TITLE}

+ + +
+ {lang:Categories authorized thanks to group associations} + + +
+ + +
+ {lang:Other private categories} + +
+ {DOUBLE_SELECT} +
+
diff --git a/template/yoga/admin/waiting.tpl b/template/public/yoga/admin/waiting.tpl similarity index 100% rename from template/yoga/admin/waiting.tpl rename to template/public/yoga/admin/waiting.tpl diff --git a/template/yoga/comments.tpl b/template/public/yoga/comments.tpl similarity index 100% rename from template/yoga/comments.tpl rename to template/public/yoga/comments.tpl diff --git a/template/yoga/content.css b/template/public/yoga/content.css similarity index 100% rename from template/yoga/content.css rename to template/public/yoga/content.css diff --git a/template/public/yoga/dclear.css b/template/public/yoga/dclear.css new file mode 100644 index 000000000..e69de29bb diff --git a/template/yoga/default-colors.css b/template/public/yoga/default-colors.css similarity index 100% rename from template/yoga/default-colors.css rename to template/public/yoga/default-colors.css diff --git a/template/yoga/default-layout.css b/template/public/yoga/default-layout.css similarity index 100% rename from template/yoga/default-layout.css rename to template/public/yoga/default-layout.css diff --git a/template/yoga/fix-ie5-ie6.css b/template/public/yoga/fix-ie5-ie6.css similarity index 100% rename from template/yoga/fix-ie5-ie6.css rename to template/public/yoga/fix-ie5-ie6.css diff --git a/template/yoga/fix-khtml.css b/template/public/yoga/fix-khtml.css similarity index 100% rename from template/yoga/fix-khtml.css rename to template/public/yoga/fix-khtml.css diff --git a/template/public/yoga/footer.tpl b/template/public/yoga/footer.tpl new file mode 100644 index 000000000..44d905995 --- /dev/null +++ b/template/public/yoga/footer.tpl @@ -0,0 +1,24 @@ + + + + + {debug.QUERIES_LIST} + + + diff --git a/template/public/yoga/header.tpl b/template/public/yoga/header.tpl new file mode 100644 index 000000000..beb80d2d2 --- /dev/null +++ b/template/public/yoga/header.tpl @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + +{GALLERY_TITLE}:{PAGE_TITLE} + + + + + +
+ +{PAGE_BANNER} diff --git a/template/public/yoga/icon/add_tag.png b/template/public/yoga/icon/add_tag.png new file mode 100644 index 000000000..9051a1d26 Binary files /dev/null and b/template/public/yoga/icon/add_tag.png differ diff --git a/template/public/yoga/icon/admin/errors.png b/template/public/yoga/icon/admin/errors.png new file mode 100644 index 000000000..3c8a37df5 Binary files /dev/null and b/template/public/yoga/icon/admin/errors.png differ diff --git a/template/public/yoga/icon/admin/infos.png b/template/public/yoga/icon/admin/infos.png new file mode 100644 index 000000000..dc8c8a457 Binary files /dev/null and b/template/public/yoga/icon/admin/infos.png differ diff --git a/template/public/yoga/icon/caddie_add.png b/template/public/yoga/icon/caddie_add.png new file mode 100644 index 000000000..eb20f4e06 Binary files /dev/null and b/template/public/yoga/icon/caddie_add.png differ diff --git a/template/public/yoga/icon/calendar.png b/template/public/yoga/icon/calendar.png new file mode 100644 index 000000000..e0a44a13d Binary files /dev/null and b/template/public/yoga/icon/calendar.png differ diff --git a/template/public/yoga/icon/calendar_created.png b/template/public/yoga/icon/calendar_created.png new file mode 100644 index 000000000..14a84c43c Binary files /dev/null and b/template/public/yoga/icon/calendar_created.png differ diff --git a/template/public/yoga/icon/category_children.png b/template/public/yoga/icon/category_children.png new file mode 100644 index 000000000..7205c3f61 Binary files /dev/null and b/template/public/yoga/icon/category_children.png differ diff --git a/template/public/yoga/icon/category_delete.png b/template/public/yoga/icon/category_delete.png new file mode 100644 index 000000000..da796da11 Binary files /dev/null and b/template/public/yoga/icon/category_delete.png differ diff --git a/template/public/yoga/icon/category_edit.png b/template/public/yoga/icon/category_edit.png new file mode 100644 index 000000000..0f3b619ed Binary files /dev/null and b/template/public/yoga/icon/category_edit.png differ diff --git a/template/public/yoga/icon/category_elements.png b/template/public/yoga/icon/category_elements.png new file mode 100644 index 000000000..1d367b38f Binary files /dev/null and b/template/public/yoga/icon/category_elements.png differ diff --git a/template/public/yoga/icon/category_jump-to.png b/template/public/yoga/icon/category_jump-to.png new file mode 100644 index 000000000..62db1f4ee Binary files /dev/null and b/template/public/yoga/icon/category_jump-to.png differ diff --git a/template/public/yoga/icon/category_permissions.png b/template/public/yoga/icon/category_permissions.png new file mode 100644 index 000000000..4780841ae Binary files /dev/null and b/template/public/yoga/icon/category_permissions.png differ diff --git a/template/public/yoga/icon/category_representant_random.png b/template/public/yoga/icon/category_representant_random.png new file mode 100644 index 000000000..dfa69846f Binary files /dev/null and b/template/public/yoga/icon/category_representant_random.png differ diff --git a/template/public/yoga/icon/del_favorite.png b/template/public/yoga/icon/del_favorite.png new file mode 100644 index 000000000..cfc609749 Binary files /dev/null and b/template/public/yoga/icon/del_favorite.png differ diff --git a/template/public/yoga/icon/delete.png b/template/public/yoga/icon/delete.png new file mode 100644 index 000000000..af10be03e Binary files /dev/null and b/template/public/yoga/icon/delete.png differ diff --git a/template/public/yoga/icon/exit.png b/template/public/yoga/icon/exit.png new file mode 100644 index 000000000..2aafbb4cb Binary files /dev/null and b/template/public/yoga/icon/exit.png differ diff --git a/template/public/yoga/icon/favorite.png b/template/public/yoga/icon/favorite.png new file mode 100644 index 000000000..58befd9e3 Binary files /dev/null and b/template/public/yoga/icon/favorite.png differ diff --git a/template/public/yoga/icon/first.png b/template/public/yoga/icon/first.png new file mode 100644 index 000000000..2b8db1cff Binary files /dev/null and b/template/public/yoga/icon/first.png differ diff --git a/template/public/yoga/icon/help.png b/template/public/yoga/icon/help.png new file mode 100644 index 000000000..c76f68292 Binary files /dev/null and b/template/public/yoga/icon/help.png differ diff --git a/template/public/yoga/icon/home.png b/template/public/yoga/icon/home.png new file mode 100644 index 000000000..cce450d85 Binary files /dev/null and b/template/public/yoga/icon/home.png differ diff --git a/template/public/yoga/icon/last.png b/template/public/yoga/icon/last.png new file mode 100644 index 000000000..12e1367a7 Binary files /dev/null and b/template/public/yoga/icon/last.png differ diff --git a/template/public/yoga/icon/left.png b/template/public/yoga/icon/left.png new file mode 100644 index 000000000..63d306c9c Binary files /dev/null and b/template/public/yoga/icon/left.png differ diff --git a/template/public/yoga/icon/lost_password.png b/template/public/yoga/icon/lost_password.png new file mode 100644 index 000000000..ad6d71422 Binary files /dev/null and b/template/public/yoga/icon/lost_password.png differ diff --git a/template/public/yoga/icon/metadata.png b/template/public/yoga/icon/metadata.png new file mode 100644 index 000000000..d5d8fa6dc Binary files /dev/null and b/template/public/yoga/icon/metadata.png differ diff --git a/template/public/yoga/icon/mimetypes/avi.png b/template/public/yoga/icon/mimetypes/avi.png new file mode 100644 index 000000000..065f0b282 Binary files /dev/null and b/template/public/yoga/icon/mimetypes/avi.png differ diff --git a/template/public/yoga/icon/mimetypes/mp3.png b/template/public/yoga/icon/mimetypes/mp3.png new file mode 100644 index 000000000..afb7e1b0a Binary files /dev/null and b/template/public/yoga/icon/mimetypes/mp3.png differ diff --git a/template/public/yoga/icon/mimetypes/mpg.png b/template/public/yoga/icon/mimetypes/mpg.png new file mode 100644 index 000000000..f7dbd2388 Binary files /dev/null and b/template/public/yoga/icon/mimetypes/mpg.png differ diff --git a/template/public/yoga/icon/mimetypes/ogg.png b/template/public/yoga/icon/mimetypes/ogg.png new file mode 100644 index 000000000..ead3f62c3 Binary files /dev/null and b/template/public/yoga/icon/mimetypes/ogg.png differ diff --git a/template/public/yoga/icon/mimetypes/zip.png b/template/public/yoga/icon/mimetypes/zip.png new file mode 100644 index 000000000..1f08fe1a3 Binary files /dev/null and b/template/public/yoga/icon/mimetypes/zip.png differ diff --git a/template/public/yoga/icon/normal_mode.png b/template/public/yoga/icon/normal_mode.png new file mode 100644 index 000000000..07318b568 Binary files /dev/null and b/template/public/yoga/icon/normal_mode.png differ diff --git a/template/public/yoga/icon/permissions.png b/template/public/yoga/icon/permissions.png new file mode 100644 index 000000000..33091eb85 Binary files /dev/null and b/template/public/yoga/icon/permissions.png differ diff --git a/template/public/yoga/icon/preferences.png b/template/public/yoga/icon/preferences.png new file mode 100644 index 000000000..0f3b619ed Binary files /dev/null and b/template/public/yoga/icon/preferences.png differ diff --git a/template/public/yoga/icon/recent.png b/template/public/yoga/icon/recent.png new file mode 100644 index 000000000..78c1428ca Binary files /dev/null and b/template/public/yoga/icon/recent.png differ diff --git a/template/public/yoga/icon/register.png b/template/public/yoga/icon/register.png new file mode 100644 index 000000000..d1dd3c834 Binary files /dev/null and b/template/public/yoga/icon/register.png differ diff --git a/template/public/yoga/icon/representative.png b/template/public/yoga/icon/representative.png new file mode 100644 index 000000000..f1141d91b Binary files /dev/null and b/template/public/yoga/icon/representative.png differ diff --git a/template/public/yoga/icon/right.png b/template/public/yoga/icon/right.png new file mode 100644 index 000000000..f998098e4 Binary files /dev/null and b/template/public/yoga/icon/right.png differ diff --git a/template/public/yoga/icon/save.png b/template/public/yoga/icon/save.png new file mode 100644 index 000000000..b4b9da08b Binary files /dev/null and b/template/public/yoga/icon/save.png differ diff --git a/template/public/yoga/icon/search_rules.png b/template/public/yoga/icon/search_rules.png new file mode 100644 index 000000000..300186647 Binary files /dev/null and b/template/public/yoga/icon/search_rules.png differ diff --git a/template/public/yoga/icon/slideshow.png b/template/public/yoga/icon/slideshow.png new file mode 100644 index 000000000..455d73fdf Binary files /dev/null and b/template/public/yoga/icon/slideshow.png differ diff --git a/template/public/yoga/icon/sync_metadata.png b/template/public/yoga/icon/sync_metadata.png new file mode 100644 index 000000000..03570ead6 Binary files /dev/null and b/template/public/yoga/icon/sync_metadata.png differ diff --git a/template/public/yoga/icon/up.png b/template/public/yoga/icon/up.png new file mode 100644 index 000000000..0c9cda5b1 Binary files /dev/null and b/template/public/yoga/icon/up.png differ diff --git a/template/yoga/identification.tpl b/template/public/yoga/identification.tpl similarity index 100% rename from template/yoga/identification.tpl rename to template/public/yoga/identification.tpl diff --git a/template/public/yoga/image.css b/template/public/yoga/image.css new file mode 100644 index 000000000..9ecbaea08 --- /dev/null +++ b/template/public/yoga/image.css @@ -0,0 +1,149 @@ +#imageHeaderBar { + padding-top: 2px; + padding-bottom: 2px; + margin-top: 4px; + overflow: hidden; + width: 100%; +} + +#imageHeaderBar .browsePath { + float: left; + margin-left: 10px; +} + +#imageHeaderBar .imageNumber { + float: right; + margin-right: 10px; +} + +#imageHeaderBar H2 { + text-align: center; + padding: 0; + clear: both; +} + +#imageToolBar { + text-align: center; + position: relative; + clear: both; + margin-bottom: 4px; + padding: 0; +} + +#imageToolBar { + height: 28px; +} +#imageToolBar A, #imageToolBar IMG { + display: block; + border: none; + margin: 0; padding: 0; +} +#imageToolBar A { width: 48px; } +#imageToolBar IMG { margin: 2px auto; } +#imageToolBar .randomButtons A { float: left; } +#imageToolBar .navButtons A { float: right; } + +#theImage { + clear: left; +} + +#theImage>IMG { + display: block; + margin: 0 auto; +} + +#theImage IMG { + border-width: 3px; + border-style: solid; +} + +.navThumb { + margin-top: 2px; +} +#thumbPrev { + float: left; +} + +#thumbNext { + float: right; +} + +#linkPrev { + margin-right: 10px; + margin-left: 5px; +} + +#linkNext { + margin-right: 5px; + margin-left: 10px; +} + +TABLE.infoTable .value { + text-align: left; +} + +TABLE.infoTable .label { + font-weight: bold; + text-align: right; + padding-right: 0.5em; +} + +TABLE.infoTable TD.value UL { + margin: 0; + padding: 0 0 0 1.5em; + list-style-type: square; +} + +.rateButton, .rateButtonSelected { + background-color:transparent; + padding:0; + border:0; +} + +.rateButton { + cursor: pointer; +} + +.rateButtonSelected { + color:inherit; + font-weight:bold; + font-size:120%; +} + +#comments { + text-align: left; +} + +#comments .comment { + margin: 3ex 0; +} + +#comments H2 { + margin: 1ex 0; +} + +#comments P { + margin: 0; +} + +#comments .author { + font-weight: bold; +} + +#comments BLOCKQUOTE { + margin: 1ex 0 1ex 2em; + padding: 4px 4px 0 /* IE bug */ 4px; +} + +#comments BLOCKQUOTE P { + margin: 0; + padding-bottom: 4px; /* IE bug follow-up */ +} +#comments BLOCKQUOTE P+P { + margin-top: 1ex; +} + +#comments P.userCommentDelete { + float: right; + margin: 0; +} diff --git a/template/yoga/index.tpl b/template/public/yoga/index.tpl similarity index 100% rename from template/yoga/index.tpl rename to template/public/yoga/index.tpl diff --git a/template/public/yoga/install.tpl b/template/public/yoga/install.tpl new file mode 100644 index 000000000..2332910e2 --- /dev/null +++ b/template/public/yoga/install.tpl @@ -0,0 +1,204 @@ + + + + + + +PhpWebGallery {RELEASE} + + + + + + + +
+
PhpWebGallery {RELEASE}
+ + + + + + + + + + + + + + +
+
+
    + +
  • {errors.error.ERROR}
  • + +
+
+
+
+
    + +
  • {infos.info.INFO}
  • + +
+
+
+ + +{L_ERR_COPY} : +
-----------------------------------------------------
+
{error_copy.FILE_CONTENT}
+-----------------------------------------------------
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{L_BASE_TITLE}
{L_LANG_TITLE} + {F_LANG_SELECT} +
{L_DB_TITLE}
 
{L_DB_HOST}{L_DB_HOST_INFO}
{L_DB_USER}{L_DB_USER_INFO}
{L_DB_PASS}{L_DB_PASS_INFO}
{L_DB_NAME}{L_DB_NAME_INFO}
{L_DB_PREFIX}{L_DB_PREFIX_INFO}
 
{L_ADMIN_TITLE}
 
{L_ADMIN}{L_ADMIN_INFO}
{L_ADMIN_PASSWORD}{L_ADMIN_PASSWORD_INFO}
{L_ADMIN_CONFIRM_PASSWORD}{L_ADMIN_CONFIRM_PASSWORD_INFO}
{L_ADMIN_EMAIL}{L_ADMIN_EMAIL_INFO}
 
+ +
+
+ + + +
{L_END_TITLE}
+
{L_END_MESSAGE}
+ + +
+
{L_INSTALL_HELP}
+
+ + diff --git a/template/public/yoga/layout.css b/template/public/yoga/layout.css new file mode 100644 index 000000000..1f6c6f4e3 --- /dev/null +++ b/template/public/yoga/layout.css @@ -0,0 +1,13 @@ +/* $Id: layout.css 1131 2006-04-06 02:23:54Z rvelices $ */ + +/* template css */ +@import "menubar.css"; +@import "content.css"; +@import "image.css"; +@import "popuphelp.css"; +@import "default-layout.css"; +/* Override properties with import local file */ +@import "local-layout.css"; +/* common css */ +@import "../../../template-common/layout.css"; + diff --git a/template/yoga/mainpage_categories.tpl b/template/public/yoga/mainpage_categories.tpl similarity index 100% rename from template/yoga/mainpage_categories.tpl rename to template/public/yoga/mainpage_categories.tpl diff --git a/template/public/yoga/menubar.css b/template/public/yoga/menubar.css new file mode 100644 index 000000000..f8fbdf914 --- /dev/null +++ b/template/public/yoga/menubar.css @@ -0,0 +1,108 @@ +#menubar { + float: left; + margin: 0 0 10px 1em; + padding: 0; + /* Fix against the "double margin of a floated item" IE bug */ + /* Damned: that screws up top_navbar in opera 7.54/Linux! */ + display: inline; + text-align: left; /* follow-up of the "be nice to IE5" rule */ +} + +#menubar DL, #menubar DT, #menubar DD { + margin: 0; padding: 0; display: block; +} + +/* H2 properties copied here */ +#menubar DT { + font-weight: bold; /* default for h2 */ + margin: 0; + padding: 5px 5px 5px 5px; + font-size: 120%; + text-align: center; +} + +#menubar UL, +#menubar HR, +#menubar FORM, +#menubar P, /* ooh, careful... */ +#menubar .totalImages { + font-size: 92%; + margin: 10px 0 10px 10px; +} +#menubar UL { + list-style-type: square; + list-style-position: inside; + padding: 0 0 0 2px; +} +#menubar UL UL { + font-size: 100%; + margin-top: 0; +} + +#menubar LI.selected A { + font-weight: bold; +} + +#menubar LI.selected LI A { + font-weight: normal; +} + +#menubar HR { + display: block; + margin: 10px auto; + width: 90%; +} +#menubar FORM P { + margin: 5px; + font-size: 100%; +} +#menubar INPUT { + text-indent: 2px; +} + +/* quickconnect form */ +FORM#quickconnect { + margin: 0; + padding: 5px; +} + +FORM#quickconnect FIELDSET { + margin: 0; + padding: 0 0 0.5em 0; + overflow: hidden; /* Correct float issue with Opera 7.5 */ + width: 100%; /* // */ +} + +FORM#quickconnect P { + float: left; + clear: left; +} + +FORM#quickconnect P INPUT { + margin: 0; +} + +FORM#quickconnect UL.actions { + display: inline; + float: right; + padding: 0; + text-align: right; /* Opera 7.5 */ + width: 40%; /* Opera 7.5 cannot find why width:auto fails :-( */ +} + +FORM#quickconnect UL.actions, +FORM#quickconnect P, +FORM#quickconnect LABEL { + margin: 0 0.5em 0 0.5em; +} + +#menubar #menuTagCloud { + text-align: center; + margin: 5px 0; +} + +#menubar #menuTagCloud LI +{ + display: inline; + white-space: nowrap; +} diff --git a/template/yoga/month_calendar.tpl b/template/public/yoga/month_calendar.tpl similarity index 100% rename from template/yoga/month_calendar.tpl rename to template/public/yoga/month_calendar.tpl diff --git a/template/public/yoga/nbm.tpl b/template/public/yoga/nbm.tpl new file mode 100644 index 000000000..a22744e5b --- /dev/null +++ b/template/public/yoga/nbm.tpl @@ -0,0 +1,31 @@ + + +
+
+
    +
  • {lang:home}
  • +
+

{lang:nbm_item_notification}

+
+ + +
+
    + +
  • {errors.error.ERROR}
  • + +
+
+ + + +
+
    + +
  • {infos.info.INFO}
  • + +
+
+ + +
diff --git a/template/public/yoga/notification.tpl b/template/public/yoga/notification.tpl new file mode 100644 index 000000000..d4b178b42 --- /dev/null +++ b/template/public/yoga/notification.tpl @@ -0,0 +1,13 @@ +
+ +
+
    +
  • {lang:home}
  • +
+

{lang:Notification}

+
+ +

{lang:The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.}

+ +

{lang:RSS feed}

+
diff --git a/template/yoga/password.tpl b/template/public/yoga/password.tpl similarity index 100% rename from template/yoga/password.tpl rename to template/public/yoga/password.tpl diff --git a/template/public/yoga/picture.tpl b/template/public/yoga/picture.tpl new file mode 100644 index 000000000..cdeeaf4a8 --- /dev/null +++ b/template/public/yoga/picture.tpl @@ -0,0 +1,211 @@ + +
{information.INFORMATION}
+ + +
+
+ {L_HOME} + {LEVEL_SEPARATOR}{SECTION_TITLE} + {LEVEL_SEPARATOR}{PICTURE_TITLE} +
+
{PHOTO}
+ +

{TITLE}

+ +
+ +
+ +
+ {L_SLIDESHOW} + {L_PICTURE_METADATA} + + {lang:representative} + + + {favorite.FAVORITE_ALT} + + + {L_DOWNLOAD} + + + {L_ADMIN} + + + {lang:caddie} + +
+ + + +
+ +
+ + + + {ALT_IMG} + + +

{L_PICTURE_HIGH}

+ + +

{legend.COMMENT_IMG}

+ + +

+ [ {L_STOP_SLIDESHOW} ] +

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{lang:Author}{INFO_AUTHOR}
{lang:Created on}{INFO_CREATION_DATE}
{lang:Posted on}{INFO_POSTED_DATE}
{lang:Dimensions}{INFO_DIMENSIONS}
{lang:File}{INFO_FILE}
{lang:Filesize}{INFO_FILESIZE}
{lang:Tags}{INFO_TAGS}
{lang:Categories} +
    + +
  • {category.LINE}
  • + +
+
{lang:Visits}{INFO_VISITS}
{lang:Average rate}{info_rate.CONTENT}
+ + + + + + + + + + + + + + +
{metadata.headline.TITLE}
{metadata.line.KEY}{metadata.line.VALUE}
+ + + +
+
{rate.SENTENCE} : + +{rate.rate_option.SEPARATOR} + + + + + + + +
+
+ + +
+ + +
+

[{comments.NB_COMMENT}] {L_COMMENT_TITLE}

+ + + + +
+ +

+ + [{L_DELETE}] + +

+ +

{comments.comment.COMMENT_AUTHOR} - {comments.comment.COMMENT_DATE}

+
{comments.comment.COMMENT}
+
+ + + +
+
+ {L_ADD_COMMENT} + + + + + + + + +
+
+ + +
+ + + diff --git a/template/public/yoga/popuphelp.css b/template/public/yoga/popuphelp.css new file mode 100644 index 000000000..b61b7952d --- /dev/null +++ b/template/public/yoga/popuphelp.css @@ -0,0 +1,22 @@ +BODY#thePopuphelpPage #copyright { + display: none; +} + +BODY#thePopuphelpPage #theHeader P { + display: none; +} + +BODY#thePopuphelpPage #content P { + text-align: justify; + padding: 0.5em; +} + +BODY#thePopuphelpPage #content OL LI, +BODY#thePopuphelpPage #content UL LI +{ + margin-bottom: 0.5em; +} + +BODY#thePopuphelpPage P#pageBottomActions A { + border: none; +} diff --git a/template/public/yoga/popuphelp.tpl b/template/public/yoga/popuphelp.tpl new file mode 100644 index 000000000..3b3e27328 --- /dev/null +++ b/template/public/yoga/popuphelp.tpl @@ -0,0 +1,5 @@ +
+{HELP_CONTENT} +
+ +

close

diff --git a/template/public/yoga/print.css b/template/public/yoga/print.css new file mode 100644 index 000000000..bb564378d --- /dev/null +++ b/template/public/yoga/print.css @@ -0,0 +1,14 @@ +#menubar, #content .navigationBar, UL.categoryActions, #content DIV.calendarViews, .calendarBar, +#imageToolBar, .navThumb, #addComment { + display: none; +} + +BODY { + margin: 0; + color: #000000; + background: #ffffff; +} + +#content { + margin: 0; +} diff --git a/template/public/yoga/profile.tpl b/template/public/yoga/profile.tpl new file mode 100644 index 000000000..b3837f454 --- /dev/null +++ b/template/public/yoga/profile.tpl @@ -0,0 +1,148 @@ +
+ + +
+
    + +
  • {errors.error.ERROR}
  • + +
+
+ + +
+
    +
  • {lang:home}
  • +
+

{lang:Profile}

+
+ +
+ +
+ {L_REGISTRATION_INFO} + +
    +
  • + {lang:Username} + {USERNAME} +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • +
+
+ +
+ {L_PREFERENCES} + +
    +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + {L_EXPAND_TREE} + + +
  • + +
  • + {L_NB_COMMENTS} + + +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • +
+
+ +

+ + +

+ +
+ +
diff --git a/template/public/yoga/redirect.tpl b/template/public/yoga/redirect.tpl new file mode 100644 index 000000000..446f187a3 --- /dev/null +++ b/template/public/yoga/redirect.tpl @@ -0,0 +1,2 @@ +

{U_REDIRECT_MSG}

+

{lang:click_to_redirect}

diff --git a/template/public/yoga/register.tpl b/template/public/yoga/register.tpl new file mode 100644 index 000000000..be3fb4a79 --- /dev/null +++ b/template/public/yoga/register.tpl @@ -0,0 +1,71 @@ +
+ +
+ +
+
    +
  • {lang:home}
  • +
+

{lang:Registration}

+
+ + +
+
    + +
  • {errors.error.ERROR}
  • + +
+
+ + +
+
+ {lang:Enter your personnal informations} + +
    +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + + + + + ({lang:useful when password forgotten}) +
  • +
+ +
+ +

+ + +

+ +
+ + + +
+
diff --git a/template/yoga/search.tpl b/template/public/yoga/search.tpl similarity index 100% rename from template/yoga/search.tpl rename to template/public/yoga/search.tpl diff --git a/template/public/yoga/search_rules.tpl b/template/public/yoga/search_rules.tpl new file mode 100644 index 000000000..921df4a12 --- /dev/null +++ b/template/public/yoga/search_rules.tpl @@ -0,0 +1,56 @@ +
+

{lang:Search rules}

+ +

{INTRODUCTION}

+ + + +
+ +

+ + close + +

diff --git a/template/public/yoga/tags.tpl b/template/public/yoga/tags.tpl new file mode 100644 index 000000000..33f69ca69 --- /dev/null +++ b/template/public/yoga/tags.tpl @@ -0,0 +1,17 @@ + +
+ +
+
    +
  • {lang:home}
  • +
+

{lang:Tags}

+
+ + + +
diff --git a/template/yoga/theme/clear/theme.css b/template/public/yoga/theme/clear/theme.css similarity index 100% rename from template/yoga/theme/clear/theme.css rename to template/public/yoga/theme/clear/theme.css diff --git a/template/public/yoga/theme/clear/themeconf.inc.php b/template/public/yoga/theme/clear/themeconf.inc.php new file mode 100644 index 000000000..ef23e2d0e --- /dev/null +++ b/template/public/yoga/theme/clear/themeconf.inc.php @@ -0,0 +1,9 @@ + 'yoga', + 'theme' => 'clear', + 'icon_dir' => 'template/public/yoga/icon', + 'admin_icon_dir' => 'template/public/yoga/icon/admin', + 'mime_icon_dir' => 'template/public/yoga/icon/mimetypes/' +); +?> diff --git a/template/public/yoga/theme/dark/images/tableh1_bg.png b/template/public/yoga/theme/dark/images/tableh1_bg.png new file mode 100644 index 000000000..c7785d0f6 Binary files /dev/null and b/template/public/yoga/theme/dark/images/tableh1_bg.png differ diff --git a/template/public/yoga/theme/dark/images/tableh2_bg.png b/template/public/yoga/theme/dark/images/tableh2_bg.png new file mode 100644 index 000000000..d8c29f93d Binary files /dev/null and b/template/public/yoga/theme/dark/images/tableh2_bg.png differ diff --git a/template/yoga/theme/dark/theme.css b/template/public/yoga/theme/dark/theme.css similarity index 100% rename from template/yoga/theme/dark/theme.css rename to template/public/yoga/theme/dark/theme.css diff --git a/template/public/yoga/theme/dark/themeconf.inc.php b/template/public/yoga/theme/dark/themeconf.inc.php new file mode 100644 index 000000000..5cf6b03f1 --- /dev/null +++ b/template/public/yoga/theme/dark/themeconf.inc.php @@ -0,0 +1,9 @@ + 'yoga', + 'theme' => 'dark', + 'icon_dir' => 'template/public/yoga/icon', + 'admin_icon_dir' => 'template/public/yoga/icon/admin', + 'mime_icon_dir' => 'template/public/yoga/icon/mimetypes/' +); +?> diff --git a/template/public/yoga/upload.tpl b/template/public/yoga/upload.tpl new file mode 100644 index 000000000..fcf27b543 --- /dev/null +++ b/template/public/yoga/upload.tpl @@ -0,0 +1,93 @@ +

{L_TITLE}

+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
    + +
  • {upload_not_successful.errors.error.ERROR}
  • + +
+
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+ + +{L_UPLOAD_DONE}
+ +
+ [ {L_RETURN} ] +
+ +
* : {L_MANDATORY}
+ diff --git a/template/yoga/theme/clear/themeconf.inc.php b/template/yoga/theme/clear/themeconf.inc.php deleted file mode 100644 index 10b5d104b..000000000 --- a/template/yoga/theme/clear/themeconf.inc.php +++ /dev/null @@ -1,9 +0,0 @@ - 'yoga', - 'theme' => 'clear', - 'icon_dir' => 'template/yoga/icon', - 'admin_icon_dir' => 'template/yoga/icon/admin', - 'mime_icon_dir' => 'template/yoga/icon/mimetypes/' -); -?> diff --git a/template/yoga/theme/dark/themeconf.inc.php b/template/yoga/theme/dark/themeconf.inc.php deleted file mode 100644 index 9785a2916..000000000 --- a/template/yoga/theme/dark/themeconf.inc.php +++ /dev/null @@ -1,9 +0,0 @@ - 'yoga', - 'theme' => 'dark', - 'icon_dir' => 'template/yoga/icon', - 'admin_icon_dir' => 'template/yoga/icon/admin', - 'mime_icon_dir' => 'template/yoga/icon/mimetypes/' -); -?>