├── .gitignore ├── .travis.yml ├── build.properties.dist ├── build.xml ├── cache ├── .cvsignore └── .htaccess ├── data ├── config.default.php ├── config.php.dist ├── locales │ ├── de_AT │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── de_DE │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── dk_DK │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── en_GB │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── es_ES │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── fr_CA │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── fr_FR │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── hi_IN │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── it_IT │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── ja_JP │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── lt_LT │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── messages.po │ ├── nl_NL │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── pt_BR │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── ru_RU │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── tr_TR │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── vn_VN │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ └── zh_CN │ │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po ├── schema │ ├── 1.sql │ ├── 2.sql │ ├── 3.sql │ ├── 4.sql │ ├── 5.sql │ └── 6.sql ├── tables-postgresql.sql ├── tables.sql └── templates │ ├── default │ ├── about.tpl.php │ ├── admin.tpl.php │ ├── bookmarkcommondescriptionedit.tpl.php │ ├── bookmarklet.inc.php │ ├── bookmarks-thumbnail.inc.tpl.php │ ├── bookmarks-vote-horizontal.inc.tpl.php │ ├── bookmarks-vote.inc.tpl.php │ ├── bookmarks.tpl.php │ ├── bottom.inc.php │ ├── dynamictags.inc.php │ ├── editbookmark.tpl.php │ ├── editprofile-sslclientcerts.tpl.php │ ├── editprofile.tpl.php │ ├── error.404.tpl.php │ ├── error.500.tpl.php │ ├── importDelicious.tpl.php │ ├── importNetscape.tpl.php │ ├── importStructure.tpl.php │ ├── login.tpl.php │ ├── password.tpl.php │ ├── profile.tpl.php │ ├── register.tpl.php │ ├── rss.tpl.php │ ├── search.menu.php │ ├── sidebar.block.common.php │ ├── sidebar.block.linked.php │ ├── sidebar.block.menu.php │ ├── sidebar.block.menu2.php │ ├── sidebar.block.popular.php │ ├── sidebar.block.recent.php │ ├── sidebar.block.related.php │ ├── sidebar.block.search.php │ ├── sidebar.block.tagactions.php │ ├── sidebar.block.users.php │ ├── sidebar.block.watchlist.php │ ├── sidebar.block.watchstatus.php │ ├── sidebar.linkedtags.inc.php │ ├── sidebar.tpl.php │ ├── tag2tagadd.tpl.php │ ├── tag2tagdelete.tpl.php │ ├── tag2tagedit.tpl.php │ ├── tagcommondescriptionedit.tpl.php │ ├── tagdelete.tpl.php │ ├── tagedit.tpl.php │ ├── tagrename.tpl.php │ ├── tags.tpl.php │ ├── toolbar.inc.php │ ├── top.inc.php │ └── users.tpl.php │ └── testdummy │ └── top.inc.php ├── doc ├── AUTHORS ├── ChangeLog ├── INSTALL.txt ├── LICENSE.txt ├── README.rst ├── UPGRADE.txt ├── allinone.rst ├── authentication.rst ├── configuration.rst ├── developers │ ├── TODO.rst │ ├── api.rst │ ├── debugging.rst │ ├── doc-TODO.rst │ ├── release-new-version.rst │ ├── rules.rst │ ├── running-unit-tests.rst │ └── translation.rst ├── index.rst ├── ssl-client-certificates.rst ├── themes.rst └── tools.rst ├── html.properties ├── res └── docs │ ├── header.tpl.html │ └── style.css ├── scripts ├── avahi-export.php ├── bookmark-bot.php ├── compile-translation.php ├── create-testbookmarks.php ├── create-testuser.php ├── database-dump.php ├── database-restore.php ├── fix-unfiled-tags.php ├── update-translation-base.php └── update-translation.php ├── src ├── SemanticScuttle │ ├── Config.php │ ├── DbService.php │ ├── Environment.php │ ├── Model │ │ ├── Bookmark.php │ │ ├── RemoteUser.php │ │ ├── Template.php │ │ ├── Theme.php │ │ ├── User.php │ │ ├── User │ │ │ └── SslClientCert.php │ │ └── UserArray.php │ ├── Service.php │ ├── Service │ │ ├── AuthUser.php │ │ ├── Bookmark.php │ │ ├── Bookmark2Tag.php │ │ ├── Cache.php │ │ ├── CommonDescription.php │ │ ├── Factory.php │ │ ├── SearchHistory.php │ │ ├── Tag.php │ │ ├── Tag2Tag.php │ │ ├── TagCache.php │ │ ├── TagStat.php │ │ ├── Template.php │ │ ├── Thumbnails.php │ │ ├── User.php │ │ ├── User │ │ │ └── SslClientCert.php │ │ └── Vote.php │ ├── Thumbnailer │ │ ├── Null.php │ │ └── Phancap.php │ ├── UrlHelper.php │ ├── constants.php │ ├── db │ │ ├── db2.php │ │ ├── firebird.php │ │ ├── mssql-odbc.php │ │ ├── mssql.php │ │ ├── mysql.php │ │ ├── mysql4.php │ │ ├── mysqli.php │ │ ├── oracle.php │ │ ├── postgres.php │ │ └── sqlite.php │ ├── functions.php │ ├── header-standalone.php │ ├── header.php │ └── utf8.php └── php-gettext │ ├── AUTHORS │ ├── COPYING │ ├── ChangeLog │ ├── Makefile │ ├── README │ ├── examples │ ├── index.php │ ├── locale │ │ ├── de_CH │ │ │ └── LC_MESSAGES │ │ │ │ ├── messages.mo │ │ │ │ └── messages.po │ │ └── sr_CS │ │ │ └── LC_MESSAGES │ │ │ ├── messages.mo │ │ │ └── messages.po │ ├── pigs_dropin.php │ ├── pigs_fallback.php │ └── update │ ├── gettext.inc │ ├── gettext.php │ ├── streams.php │ └── tests │ ├── LocalesTest.php │ └── ParsingTest.php ├── tests ├── AllTests.php ├── Api │ ├── ExportCsvTest.php │ ├── OpenSearchTest.php │ ├── PostsAddTest.php │ ├── PostsDeleteTest.php │ └── PostsUpdateTest.php ├── Bookmark2TagTest.php ├── BookmarkTest.php ├── CommonDescriptionTest.php ├── FactoryTest.php ├── LAUNCH_TESTS ├── Model │ └── BookmarkTest.php ├── SearchHistoryTest.php ├── SemanticScuttle │ ├── ConfigTest.php │ └── EnvironmentTest.php ├── Tag2TagTest.php ├── TagTest.php ├── TagsCacheTest.php ├── TestBase.php ├── TestBaseApi.php ├── UserArrayTest.php ├── UserTest.php ├── VoteTest.php ├── ajax │ ├── GetAdminLinkedTagsTest.php │ ├── GetAdminTagsTest.php │ └── GetContactTagsTest.php ├── data │ ├── BookmarkTest_deliciousbookmarks.xml │ ├── BookmarkTest_deliciousbookmarks_longdesc_3469257.xml │ ├── BookmarkTest_deliciousbookmarks_private.xml │ └── BookmarkTest_netscapebookmarks.html ├── dox.html ├── phpunit.xml ├── prepare.php └── www │ ├── bookmarksTest.php │ ├── editTest.php │ ├── importNetscapeTest.php │ ├── importTest.php │ ├── indexTest.php │ ├── rssTest.php │ └── searchTest.php └── www ├── .htaccess ├── about.php ├── admin.php ├── ajax ├── getadminlinkedtags.php ├── getadmintags.php ├── getcontacttags.php ├── getlinkedtags.php └── gettags.php ├── ajaxDelete.php ├── ajaxGetNewPrivateKey.php ├── ajaxGetTitle.php ├── ajaxIsAvailable.php ├── ajaxVote.php ├── alltags.php ├── api ├── export_csv.php ├── export_gcs.php ├── export_html.php ├── export_sioc.php ├── httpauth.inc.php ├── opensearch.php ├── posts_add.php ├── posts_all.php ├── posts_dates.php ├── posts_delete.php ├── posts_get.php ├── posts_public.php ├── posts_recent.php ├── posts_update.php ├── tags_get.php └── tags_rename.php ├── bookmarkcommondescriptionedit.php ├── bookmarks.php ├── edit.php ├── go.php ├── gsearch ├── context.php └── index.php ├── history.php ├── import.php ├── importNetscape.php ├── importStructure.php ├── index.php ├── js ├── jquery-ui-1.8.11 │ ├── jquery.ui.autocomplete.js │ ├── jquery.ui.autocomplete.min.js │ ├── jquery.ui.core.js │ ├── jquery.ui.core.min.js │ ├── jquery.ui.position.js │ ├── jquery.ui.position.min.js │ ├── jquery.ui.widget.js │ ├── jquery.ui.widget.min.js │ └── themes │ │ └── base │ │ ├── images │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ ├── ui-bg_highlight-soft_75_cccccc_1x100.png │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_454545_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ └── ui-icons_cd0a0a_256x240.png │ │ ├── jquery.ui.all.css │ │ ├── jquery.ui.autocomplete.css │ │ ├── jquery.ui.base.css │ │ ├── jquery.ui.core.css │ │ └── jquery.ui.theme.css └── jstree-1.0-rc2 │ ├── jquery-1.4.2.js │ ├── jquery-1.4.2.min.js │ ├── jquery.jstree.js │ ├── jquery.jstree.min.js │ └── themes │ ├── apple │ ├── bg.jpg │ ├── d.png │ ├── dot_for_ie.gif │ ├── style.css │ └── throbber.gif │ ├── classic │ ├── d.png │ ├── dot_for_ie.gif │ ├── style.css │ └── throbber.gif │ ├── default-rtl │ ├── d.gif │ ├── d.png │ ├── dots.gif │ ├── style.css │ └── throbber.gif │ └── default │ ├── d.gif │ ├── d.png │ ├── style.css │ └── throbber.gif ├── jsScuttle.php ├── login.php ├── password.php ├── player ├── error.swf ├── license.txt ├── load.swf ├── musicplayer_f6.swf ├── play.swf └── stop.swf ├── populartags.php ├── profile.php ├── register.php ├── rss.php ├── search.php ├── tag2tagadd.php ├── tag2tagdelete.php ├── tag2tagedit.php ├── tagcommondescriptionedit.php ├── tagdelete.php ├── tagedit.php ├── tagrename.php ├── tags.php ├── themes ├── default │ ├── icon.png │ ├── images │ │ ├── b_edit.png │ │ ├── bg_admin.png │ │ ├── bg_bar.png │ │ ├── bg_header.png │ │ ├── bg_sidebar.png │ │ ├── loading.gif │ │ ├── logo-empty.png │ │ ├── logo.png │ │ ├── logo_24.gif │ │ ├── rss.gif │ │ ├── thumbs_up.orig.png │ │ ├── vote-against-voted.png │ │ ├── vote-against.png │ │ ├── vote-for-voted.png │ │ └── vote-for.png │ └── scuttle.css └── testdummy │ ├── images │ └── logo.png │ └── scuttle.css ├── upgrade.php ├── users.php ├── vote.php ├── watch.php ├── watchlist.php ├── widgetUWA.php └── www-header.php /.gitignore: -------------------------------------------------------------------------------- 1 | doc/*.html 2 | dist/ 3 | build.properties 4 | package.xml 5 | semanticscuttle-dump.sql 6 | data/config.php 7 | data/config.testing.php 8 | data/config.testing-tmp.php 9 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: php 2 | phps: 3 | - 5.3 4 | script: cd tests && phpunit . 5 | notifications: 6 | irc: "irc.freenode.org#semanticscuttle" 7 | 8 | before_script: 9 | - mysql -e 'create database semanticscuttle_test;' 10 | - mysql semanticscuttle_test < data/tables.sql 11 | - cat data/config.php.dist | sed "s/'username'/'root'/" | sed "s/'password'/''/" | sed "s/'scuttle'/'semanticscuttle_test'/" | sed "s/'mysql4'/'mysqli'/" > data/config.php 12 | - pyrus install pear/HTTP_Request2 13 | - pyrus install pear/PEAR 14 | - pyrus install pear/Stream_Var 15 | - phpenv rehash 16 | -------------------------------------------------------------------------------- /build.properties.dist: -------------------------------------------------------------------------------- 1 | sfuser=FIXME 2 | websitedir=FIXME 3 | -------------------------------------------------------------------------------- /cache/.cvsignore: -------------------------------------------------------------------------------- 1 | *.cache -------------------------------------------------------------------------------- /cache/.htaccess: -------------------------------------------------------------------------------- 1 | order allow,deny 2 | deny from all -------------------------------------------------------------------------------- /data/locales/de_AT/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/de_AT/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/de_DE/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/de_DE/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/dk_DK/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/dk_DK/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/en_GB/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/en_GB/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/es_ES/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/es_ES/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/fr_CA/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/fr_CA/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/fr_FR/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/fr_FR/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/hi_IN/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/hi_IN/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/it_IT/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/it_IT/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/ja_JP/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/ja_JP/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/lt_LT/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/lt_LT/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/nl_NL/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/nl_NL/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/pt_BR/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/pt_BR/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/ru_RU/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/ru_RU/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/tr_TR/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/tr_TR/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/vn_VN/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/vn_VN/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/locales/zh_CN/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cweiske/SemanticScuttle/e636523aac630d73cda415cf551d0be570ce10d6/data/locales/zh_CN/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /data/schema/1.sql: -------------------------------------------------------------------------------- 1 | RENAME TABLE `sc_tags` TO `sc_bookmarks2tags` ; 2 | 3 | CREATE TABLE `sc_searchhistory` ( 4 | `shId` int(11) NOT NULL auto_increment, 5 | `shTerms` varchar(255) NOT NULL default '', 6 | `shRange` varchar(32) NOT NULL default '', 7 | `shDatetime` datetime NOT NULL default '0000-00-00 00:00:00', 8 | `shNbResults` int(6) NOT NULL default '0', 9 | `uId` int(11) NOT NULL default '0', 10 | PRIMARY KEY (`shId`) 11 | ); 12 | 13 | CREATE TABLE `sc_tags` ( 14 | `tId` int(11) NOT NULL auto_increment, 15 | `tag` varchar(32) NOT NULL default '', 16 | `uId` int(11) NOT NULL default '0', 17 | `tDescription` varchar(255) default NULL, 18 | PRIMARY KEY (`tId`), 19 | UNIQUE KEY `sc_tags_tag_uId` (`tag`, `uId`) 20 | ); 21 | -------------------------------------------------------------------------------- /data/schema/2.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `sc_bookmarks` CHANGE `bDescription` `bDescription` VARCHAR( 1500 ) 2 | CREATE TABLE `sc_tagscache` ( 3 | `tcId` int(11) NOT NULL auto_increment, 4 | `tag1` varchar(100) NOT NULL default '', 5 | `tag2` varchar(100) NOT NULL default '', 6 | `relationType` varchar(32) NOT NULL default '', 7 | `uId` int(11) NOT NULL default '0', 8 | PRIMARY KEY (`tcId`), 9 | UNIQUE KEY `sc_tagscache_tag1_tag2_type_uId` (`tag1`,`tag2`,`relationType`,`uId`) 10 | ); 11 | -------------------------------------------------------------------------------- /data/schema/4.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `sc_bookmarks` ADD `bVoting` INT NOT NULL; 2 | ALTER TABLE `sc_bookmarks` ADD `bVotes` INT NOT NULL; 3 | 4 | CREATE TABLE `sc_votes` ( 5 | `bId` INT NOT NULL , 6 | `uId` INT NOT NULL , 7 | `vote` INT( 2 ) NOT NULL , 8 | UNIQUE KEY `bid_2` (`bId`,`uId`), 9 | KEY `bid` (`bId`), 10 | KEY `uid` (`uId`) 11 | ) CHARACTER SET utf8 COLLATE utf8_general_ci ; 12 | -------------------------------------------------------------------------------- /data/schema/5.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `sc_bookmarks` ADD `bShort` VARCHAR(16) NULL DEFAULT NULL; 2 | -------------------------------------------------------------------------------- /data/schema/6.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE `sc_version` ( 2 | `schema_version` int(11) NOT NULL 3 | ) DEFAULT CHARSET=utf8; 4 | INSERT INTO `sc_version` (`schema_version`) VALUES ('6'); 5 | 6 | CREATE TABLE `sc_users_sslclientcerts` ( 7 | `id` INT NOT NULL AUTO_INCREMENT , 8 | `uId` INT NOT NULL , 9 | `sslSerial` VARCHAR( 32 ) NOT NULL , 10 | `sslClientIssuerDn` VARCHAR( 1024 ) NOT NULL , 11 | `sslName` VARCHAR( 64 ) NOT NULL , 12 | `sslEmail` VARCHAR( 64 ) NOT NULL , 13 | PRIMARY KEY ( `id` ) , 14 | UNIQUE (`id`) 15 | ) CHARACTER SET utf8 COLLATE utf8_general_ci; 16 | 17 | ALTER TABLE `sc_users` ADD `privateKey` VARCHAR(33) NULL; 18 | CREATE UNIQUE INDEX `privateKey` ON `sc_users` (`privateKey`); 19 | 20 | -------------------------------------------------------------------------------- /data/templates/default/about.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 3 | ?> 4 | 5 | 11 | 12 |

13 | 23 | 24 |

25 | 30 | 31 | 32 | includeTemplate($GLOBALS['bottom_include']); 34 | ?> 35 | -------------------------------------------------------------------------------- /data/templates/default/admin.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 4 | 5 | echo '

'.T_('Users management').'

'; 6 | 7 | echo '
    '; 8 | 9 | foreach($users as $user) { 10 | echo '
  1. '."\n"; 11 | 12 | echo ''; 16 | 17 | if($user->getUsername() != $currentUser->getUsername()) { 18 | echo '
    '; 19 | echo ''.T_('Delete').''; 20 | echo '
    '; 21 | } 22 | 23 | echo '
  2. '."\n"; 24 | } 25 | echo '
'; 26 | ?> 27 |

28 |

29 | 30 |

31 | includeTemplate('sidebar.tpl'); 33 | $this->includeTemplate($GLOBALS['bottom_include']); 34 | 35 | ?> 36 | -------------------------------------------------------------------------------- /data/templates/default/bookmarkcommondescriptionedit.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 4 | 5 | list ($url, $hash) = explode('/', $_SERVER['PATH_INFO']); 6 | 7 | 8 | ?> 9 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 38 | 39 | 40 | 41 | 42 | 46 | 47 | 48 |
29 | 0) { 31 | echo T_('Last modification:').' '.$description['cdDatetime'].', '; 32 | $lastUser = $userservice->getUser($description['uId']); 33 | echo '' 34 | . SemanticScuttle_Model_UserArray::getName($lastUser) . ''; 35 | } 36 | ?> 37 |
43 | 44 | 45 |
49 | 50 | 51 |
52 | 53 |
54 |
55 | 56 | includeTemplate($GLOBALS['bottom_include']); 58 | ?> 59 | -------------------------------------------------------------------------------- /data/templates/default/bookmarks-thumbnail.inc.tpl.php: -------------------------------------------------------------------------------- 1 | getThumbnailer(); 10 | $imgUrl = $thumbnailer->getThumbnailUrl($address, 120, 90); 11 | if ($imgUrl !== false) { 12 | echo '' 13 | . '' 16 | . ''; 17 | } 18 | ?> -------------------------------------------------------------------------------- /data/templates/default/bookmarks-vote-horizontal.inc.tpl.php: -------------------------------------------------------------------------------- 1 | '; 23 | echo sprintf( 24 | T_('Voting %d'), $row['bVoting'] 25 | ) . ' '; 26 | 27 | if (isset($row['hasVoted'])) { 28 | if ($row['vote'] != 1) { 29 | echo '' . T_('Vote for') . ' '; 33 | } else { 34 | echo '' 35 | . T_('Vote for') . ' '; 36 | } 37 | 38 | 39 | if ($row['vote'] != -1) { 40 | echo '' . T_('Vote against') . ''; 44 | } else { 45 | echo '' 46 | . T_('Vote against') . ''; 47 | } 48 | } 49 | echo ''; 50 | ?> -------------------------------------------------------------------------------- /data/templates/default/bookmarks-vote.inc.tpl.php: -------------------------------------------------------------------------------- 1 | '; 23 | 24 | if (isset($row['hasVoted']) && $row['vote'] != 1) { 25 | echo '+'; 29 | } else { 30 | echo '+'; 31 | } 32 | 33 | echo '' . $row['bVoting'] . ''; 34 | 35 | if (isset($row['hasVoted']) && $row['vote'] != -1) { 36 | echo '-'; 40 | } else { 41 | echo '-'; 42 | } 43 | echo ''; 44 | ?> -------------------------------------------------------------------------------- /data/templates/default/bottom.inc.php: -------------------------------------------------------------------------------- 1 | 2 |
3 | 4 | '.T_('About').''; 6 | echo ' - '; 7 | echo T_("Propulsed by "); 8 | echo " SemanticScuttle"; 9 | ?> 10 | 11 |
12 | 13 | 14 | 15 | 16 | 20 | 25 | 26 | 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /data/templates/default/editprofile-sslclientcerts.tpl.php: -------------------------------------------------------------------------------- 1 | 11 |

12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | isCurrent()) { echo 'class="ssl-current"'; } ?>> 26 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 |
Options
27 |
28 | 29 | 32 |
33 |
sslSerial); ?>sslName); ?>sslEmail); ?>sslClientIssuerDn); ?>
42 | 43 |

44 | 45 | 46 | 47 | isRegistered($sslClientCerts)) { ?> 48 |

49 | 50 |

51 |

52 | 55 |
56 |

57 | 58 | 59 |

60 | 61 | -------------------------------------------------------------------------------- /data/templates/default/error.404.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 4 | if (!$error) { 5 | echo '

'. T_('Not Found') .'

'; 6 | echo '

'. T_('The requested URL was not found on this server') .'

'; 7 | } 8 | $this->includeTemplate($GLOBALS['bottom_include']); 9 | ?> -------------------------------------------------------------------------------- /data/templates/default/error.500.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 4 | if (!$error) { 5 | echo '

'. T_('General server error') .'

'; 6 | echo '

'. T_('The requested URL could not be processed') .'

'; 7 | } 8 | $this->includeTemplate($GLOBALS['bottom_include']); 9 | ?> 10 | -------------------------------------------------------------------------------- /data/templates/default/importDelicious.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 3 | ?> 4 | 5 |
6 | 7 | 8 | 9 | 13 | 14 | 15 | 16 | 23 | 24 | 25 | 27 | 28 |
10 | 11 | 12 |
17 | 22 |
26 |
29 |
30 | 31 |

32 |
    33 |
  1. export page at del.icio.us'); ?>.
  2. 34 |
  3. XML file to your computer'); ?>.
  4. 35 |
  5. Browse... to find this file on your computer. The maximum size the file can be is 1MB'); ?>.
  6. 36 |
  7. .
  8. 37 |
  9. Import to start importing the bookmarks; it may take a minute'); ?>.
  10. 38 |
39 | 40 | includeTemplate($GLOBALS['bottom_include']); 42 | ?> -------------------------------------------------------------------------------- /data/templates/default/importNetscape.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 3 | ?> 4 | 5 |
6 |
7 | 8 | 9 | 10 | 14 | 15 | 16 | 17 | 24 | 25 | 26 | 28 | 29 |
11 | 12 | 13 |
18 | 23 |
27 |
30 |
31 | 32 |

33 |
    34 |
  1. 35 |

    :

    36 |
      37 |
    • File > Import and Export... > Export Favorites'); ?>
    • 38 |
    • Bookmarks > Manage Bookmarks... > File > Export...'); ?>
    • 39 |
    • Bookmarks > Manage Bookmarks... > Tools > Export...'); ?>
    • 40 |
    41 |
  2. 42 |
  3. Browse... to find the saved bookmark file on your computer. The maximum size the file can be is 1MB'); ?>.
  4. 43 |
  5. .
  6. 44 |
  7. Import to start importing the bookmarks; it may take a minute'); ?>.
  8. 45 |
46 |
47 | 48 | includeTemplate($GLOBALS['bottom_include']); 50 | ?> -------------------------------------------------------------------------------- /data/templates/default/importStructure.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 3 | ?> 4 | 5 |
6 |
8 | 9 | 10 | 11 | 13 | 14 | 15 | 17 | 18 |
16 |
19 |
20 | 21 |

22 |
    23 |
  1. 24 |

    25 |
      26 |
    • firstTagOfLevel1
    • 27 |
    •     firstTagOfLevel2 (the line starts with two spaces)
    • 28 |
    •     secondTagOfLevel2
    • 29 |
    •     thirdTagOfLevel2
    • 30 |
    • secondTagOfLevel1
    • 31 |
    •     fourthTagOfLevel2 (included into secondTagOfLevel1)
    • 32 |
    33 |
  2. 34 |
  3. 35 |

    36 |
  4. 37 |
38 |
39 | 40 | includeTemplate($GLOBALS['bottom_include']); 42 | ?> -------------------------------------------------------------------------------- /data/templates/default/login.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 3 | ?> 4 | 5 | 10 | 11 | isSessionStable()) { 13 | echo '

'.T_('Please activate cookies').'

'; 14 | } 15 | ?> 16 | 17 |
18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
36 |

»

37 |
38 | 39 | includeTemplate($GLOBALS['bottom_include']); 41 | ?> -------------------------------------------------------------------------------- /data/templates/default/password.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 3 | ?> 4 | 5 |

6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 |
23 | 24 | includeTemplate($GLOBALS['bottom_include']); 26 | ?> -------------------------------------------------------------------------------- /data/templates/default/profile.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 3 | ?> 4 | 5 |
6 |
7 |
8 | isLoggedOn() && $currentUser->isAdmin()) { 10 | ?> 11 |
12 |
getEmail()) ?>
13 | getName() != "") { 16 | ?> 17 |
18 |
getName()); ?>
19 | getHomepage() != "") { 22 | ?> 23 |
24 |
getHomepage()); ?>
25 | 28 |
29 |
getDatetime())); ?>
30 | getContent() != "") { 32 | ?> 33 |
34 |
getContent(); ?>
35 | getWatchNames($userid); 38 | if ($watching) { 39 | ?> 40 |
41 |
42 | '. $watchuser .', '; 46 | } 47 | echo substr($list, 0, -2); 48 | ?> 49 |
50 | getWatchNames($userid, true); 53 | if ($watchnames) { 54 | ?> 55 |
56 |
57 | '. $watchuser .', '; 61 | } 62 | echo substr($list, 0, -2); 63 | ?> 64 |
65 | 68 |
69 |
>>
70 |
71 | 72 | includeTemplate($GLOBALS['bottom_include']); 74 | ?> 75 | -------------------------------------------------------------------------------- /data/templates/default/register.tpl.php: -------------------------------------------------------------------------------- 1 | includeTemplate($GLOBALS['top_include']); 3 | ?> 4 | 5 | 10 | 11 |

.

12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 0) {?> 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 |
50 |
51 | 52 | includeTemplate($GLOBALS['bottom_include']); 54 | ?> 55 | -------------------------------------------------------------------------------- /data/templates/default/rss.tpl.php: -------------------------------------------------------------------------------- 1 | \n"; 3 | ?> 4 | 7 | 8 | <?php echo $feedtitle; ?> 9 | 10 | 11 | 12 | 13 | 14 | 60 15 | 16 | 17 | 18 | <?php echo htmlspecialchars($bookmark['title']); ?> 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /data/templates/default/search.menu.php: -------------------------------------------------------------------------------- 1 | 13 | 14 | 15 | 58 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.common.php: -------------------------------------------------------------------------------- 1 | getRelatedTagsByHash($hash); 4 | $commonTags = $b2tservice->tagCloud($commonTags, 5, 90, 225, 'alphabet_asc'); 5 | 6 | if ($commonTags && count($commonTags) > 0) { 7 | ?> 8 | 9 |

10 |
11 |

'. filter($row['tag']) .' '; 21 | } 22 | echo $contents ."\n"; 23 | ?>

24 |
25 | 26 | 29 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.linked.php: -------------------------------------------------------------------------------- 1 | getCurrentUserId(); 21 | $editingMode = $logged_on_userid !== false; 22 | ?> 23 |

24 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.menu2.php: -------------------------------------------------------------------------------- 1 | getCurrentUserId(); 10 | if ($logged_on_userid === false) { 11 | $logged_on_userid = NULL; 12 | } 13 | 14 | 15 | $cat_url = createURL('tags', '%s'); 16 | $menu2Tags = $GLOBALS['menu2Tags']; 17 | 18 | if (count($menu2Tags) > 0) { 19 | ?> 20 | 21 |

22 | 23 | 24 |
> 26 | 41 |
42 | 69 | 72 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.popular.php: -------------------------------------------------------------------------------- 1 | getCurrentUserId(); 14 | if ($logged_on_userid === false) { 15 | $logged_on_userid = NULL; 16 | } 17 | $popularTags = $b2tservice->getPopularTags($userid, $popCount, $logged_on_userid); 18 | $popularTags = $b2tservice->tagCloud($popularTags, 5, 90, 225, 'alphabet_asc'); 19 | 20 | if ($popularTags && count($popularTags) > 0) { 21 | ?> 22 | 23 |

24 | 41 | 42 | 45 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.recent.php: -------------------------------------------------------------------------------- 1 | getCurrentUserId(); 9 | if ($logged_on_userid === false) { 10 | $logged_on_userid = NULL; 11 | } 12 | $recentTags = $b2tservice->getPopularTags($userid, $popCount, $logged_on_userid, $GLOBALS['defaultRecentDays']); 13 | $recentTags = $b2tservice->tagCloud($recentTags, 5, 90, 225, 'alphabet_asc'); 14 | 15 | if ($recentTags && count($recentTags) > 0) { 16 | ?> 17 | 18 |

19 |
20 | '; 22 | 23 | if(!isset($user) || $user == '') { 24 | $user = ''; 25 | $cat_url = createURL('tags', '%2$s'); 26 | } 27 | 28 | foreach ($recentTags as $row) { 29 | $entries = T_ngettext('bookmark', 'bookmarks', $row['bCount']); 30 | $contents .= ' '; 31 | } 32 | echo $contents ."

\n"; 33 | ?> 34 |

35 |
36 | 37 | 40 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.related.php: -------------------------------------------------------------------------------- 1 | getCurrentUserId(); 10 | if ($logged_on_userid === false) { 11 | $logged_on_userid = NULL; 12 | } 13 | 14 | if(!isset($userid)) { 15 | $userid = NULL; 16 | } 17 | 18 | if(isset($user) && strlen($user)==0) { 19 | $cat_url = createURL('tags', '%2$s'); 20 | } 21 | if ($currenttag) { 22 | $relatedTags = $b2tservice->getRelatedTags($currenttag, $userid, $logged_on_userid); 23 | if (sizeof($relatedTags) > 0) { 24 | ?> 25 | 26 |

27 | 36 | 37 | 41 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.search.php: -------------------------------------------------------------------------------- 1 | 13 | * @author Christian Weiske 14 | * @author Eric Dane 15 | * @license GPL http://www.gnu.org/licenses/gpl.html 16 | * @link http://sourceforge.net/projects/semanticscuttle 17 | */ 18 | /* Service creation: only useful services are created */ 19 | $searchhistoryservice = SemanticScuttle_Service_Factory::get('SearchHistory'); 20 | 21 | $lastSearches = $searchhistoryservice->getAllSearches( 22 | 'all', NULL, 3, NULL, true, false 23 | ); 24 | 25 | if ($lastSearches && count($lastSearches) > 0) { 26 | ?> 27 | 28 |

29 |
30 | 31 | ' . "\n"; 43 | } 44 | //echo ''; 45 | ?> 46 | 47 |
'; 34 | echo ''; 37 | echo htmlspecialchars($row['shTerms']); 38 | echo ''; 39 | echo ' (' . $row['shNbResults'] . ')'; 42 | echo '
...
48 |
49 | 52 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.tagactions.php: -------------------------------------------------------------------------------- 1 | isLoggedOn()) { 6 | 7 | if ($currentUser->getUsername() == $user) { 8 | $tags = explode('+', $currenttag); 9 | $renametext = T_ngettext('Rename Tag', 'Rename Tags', count($tags)); 10 | $renamelink = createURL('tagrename', $currenttag); 11 | $deletelink = createURL('tagdelete', $currenttag); 12 | $tagdesclink = createURL('tagedit', $currenttag); 13 | $commondesclink = createURL('tagcommondescriptionedit', $currenttag); 14 | $addtag2taglinklink = createURL('tag2tagadd', $currenttag); 15 | ?> 16 | 17 |

18 |
19 |
    20 |
  • 21 | 22 |
  • 23 | 24 |
  • 25 | isAdmin() )): ?> 26 |
  • 27 | 28 |
  • 29 |
30 |
31 | 32 | 36 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.users.php: -------------------------------------------------------------------------------- 1 | getCurrentUserId(); 6 | if ($logged_on_userid === false) { 7 | $logged_on_userid = NULL; 8 | } 9 | $lastUsers = $userservice->getUsers(3); 10 | 11 | if ($lastUsers && count($lastUsers) > 0) { 12 | ?> 13 | 14 |

15 |
16 | 17 | '; 25 | } 26 | //echo ''; 27 | ?> 28 | 29 |
'; 20 | echo ''; 21 | echo SemanticScuttle_Model_UserArray::getName($row); 22 | echo ''; 23 | echo ' ('.T_('bookmarks').')'; 24 | echo '
...
30 |

31 |
32 | 35 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.watchlist.php: -------------------------------------------------------------------------------- 1 | getWatchNames($userid); 6 | $watchedBy = $userservice->getWatchNames($userid, true); 7 | 8 | 9 | $closeContacts = array(); // people in my contacts list and who I am also in the contacts list 10 | foreach($watching as $watchuser) { 11 | if(in_array($watchuser, $watchedBy)) { 12 | $closeContacts[] = $watchuser; 13 | } 14 | } 15 | 16 | ?> 17 | 18 | 0):?> 19 |

20 |
21 |
    22 | 23 |
  • 24 | 25 |
26 |
27 | 28 | 29 | 30 |

31 |
32 |
    33 | isLoggedOn() && $currentUser->getUsername() == $user): ?> 34 |
  • 35 |
    36 | 37 |
    38 |
  • 39 | 40 | 41 | 42 |
  • 43 | isLoggedOn() && $currentUser->getUsername() == $user): ?> 44 | - x 45 |
  • 46 | 47 | 48 | 49 |
50 |
51 | 52 |

53 |
54 |
    55 | 56 |
  • 57 | 58 |
59 | 60 |
61 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.block.watchstatus.php: -------------------------------------------------------------------------------- 1 | isLoggedOn()) { 7 | 8 | if ($currentUser->getUsername() != $user) { 9 | $result = $userservice->getWatchStatus($userid, $userservice->getCurrentUserId()); 10 | if ($result) { 11 | $linkText = T_('Remove from Watchlist'); 12 | } else { 13 | $linkText = T_('Add to Watchlist'); 14 | } 15 | $linkAddress = createURL('watch', $user); 16 | ?> 17 | 18 |

19 |
20 |
    21 |
  • 22 |
23 |
24 | 25 | -------------------------------------------------------------------------------- /data/templates/default/sidebar.tpl.php: -------------------------------------------------------------------------------- 1 | isAdmin($userid) 3 | ): ?> 4 |